SAP ASSORT_LIST_PROFILE_GET Function Module for NOTRANSL: Sortimentslisten-Profil gepuffert lesen
ASSORT_LIST_PROFILE_GET is a standard assort list profile get 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-Profil gepuffert lesen 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 profile get FM, simply by entering the name ASSORT_LIST_PROFILE_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: WSLC
Program Name: SAPLWSLC
Main Program:
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ASSORT_LIST_PROFILE_GET 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_PROFILE_GET'"NOTRANSL: Sortimentslisten-Profil gepuffert lesen.
EXPORTING
PI_BBPRO = "Assortment list profile
* PI_BBTYP = "Assortment List Type
* PI_LANGU = SY-LANGU "DE-EN-LANG-SWITCH-NO-TRANSLATION
* REDUCTION_DEFAULT = X "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING
PE_I_TWBP = "Assortment list profile
PE_I_TWBPT = "Assortment list profile description
PE_I_TWBBP = "Assortment list profile data
EXCEPTIONS
NO_TEXT = 1 NO_PROFILE = 2
IMPORTING Parameters details for ASSORT_LIST_PROFILE_GET
PI_BBPRO - Assortment list profile
Data type: TWBBP-BBPROOptional: No
Call by Reference: No ( called with pass by value option)
PI_BBTYP - Assortment List Type
Data type: TWBB-BBTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
PI_LANGU - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TWBBT-SPRASDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
REDUCTION_DEFAULT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: CDefault: X
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ASSORT_LIST_PROFILE_GET
PE_I_TWBP - Assortment list profile
Data type: TWBPOptional: No
Call by Reference: No ( called with pass by value option)
PE_I_TWBPT - Assortment list profile description
Data type: TWBPTOptional: No
Call by Reference: No ( called with pass by value option)
PE_I_TWBBP - Assortment list profile data
Data type: TWBBPOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_TEXT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_PROFILE - 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 ASSORT_LIST_PROFILE_GET 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_no_text | TYPE STRING, " | |||
| lv_pi_bbpro | TYPE TWBBP-BBPRO, " | |||
| lv_pe_i_twbp | TYPE TWBP, " | |||
| lv_pi_bbtyp | TYPE TWBB-BBTYP, " | |||
| lv_no_profile | TYPE TWBB, " | |||
| lv_pe_i_twbpt | TYPE TWBPT, " | |||
| lv_pi_langu | TYPE TWBBT-SPRAS, " SY-LANGU | |||
| lv_pe_i_twbbp | TYPE TWBBP, " | |||
| lv_reduction_default | TYPE C. " X |
|   CALL FUNCTION 'ASSORT_LIST_PROFILE_GET' "NOTRANSL: Sortimentslisten-Profil gepuffert lesen |
| EXPORTING | ||
| PI_BBPRO | = lv_pi_bbpro | |
| PI_BBTYP | = lv_pi_bbtyp | |
| PI_LANGU | = lv_pi_langu | |
| REDUCTION_DEFAULT | = lv_reduction_default | |
| IMPORTING | ||
| PE_I_TWBP | = lv_pe_i_twbp | |
| PE_I_TWBPT | = lv_pe_i_twbpt | |
| PE_I_TWBBP | = lv_pe_i_twbbp | |
| EXCEPTIONS | ||
| NO_TEXT = 1 | ||
| NO_PROFILE = 2 | ||
| . " ASSORT_LIST_PROFILE_GET | ||
ABAP code using 7.40 inline data declarations to call FM ASSORT_LIST_PROFILE_GET
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 BBPRO FROM TWBBP INTO @DATA(ld_pi_bbpro). | ||||
| "SELECT single BBTYP FROM TWBB INTO @DATA(ld_pi_bbtyp). | ||||
| "SELECT single SPRAS FROM TWBBT INTO @DATA(ld_pi_langu). | ||||
| DATA(ld_pi_langu) | = SY-LANGU. | |||
| DATA(ld_reduction_default) | = X. | |||
Search for further information about these or an SAP related objects