SAP ISU_OUTSORT_IERDO_WRITE Function Module for Internal: Add Entries During Outsorting for IERDO
ISU_OUTSORT_IERDO_WRITE is a standard isu outsort ierdo write SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Internal: Add Entries During Outsorting for IERDO processing and below is the pattern details for this FM, 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 outsort ierdo write FM, simply by entering the name ISU_OUTSORT_IERDO_WRITE into the relevant SAP transaction such as SE37 or SE38.
Function Group: EVI0
Program Name: SAPLEVI0
Main Program: SAPLEVI0
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_OUTSORT_IERDO_WRITE 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_OUTSORT_IERDO_WRITE'"Internal: Add Entries During Outsorting for IERDO.
EXPORTING
* X_VALIDAT_IN = "
* X_DEVIATION = "
* X_MANOUTS_IN = "
* X_OUTCOUNT = "
* X_OUTSORT_IN = "
* X_OUTSORT_PR = "
CHANGING
XY_IERDO = "
XY_OUTCNSO = "
IMPORTING Parameters details for ISU_OUTSORT_IERDO_WRITE
X_VALIDAT_IN -
Data type: ERDO-VALIDAT_INOptional: Yes
Call by Reference: Yes
X_DEVIATION -
Data type: ERDO-DEVIATIONOptional: Yes
Call by Reference: Yes
X_MANOUTS_IN -
Data type: ERDO-MANOUTS_INOptional: Yes
Call by Reference: Yes
X_OUTCOUNT -
Data type: ERDO-OUTCOUNTOptional: Yes
Call by Reference: Yes
X_OUTSORT_IN -
Data type: ERDO-OUTSORT_INOptional: Yes
Call by Reference: Yes
X_OUTSORT_PR -
Data type: ERDO-OUTSORT_PROptional: Yes
Call by Reference: Yes
CHANGING Parameters details for ISU_OUTSORT_IERDO_WRITE
XY_IERDO -
Data type: ISU21_PRINT_DOC-T_ERDOOptional: No
Call by Reference: Yes
XY_OUTCNSO -
Data type: ERDO-OUTCNSOOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_OUTSORT_IERDO_WRITE 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_xy_ierdo | TYPE ISU21_PRINT_DOC-T_ERDO, " | |||
| lv_x_validat_in | TYPE ERDO-VALIDAT_IN, " | |||
| lv_xy_outcnso | TYPE ERDO-OUTCNSO, " | |||
| lv_x_deviation | TYPE ERDO-DEVIATION, " | |||
| lv_x_manouts_in | TYPE ERDO-MANOUTS_IN, " | |||
| lv_x_outcount | TYPE ERDO-OUTCOUNT, " | |||
| lv_x_outsort_in | TYPE ERDO-OUTSORT_IN, " | |||
| lv_x_outsort_pr | TYPE ERDO-OUTSORT_PR. " |
|   CALL FUNCTION 'ISU_OUTSORT_IERDO_WRITE' "Internal: Add Entries During Outsorting for IERDO |
| EXPORTING | ||
| X_VALIDAT_IN | = lv_x_validat_in | |
| X_DEVIATION | = lv_x_deviation | |
| X_MANOUTS_IN | = lv_x_manouts_in | |
| X_OUTCOUNT | = lv_x_outcount | |
| X_OUTSORT_IN | = lv_x_outsort_in | |
| X_OUTSORT_PR | = lv_x_outsort_pr | |
| CHANGING | ||
| XY_IERDO | = lv_xy_ierdo | |
| XY_OUTCNSO | = lv_xy_outcnso | |
| . " ISU_OUTSORT_IERDO_WRITE | ||
ABAP code using 7.40 inline data declarations to call FM ISU_OUTSORT_IERDO_WRITE
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.| "SELECT single T_ERDO FROM ISU21_PRINT_DOC INTO @DATA(ld_xy_ierdo). | ||||
| "SELECT single VALIDAT_IN FROM ERDO INTO @DATA(ld_x_validat_in). | ||||
| "SELECT single OUTCNSO FROM ERDO INTO @DATA(ld_xy_outcnso). | ||||
| "SELECT single DEVIATION FROM ERDO INTO @DATA(ld_x_deviation). | ||||
| "SELECT single MANOUTS_IN FROM ERDO INTO @DATA(ld_x_manouts_in). | ||||
| "SELECT single OUTCOUNT FROM ERDO INTO @DATA(ld_x_outcount). | ||||
| "SELECT single OUTSORT_IN FROM ERDO INTO @DATA(ld_x_outsort_in). | ||||
| "SELECT single OUTSORT_PR FROM ERDO INTO @DATA(ld_x_outsort_pr). | ||||
Search for further information about these or an SAP related objects