SET_IDOC_STATUS SAP Method Set IDOC Status
Below is documentation, parameters and attributes of ABAP Method SET_IDOC_STATUS within SAP class EDX_UTIL. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name EDX_UTIL into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method SET_IDOC_STATUS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_IDOC_STATUS
.Name | Type | Data Type | Description | Default Value |
I_IDOC_NUMBER | Importing | TYPE EDX_IDOC_NUMBER | EDX: IDoc Number for This Message | |
I_IDOC_STATUS | Importing | TYPE EDI_STATUS | Status of IDoc | |
I_MSGID | Importing | TYPE EDI_STAMID | Status Message ID | |
I_MSGNO | Importing | TYPE EDI_STAMNO | Number of Status Message | |
I_PARAM1 | Importing | TYPE EDI_PARMTR | Parameter(s) | |
I_PARAM2 | Importing | TYPE EDI_PARMTR | Parameter(s) | |
I_PARAM3 | Importing | TYPE EDI_PARMTR | Parameter(s) | |
I_PARAM4 | Importing | TYPE EDI_PARMTR | Parameter(s) |
Exceptions of Method SET_IDOC_STATUS
STATUS_NOT_UPDATED - Status of IDoc not ResetExample ABAP coding
DATA: lv_I_IDOC_NUMBER TYPE EDX_IDOC_NUMBER,
lv_I_IDOC_STATUS TYPE EDI_STATUS,
lv_I_MSGID TYPE EDI_STAMID,
lv_I_MSGNO TYPE EDI_STAMNO,
lv_I_PARAM1 TYPE EDI_PARMTR,
lv_I_PARAM2 TYPE EDI_PARMTR,
lv_I_PARAM3 TYPE EDI_PARMTR,
lv_I_PARAM4 TYPE EDI_PARMTR,
lv_other TYPE c.
CALL METHOD EDX_UTIL=>SET_IDOC_STATUS(
EXPORTING
I_IDOC_NUMBER = lv_I_IDOC_NUMBER
I_IDOC_STATUS = lv_I_IDOC_STATUS
I_MSGID = lv_I_MSGID
I_MSGNO = lv_I_MSGNO
I_PARAM1 = lv_I_PARAM1
I_PARAM2 = lv_I_PARAM2
I_PARAM3 = lv_I_PARAM3
I_PARAM4 = lv_I_PARAM4 ).
Links to Related Class(s)
EDX_UTIL...Full list of available SAP object classes
Search for further information about these or an SAP related objects