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

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
INPUT_METHOD BDWFAP_PAR-INPUTMETHD C 1 Method: Background, foreground etc
MASS_PROCESSING BDWFAP_PAR-MASS_PROC C 1 Flag: Mass input

Paramètre Reférence Type Long. Description
APPLICATION_VARIABLE BDWFAP_PAR-APPL_VAR C 255 Application variable
CALL_TRANSACTION_DONE BDWFAP_PAR-CALLTRANS C 1 Flag: Call transaction called
IN_UPDATE_TASK BDWFAP_PAR-UPDATETASK C 1 Flag: Programs called in update task
WORKFLOW_RESULT BDWFAP_PAR-RESULT C 5 Method result for workflow

Paramètre Reférence Long. Facultatif Description
IDOC_CONTRL EDIDC 542 IDoc control records
IDOC_DATA EDIDD 1062 IDoc data records
IDOC_STATUS BDIDOCSTAT 394 IDoc status records
RETURN_VARIABLES BDWFRETVAR 102 Result variables with values for workflow
SERIALIZATION_INFO BDI_SER 215 Serialization info - not used

Exception Description
WRONG_FUNCTION_CALLED Wrong function was called

<(>&<)>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 andstores
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. Ifany
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 inthe
DRM system for each material,storage location combination in thestaging
location.
From the Staging ,on release of these records the Inventory
Reconcillation process takes over.