SAP ASSORT_LIST_ARTICLES_SORT Function Module for NOTRANSL: Materialien für eine Sortimentsliste werden gefiltert und sortie









ASSORT_LIST_ARTICLES_SORT is a standard assort list articles sort 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: Materialien für eine Sortimentsliste werden gefiltert und sortie 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 assort list articles sort FM, simply by entering the name ASSORT_LIST_ARTICLES_SORT into the relevant SAP transaction such as SE37 or SE38.

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



Function ASSORT_LIST_ARTICLES_SORT 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 'ASSORT_LIST_ARTICLES_SORT'"NOTRANSL: Materialien für eine Sortimentsliste werden gefiltert und sortie
EXPORTING
PI_I_STORE = "Assortment Owners
PI_I_TWBBP = "Assortment list profile
* PI_DATAB = SY-DATUM "Start Date
* PI_DATBI = SY-DATUM "End Date
* PI_NO_READ = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
PI_T_ARTNR = "Materials
* PI_T_LIFNR_CHO = "DE-EN-LANG-SWITCH-NO-TRANSLATION
PE_T_ARTNR = "Materials
* PE_T_WRF3 = "Delivering plant, time-dependent
.




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_SAPLWBBR_001 Sort Modification for Materials in the Assortment List

IMPORTING Parameters details for ASSORT_LIST_ARTICLES_SORT

PI_I_STORE - Assortment Owners

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

PI_I_TWBBP - Assortment list profile

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

PI_DATAB - Start Date

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

PI_DATBI - End Date

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

PI_NO_READ - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for ASSORT_LIST_ARTICLES_SORT

PI_T_ARTNR - Materials

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

PI_T_LIFNR_CHO - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PE_T_ARTNR - Materials

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

PE_T_WRF3 - Delivering plant, time-dependent

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

Copy and paste ABAP code example for ASSORT_LIST_ARTICLES_SORT 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_i_store  TYPE WDL_FIL, "   
lt_pi_t_artnr  TYPE STANDARD TABLE OF WDL_ALW, "   
lv_pi_i_twbbp  TYPE TWBBP, "   
lt_pi_t_lifnr_cho  TYPE STANDARD TABLE OF WBB_DISC, "   
lv_pi_datab  TYPE SY-DATUM, "   SY-DATUM
lt_pe_t_artnr  TYPE STANDARD TABLE OF WDL_ALW, "   
lv_pi_datbi  TYPE SY-DATUM, "   SY-DATUM
lt_pe_t_wrf3  TYPE STANDARD TABLE OF WRF3, "   
lv_pi_no_read  TYPE WDL_FLAG-XFELD. "   ' '

  CALL FUNCTION 'ASSORT_LIST_ARTICLES_SORT'  "NOTRANSL: Materialien für eine Sortimentsliste werden gefiltert und sortie
    EXPORTING
         PI_I_STORE = lv_pi_i_store
         PI_I_TWBBP = lv_pi_i_twbbp
         PI_DATAB = lv_pi_datab
         PI_DATBI = lv_pi_datbi
         PI_NO_READ = lv_pi_no_read
    TABLES
         PI_T_ARTNR = lt_pi_t_artnr
         PI_T_LIFNR_CHO = lt_pi_t_lifnr_cho
         PE_T_ARTNR = lt_pe_t_artnr
         PE_T_WRF3 = lt_pe_t_wrf3
. " ASSORT_LIST_ARTICLES_SORT




ABAP code using 7.40 inline data declarations to call FM ASSORT_LIST_ARTICLES_SORT

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_datab).
DATA(ld_pi_datab) = SY-DATUM.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_pi_datbi).
DATA(ld_pi_datbi) = SY-DATUM.
 
 
"SELECT single XFELD FROM WDL_FLAG INTO @DATA(ld_pi_no_read).
DATA(ld_pi_no_read) = ' '.
 


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!