Ansicht
Dokumentation

/SAPAPO/FOT_GR_RP_MAPPING - FOT: Validating that GR RPs are mapped in the mapping table

/SAPAPO/FOT_GR_RP_MAPPING - FOT: Validating that GR RPs are mapped in the mapping table

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

Functionality

This function module calls /SAPAPO/PPC_RPTID_FOR_OUT_GET to get the RP ID of the goods receipt RP for #From# and #To# fields. Then it compares this set of order ID and RP ID with RP_MAP_INT entries. If the entry does not exist in the table, adds it to the table.

-,,Loops at internal table ORD_NESTED_TAB

o Records with following conditions on fields MAIN_ORDER and ORD_STATUS are allowed to proceed further:

§ For Split: Main and original or non-main and newly created

§ For Merge: Main and original or non-main and original

§ For Product Change: Main and original or non-main and newly created.

o Calls function /SAPAPO/PPC_RPTID_FOR_OUT_GET with order ID to get goods receipt RP ID.

o If the current record is the main record, saves the order ID, RP ID data to global variables.

o Reads RP_MAP_INT_TAB with key from the main record data and current order ID and RP ID. If it cannot find the from entry in the table RP_MAP_INT_TAB, inserts the record to the table.

Example

Notes

Further information





Parameters

CT_MAP
IT_ORDERS

Exceptions

Function Group

APO/SAPLFOT_READING

ABAP Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1448 Date: 20240419 Time: 082529     sap01-206 ( 25 ms )