SAP ISU_DISCDOC_ORDSTATE_SELECT Function Module for Private: Selection of Confirmation Status
ISU_DISCDOC_ORDSTATE_SELECT is a standard isu discdoc ordstate select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Private: Selection of Confirmation Status 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 discdoc ordstate select FM, simply by entering the name ISU_DISCDOC_ORDSTATE_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: ES34ALLG
Program Name: SAPLES34ALLG
Main Program: SAPLES34ALLG
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_DISCDOC_ORDSTATE_SELECT 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_DISCDOC_ORDSTATE_SELECT'"Private: Selection of Confirmation Status.
EXPORTING
* X_ORDSTATE = ' ' "Status of disconnection or reconnection order
* X_SPRAS = SY-LANGU "Language Key
* X_ACTUAL = ' ' "Consistent data
* X_ALL = ' ' "Indicator
TABLES
YT_V_EDISCORDSTATE = "Generated Table for View &
EXCEPTIONS
NOT_FOUND = 1 SYSTEM_ERROR = 2
IMPORTING Parameters details for ISU_DISCDOC_ORDSTATE_SELECT
X_ORDSTATE - Status of disconnection or reconnection order
Data type: EDISCORDSTATE-ORDSTATEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SPRAS - Language Key
Data type: EDISCORDSTATET-SPRASDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ACTUAL - Consistent data
Data type: REGEN-ACTUALDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ALL - Indicator
Data type: REGEN-KENNZXDefault: SPACE
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for ISU_DISCDOC_ORDSTATE_SELECT
YT_V_EDISCORDSTATE - Generated Table for View &
Data type: V_EDISCORDSTATEOptional: No
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
SYSTEM_ERROR - System error occurred when reading
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_DISCDOC_ORDSTATE_SELECT 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_not_found | TYPE STRING, " | |||
| lv_x_ordstate | TYPE EDISCORDSTATE-ORDSTATE, " SPACE | |||
| lt_yt_v_ediscordstate | TYPE STANDARD TABLE OF V_EDISCORDSTATE, " | |||
| lv_x_spras | TYPE EDISCORDSTATET-SPRAS, " SY-LANGU | |||
| lv_system_error | TYPE EDISCORDSTATET, " | |||
| lv_x_actual | TYPE REGEN-ACTUAL, " SPACE | |||
| lv_x_all | TYPE REGEN-KENNZX. " SPACE |
|   CALL FUNCTION 'ISU_DISCDOC_ORDSTATE_SELECT' "Private: Selection of Confirmation Status |
| EXPORTING | ||
| X_ORDSTATE | = lv_x_ordstate | |
| X_SPRAS | = lv_x_spras | |
| X_ACTUAL | = lv_x_actual | |
| X_ALL | = lv_x_all | |
| TABLES | ||
| YT_V_EDISCORDSTATE | = lt_yt_v_ediscordstate | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| SYSTEM_ERROR = 2 | ||
| . " ISU_DISCDOC_ORDSTATE_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM ISU_DISCDOC_ORDSTATE_SELECT
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 ORDSTATE FROM EDISCORDSTATE INTO @DATA(ld_x_ordstate). | ||||
| DATA(ld_x_ordstate) | = ' '. | |||
| "SELECT single SPRAS FROM EDISCORDSTATET INTO @DATA(ld_x_spras). | ||||
| DATA(ld_x_spras) | = SY-LANGU. | |||
| "SELECT single ACTUAL FROM REGEN INTO @DATA(ld_x_actual). | ||||
| DATA(ld_x_actual) | = ' '. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_all). | ||||
| DATA(ld_x_all) | = ' '. | |||
Search for further information about these or an SAP related objects