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

RWDIFFERENCEMARCWLK1 SAP ABAP Report - Comparison Program - WLK1 Entries Without MARC Entries







RWDIFFERENCEMARCWLK1 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 RWDIFFERENCEMARCWLK1 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 RWDIFFERENCEMARCWLK1. "Basic submit
SUBMIT RWDIFFERENCEMARCWLK1 AND RETURN. "Return to original report after report execution complete
SUBMIT RWDIFFERENCEMARCWLK1 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: CREATE = Generate Entries
Selection Text: DETAIL = Detailed Analysis
Selection Text: NO_DOCU = Deactivate Change Documents
Selection Text: S_ASORT = D .
Selection Text: S_MATNR = D .
Title: Comparison Program - WLK1 Entries Without MARC Entries
Text Symbol: 001 = No Assortments Determined
Text Symbol: 002 = No Materials Determined


INCLUDES used within this REPORT RWDIFFERENCEMARCWLK1

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:

READ_REFERENCE_PLANTS CALL FUNCTION 'READ_REFERENCE_PLANTS' * EXPORTING * KZRFB = ' ' tables refplant = it_refplants exceptions not_found = 1 others = 2 .

ASSORTMENT_GET_USERS_OF_1ASORT CALL FUNCTION 'ASSORTMENT_GET_USERS_OF_1ASORT' EXPORTING * VALID_PER_DATE = SY-DATUM * SELECT_INVALID_ASORT = ' ' ASORT = it_wrs1-asort DATE_TO = '99991231' TABLES ASSORTMENT_USERS = it_wrsz EXCEPTIONS NO_ASORT_TO_SELECT = 1 NO_USER_FOUND = 2 OTHERS = 3 .

KNA1_SINGLE_READ CALL FUNCTION 'KNA1_SINGLE_READ' EXPORTING * KZRFB = ' ' KNA1_KUNNR = it_wrsz-locnr IMPORTING WKNA1 = h_kna1 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' "#EC * EXPORTING matnr = it_wlk1-artnr IMPORTING wmara = mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

ASSORTMENT_WHICH_SEGMENTS CALL FUNCTION 'ASSORTMENT_WHICH_SEGMENTS' "#EC * EXPORTING werks = it_werks-werks matnr = it_wlk1-artnr matkl = mara-matkl mtart = mara-mtart IMPORTING marc_must_be = marc_must_be EXCEPTIONS no_werks_or_asort = 1 wrong_asort = 2 wrong_werks = 3 matkl_must_be = 4 OTHERS = 5.

WLK1_CHANGE CALL FUNCTION 'WLK1_CHANGE' "#EC * EXPORTING function = '2' upd_mode = 'INI' p_create_change_document = chdocuments TABLES int_wlk1 = it_wlk1_change EXCEPTIONS no_wlk1 = 1 wlk1_exists = 2 wrong_dates = 3 wrong_function = 4 always_rj_connected = 5 OTHERS = 6.

WLK1_CHANGE CALL FUNCTION 'WLK1_CHANGE' "#EC * EXPORTING function = '2' upd_mode = 'INI' p_create_change_document = chdocuments TABLES int_wlk1 = it_wlk1_change EXCEPTIONS no_wlk1 = 1 wlk1_exists = 2 wrong_dates = 3 wrong_function = 4 always_rj_connected = 5 OTHERS = 6.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = gc_save it_events = gt_eventtab it_sort = lt_sort_wlk1_alv TABLES t_outtab = gt_output_wlk1 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_wlk1 CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = it_list_top_of_page.



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