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

RWSOR704 SAP ABAP INCLUDE - documentation and ABAP source code







RWSOR704 is a standard ABAP INCLUDE 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 RWSOR704 into the relevant SAP transactions such as SE38 or SE80


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 RWSOR704. "Basic submit
SUBMIT RWSOR704 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSOR704 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RWSOR704

No INCLUDES are used within this REPORT code!


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:

CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING ARCHIVE_HANDLE = 0 * CHANGENUMBER = ' ' DATE_OF_CHANGE = DATUM_AB TIME_OF_CHANGE = ZEIT_AB OBJECTCLASS = OBJEKT OBJECTID = OBJEKTID * TABLEKEY = ' ' * 0003 SBA * tablename = 'KSML' TABLENAME = 'ABAUSP' * TIME_OF_CHANGE = TIME * USERNAME = ' ' TABLES EDITPOS = AUSG EXCEPTIONS NO_POSITION_FOUND = 01 WRONG_ACCESS_TO_ARCHIVE = 02.

WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING ASORT = I_ASORT-ASORT * SPRAS = IMPORTING WRS1_OUT = WRS1 * WRST_OUT = EXCEPTIONS NO_RECORD_FOUND = 1 SPRAS_NOT_FOUND = 2 OTHERS = 3.

ASSORTMENT_CHECK_ENQ_MATNR CALL FUNCTION 'ASSORTMENT_CHECK_ENQ_MATNR' EXPORTING MATNR = TABART-MATNR EXCEPTIONS ENQUEUED = 1.

WLK1_CHECK CALL FUNCTION 'WLK1_CHECK' EXPORTING " DATE = ITEM = TABART-MATNR SHOP_LOCNR = LOCLB " SHOP_WERKS = ' ' DATE_BEGIN = DATUM_AB DATE_END = '99991231' " SALES_UNIT = ' ' CHECK_PLANT_TIME = ' ' " PROMOTION = ' ' " PROMOTION_THEME = ' ' " SHOP_MUST_BE_LOCATION = ' ' " WRF1_KZLIK_CHECK = ' ' " GET_WHOLE_TIME = ' ' " ALL_WLK1_INFO = ' ' IMPORTING NO_UNIT_BUT_ITEM_LISTING = NO_UNIT WRF1_KZLIK_NOT_IN_USE = NO_USE * tables " O_WLK1 = " ALL_WLK1 = EXCEPTIONS NO_LISTING = 01 NO_LISTING_IN_TIME = 02 EXISTING_EXCLUSION_LISTING = 03 WRONG_PARAMETERS = 04 NO_OPEN_TIME_SHOP_IN_TIME = 05 NO_LISTING_FOR_PROMOTION = 06 WRONG_LOCATION = 07 NO_COMPLETE_LISTING_IN_TIME = 08.

SHOP_ITEM_LISTING_RULES_CHECK CALL FUNCTION 'SHOP_ITEM_LISTING_RULES_CHECK' EXPORTING " ASS_LEVEL_SHOP = ' ' " ASS_LEVEL_ITEM = ' ' DATE = DATUM_AB ITEM = TABART-MATNR LISTING_METHOD = LISTVERF " MODULE = ' ' SHOP = LOCLB TYPE_F = 'A' "alles prüfen MERCHANDISE_GROUP = TABART-MATKL " ERR_DETAIL = ' ' " SALES_UNIT = ' ' " DATE_BEGIN = '00000000' " DATE_END = '00000000' IMPORTING WSCOR = WSCOR5 STATUS = STATUS MODULE_SELECT = MODULE TABLES " LAYOUT_GROUPS = ERR_DETAILS = ERRDET " VARIANTEN = EXCEPTIONS NO_MULTIPLE_LISTING = 01 RULES_MATCHING_NOT_OK = 02 WRONG_TYPE = 03 WRONG_LISTING_METHOD = 04.

MODULE_CREATE CALL FUNCTION 'MODULE_CREATE' EXPORTING FUNCTION = '1' LOCATION = LOCLB MERCHANDISE_GROUP = IMATKL-MATKL DATE_BEGIN = SY-DATUM DATE_END = '99991231' IMPORTING MODULE = IWSOH MODULE_TEXT = IWSOT WSCOR = WSCOR3 EXCEPTIONS MODULE_ALREADY_EXISTS = 01 WRONG_FUNCTION = 02.

WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING ASORT = LOCLB * SPRAS = IMPORTING WRS1_OUT = WRS1 * WRST_OUT = EXCEPTIONS NO_RECORD_FOUND = 1 SPRAS_NOT_FOUND = 2 OTHERS = 3.

ASSIGNMENT_POS_TO_SHOP CALL FUNCTION 'ASSIGNMENT_POS_TO_SHOP' EXPORTING ASSORTMENT_HEAD = IWSOH ASSORTMENT_POS = WINT_POS FUNCTION = TYP LOCATION = LOCLB MERCHANDISE_GROUP = IMATKL-MATKL SITUATION = ' ' LISTING_METHOD = LISTVERF " VKORG = ' ' " VTWEG = ' ' LISTING_CHECK = ' ' " ASSIGNMENT_HEAD_CREATE = ' ' IMPORTING WSCOR = WSCOR3 " tables " UNITS = " VARIANTS = EXCEPTIONS ASSORTMENT_POS_ALREADY_EXISTS = 01 ASSORTMENT_POS_NOT_FOUND = 02 WRONG_FUNCTION = 03 ENQUEUED = 04 NO_MULTIPLE_LISTING = 05 RULES_MATCHING_NOT_OK = 06 NO_ASSIGNMENT_HEAD = 07.

CLSE_SELECT_AUSP CALL FUNCTION 'CLSE_SELECT_AUSP' EXPORTING KLART = C_ART_CLASS * objek = ATINN = AUSP_KEY-ATINN MAFID = C_MAFID * KEY_DATE = SY-DATUM TABLES * IN_OBJEK = * IN_ATINN = T_AUSP = LT_AUSP * IN_WERTC = * IN_WERTN = * IN_ATCOD = EXCEPTIONS NO_ENTRY_FOUND = 1 PARAMETERS_NOT_SUFFICIENT = 2 OTHERS = 3.



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 RWSOR704 or its description.