on 10-31-2023 3:08 PM
Hello Communities,
Hope you are well...
The purchase order approval status on the PDF form template data source header data is required once the workflow is finished.
Start here is the primary problem:
I want to know if, once the workflow is finished, it is possible to add approval status to the standard data source.
if someone has gone through the same or similar type of requirement can suggest some solution, it will be really helpful.
Thanks for Listening, have a great day, always stay Happy.
The expected data in field YY1_PO_STATUS_PDH is 05.
Hello Armir,
Thank you for your query about adding the approval status to purchase orders (POs) and other post-creation fields. Here's a concise response to address your concerns:
The BADI "Modify Purchase Order Header" is not triggered during the PO approval process for performance reasons.
There's currently no BADI called after PO approval. However, a new BADI for output processing is planned for SAP release 2408.
As of now, you can consider two options:
Configure the Output: Instead of setting the output to be immediate when the PO is created, you can schedule it to run at a specific time or through a batch job. This can help ensure that the output generation occurs after the PO has been approved
Force BADI Invocation: As a workaround, you can force the BADI to be called by making a mass change in the PO application. This involves temporarily modifying a "dummy" field in the purchase orders and then changing it back. This manipulation will trigger the BADI and allow you to obtain the values in your custom fields.
Please keep in mind that the second option is manual but can serve as a workaround until a more automated solution is available in the future.
If you have more questions or need assistance, please feel free to reach out to us.
2838428 - Request for New Features for Procure in SAP S/4HANA Cloud.
Best Regards,
Matheus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
9 | |
7 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.