SAP ISU_DB_ERCH_SELECT Function Module for









ISU_DB_ERCH_SELECT is a standard isu db erch select 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 db erch select FM, simply by entering the name ISU_DB_ERCH_SELECT into the relevant SAP transaction such as SE37 or SE38.

Function Group: ERCH
Program Name: SAPLERCH
Main Program: SAPLERCH
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISU_DB_ERCH_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_DB_ERCH_SELECT'"
EXPORTING
* X_ACTUAL = "Consistent Data Version ('X' = Yes, ' ' = No)
* X_NO_ABRVORG_06 = "
* X_VERTRAG = "Contract
* X_AB = "From-Date
* X_SPARTE = "Division
* X_PORTION = "Portion
* X_SIMULATION = "
* X_BUKRS = "Company Code
X_SORT = "Sort Sequence
* X_STORNO = "

TABLES
* T_ERCH = "

EXCEPTIONS
NOT_FOUND = 1 NOT_QUALIFIED = 2
.



IMPORTING Parameters details for ISU_DB_ERCH_SELECT

X_ACTUAL - Consistent Data Version ('X' = Yes, ' ' = No)

Data type: REGEN-ACTUAL
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_NO_ABRVORG_06 -

Data type: KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_VERTRAG - Contract

Data type: EVER-VERTRAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_AB - From-Date

Data type: ERCH-BEGABRPE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_SPARTE - Division

Data type: ERCH-SPARTE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_PORTION - Portion

Data type: ERCH-PORTION
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_SIMULATION -

Data type: ERCH-SIMULATION
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_BUKRS - Company Code

Data type: ERCH-BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_SORT - Sort Sequence

Data type: REGEN-KZ_SORT
Optional: No
Call by Reference: No ( called with pass by value option)

X_STORNO -

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ISU_DB_ERCH_SELECT

T_ERCH -

Data type: ERCH
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NOT_FOUND - Billing Document(s) Not Found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NOT_QUALIFIED - Other Error

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISU_DB_ERCH_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:
lt_t_erch  TYPE STANDARD TABLE OF ERCH, "   
lv_x_actual  TYPE REGEN-ACTUAL, "   
lv_not_found  TYPE REGEN, "   
lv_x_no_abrvorg_06  TYPE KENNZX, "   
lv_x_vertrag  TYPE EVER-VERTRAG, "   
lv_not_qualified  TYPE EVER, "   
lv_x_ab  TYPE ERCH-BEGABRPE, "   
lv_x_sparte  TYPE ERCH-SPARTE, "   
lv_x_portion  TYPE ERCH-PORTION, "   
lv_x_simulation  TYPE ERCH-SIMULATION, "   
lv_x_bukrs  TYPE ERCH-BUKRS, "   
lv_x_sort  TYPE REGEN-KZ_SORT, "   
lv_x_storno  TYPE REGEN-KENNZX. "   

  CALL FUNCTION 'ISU_DB_ERCH_SELECT'  "
    EXPORTING
         X_ACTUAL = lv_x_actual
         X_NO_ABRVORG_06 = lv_x_no_abrvorg_06
         X_VERTRAG = lv_x_vertrag
         X_AB = lv_x_ab
         X_SPARTE = lv_x_sparte
         X_PORTION = lv_x_portion
         X_SIMULATION = lv_x_simulation
         X_BUKRS = lv_x_bukrs
         X_SORT = lv_x_sort
         X_STORNO = lv_x_storno
    TABLES
         T_ERCH = lt_t_erch
    EXCEPTIONS
        NOT_FOUND = 1
        NOT_QUALIFIED = 2
. " ISU_DB_ERCH_SELECT




ABAP code using 7.40 inline data declarations to call FM ISU_DB_ERCH_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 ACTUAL FROM REGEN INTO @DATA(ld_x_actual).
 
 
 
"SELECT single VERTRAG FROM EVER INTO @DATA(ld_x_vertrag).
 
 
"SELECT single BEGABRPE FROM ERCH INTO @DATA(ld_x_ab).
 
"SELECT single SPARTE FROM ERCH INTO @DATA(ld_x_sparte).
 
"SELECT single PORTION FROM ERCH INTO @DATA(ld_x_portion).
 
"SELECT single SIMULATION FROM ERCH INTO @DATA(ld_x_simulation).
 
"SELECT single BUKRS FROM ERCH INTO @DATA(ld_x_bukrs).
 
"SELECT single KZ_SORT FROM REGEN INTO @DATA(ld_x_sort).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_storno).
 


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!