ISU_ERCH_SELECT_RANGE_REMOTE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISU_ERCH_SELECT_RANGE_REMOTE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ISU_IL_BICO_REMOTE
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'ISU_ERCH_SELECT_RANGE_REMOTE' "Selects Database Table ERCH with Range Cntrct, DocNo., StartBPer, EndBPer.
EXPORTING
* x_actual = " e_actual Consistent data
* x_maxrows = " e_maxcount Maximum number of devices to be selected
* x_von = " begabrpe Start of billing period
x_bis = " endabrpe End of billing period
IMPORTING
y_count = " e_maxcount Maximum number of devices to be selected
y_error = " kennzx Indicators
y_not_found = " kennzx Indicators
* TABLES
* xt_vertrag = " isu_ranges
* xt_belnr = " isu_ranges
* xt_wheretab = " rsdswhere Free selection
* yt_erch = " erch
* yt_return = " bapiret2 Return Parameter
. " ISU_ERCH_SELECT_RANGE_REMOTE
The ABAP code below is a full code listing to execute function module ISU_ERCH_SELECT_RANGE_REMOTE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_y_count | TYPE E_MAXCOUNT , |
| ld_y_error | TYPE KENNZX , |
| ld_y_not_found | TYPE KENNZX , |
| it_xt_vertrag | TYPE STANDARD TABLE OF ISU_RANGES,"TABLES PARAM |
| wa_xt_vertrag | LIKE LINE OF it_xt_vertrag , |
| it_xt_belnr | TYPE STANDARD TABLE OF ISU_RANGES,"TABLES PARAM |
| wa_xt_belnr | LIKE LINE OF it_xt_belnr , |
| it_xt_wheretab | TYPE STANDARD TABLE OF RSDSWHERE,"TABLES PARAM |
| wa_xt_wheretab | LIKE LINE OF it_xt_wheretab , |
| it_yt_erch | TYPE STANDARD TABLE OF ERCH,"TABLES PARAM |
| wa_yt_erch | LIKE LINE OF it_yt_erch , |
| it_yt_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_yt_return | LIKE LINE OF it_yt_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_y_count | TYPE E_MAXCOUNT , |
| ld_x_actual | TYPE E_ACTUAL , |
| it_xt_vertrag | TYPE STANDARD TABLE OF ISU_RANGES , |
| wa_xt_vertrag | LIKE LINE OF it_xt_vertrag, |
| ld_y_error | TYPE KENNZX , |
| ld_x_maxrows | TYPE E_MAXCOUNT , |
| it_xt_belnr | TYPE STANDARD TABLE OF ISU_RANGES , |
| wa_xt_belnr | LIKE LINE OF it_xt_belnr, |
| ld_y_not_found | TYPE KENNZX , |
| ld_x_von | TYPE BEGABRPE , |
| it_xt_wheretab | TYPE STANDARD TABLE OF RSDSWHERE , |
| wa_xt_wheretab | LIKE LINE OF it_xt_wheretab, |
| ld_x_bis | TYPE ENDABRPE , |
| it_yt_erch | TYPE STANDARD TABLE OF ERCH , |
| wa_yt_erch | LIKE LINE OF it_yt_erch, |
| it_yt_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_yt_return | LIKE LINE OF it_yt_return. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISU_ERCH_SELECT_RANGE_REMOTE or its description.