Ansicht
Dokumentation

PPC_BADI - Further Process Production Backflushes and Subsequent Processes

PPC_BADI - Further Process Production Backflushes and Subsequent Processes

ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Application Component: SCM-APO-PPS-PPC

Development Class: SAPAPO/PPC0

Using the Business Add-In /SAPAPO/PPC_BADI you can postprocess and check your production confirmations and subsequent processes ( for example, the determination of goods movements for confirmations).

The Business Add-In is not active as default.

The Business Add-In can be used multiple times.

To activate the Business Add-In you must create an active implementation. To do this, access the Customizing for Production Planning and Detailed Scheduling and choose Business Add-In (BAdI) for PP/DS.

Note that the Business Add-In can be used multiple times and therefore all active implementations are called and run through.

Note that in the methods no system messages may be sent. The only exceptions are BEFORE_CHECKS, AFTER_CHECKS and AT_SAVE. System messages may be sent within these methods, but only if the exception ERROR_WITH_MESSAGE is triggered simultaneously.

Note that the command COMMIT WORK may not be executed within the methods, as this would cause data inconsistencies in the database.

Check for Planned Orders with Interchangeable Components

You can use this BAdI when working with product interchangeability in APO repetitive manufacturing, in order to check whether an ATP check has been carried out for planned orders with interchangeable components. When confirming, it is important that an ATP check has been carried out for these planned orders, to ensure that the product interchangeability data is transferred to the planned order. When executing the ATP check, the requirement quantity of the discontinued component is split between the discontinued component and the successor component. If the interchangeability data is not contained in the planned order, then the confirmation creates postprocessing records. Two methods with sample coding are provided to avoid postprocessing records for planned orders with interchangeable products:

  • Method AFTER-CHECKS (Additional checks for created confirmation)
Using this method you can check, whether an ATP check has been executed for the planned orders. If you have not executed an ATP check, an error message is output.
  • Method AT_SAVE (Check of confirmations created when saving)
This method is called when saving. If the system determines that no ATP check has been carried out, then the system calls the ATP check directly from the BAdI.

Documentation for BAdI methods:

Documentation for BAdI interface: /SAPAPO/IF_EX_PPC_BADI.






BAL Application Log Documentation   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 4744 Date: 20240523 Time: 212337     sap01-206 ( 82 ms )