SAP EXIT_SAPLWSOT_001 Function Module for User Exit for Controling Listing Condition Maintenance
EXIT_SAPLWSOT_001 is a standard exit saplwsot 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User Exit for Controling Listing Condition Maintenance 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 saplwsot 001 FM, simply by entering the name EXIT_SAPLWSOT_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XWS2
Program Name: SAPLXWS2
Main Program:
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLWSOT_001 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_SAPLWSOT_001'"User Exit for Controling Listing Condition Maintenance.
EXPORTING
FUNCTION = "See WLK1_CHANGE
* MODULE = ' ' "
* LAST_LISTING = ' ' "
TABLES
INT_WLK1 = "
EXCEPTIONS
LEAVE_LISTING = 1
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ASSORTMENT_ALL_ISSUING_SELECT NOTRANSL: Ermittlung der Lieferwerke für alle Sortimentsnutzer eines Sorti
ASSORTMENT_DOCUMENTATION
ASSORTMENT_GET_ASORT_EXC_WREFA NOTRANSL: Lesen der Sortimente zu einem Sortimentsnutzer OHNE Berücksichti
ASSORTMENT_GET_ASORT_FOR_CLASS NOTRANSL: Lesen aller zugeordneten Sortimente für eine Sortimentsklasse
ASSORTMENT_GET_ASORT_FOR_RIS NOTRANSL: Ermitteln des Sortiments für eine Auftragsposition (RIS) eines K
ASSORTMENT_GET_ASORT_OF_CUST NOTRANSL: Ermitteln der Sortimentsträger zu einem Kunden
ASSORTMENT_GET_ASORT_OF_USER NOTRANSL: Lesen aller Sortimente zu einem (!) Sortimentsnutzer
ASSORTMENT_GET_ASORT_OF_USERS NOTRANSL: Lesen aller Sortimente zu Sortimentsnutzern
ASSORTMENT_GET_CUST_OF_ASORT NOTRANSL: Ermitteln aller Kunden zu einem Sortiment (nur reiner Kunden !)
ASSORTMENT_GET_DATA_AND_USER_B NOTRANSL: Lesen Sortimentsdaten - incl. Daten Sortimentsnutzers bei 1:1-Be
ASSORTMENT_GET_USERS_OF_1ASORT NOTRANSL: Lesen aller Sortimentsnutzer (nur Zuordnungsdaten) genau 1 Sorti
ASSORTMENT_GET_USERS_OF_ASORT NOTRANSL: Lesen aller Sortimentsnutzer (nur Zuordnungsdaten) zu Sortimente
ASSORTMENT_ISSUING_SELECT NOTRANSL: Ermitteln Lieferbetriebe für Artikel aus WRF6 / WRF3 / WRF1
ASSORTMENT_LOCATION_GROUPS NOTRANSL: ermitteln alle Werke zu einer Werkgruppe
ASSORTMENT_READ_ASSORTMENT NOTRANSL: Lesen aller Daten eines Sortiments (incl. Unterstrukturen)
ASSORTMENT_WRSZ_FILL_BUFFER NOTRANSL: Füllen des WRSZ Puffers für eine Liste von Nutzern
CHECK_SALES_INTERVAL NOTRANSL: Check sales interval
LISTING_CHECK NOTRANSL: Lesen von Sätzen aus WLK2 und Testen, ob Listungskondition in WL
LISTING_CHECK_OLD NOTRANSL: Lesen von Sätzen aus WLK2 und Testen, ob Listungskondition in WL
LISTING_GET NOTRANSL: Lesen Listungs-Konditionen WWS für Verteilungs-Vorgänge
LISTING_GET_ARTICLE NOTRANSL: Lesen aller Listungskonditionen zu einem oder mehreren Artikeln
LISTING_PARALLEL_PARAMETER_GET Parallelisation Control for listing
LISTING_PARALLEL_PARAMETER_SET Parallelisation Control for Listing
LISTING_PARAMETER_SET NOTRANSL: Setzen der Parameter zur Listungssteuerung
LISTING_SALES_CHECK Listing and Sales Check
POS_INFO_GET NOTRANSL: Lesen Listungsabhängige Daten WWS für Verteilungs-Vorgänge
READ_LOCAL_ASSORTMENT NOTRANSL: Lesen des lokalen Sortiments für ein Werk
SET_TIMESTAMP_FOR_ASSORTMENTS NOTRANSL: Zeitstempel für Sortimente Schreiben
WLK1_CHANGE NOTRANSL: Korrektur von Listungs-Konditionen WLK1 (aktuelle Version ab 4.0
WLK1_CHANGE_DATAB NOTRANSL: Änderung des Abdatums von Listungskonditionen (WLK1)
WLK1_CHANGE_URSAC NOTRANSL: Änderung der Urache von Listungskonditionen (WLK1)
WLK1_READ NOTRANSL: Lesen Listungskonditionen WWS - Tabelle WLK1
WRS1_SINGLE_READ NOTRANSL: Lesen WRS1 Single (full key), ggf. mit WRST
WRS6_SINGLE_READ NOTRANSL: Lesen WRS6 Single (full key)
WRSZ_SINGLE_READ Read single WRSZ with full key
WWS_SAVE_WRS1 Update of WRS1
WWS_SAVE_WRS6 Update of WRS6 incl. Change Documents
WWS_SAVE_WRST Update of WRST
WWS_SAVE_WRSZ Update of WRSZ
IMPORTING Parameters details for EXIT_SAPLWSOT_001
FUNCTION - See WLK1_CHANGE
Data type: WTDY-TYP01Optional: No
Call by Reference: No ( called with pass by value option)
MODULE -
Data type: WSOH-SKOPFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LAST_LISTING -
Data type: WTDY-TYP01Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLWSOT_001
INT_WLK1 -
Data type: WLK1Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
LEAVE_LISTING - Exit WLK1_CHANGE Immediately
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLWSOT_001 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_function | TYPE WTDY-TYP01, " | |||
| lt_int_wlk1 | TYPE STANDARD TABLE OF WLK1, " | |||
| lv_leave_listing | TYPE WLK1, " | |||
| lv_module | TYPE WSOH-SKOPF, " SPACE | |||
| lv_last_listing | TYPE WTDY-TYP01. " SPACE |
|   CALL FUNCTION 'EXIT_SAPLWSOT_001' "User Exit for Controling Listing Condition Maintenance |
| EXPORTING | ||
| FUNCTION | = lv_function | |
| MODULE | = lv_module | |
| LAST_LISTING | = lv_last_listing | |
| TABLES | ||
| INT_WLK1 | = lt_int_wlk1 | |
| EXCEPTIONS | ||
| LEAVE_LISTING = 1 | ||
| . " EXIT_SAPLWSOT_001 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLWSOT_001
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 TYP01 FROM WTDY INTO @DATA(ld_function). | ||||
| "SELECT single SKOPF FROM WSOH INTO @DATA(ld_module). | ||||
| DATA(ld_module) | = ' '. | |||
| "SELECT single TYP01 FROM WTDY INTO @DATA(ld_last_listing). | ||||
| DATA(ld_last_listing) | = ' '. | |||
Search for further information about these or an SAP related objects