SAP EXIT_SAPLWBBI_002 Function Module for Customer Enhancement for Assortment List Change Analysis









EXIT_SAPLWBBI_002 is a standard exit saplwbbi 002 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer Enhancement for Assortment List Change Analysis 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 exit saplwbbi 002 FM, simply by entering the name EXIT_SAPLWBBI_002 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLWBBI_002 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 'EXIT_SAPLWBBI_002'"Customer Enhancement for Assortment List Change Analysis
EXPORTING
PI_MESTYP = "Logical Message Type
PI_START_DATE = "Start Date: Formatting
PI_START_TIME = "Start Time: Formatting

TABLES
PI_T_POINTER = "Change Pointers
PI_T_ASORT = "Assortment User
P_T_MAT_CLIENT = "Changed Materials at Client Level
P_T_MAT_ASORT = "Changed Materials at Assortment User Level
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
ASSORT_LIST_CREATE_PARALLEL NOTRANSL: Sortimentsliste: Erzeugung in parallelen Prozessen
MASTERIDOC_CREATE_REQ_WBBDLD
MASTERIDOC_CREATE_SMD_WBBDLD Generate Assortment List for Changes
MASTERIDOC_CREATE_WBBDLD Assortment list: Prepare data for a material
MASTERIDOC_CREATE_WBBDLD_DEL NOTRANSL: Löschsatz zum Artikel erzeugen
WBBI_ARTICLE_IDOC_CREATE Create assortment list for an assortment owner and an assortment list type
WBBI_CHANGED_MATERIALS_GET Determine changed materials from change pointers for labeling
WBBI_CHANGE_DATA_ANALYSE Determine changed materials for assortment list and/or labeling
WBBI_CONDITION_CHANGE_FIND Assortment list: Analysis of condition changes
WBBI_MATERIAL_FIELD_TAB_FILL
WBBI_MAT_MASTER_DATA_GET Read material master with history for period under review

IMPORTING Parameters details for EXIT_SAPLWBBI_002

PI_MESTYP - Logical Message Type

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

PI_START_DATE - Start Date: Formatting

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

PI_START_TIME - Start Time: Formatting

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

TABLES Parameters details for EXIT_SAPLWBBI_002

PI_T_POINTER - Change Pointers

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

PI_T_ASORT - Assortment User

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

P_T_MAT_CLIENT - Changed Materials at Client Level

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

P_T_MAT_ASORT - Changed Materials at Assortment User Level

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

Copy and paste ABAP code example for EXIT_SAPLWBBI_002 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_pi_mestyp  TYPE EDIMSG-MESTYP, "   
lt_pi_t_pointer  TYPE STANDARD TABLE OF BDCP, "   
lt_pi_t_asort  TYPE STANDARD TABLE OF WDL_FIL, "   
lv_pi_start_date  TYPE SY-DATUM, "   
lv_pi_start_time  TYPE SY-UZEIT, "   
lt_p_t_mat_client  TYPE STANDARD TABLE OF WBB_ARTP, "   
lt_p_t_mat_asort  TYPE STANDARD TABLE OF WBB_ARTP. "   

  CALL FUNCTION 'EXIT_SAPLWBBI_002'  "Customer Enhancement for Assortment List Change Analysis
    EXPORTING
         PI_MESTYP = lv_pi_mestyp
         PI_START_DATE = lv_pi_start_date
         PI_START_TIME = lv_pi_start_time
    TABLES
         PI_T_POINTER = lt_pi_t_pointer
         PI_T_ASORT = lt_pi_t_asort
         P_T_MAT_CLIENT = lt_p_t_mat_client
         P_T_MAT_ASORT = lt_p_t_mat_asort
. " EXIT_SAPLWBBI_002




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLWBBI_002

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 MESTYP FROM EDIMSG INTO @DATA(ld_pi_mestyp).
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_pi_start_date).
 
"SELECT single UZEIT FROM SY INTO @DATA(ld_pi_start_time).
 
 
 


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!