Fonction SAP APPLICATION_IDOC_POST_IMMEDIAT - Inbound: Send application IDoc to the application immediately

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DO_COMMIT EDIGENERAL-DO_COMMIT C 1 C_TRUE X Flag: Commit Work stopped in program
ERROR_FLAG BDAPPLIDOC-POST_IMMED C 1 C_FALSE X Flag: called from error handling
INBOUND_PARTNER_PROFILE EDP21 u 169 X Partner profile for inbound processing

Paramètre Reférence Long. Facultatif Description
IDOC_CONTROL EDIDC 542 IDoc control records
IDOC_DATA EDIDD 1062 IDoc data segments

Exception Description
ERROR_OPENING_IDOC Unable to open IDoc
ERROR_WRITING_IDOC_STATUS Unable to write IDoc status
NO_IDOCS No IDocs with correct status in packet

Functionality
This function relays IDocs with status 64 "Ready to be passed to theappliaction" to the application. In other words, on the basis of theinbound processing partner profile, either an application functionmodule or a Workflow work item is started.
The exceptions ERROR_OPENING_IDOC, ERROR_WRITING_IDOC_STATUS andERROR_CLOSING_IDOC are only triggered if the ERROR_FLAG importparameter is set.
Otherwise a work item is generated for these errors.