Ansicht
Dokumentation

/SAPAPO/FOT_READING - FOT - Reading block

/SAPAPO/FOT_READING - FOT - Reading block

Vendor Master (General Section)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function provides major copying and conversion steps for external data to internal data, that is, /SAPAPO/FOT_ORD_EXT_TAB to /SAPAPO/FOT_ORD_NESTED_TAB and /SAPAPO/FOT_RP_MAP_EXT_TAB to /SAPAPO/FOT_RP_MAP_INT_TAB.

-,,Reads importing table in the format of /SAPAPO/FOT_ORD_EXT_TAB,

o,,Checks main order flag existing and uniqueness,

o,,Checks order sequence number existing and consistent,

o,,Checks action type on allowed selections (Split, Merge, Product Change),

o,,In case of Merge, checks product on all records are the same,

-,,Splits importing table LT_ORD_EXT to two tables LT_ORD_EXT_ORD and LT_ORD_EXT_PROD, depending on action type (Split, Merge, Product Change), changes field values or creates entries.

- For table LT_ORD_EXT_ORD, appends it to LT_ORD_NESTED by calling subroutine MOVE_EXT_TO_NESTED, changes the order status to #01# (GC_FOT_ORIGINAL) and

- For table LT_ORD_EXT_PROD, appends it to LT_ORD_NESTED by calling subroutine MOVE_EXT_TO_NESTED, changes the order status to # # (GC_FOT_NEW)

- Converts table /SAPAPO/FOT_RP_MAP_EXT to /SAPAPO/FOT_RP_MAP_INT by calling function /SAPAPO/FOT_RP_MAPPING_CONVERT.

- Calls function /SAPAPO/FOT_GET_ORDER for table LT_ORD_EXT_ORD to gather order related data.

- Calls function /SAPAPO/FOT_GET_SOURCE for table LT_ORD_EXT_PROD to gather product related data.

- Calls function /SAPAPO/FOT_GET_RPTID_FR to get order and RP ID of From fields (ORDNOFR, RPFR).

Updates table /SAPAPO/FOT_ORD_STATUS_TAB for the status of orders during its process of above steps.

Example

Notes

Further information





Parameters

CT_ORD_STATUS
ET_ORD_NESTED_TAB
ET_RP_MAP_INT
EV_RP_COUNTER
IS_GEN_DATA
IT_ORD_EXT
IT_RP_MAP_EXT
IV_SIMSESSION

Exceptions

DUPLICATED_ORDER_NOT_ALLOWED
GET_ORDER_ERROR
GET_RP_MAP_ERROR
GET_SOURCE_ERROR
MAIN_ORDER_FLAG_DUPLICATED
MAIN_ORDER_FLAG_MISSING
MATERIAL_INCONSISTANT
MISSING_SEQNO
NOT_FOT_FUNCTION
OUT_OF_SEQNO

Function Group

APO/SAPLFOT_READING

ROGBILLS - Synchronize billing plans   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2396 Date: 20240416 Time: 121533     sap01-206 ( 43 ms )