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

RWSOR7B03 SAP ABAP INCLUDE - documentation and ABAP source code







RWSOR7B03 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 RWSOR7B03 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 RWSOR7B03. "Basic submit
SUBMIT RWSOR7B03 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSOR7B03 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 RWSOR7B03

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:

T001W_WERKS_FOR_LOCNR CALL FUNCTION 'T001W_WERKS_FOR_LOCNR' EXPORTING locnr = t_t001w-kunnr IMPORTING werks = werks EXCEPTIONS no_werks_found = 1 OTHERS = 2.

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 = ' ' tablename = 'WRF3' * TIME_OF_CHANGE = TIME * USERNAME = ' ' TABLES editpos = ausg EXCEPTIONS no_position_found = 01 wrong_access_to_archive = 02.

T001W_LOCNR_FOR_WERKS *CALL FUNCTION 'T001W_LOCNR_FOR_WERKS' * EXPORTING * werks = werks * IMPORTING * LOCNR = locnr * EXCEPTIONS * NO_WERKS_FOUND = 1 * OTHERS = 2 * .

ASSORTMENT_CHECK_ENQ_MATNR CALL FUNCTION 'ASSORTMENT_CHECK_ENQ_MATNR' EXPORTING matnr = t_mara_matkl-matnr EXCEPTIONS enqueued = 1.

WLK1_CHECK CALL FUNCTION 'WLK1_CHECK' EXPORTING " DATE = item = t_mara_matkl-matnr " shop_locnr = shop_werks = all_wrf3-loclb * date_begin = datum_ab "ch hbo 28.09.01

T001W_LOCNR_FOR_WERKS CALL FUNCTION 'T001W_LOCNR_FOR_WERKS' EXPORTING werks = all_wrf3-loclb IMPORTING locnr = locnr_delivering_store EXCEPTIONS no_werks_found = 1 OTHERS = 2.

READ_LOCAL_ASSORTMENT CALL FUNCTION 'READ_LOCAL_ASSORTMENT' EXPORTING p_locnr = locnr_delivering_store IMPORTING p_wrs1 = wrs1_delivering_store * P_WRSZ = * EXCEPTIONS * NO_ASSORTMENT_FOUND = 1 * OTHERS = 2 .

MODULE_CREATE CALL FUNCTION 'MODULE_CREATE' EXPORTING function = '1' location = wrs1_delivering_store-asort merchandise_group = t_mara_matkl-matkl date_begin = sy-datum date_end = '99991231' IMPORTING module = iwsoh module_text = iwsot wscor = wscor3 EXCEPTIONS module_already_exists = 01 wrong_function = 02.

ASSIGNMENT_POS_TO_SHOP CALL FUNCTION 'ASSIGNMENT_POS_TO_SHOP' EXPORTING assortment_head = iwsoh assortment_pos = wint_pos function = '1' location = wrs1_delivering_store-asort merchandise_group = t_mara_matkl-matkl SITUATION = b_art_list_verf "note 570871 listing_method = listverf " VKORG = ' ' " VTWEG = ' ' listing_check = 'X' " 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.

ASSORTMENT_CHECK_DC_LIST_NESS CALL FUNCTION 'ASSORTMENT_CHECK_DC_LIST_NESS' EXPORTING lstfl = listverf asort = wrs1_delivering_store-asort EXCEPTIONS listing_not_allowed = 1 OTHERS = 2.

ASSIGNMENT_POS_TO_SHOP CALL FUNCTION 'ASSIGNMENT_POS_TO_SHOP' EXPORTING assortment_head = iwsoh assortment_pos = wint_pos function = '1' location = wrs1_delivering_store-asort merchandise_group = t_mara_matkl-matkl situation = ' ' "kein Test listing_method = listverf " VKORG = ' ' " VTWEG = ' ' listing_check = 'X' " 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.



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