Ansicht
Dokumentation
/SAPTRX/DF_UPDATE_FROM_EH - Event activity template
ROGBILLS - Synchronize billing plans Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
When this function module is used in an event handler (EH) update activity, document flow (DF) can be updated when an event handler is created or updated.
Example
The standard purchasing visibility process tracks on purchase order item level. If the purchase order header and the items are to be updated in DF, a DF group needs to be created and an EH update activity with the DF group name as the parameter must be assigned to the event handler type PCM10_ITEM. The DF group contains settings to update the purchase order header and purchase order item at the same time.
Notes
The following settings are necessary:
- Define a document flow group (transaction /SAPTRX/TSC0DF).
- Create an EH update activity function including a task that points to this function and enter the name of the document flow group as Parameter 1 (transaction /SAPTRX/TSC0TP2). In addition, pass the name of the document flow condition created before (transaction /SAPTRX/TSC0TC6) with Parameter 2, if required.
- Assign the multitask activity created before to a defined event handler type (transaction /SAPTRX/TSC0TT).
Return codes:
- If Parameter 1 is not filled, the activity returns the exporting parameter e_return_code = 1.
- If Parameter 2 is filled, but the condition evaluation returns an incorrect result meaning that the condition is not fulfilled, the activity returns the exporting parameter e_return_code = 2.
- If any inconsistencies or exceptions occur during the document flow update, the activity returns an exporting parameter e_return_code with a value of 3 or higher, and updates the application log at the same time.
Further information
Parameters
E_RETURN_CODEI_EAI
Exceptions
Function Group
TRX/SAPLDOCFLOWGeneral Data in Customer Master Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 2466 Date: 20240604 Time: 065827 sap01-206 ( 47 ms )