Ansicht
Dokumentation

APOAT001 - APO ATP: Set ATP Segment

APOAT001 - APO ATP: Set ATP Segment

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

Setting the ATP Segment

Use

If a version (batch) of a product exists in several locations, you can set the ATP segment (organizational unit: product / location / account assignment / sublocation / product version) so that the version of the requested product is "inherited" by the substitution (see the code example).

This is also the case for sublocations.

The function module EXIT_/SAPAPO/SAPLATPT_001 is always called during the availability check after you have called rules-based ATP and a rule with substitutions has been found.

EXIT_/SAPAPO/SAPLATPT_001 is then called for each substitution of this rule.

After EXIT_/SAPAPO/SAPLATPT_001 has been called for all substitutions, the check is carried out for all substitutions of this rule.

Environment

The global variables and tables in the user exit function group can be initialized via enhancement APOAT003 for the ATP controller.

After carrying out the check for all substitutions of a rule, you can select the substitutions of this rule that are transferred to the calling application, or change the confirmations of the substitutions, via enhancement APOAT002.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1879 Date: 20240426 Time: 041603     sap01-206 ( 34 ms )