SAP ISU_DB_ERCH_CURSOR_REORG Function Module for INTERNAL: Open a Cursor for ERCH Table (REA_SIM_DEL)
ISU_DB_ERCH_CURSOR_REORG is a standard isu db erch cursor reorg 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: Open a Cursor for ERCH Table (REA_SIM_DEL) 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 db erch cursor reorg FM, simply by entering the name ISU_DB_ERCH_CURSOR_REORG into the relevant SAP transaction such as SE37 or SE38.
Function Group: E26_ERCH
Program Name: SAPLE26_ERCH
Main Program: SAPLE26_ERCH
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_DB_ERCH_CURSOR_REORG 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_DB_ERCH_CURSOR_REORG'"INTERNAL: Open a Cursor for ERCH Table (REA_SIM_DEL).
EXPORTING
* X_HOLD = 'X' "
X_BELEGDAT = "
IMPORTING
Y_ERCH_CURSOR = "
TABLES
* X_SE_BELNR = "
* X_SE_PRTN = "
* X_SE_SIM = "
IMPORTING Parameters details for ISU_DB_ERCH_CURSOR_REORG
X_HOLD -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_BELEGDAT -
Data type: ERCH-BELEGDATOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_DB_ERCH_CURSOR_REORG
Y_ERCH_CURSOR -
Data type: ISUAR_CURSOROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_DB_ERCH_CURSOR_REORG
X_SE_BELNR -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
X_SE_PRTN -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
X_SE_SIM -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_DB_ERCH_CURSOR_REORG 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_hold | TYPE C, " 'X' | |||
| lt_x_se_belnr | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_y_erch_cursor | TYPE ISUAR_CURSOR, " | |||
| lt_x_se_prtn | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_x_belegdat | TYPE ERCH-BELEGDAT, " | |||
| lt_x_se_sim | TYPE STANDARD TABLE OF ISU_RANGES. " |
|   CALL FUNCTION 'ISU_DB_ERCH_CURSOR_REORG' "INTERNAL: Open a Cursor for ERCH Table (REA_SIM_DEL) |
| EXPORTING | ||
| X_HOLD | = lv_x_hold | |
| X_BELEGDAT | = lv_x_belegdat | |
| IMPORTING | ||
| Y_ERCH_CURSOR | = lv_y_erch_cursor | |
| TABLES | ||
| X_SE_BELNR | = lt_x_se_belnr | |
| X_SE_PRTN | = lt_x_se_prtn | |
| X_SE_SIM | = lt_x_se_sim | |
| . " ISU_DB_ERCH_CURSOR_REORG | ||
ABAP code using 7.40 inline data declarations to call FM ISU_DB_ERCH_CURSOR_REORG
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.| DATA(ld_x_hold) | = 'X'. | |||
| "SELECT single BELEGDAT FROM ERCH INTO @DATA(ld_x_belegdat). | ||||
Search for further information about these or an SAP related objects