SAP BAPI_REP_GLI70 Function Module for NO LONGER IN USE !!! This module has been closed down!
BAPI_REP_GLI70 is a standard bapi rep gli70 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NO LONGER IN USE !!! This module has been closed down! 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 bapi rep gli70 FM, simply by entering the name BAPI_REP_GLI70 into the relevant SAP transaction such as SE37 or SE38.
Function Group: GLEX
Program Name: SAPLGLEX
Main Program: SAPLGLEX
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_REP_GLI70 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 'BAPI_REP_GLI70'"NO LONGER IN USE !!! This module has been closed down!.
EXPORTING
* I_ITEM1 = 0020100000 "FS item 1
* I_SORTVAR = 0 "Sort Variable
* I_ITEM2 = 0060200000 "FS item 2
* I_ITEM3 = 0030110000 "FS item 3
* I_ITEM4 = 0010000000 "FS item 4
* I_KWAER = ' ' "Currency
I_POPER = "Period
I_RSUBD = "Subgroup
I_RVERS = "Version
I_RYEAR = "Year
TABLES
IT_EPARA_GLI70 = "Export Paramaters for GLI70
IT_GLI70 = "List of Companies
EXCEPTIONS
NOT_FOUND = 1 NO_AUTHORITY = 2
IMPORTING Parameters details for BAPI_REP_GLI70
I_ITEM1 - FS item 1
Data type: T854-ITEMDefault: 0020100000
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SORTVAR - Sort Variable
Data type: T850-SORT1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ITEM2 - FS item 2
Data type: T854-ITEMDefault: 0060200000
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ITEM3 - FS item 3
Data type: T854-ITEMDefault: 0030110000
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ITEM4 - FS item 4
Data type: T854-ITEMDefault: 0010000000
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KWAER - Currency
Data type: T850-SORT1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_POPER - Period
Data type: KONSPARAM-POPEROptional: No
Call by Reference: No ( called with pass by value option)
I_RSUBD - Subgroup
Data type: KONSPARAM-RSUBDOptional: No
Call by Reference: No ( called with pass by value option)
I_RVERS - Version
Data type: KONSPARAM-RVERSOptional: No
Call by Reference: No ( called with pass by value option)
I_RYEAR - Year
Data type: KONSPARAM-RYEAROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_REP_GLI70
IT_EPARA_GLI70 - Export Paramaters for GLI70
Data type: GLEX_EPARAOptional: No
Call by Reference: No ( called with pass by value option)
IT_GLI70 - List of Companies
Data type: GLEX_GLI70Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_REP_GLI70 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_i_item1 | TYPE T854-ITEM, " 0020100000 | |||
| lv_not_found | TYPE T854, " | |||
| lt_it_epara_gli70 | TYPE STANDARD TABLE OF GLEX_EPARA, " | |||
| lv_i_sortvar | TYPE T850-SORT1, " 0 | |||
| lv_i_item2 | TYPE T854-ITEM, " 0060200000 | |||
| lt_it_gli70 | TYPE STANDARD TABLE OF GLEX_GLI70, " | |||
| lv_no_authority | TYPE GLEX_GLI70, " | |||
| lv_i_item3 | TYPE T854-ITEM, " 0030110000 | |||
| lv_i_item4 | TYPE T854-ITEM, " 0010000000 | |||
| lv_i_kwaer | TYPE T850-SORT1, " ' ' | |||
| lv_i_poper | TYPE KONSPARAM-POPER, " | |||
| lv_i_rsubd | TYPE KONSPARAM-RSUBD, " | |||
| lv_i_rvers | TYPE KONSPARAM-RVERS, " | |||
| lv_i_ryear | TYPE KONSPARAM-RYEAR. " |
|   CALL FUNCTION 'BAPI_REP_GLI70' "NO LONGER IN USE !!! This module has been closed down! |
| EXPORTING | ||
| I_ITEM1 | = lv_i_item1 | |
| I_SORTVAR | = lv_i_sortvar | |
| I_ITEM2 | = lv_i_item2 | |
| I_ITEM3 | = lv_i_item3 | |
| I_ITEM4 | = lv_i_item4 | |
| I_KWAER | = lv_i_kwaer | |
| I_POPER | = lv_i_poper | |
| I_RSUBD | = lv_i_rsubd | |
| I_RVERS | = lv_i_rvers | |
| I_RYEAR | = lv_i_ryear | |
| TABLES | ||
| IT_EPARA_GLI70 | = lt_it_epara_gli70 | |
| IT_GLI70 | = lt_it_gli70 | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| NO_AUTHORITY = 2 | ||
| . " BAPI_REP_GLI70 | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_REP_GLI70
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 ITEM FROM T854 INTO @DATA(ld_i_item1). | ||||
| DATA(ld_i_item1) | = 0020100000. | |||
| "SELECT single SORT1 FROM T850 INTO @DATA(ld_i_sortvar). | ||||
| "SELECT single ITEM FROM T854 INTO @DATA(ld_i_item2). | ||||
| DATA(ld_i_item2) | = 0060200000. | |||
| "SELECT single ITEM FROM T854 INTO @DATA(ld_i_item3). | ||||
| DATA(ld_i_item3) | = 0030110000. | |||
| "SELECT single ITEM FROM T854 INTO @DATA(ld_i_item4). | ||||
| DATA(ld_i_item4) | = 0010000000. | |||
| "SELECT single SORT1 FROM T850 INTO @DATA(ld_i_kwaer). | ||||
| DATA(ld_i_kwaer) | = ' '. | |||
| "SELECT single POPER FROM KONSPARAM INTO @DATA(ld_i_poper). | ||||
| "SELECT single RSUBD FROM KONSPARAM INTO @DATA(ld_i_rsubd). | ||||
| "SELECT single RVERS FROM KONSPARAM INTO @DATA(ld_i_rvers). | ||||
| "SELECT single RYEAR FROM KONSPARAM INTO @DATA(ld_i_ryear). | ||||
Search for further information about these or an SAP related objects