SAP Reports / Programs

RMCHACTK SAP ABAP Report - Activate Planned Changes in Vendor Master







RMCHACTK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report program RMCHACTK is used to activate planned changes in the vendor master...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RMCHACTK into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MKH3 - Activate vendor master (online)


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 RMCHACTK. "Basic submit
SUBMIT RMCHACTK AND RETURN. "Return to original report after report execution complete
SUBMIT RMCHACTK 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: KEY_DATE = Key date for activation
Selection Text: LIFRANGE = Vendor(s)
Title: Activate Planned Changes in Vendor Master
Text Symbol: 001 = Statistics for activating &1:
Text Symbol: 002 = No scheduled changes exist for &1
Text Symbol: 003 = Creation scheduled -> activated:
Text Symbol: 004 = Planned changes found for following vendors:
Text Symbol: 005 = No planned changes activated for following vendors,
Text Symbol: 006 = as no master data found:
Text Symbol: 007 = as they were blocked by user:
Text Symbol: 008 = Activate vendor ... &1% ;;


INCLUDES used within this REPORT RMCHACTK

INCLUDE MF02KD0M.
INCLUDE SAPCAMFL.


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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = prozent text = text_line EXCEPTIONS OTHERS = 1.

VENDOR_CHANGE_DOCUMENTATION CALL FUNCTION 'VENDOR_CHANGE_DOCUMENTATION' EXPORTING pi_date_from = start_date pi_date_to = key_date pi_explosion = ' ' pi_indicator = 'X' pi_enqueue = 'X' TABLES t_vendor = vendors t_lfa1 = lfa1_i t_lfas = lfas_i t_lfb1 = lfb1_i t_lfb5 = lfb5_i t_lfbk = lfbk_i t_lfm1 = lfm1_i t_lfm2 = lfm2_i t_wyt1 = wyt1_i t_wyt1t = wyt1t_i t_wyt3 = wyt3_i t_lflr = lflr_i t_position_saved = position EXCEPTIONS wrong_date_relation = 01.

VMD_DEQUEUE_EXLFA1 CALL FUNCTION 'VMD_DEQUEUE_EXLFA1' EXPORTING lifnr = hlifnr EXCEPTIONS system_failure = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_setpfstatus is_layout = gt_layout_x it_fieldcat = gt_fieldcat it_events = gt_eventtab_z TABLES t_outtab = gt_hlifnr_alv EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header.

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

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header_01.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header_02.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_setpfstatus is_layout = gt_layout_y it_fieldcat = gt_fieldcat it_events = gt_eventtab_y i_save = gc_a TABLES t_outtab = gt_lifnr_not_lock_tab_alv EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING formatwidth = 60 linewidth = 132 startline = 1 TABLES lines = gt_tline EXCEPTIONS OTHERS = 0.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING formatwidth = 60 linewidth = 132 startline = 1 TABLES lines = gt_tline_01 EXCEPTIONS OTHERS = 0.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING formatwidth = 60 linewidth = 132 startline = 1 TABLES lines = gt_tline_02 EXCEPTIONS OTHERS = 0.



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