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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
I_IDOC_NUMBERImportingTYPE
EDX_IDOC_NUMBER
EDX: IDoc Number for This Message
I_IDOC_STATUSImportingTYPE
EDI_STATUS
Status of IDoc
I_MSGIDImportingTYPE
EDI_STAMID
Status Message ID
I_MSGNOImportingTYPE
EDI_STAMNO
Number of Status Message
I_PARAM1ImportingTYPE
EDI_PARMTR
Parameter(s)
I_PARAM2ImportingTYPE
EDI_PARMTR
Parameter(s)
I_PARAM3ImportingTYPE
EDI_PARMTR
Parameter(s)
I_PARAM4ImportingTYPE
EDI_PARMTR
Parameter(s)



Exceptions of Method SET_IDOC_STATUS

STATUS_NOT_UPDATED - Status of IDoc not Reset

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!