The Function Module IDOC_INPUT () is a standard Function Module in SAP ERP and is part of the function group BD20 within the package SALE.
Function Module | IDOC_INPUT |
Short Text | |
Function Group | BD20 |
Package | SALE |
Module Type | Remote-Enabled |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DIRECT_CALL | LIKE | BDWF_PARAM-DIRECTCALL | C_FALSE | Direct call (not from a method) |
DO_COMMIT | LIKE | BDFIELDS-PARALLEL | C_TRUE | Flag: Commit Work transmitted in program |
END_EVENT_ALWAYS | LIKE | BDWF_PARAM-MANUALINPT | C_FALSE | Flag: IDoc end event should be triggered |
END_EVENT_ENABLED | LIKE | BDWF_PARAM-MANUALINPT | C_FALSE | Flag: IDoc end event can be triggered |
IDOC_START_EVENT_ENABLED | LIKE | BDWF_PARAM-MANUALINPT | C_TRUE | Flag: IDoc start event can be triggered |
INPUT_METHOD | LIKE | BDWFAP_PAR-INPUTMETHD | C_IN_BACKGROUND | Should be imported in background or foreground |
MASS_PROCESSING | LIKE | BDWF_PARAM-MASS_PROC | Flag: Mass input | |
NO_OF_RETRIES | LIKE | BDWF_PARAM-RETRIES | 0 | No. of retries for inbound IDoc |
PROCESS_CODE | LIKE | EDP21-EVCODE | Process code for inbound |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
EXCEPTION_VALUE | LIKE | BDWF_PARAM-EXCEPTION | Value of internal exception | |
INPUT_SUCCEEDED_FOR_ALL | LIKE | BDWF_PARAM-INPUT_OK | Flag: All IDocs successfully processed |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
IDOC_CONTROL | LIKE | EDIDC | IDoc control records | |
IDOC_DATA | LIKE | EDIDD | IDoc data segments (optional) | |
UNPROCESSED_IDOCS | LIKE | BDIDOCS | Unprocessed IDoc numbers |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
IDOCS_DO_NOT_EXIST | IDocs do not exist in database |
IDOCS_HAVE_NO_DATA_RECORDS | IDocs have no data records in database |
IDOC_CLOSE_DB_ERROR | Database error when writing data |
IDOC_CLOSE_NOT_OPEN | IDoc not yet opened |
IDOC_CLOSE_NO_STATUS_WRITTEN | No status written when closing |
IDOC_CLOSE_PARAMETER_ERROR | IDoc function module incorrectly parametrisized |
IDOC_OPEN_ALREADY | IDoc open already |
IDOC_OPEN_INVALID | IDoc number invalid when opening |
IDOC_OPEN_LOCK | IDoc already locked |
IDOC_OPEN_NOT_EXIST | IDoc does not exist |
IDOC_WRITE_DB_ERROR | |
IDOC_WRITE_LOCK | |
IDOC_WRITE_NO_STATUS | When writing status: no status transferred |
IDOC_WRITE_NUMBER_INVALID | Invalid IDoc number when writing status |
IDOC_WRITE_STATUS_INVALID | Status value invalid |
UNPROCESSED_IDOCS_EMPTY | Table Unprocessed_IDocs was transferred empty |