SAP SD_REP_INTERPRETER_INFO_LIST Function Module for Display selected info blocks
SD_REP_INTERPRETER_INFO_LIST is a standard sd rep interpreter info list SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display selected info blocks 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 sd rep interpreter info list FM, simply by entering the name SD_REP_INTERPRETER_INFO_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: V77I
Program Name: SAPLV77I
Main Program:
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SD_REP_INTERPRETER_INFO_LIST 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 'SD_REP_INTERPRETER_INFO_LIST'"Display selected info blocks.
EXPORTING
* AKTIONSTYP = 'A' "Action type
ANWENDUNG = "Application program
BLOCKNUMMER = "chosen info block
SICHT = "chosen information view
* ACC_FLAG = "
IMPORTING
BLOCKNUMMER = "chosen info block
EXCEPTIONS
CANCEL = 1 NO_BLOCK_FOUND = 2
IMPORTING Parameters details for SD_REP_INTERPRETER_INFO_LIST
AKTIONSTYP - Action type
Data type: T180-AKTYPDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ANWENDUNG - Application program
Data type: T182BT-ANWENDUNGOptional: No
Call by Reference: No ( called with pass by value option)
BLOCKNUMMER - chosen info block
Data type: T182B-LFDNROptional: No
Call by Reference: No ( called with pass by value option)
SICHT - chosen information view
Data type: T182D-SICHTOptional: No
Call by Reference: No ( called with pass by value option)
ACC_FLAG -
Data type: FLAGOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SD_REP_INTERPRETER_INFO_LIST
BLOCKNUMMER - chosen info block
Data type: T182B-LFDNROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CANCEL - No info block was chosen
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_BLOCK_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SD_REP_INTERPRETER_INFO_LIST 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_cancel | TYPE STRING, " | |||
| lv_aktionstyp | TYPE T180-AKTYP, " 'A' | |||
| lv_blocknummer | TYPE T182B-LFDNR, " | |||
| lv_anwendung | TYPE T182BT-ANWENDUNG, " | |||
| lv_no_block_found | TYPE T182BT, " | |||
| lv_blocknummer | TYPE T182B-LFDNR, " | |||
| lv_sicht | TYPE T182D-SICHT, " | |||
| lv_acc_flag | TYPE FLAG. " |
|   CALL FUNCTION 'SD_REP_INTERPRETER_INFO_LIST' "Display selected info blocks |
| EXPORTING | ||
| AKTIONSTYP | = lv_aktionstyp | |
| ANWENDUNG | = lv_anwendung | |
| BLOCKNUMMER | = lv_blocknummer | |
| SICHT | = lv_sicht | |
| ACC_FLAG | = lv_acc_flag | |
| IMPORTING | ||
| BLOCKNUMMER | = lv_blocknummer | |
| EXCEPTIONS | ||
| CANCEL = 1 | ||
| NO_BLOCK_FOUND = 2 | ||
| . " SD_REP_INTERPRETER_INFO_LIST | ||
ABAP code using 7.40 inline data declarations to call FM SD_REP_INTERPRETER_INFO_LIST
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 AKTYP FROM T180 INTO @DATA(ld_aktionstyp). | ||||
| DATA(ld_aktionstyp) | = 'A'. | |||
| "SELECT single LFDNR FROM T182B INTO @DATA(ld_blocknummer). | ||||
| "SELECT single ANWENDUNG FROM T182BT INTO @DATA(ld_anwendung). | ||||
| "SELECT single LFDNR FROM T182B INTO @DATA(ld_blocknummer). | ||||
| "SELECT single SICHT FROM T182D INTO @DATA(ld_sicht). | ||||
Search for further information about these or an SAP related objects