SAP ASSORTMENT_ALL_ISSUING_SELECT Function Module for NOTRANSL: Ermittlung der Lieferwerke für alle Sortimentsnutzer eines Sorti









ASSORTMENT_ALL_ISSUING_SELECT is a standard assortment all issuing select 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: Ermittlung der Lieferwerke für alle Sortimentsnutzer eines Sorti 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 assortment all issuing select FM, simply by entering the name ASSORTMENT_ALL_ISSUING_SELECT into the relevant SAP transaction such as SE37 or SE38.

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



Function ASSORTMENT_ALL_ISSUING_SELECT 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 'ASSORTMENT_ALL_ISSUING_SELECT'"NOTRANSL: Ermittlung der Lieferwerke für alle Sortimentsnutzer eines Sorti
EXPORTING
* ITEM = "Material Number
ASORT = "Assortment
* MATKL = "Material Group
* BWSCL = "Source of Supply
* DATE = SY-DATUM "Date and Time, Current (Application Server) Date
* ALL_TIMES = ' ' "Text elements / screen fields IS-R screens

TABLES
ISSUING_PLANTS = "Transfer structure Delivering plants

EXCEPTIONS
NO_ISSUING_PLANT = 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_SAPLWSOT_001 User Exit for Controling Listing Condition Maintenance

IMPORTING Parameters details for ASSORTMENT_ALL_ISSUING_SELECT

ITEM - Material Number

Data type: MATNR
Optional: Yes
Call by Reference: Yes

ASORT - Assortment

Data type: ASORT
Optional: No
Call by Reference: Yes

MATKL - Material Group

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

BWSCL - Source of Supply

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

DATE - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Default: SY-DATUM
Optional: No
Call by Reference: Yes

ALL_TIMES - Text elements / screen fields IS-R screens

Data type: WTDY-TYP01
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ASSORTMENT_ALL_ISSUING_SELECT

ISSUING_PLANTS - Transfer structure Delivering plants

Data type: WINT_LOCLB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_ISSUING_PLANT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ASSORTMENT_ALL_ISSUING_SELECT 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_item  TYPE MATNR, "   
lt_issuing_plants  TYPE STANDARD TABLE OF WINT_LOCLB, "   
lv_no_issuing_plant  TYPE WINT_LOCLB, "   
lv_asort  TYPE ASORT, "   
lv_matkl  TYPE MATKL, "   
lv_bwscl  TYPE BWSCL, "   
lv_date  TYPE SY-DATUM, "   SY-DATUM
lv_all_times  TYPE WTDY-TYP01. "   SPACE

  CALL FUNCTION 'ASSORTMENT_ALL_ISSUING_SELECT'  "NOTRANSL: Ermittlung der Lieferwerke für alle Sortimentsnutzer eines Sorti
    EXPORTING
         ITEM = lv_item
         ASORT = lv_asort
         MATKL = lv_matkl
         BWSCL = lv_bwscl
         DATE = lv_date
         ALL_TIMES = lv_all_times
    TABLES
         ISSUING_PLANTS = lt_issuing_plants
    EXCEPTIONS
        NO_ISSUING_PLANT = 1
. " ASSORTMENT_ALL_ISSUING_SELECT




ABAP code using 7.40 inline data declarations to call FM ASSORTMENT_ALL_ISSUING_SELECT

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_date).
DATA(ld_date) = SY-DATUM.
 
"SELECT single TYP01 FROM WTDY INTO @DATA(ld_all_times).
DATA(ld_all_times) = ' '.
 


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!