/SAPHT/IDOC_INPUT_INVRPT - Function for processing 846 EDI for DRM - Inbound

CPI1466 during Backup   ABAP Short Reference  
This documentation is copyright by SAP AG.

&SHOTR TEXT

Function for processing 846 EDI for DRM - Inbound.

Functionality

This function converts the 846 EDI into a IR staging Record(s). On

receiving the IDOC , the function interprets the IDOC segments and stores

the relevant information in an internal table. While interpreting the

segments, validation on the format and data type of the data is done. In

case the validation fails the record is marked as fatal and it will not

be transferred to the Staging table.

Once all the segments have been interpreted, data that needs to be

derived from the segment data is derived.Typically the Sold to

customer,Sales Area,etc are the data which are derived.

Once all the data is in place, validations are done on the data. If any

error occurs an error table is populated and this is later used while

updating the status of the IDOC.

Once all the validations are through, a staging record is created in the

DRM system for each material,storage location combination in the staging

location.

From the Staging ,on release of these records the Inventory

Reconcillation process takes over.

Example

Notes

Further information


Parameters

APPLICATION_VARIABLE
CALL_TRANSACTION_DONE
IDOC_CONTRL
IDOC_DATA
IDOC_STATUS
INPUT_METHOD
IN_UPDATE_TASK
MASS_PROCESSING
RETURN_VARIABLES
SERIALIZATION_INFO
WORKFLOW_RESULT

Exceptions

WRONG_FUNCTION_CALLED

Function Group

HT/SAPLDRM12

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.


Length: 1700 Date: 20120525 Time: 120310     triton ( 39 ms )