SAP ISU_IDOC_GET_STATUS_ICON Function Module for
ISU_IDOC_GET_STATUS_ICON is a standard isu idoc get status icon SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for isu idoc get status icon FM, simply by entering the name ISU_IDOC_GET_STATUS_ICON into the relevant SAP transaction such as SE37 or SE38.
Function Group: EDATEX_TASK
Program Name: SAPLEDATEX_TASK
Main Program: SAPLEDATEX_TASK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_IDOC_GET_STATUS_ICON pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ISU_IDOC_GET_STATUS_ICON'".
EXPORTING
X_DOCNUM = "IDoc Number
IMPORTING
Y_STATUS = "Status of IDoc
Y_STALIGHT = "Value for traffic light for status groups in IDoc display
Y_STATUSICON = "Icons for Data Exchange Task IDoc Status in ALV
Y_STATUSTEXT = "Short description of object
IMPORTING Parameters details for ISU_IDOC_GET_STATUS_ICON
X_DOCNUM - IDoc Number
Data type: EDI_DOCNUMOptional: No
Call by Reference: Yes
EXPORTING Parameters details for ISU_IDOC_GET_STATUS_ICON
Y_STATUS - Status of IDoc
Data type: EDI_STATUSOptional: No
Call by Reference: Yes
Y_STALIGHT - Value for traffic light for status groups in IDoc display
Data type: EDI_SLIGHTOptional: No
Call by Reference: Yes
Y_STATUSICON - Icons for Data Exchange Task IDoc Status in ALV
Data type: E_DEXICONIDOCSTATUSOptional: No
Call by Reference: Yes
Y_STATUSTEXT - Short description of object
Data type: EDI_TEXT60Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_IDOC_GET_STATUS_ICON Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_x_docnum | TYPE EDI_DOCNUM, " | |||
| lv_y_status | TYPE EDI_STATUS, " | |||
| lv_y_stalight | TYPE EDI_SLIGHT, " | |||
| lv_y_statusicon | TYPE E_DEXICONIDOCSTATUS, " | |||
| lv_y_statustext | TYPE EDI_TEXT60. " |
|   CALL FUNCTION 'ISU_IDOC_GET_STATUS_ICON' " |
| EXPORTING | ||
| X_DOCNUM | = lv_x_docnum | |
| IMPORTING | ||
| Y_STATUS | = lv_y_status | |
| Y_STALIGHT | = lv_y_stalight | |
| Y_STATUSICON | = lv_y_statusicon | |
| Y_STATUSTEXT | = lv_y_statustext | |
| . " ISU_IDOC_GET_STATUS_ICON | ||
ABAP code using 7.40 inline data declarations to call FM ISU_IDOC_GET_STATUS_ICON
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects