Ansicht
Dokumentation

PK_REVERSAL - BAdI: Canceling Kanbans

PK_REVERSAL - BAdI: Canceling Kanbans

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in component Kanban (PP-KAB)

You can use this BAdI to cancel kanbans. This means that it is possible to execute user-specific checks and functions when a kaban's status changes in the case of a cancellation, without changing the standard data.

The Business Add-In is not called until all of the other cancellation activities have been executed and before the modified kanban data is posted. This means that when the BAdI is called, the system knows whether the processing involved in cancellation has been executed successfully, or whether the kanban has been set to status Errors.

The method of the Business Add-Ins only has import parameters, therefore it cannot influence the kanban processing by changing any data. Since the call comes before the kanban data is updated, the data cannot be changes in the database.

Once the implementation has been activated, the system calls this BAdI at every cancellation activity without any extra Customizing settings.

If other updates are made in the Business Add-In method, then the statement "COMMIT WORK" must not be executes. The COMMIT WORK command occurs at the end of the processing in the calling program.

Create an implementation of the Business Add-Ins and implement interface method IF_EX_PK_REVERSAL~EXIT_REVERSAL. Activate the implementation.






ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1544 Date: 20240523 Time: 221042     sap01-206 ( 40 ms )