SAP GRIR_ALV_LIST_WERE Function Module for NOTRANSL: Liste der auszugleichenden WE/RE-Positionen
GRIR_ALV_LIST_WERE is a standard grir alv list were SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Liste der auszugleichenden WE/RE-Positionen 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 grir alv list were FM, simply by entering the name GRIR_ALV_LIST_WERE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CKML_MR11_ALV
Program Name: SAPLCKML_MR11_ALV
Main Program: SAPLCKML_MR11_ALV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function GRIR_ALV_LIST_WERE 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 'GRIR_ALV_LIST_WERE'"NOTRANSL: Liste der auszugleichenden WE/RE-Positionen.
EXPORTING
IS_BKOPF = "Header Data of Account Maintenance
IS_VARIANT = "CP
* IS_PRT = "
I_SHOW_DOCUMENT = "Checkbox
I_MSPROT = "Checkbox
I_ARCHIVE_DISPLAY = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
IMPORTING
ES_EXIT_CAUSED_BY_USER = "
TABLES
IT_HEADER = "Header of Hierarch. ALV List for GR/IR Account Maintenance
IT_ITEM = "Item of Hierarch. ALV List for GR/IR Account Maintenance
IMPORTING Parameters details for GRIR_ALV_LIST_WERE
IS_BKOPF - Header Data of Account Maintenance
Data type: MR11_HEADEROptional: No
Call by Reference: Yes
IS_VARIANT - CP
Data type: DISVARIANTOptional: No
Call by Reference: Yes
IS_PRT -
Data type: SLIS_PRINT_ALVOptional: Yes
Call by Reference: Yes
I_SHOW_DOCUMENT - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
I_MSPROT - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
I_ARCHIVE_DISPLAY - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: No
Call by Reference: Yes
EXPORTING Parameters details for GRIR_ALV_LIST_WERE
ES_EXIT_CAUSED_BY_USER -
Data type: SLIS_EXIT_BY_USEROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for GRIR_ALV_LIST_WERE
IT_HEADER - Header of Hierarch. ALV List for GR/IR Account Maintenance
Data type: GRIR_LIST_HEADOptional: No
Call by Reference: Yes
IT_ITEM - Item of Hierarch. ALV List for GR/IR Account Maintenance
Data type: GRIR_LIST_ITEMOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for GRIR_ALV_LIST_WERE 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_is_bkopf | TYPE MR11_HEADER, " | |||
lt_it_header | TYPE STANDARD TABLE OF GRIR_LIST_HEAD, " | |||
lv_es_exit_caused_by_user | TYPE SLIS_EXIT_BY_USER, " | |||
lt_it_item | TYPE STANDARD TABLE OF GRIR_LIST_ITEM, " | |||
lv_is_variant | TYPE DISVARIANT, " | |||
lv_is_prt | TYPE SLIS_PRINT_ALV, " | |||
lv_i_show_document | TYPE XFELD, " | |||
lv_i_msprot | TYPE XFELD, " | |||
lv_i_archive_display | TYPE BOOLE-BOOLE. " |
  CALL FUNCTION 'GRIR_ALV_LIST_WERE' "NOTRANSL: Liste der auszugleichenden WE/RE-Positionen |
EXPORTING | ||
IS_BKOPF | = lv_is_bkopf | |
IS_VARIANT | = lv_is_variant | |
IS_PRT | = lv_is_prt | |
I_SHOW_DOCUMENT | = lv_i_show_document | |
I_MSPROT | = lv_i_msprot | |
I_ARCHIVE_DISPLAY | = lv_i_archive_display | |
IMPORTING | ||
ES_EXIT_CAUSED_BY_USER | = lv_es_exit_caused_by_user | |
TABLES | ||
IT_HEADER | = lt_it_header | |
IT_ITEM | = lt_it_item | |
. " GRIR_ALV_LIST_WERE |
ABAP code using 7.40 inline data declarations to call FM GRIR_ALV_LIST_WERE
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 BOOLE FROM BOOLE INTO @DATA(ld_i_archive_display). | ||||
Search for further information about these or an SAP related objects