cancel
Showing results for 
Search instead for 
Did you mean: 

Data source extension for purchase order form in S4Hana cloud

siva1990
Explorer

Hello All,

I am new to S4 cloud, my requirement is to print custom purchase order with workflow approvers name in the below. I am using data source FDP_EF_PURCHASE_ORDER_SRV for content form. There is no entity which has workflow approver name in the same source. My question is in S4 On-premise we can go to segw and enhance the method and add custom fields , but in S4 cloud how can we achieve this ? I went to Custom fields & logic -> Data source extention and tried to extend but i couldn't find the above data source in option .

And one more question is how to find the odata class name from the data source to debug in adt.

Thanks in advance.

Tayane
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Siva,

We helped you to accept the answer, since there were no updates after 7 days. You can unaccept it anytime if the answer provided was not helpful enough and you have further questions.

Best regards.

ipjao
Explorer
0 Kudos

Hello Siva1990,

May I know how you get to populate the workflow approver? THanks!

Accepted Solutions (1)

Accepted Solutions (1)

Jerry_Lowery
Product and Topic Expert
Product and Topic Expert

Hi Siva,

Please check the best practice 1LQ (Output Management) in the Process Navigator.

There is a setup guide with examples of how to add custom fields to forms, step by step.

You want to add your custom field to one of the Purchase Order contexts- once you enabled it for Forms (there is a tab for that), it should update the form data provider with the custom field.

Then create your custom forms with the updated form data provider to add the custom field to your form. You main challenged will be finding a way to update the custom field with the data - you will need to use Adapt UI and have your user feel it manually or use the Custom Logic app to see if there is a BADI you can use to fill the field. If you are on a 3SL system, please also investigate Developer Extensibility to populate the field.

Please let us know if this helps!

Thank you

Jerry

siva1990
Explorer
0 Kudos

Thank you Jerry!!

It is working, but I'm looking to include supplier email, fax, po box number and TRN (Tax Registration Number) in the purchase order form. However, I've noticed that these details aren't being populated using the standard service FDP_EF_PURCHASE_ORDER_SRV.

In contrast to the Sales documents where we have the option to utilize the "billing standard header output" adaptation via a BAdI, unfortunately, I am not able to find corresponding BAdI for Purchase documents to update the custom fields while generating the output.

If you're aware of a solution, we'd greatly appreciate your insights!

Separate thread created for this,
https://answers.sap.com/questions/13949770/which-badi-in-custom-logic-app-used-for-po-form-fo.html

Answers (0)