SAP REPL_LIST_HEADS_READ Function Module for NOTRANSL: Sortimentslisten-Kopf-Informationen werden gelesen









REPL_LIST_HEADS_READ is a standard repl list heads read 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: Sortimentslisten-Kopf-Informationen werden gelesen 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 repl list heads read FM, simply by entering the name REPL_LIST_HEADS_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function REPL_LIST_HEADS_READ 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 'REPL_LIST_HEADS_READ'"NOTRANSL: Sortimentslisten-Kopf-Informationen werden gelesen
EXPORTING
* PI_DATE_BEGIN = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_DATE_END = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_GENERATED_DATE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_I_WBBH = "Assortment list header
* PI_SINGLE_VERSION = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_LAST_INCL = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
PE_I_WBBH = "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
* PI_SO_STORE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_SO_BBTYP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_SO_VKORG = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_SO_VTWEG = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PE_T_WBBH = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
NO_VERSION = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLWBBE_001 Modification of Assortment List Items and Groups
EXIT_SAPLWBBE_002 Field Modification in the Assortment List Line

IMPORTING Parameters details for REPL_LIST_HEADS_READ

PI_DATE_BEGIN - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PI_DATE_END - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PI_GENERATED_DATE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PI_I_WBBH - Assortment list header

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

PI_SINGLE_VERSION - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PI_LAST_INCL - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXPORTING Parameters details for REPL_LIST_HEADS_READ

PE_I_WBBH - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for REPL_LIST_HEADS_READ

PI_SO_STORE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PI_SO_BBTYP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PI_SO_VKORG - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PI_SO_VTWEG - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PE_T_WBBH - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

NO_VERSION - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for REPL_LIST_HEADS_READ 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_pe_i_wbbh  TYPE WBBH, "   
lv_no_version  TYPE WBBH, "   
lt_pi_so_store  TYPE STANDARD TABLE OF WDL_LOC, "   
lv_pi_date_begin  TYPE SY-DATUM, "   
lv_pi_date_end  TYPE SY-DATUM, "   
lt_pi_so_bbtyp  TYPE STANDARD TABLE OF WDL_BBT, "   
lt_pi_so_vkorg  TYPE STANDARD TABLE OF WDL_VKORG, "   
lv_pi_generated_date  TYPE WDL_FLAG-XFELD, "   ' '
lv_pi_i_wbbh  TYPE WBBH, "   
lt_pi_so_vtweg  TYPE STANDARD TABLE OF WDL_VTWEG, "   
lt_pe_t_wbbh  TYPE STANDARD TABLE OF WBBH, "   
lv_pi_single_version  TYPE WDL_FLAG-XFELD, "   ' '
lv_pi_last_incl  TYPE WSL_BUTTON-SL_LASTV. "   ' '

  CALL FUNCTION 'REPL_LIST_HEADS_READ'  "NOTRANSL: Sortimentslisten-Kopf-Informationen werden gelesen
    EXPORTING
         PI_DATE_BEGIN = lv_pi_date_begin
         PI_DATE_END = lv_pi_date_end
         PI_GENERATED_DATE = lv_pi_generated_date
         PI_I_WBBH = lv_pi_i_wbbh
         PI_SINGLE_VERSION = lv_pi_single_version
         PI_LAST_INCL = lv_pi_last_incl
    IMPORTING
         PE_I_WBBH = lv_pe_i_wbbh
    TABLES
         PI_SO_STORE = lt_pi_so_store
         PI_SO_BBTYP = lt_pi_so_bbtyp
         PI_SO_VKORG = lt_pi_so_vkorg
         PI_SO_VTWEG = lt_pi_so_vtweg
         PE_T_WBBH = lt_pe_t_wbbh
    EXCEPTIONS
        NO_VERSION = 1
. " REPL_LIST_HEADS_READ




ABAP code using 7.40 inline data declarations to call FM REPL_LIST_HEADS_READ

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 DATUM FROM SY INTO @DATA(ld_pi_date_begin).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_pi_date_end).
 
 
 
"SELECT single XFELD FROM WDL_FLAG INTO @DATA(ld_pi_generated_date).
DATA(ld_pi_generated_date) = ' '.
 
 
 
 
"SELECT single XFELD FROM WDL_FLAG INTO @DATA(ld_pi_single_version).
DATA(ld_pi_single_version) = ' '.
 
"SELECT single SL_LASTV FROM WSL_BUTTON INTO @DATA(ld_pi_last_incl).
DATA(ld_pi_last_incl) = ' '.
 


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!