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

RWSOR7B04 SAP ABAP INCLUDE - CHECK_CLASS







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

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:

CLCA_GET_CLASSTYPES_FROM_TABLE CALL FUNCTION 'CLCA_GET_CLASSTYPES_FROM_TABLE' EXPORTING classtype = c_class_betriebe_fix TABLES iklart = i_klart EXCEPTIONS no_classtype_found = 1 OTHERS = 2.

CLCA_GET_CLASSTYPES_FROM_TABLE CALL FUNCTION 'CLCA_GET_CLASSTYPES_FROM_TABLE' EXPORTING classtype = c_class_betriebe TABLES iklart = i_klart EXCEPTIONS no_classtype_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 = ' ' * 0003 SBA * tablename = 'KSML' tablename = 'ABAUSP' * TIME_OF_CHANGE = TIME * USERNAME = ' ' TABLES editpos = ausg EXCEPTIONS no_position_found = 01 wrong_access_to_archive = 02.

READ_LOCAL_ASSORTMENT CALL FUNCTION 'READ_LOCAL_ASSORTMENT' EXPORTING p_locnr = t_t001w-kunnr IMPORTING p_wrs1 = wrs1 * P_WRSZ = * EXCEPTIONS * NO_ASSORTMENT_FOUND = 1 * OTHERS = 2 .

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 = ' " asort = wrs1-asort " 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.

WLK1_CHECK * CALL FUNCTION 'WLK1_CHECK' * EXPORTING * " DATE = * item = tabart-matnr * shop_locnr = t_t001w-kunnr * " 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 = wrs1-asort type_f = 'A' "alles prüfen merchandise_group = tabart-matkl " ERR_DETAIL = ' ' " SALES_UNIT = ' ' " DATE_BEGIN = '00000000' " DATE_END = '00000000' situation = b_art_list_verf "ins note 570871 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 = asort 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 = asort * 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 = asort 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 RWSOR7B04 or its description.