SAP G_RW_INTERPRET_MULTI Function Module for









G_RW_INTERPRET_MULTI is a standard g rw interpret multi 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 g rw interpret multi FM, simply by entering the name G_RW_INTERPRET_MULTI into the relevant SAP transaction such as SE37 or SE38.

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



Function G_RW_INTERPRET_MULTI 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 'G_RW_INTERPRET_MULTI'"
EXPORTING
* TOPDOWN = ' ' "
SETID = "Set ID
TAB = "Table
* NO_SINGLE_SETVALUES = ' ' "
* NO_LOWEST_SETVALUES = ' ' "

TABLES
OUTPUT_TABLE = "Output Table
* FROM_TO_LEVEL = "

EXCEPTIONS
SET_NOT_FOUND = 1 INVALID_INDEX = 2
.



IMPORTING Parameters details for G_RW_INTERPRET_MULTI

TOPDOWN -

Data type: RWIF_C1-PARAM
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

SETID - Set ID

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

TAB - Table

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

NO_SINGLE_SETVALUES -

Data type: RWIF_C1-PARAM
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

NO_LOWEST_SETVALUES -

Data type: RWIF_C1-PARAM
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for G_RW_INTERPRET_MULTI

OUTPUT_TABLE - Output Table

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

FROM_TO_LEVEL -

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

EXCEPTIONS details

SET_NOT_FOUND -

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

INVALID_INDEX - Internal error

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

Copy and paste ABAP code example for G_RW_INTERPRET_MULTI 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_topdown  TYPE RWIF_C1-PARAM, "   ' '
lt_output_table  TYPE STANDARD TABLE OF RWIF_MULTI, "   
lv_set_not_found  TYPE RWIF_MULTI, "   
lv_setid  TYPE SETHIER-SETID, "   
lt_from_to_level  TYPE STANDARD TABLE OF RWIF_LEVEL, "   
lv_invalid_index  TYPE RWIF_LEVEL, "   
lv_tab  TYPE RGSMH-TABLE, "   
lv_no_single_setvalues  TYPE RWIF_C1-PARAM, "   ' '
lv_no_lowest_setvalues  TYPE RWIF_C1-PARAM. "   ' '

  CALL FUNCTION 'G_RW_INTERPRET_MULTI'  "
    EXPORTING
         TOPDOWN = lv_topdown
         SETID = lv_setid
         TAB = lv_tab
         NO_SINGLE_SETVALUES = lv_no_single_setvalues
         NO_LOWEST_SETVALUES = lv_no_lowest_setvalues
    TABLES
         OUTPUT_TABLE = lt_output_table
         FROM_TO_LEVEL = lt_from_to_level
    EXCEPTIONS
        SET_NOT_FOUND = 1
        INVALID_INDEX = 2
. " G_RW_INTERPRET_MULTI




ABAP code using 7.40 inline data declarations to call FM G_RW_INTERPRET_MULTI

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 PARAM FROM RWIF_C1 INTO @DATA(ld_topdown).
DATA(ld_topdown) = ' '.
 
 
 
"SELECT single SETID FROM SETHIER INTO @DATA(ld_setid).
 
 
 
"SELECT single TABLE FROM RGSMH INTO @DATA(ld_tab).
 
"SELECT single PARAM FROM RWIF_C1 INTO @DATA(ld_no_single_setvalues).
DATA(ld_no_single_setvalues) = ' '.
 
"SELECT single PARAM FROM RWIF_C1 INTO @DATA(ld_no_lowest_setvalues).
DATA(ld_no_lowest_setvalues) = ' '.
 


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!