SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

RWSORT16 SAP ABAP Report - Delete Individual Listing Material/Assortment







RWSORT16 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RWSORT16 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

WSP6 - Delete ind. listing, mat. - plant


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RWSORT16. "Basic submit
SUBMIT RWSORT16 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSORT16 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ASORT = Assortment
Selection Text: MEINS = Unit of measure
Selection Text: SATNR = Material
Title: Delete Individual Listing Material/Assortment
Text Symbol: 002 = Errors cannot be processed
Text Symbol: 010 = Validity range
Text Symbol: 011 = Validity


INCLUDES used within this REPORT RWSORT16

INCLUDE MWWCONST.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

ASSORTMENT_GET_DATA_AND_USER_B CALL FUNCTION 'ASSORTMENT_GET_DATA_AND_USER_B' EXPORTING ASORT = ASORT * VALID_AT = ' ' * STATUS = '1' IMPORTING ASORT_DATA = WINT_CARRH EXCEPTIONS NO_DATA = 1 NO_VALID_DATA = 2 OTHERS = 3.

WWS_ENQ_ASSORTMENT CALL FUNCTION 'WWS_ENQ_ASSORTMENT' EXPORTING ARTIKEL = MARA-MATNR " BAUSTEIN = ' ' " DATUMBIS = ' ' FILIA = WINT_CARRH-ASORT SPERR_MODUS = 'E' " VKORG = ' ' " VRKME = ' ' " VTWEG = ' ' WAS = '3' "WLK1-Kopf-Eintrag EXCEPTIONS FOREIGN_LOCK = 01 NO_MODUS = 02 NO_WAS = 03 SYSTEM_FAILURE = 04.

ASSORTMENT_DELETE_PLANT_MATNR CALL FUNCTION 'ASSORTMENT_DELETE_PLANT_MATNR' EXPORTING T_ASORT = WINT_CARRH MATNR = MARA-MATNR VRKME = MEINS DATE_FROM = DATUM importing " GB 1235436 te_mara = lt_mara[] " GB 1235436 TABLES ERROR = ERROR.

DEQUEUE_E_WLKE CALL FUNCTION 'DEQUEUE_E_WLKE' EXPORTING ARTNR = MARA-MATNR FILIA = WINT_CARRH-ASORT.

DEQUEUE_E_WSOPE CALL FUNCTION 'DEQUEUE_E_WSOPE' EXPORTING MODE_WSOP = 'E' SKOPF = ' ' SPOSI = lt_mara-matnr DATUB = SY-DATUM * _collect = 'X'.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RWSORT16 or its description.