RWSOR706 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 RWSOR706 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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 = 'MALG' " DEL; 46A:22.03.1999 WPE
ASSORTMENT_CHECK_ENQ_MATNR * CALL FUNCTION 'ASSORTMENT_CHECK_ENQ_MATNR' " TC 352252 * EXPORTING " TC 352252 * matnr = tara-matnr " TC 352252 * EXCEPTIONS " TC 352252 * enqueued = 1. " TC 352252
WLK1_BUFFER_REFRESH CALL FUNCTION 'WLK1_BUFFER_REFRESH'.
WSOH_CLEAR_BUFFER CALL FUNCTION 'WSOH_CLEAR_BUFFER' EXPORTING kzrfb = 'X' EXCEPTIONS OTHERS = 1.
WSOF_ARRAY_READ CALL FUNCTION 'WSOF_ARRAY_READ' EXPORTING kzrfb = 'X' TABLES t_wsof_in = t_wsof EXCEPTIONS no_record_found = 1 OTHERS = 2.
W_P_L_REFRESH CALL FUNCTION 'W_P_L_REFRESH'.
TWGLV_BUFFER_REFRESH CALL FUNCTION 'TWGLV_BUFFER_REFRESH'.
LAYGR_REFRESH CALL FUNCTION 'LAYGR_REFRESH'.
CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING archive_handle = 0 * CHANGENUMBER = ' ' date_of_change = h_datum_ab "Note 741466 objectclass = objekt * OBJECTID = ' ' * TABLEKEY = ' ' tablename = 'TWGLV' time_of_change = zeit_ab * USERNAME = ' ' * LOCAL_TIME = ' ' TABLES editpos = ausg EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 time_zone_conversion_error = 3 OTHERS = 4 .
ASSORTMENT_CHECK_ENQ_MATNR * CALL FUNCTION 'ASSORTMENT_CHECK_ENQ_MATNR' " TC 352252 * EXPORTING " TC 352252 * matnr = tara-matnr " TC 352252 * EXCEPTIONS " TC 352252 * enqueued = 1. " TC 352252
WLK1_BUFFER_REFRESH CALL FUNCTION 'WLK1_BUFFER_REFRESH'.
WSOH_CLEAR_BUFFER CALL FUNCTION 'WSOH_CLEAR_BUFFER' EXPORTING kzrfb = 'X' EXCEPTIONS OTHERS = 1.
WSOF_ARRAY_READ CALL FUNCTION 'WSOF_ARRAY_READ' EXPORTING kzrfb = 'X' TABLES t_wsof_in = t_wsof EXCEPTIONS no_record_found = 1 OTHERS = 2.
W_P_L_REFRESH CALL FUNCTION 'W_P_L_REFRESH'.
TWGLV_BUFFER_REFRESH CALL FUNCTION 'TWGLV_BUFFER_REFRESH'.
LAYGR_REFRESH CALL FUNCTION 'LAYGR_REFRESH'.
CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING archive_handle = 0 * CHANGENUMBER = ' ' date_of_change = h_datum_ab "Note 741466 time_of_change = zeit_ab objectclass = objekt * objectid = objektid * TABLEKEY = ' ' * tablename = 'WRF*' "alle Tab. lesen
ASSORTMENT_GET_ASORT_OF_USER call function 'ASSORTMENT_GET_ASORT_OF_USER' exporting * VALID_PER_DATE = SY-DATUM * SELECT_INVALID_ASORT = ' ' USER = H_T001W-KUNNR user_type = 'A' * VKORG = ' ' * VTWEG = ' ' importing asort_default = h_wrs1 * TABLES * ASSORTMENT_DATA = * ASSORTMENT_CONNECTS = exceptions no_asort_found = 1 others = 2.
* CALL FUNCTION 'ASSORTMENT_CHECK_ENQ_MATNR' " TC 352252 * EXPORTING " TC 352252 * matnr = tara-matnr " TC 352252 * EXCEPTIONS " TC 352252 * enqueued = 1. " TC 352252
SHOP_ITEM_LISTING_RULES_CHECK CALL FUNCTION 'SHOP_ITEM_LISTING_RULES_CHECK' EXPORTING " ASS_LEVEL_SHOP = ' ' " ASS_LEVEL_ITEM = ' ' date = datum_ab item = mara-matnr listing_method = listverf " MODULE = ' ' shop = loclb type_f = 'A' "alles prüfen merchandise_group = matkl err_detail = 'X' " SALES_UNIT = ' ' " DATE_BEGIN = '00000000' " DATE_END = '00000000' IMPORTING wscor = wscor5 status = status module_select = module TABLES layout_groups = lay_gr err_details = errdet " VARIANTEN = EXCEPTIONS no_multiple_listing = 01 rules_matching_not_ok = 02 wrong_type = 03 wrong_listing_method = 04.
WLK1_CHECK * CALL FUNCTION 'WLK1_CHECK' * EXPORTING * " DATE = * item = mara-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 = 'X' * " GET_WHOLE_TIME = ' ' * " ALL_WLK1_INFO = ' ' * IMPORTING * no_unit_but_item_listing = no_unit * wrf1_kzlik_not_in_use = no_use * tables * O_WLK1 = int_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_READ_MULTIPLE_FUNCTIONS CALL FUNCTION 'WLK1_READ_MULTIPLE_FUNCTIONS' EXPORTING * BUFFERS_READ = ' ' WLK1_SINGLE_SELECT = tmp_wlk1 FUNCTION = 'H' * ATTYP = ' ' * SELECT_ASSORTMENT = ' ' * KZRFB = ' ' * SORT_DIRECTION = ' ' * SELECT_WHOLE_ARTICLE = 'X' * IMPORTING * WLK1_OUTPUT = TABLES * WLK1_ARRAY_SELECT = WLK1_RESULTS = int_wlk1 * SAMMEL_ITEM = * PLANT_LIST = * MATNR_ME_ONLY = EXCEPTIONS NO_REC_FOUND = 1 OTHERS = 2 .
WSOH_SINGLE_READ CALL FUNCTION 'WSOH_SINGLE_READ' EXPORTING * KZRFB = ' ' * SPERRMODUS = ' ' SKOPF = int_wlk1-ursac IMPORTING EWSOH = wsoh EXCEPTIONS KEY_UNCOMPLETE = 1 REC_ENQUEUED = 2 NO_REC_FOUND = 3 OTHERS = 4 .
MODULE_CREATE CALL FUNCTION 'MODULE_CREATE' EXPORTING function = '1' location = loclb merchandise_group = mara-matkl date_begin = sy-datum date_end = '99991231' IMPORTING module = iwsoh module_text = iwsot wscor = wscor5 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 = loclb merchandise_group = matkl situation = ' ' listing_method = listverf " VKORG = ' ' " VTWEG = ' ' listing_check = 'X' " ASSIGNMENT_HEAD_CREATE = ' ' IMPORTING wscor = wscor5 " 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.
ASSIGNMENT_POS_TO_SHOP * CALL FUNCTION 'ASSIGNMENT_POS_TO_SHOP' * EXPORTING * assortment_head = iwsoh * assortment_pos = wint_pos * function = '3' "löschen * location = loclb * merchandise_group = matkl "DEL; 46A:22.03.1999 WPE
ASSORTMENT_CHECK_ATTYP CALL FUNCTION 'ASSORTMENT_CHECK_ATTYP' EXPORTING ATTYP = MARA-ATTYP EXCEPTIONS GENERIC_ARTICLE = 1 STRUCTURED_ARTICLE = 2 "SY-SUBRC = 0 : Normalartikel VARIANT_ARTICLE = 3 VALUE_ARTICLE = 4 EMPTY_ARTICLE = 5 OTHERS = 6.
VARIANT_ITEM_READ_ALL CALL FUNCTION 'VARIANT_ITEM_READ_ALL' EXPORTING DATE = DATum_ab INACTIVE_ITEMS = ' ' ITEM = MARA-MATNR TYPE_F = 'X' * IMPORTING * E_ATTYP = TABLES VARIANT_LIST = VARIANTEN_1 EXCEPTIONS NO_VARIANTS_FOUND = 01.
ASSORTMENT_CHECK_ATTYP CALL FUNCTION 'ASSORTMENT_CHECK_ATTYP' EXPORTING ATTYP = MARA-ATTYP EXCEPTIONS GENERIC_ARTICLE = 1 STRUCTURED_ARTICLE = 2 "SY-SUBRC = 0 : Normalartikel VARIANT_ARTICLE = 3 VALUE_ARTICLE = 4 EMPTY_ARTICLE = 5 "hier nicht auswählen OTHERS = 6.
ASSORTMENT_CHECK_CATEGORY CALL FUNCTION 'ASSORTMENT_CHECK_CATEGORY' EXPORTING MATNR = VARIANTEN-MATNR MATKL = VARIANTEN-MATKL.
WLK1_READ_MULTIPLE_FUNCTIONS CALL FUNCTION 'WLK1_READ_MULTIPLE_FUNCTIONS' EXPORTING * BUFFERS_READ = ' ' WLK1_SINGLE_SELECT = TMP_WLK1 FUNCTION = 'H' * ATTYP = ' ' * IMPORTING * WLK1_OUTPUT = TABLES * WLK1_ARRAY_SELECT = WLK1_RESULTS = IWLK1 * SAMMEL_ITEM = * PLANT_LIST = EXCEPTIONS NO_REC_FOUND = 1 OTHERS = 2.
WSOH_SINGLE_READ CALL FUNCTION 'WSOH_SINGLE_READ' EXPORTING * KZRFB = ' ' * SPERRMODUS = ' ' SKOPF = iwlk1-ursac IMPORTING EWSOH = wsoh EXCEPTIONS KEY_UNCOMPLETE = 1 REC_ENQUEUED = 2 NO_REC_FOUND = 3 OTHERS = 4 .
WLK1_CHANGE CALL FUNCTION 'WLK1_CHANGE' EXPORTING function = '3' TABLES int_wlk1 = mwlk1 EXCEPTIONS no_wlk1 = 1 wlk1_exists = 2 wrong_dates = 3 wrong_function = 4 always_rj_connected = 5 OTHERS = 6.
ASSORTMENT_GET_USERS_OF_1ASORT CALL FUNCTION 'ASSORTMENT_GET_USERS_OF_1ASORT' EXPORTING * VALID_PER_DATE = SY-DATUM * SELECT_INVALID_ASORT = ' ' asort = p_filiale1 TABLES assortment_users = p_itab_wrsz EXCEPTIONS no_asort_to_select = 1 no_user_found = 2 OTHERS = 3 .
LOCATION_SELECT_PLANT CALL FUNCTION 'LOCATION_SELECT_PLANT' EXPORTING * I_WERKS = i_kunnr = p_itab_wrsz-locnr * I_LIFNR = ' ' * BYPASSING_BUFFER = ' ' IMPORTING o_t001w = p_itab_t001w EXCEPTIONS no_valid_plant = 1 plant_not_found = 2 more_than_one_entry_found = 3 OTHERS = 4 .
TWGV_SINGLE_READ * CALL FUNCTION 'TWGV_SINGLE_READ' * EXPORTING * KZRFB = ' ' * twgv_layvr = p_lay_changedoc_layvr * IMPORTING * wtwgv = i_twgv * EXCEPTIONS * not_found = 1 * OTHERS = 2 * .
WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING asort = p_i_werks-asort * SPRAS = * ONLY_SINGLE_SELECT = 'X' IMPORTING wrs1_out = i_wrs1 * WRST_OUT = EXCEPTIONS no_record_found = 1 spras_not_found = 2 OTHERS = 3 .
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 RWSOR706 or its description.