SAP Reports / Programs

RCPMAU03 SAP ABAP Report - Material Master Update







RCPMAU03 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 RCPMAU03 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

CA97N - Material Master Update - New


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 RCPMAU03. "Basic submit
SUBMIT RCPMAU03 AND RETURN. "Return to original report after report execution complete
SUBMIT RCPMAU03 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: WERKR_I = D Plant
Selection Text: WERKM_I = D Plant
Selection Text: VERWE_I = D Usage
Selection Text: VAGRP_I = D Planner Group
Selection Text: STATU_I = D Task List Status
Selection Text: PLNTY_I = D Task List Type
Selection Text: PLNNR_I = D Group
Selection Text: PLNAL_I = D Group Counter
Selection Text: MATNR_I = D Material
Selection Text: KEYDAT_I = D Key Date
Selection Text: FLG_MAT = D Update Material Master Direct
Selection Text: FLG_EFF = Effective by Parameters
Selection Text: FLG_CON = Configurable
Selection Text: FLG_CAP = D Carry out CAPP Calculation
Selection Text: FLG_AUS = D Update with Assembly
Selection Text: FEVOR_I = D Production Supervisor
Selection Text: AKHOR_I = D Selection Date
Title: Material Master Update
Text Symbol: S03 = Scheduled Materials Without Errors:
Text Symbol: S02 = Scheduled Materials with Errors:
Text Symbol: S01 = Scheduled Materials:
Text Symbol: H13 = Group Counter:
Text Symbol: H12 = Group:
Text Symbol: H11 = TL Type:
Text Symbol: H10 = Task List Type, Group, Group Counter - Any Length
Text Symbol: H09 = Un ;
Text Symbol: H08 = Base Qty;
Text Symbol: H07 = Scrap ;
Text Symbol: H06 = MoveTime;
Text Symbol: H05 = Process.;
Text Symbol: H04 = Setup ;
Text Symbol: H03 = Error ;
Text Symbol: H02 = Plnt;
Text Symbol: H01 = Material Number ;
Text Symbol: 008 = Select Materials with Attribute, Too
Text Symbol: 007 = Log Messages
Text Symbol: 006 = Scheduling results
Text Symbol: 005 = Indicator





Text Symbol: 004 = More Selection Criteria for Task List
Text Symbol: 003 = TList Select.
Text Symbol: 002 = Material Sel.
Text Symbol: 001 = Date Selection


INCLUDES used within this REPORT RCPMAU03

INCLUDE FC270T04.


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:

CM_F_INITIALIZE CALL FUNCTION 'CM_F_INITIALIZE' EXPORTING aplid = 'PPCX' object_id = 'CA' EXCEPTIONS message_type_not_valid = 01 unknown_aplid = 02 unknown_object_id = 03.

CM_F_ANALYSIS CALL FUNCTION 'CM_F_ANALYSIS' EXPORTING aplid = 'PPCX' EXCEPTIONS not_active = 01.

CM_F_ANALYSIS CALL FUNCTION 'CM_F_ANALYSIS' EXPORTING aplid = 'PPCX' EXCEPTIONS not_active = 01.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '277' msgty = 'W' msgv1 = marc-matnr msgv2 = marc-werks object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '808' msgty = 'W' msgv1 = marc-matnr msgv2 = marc-werks object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '826' msgty = 'W' msgv1 = marc-matnr msgv2 = marc-werks object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

T141_READ CALL FUNCTION 'T141_READ' EXPORTING mmsta = marc-mmsta IMPORTING struct = t141 EXCEPTIONS no_entry = 1.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '116' msgty = 'W' msgv1 = marc-matnr msgv2 = marc-mmsta object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

T141_READ CALL FUNCTION 'T141_READ' EXPORTING mmsta = mara-mstae IMPORTING struct = t141 EXCEPTIONS no_entry = 1.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '090' msgty = 'W' msgv1 = mara-matnr msgv2 = mara-mstae object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '276' msgty = 'E' msgv1 = mat_update_table-matnr msgv2 = mat_update_table-werks msgv3 = sel_id object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

TCX00_READ CALL FUNCTION 'TCX00_READ' EXPORTING i_aufta = 'LA' i_auftg = '2' i_vagrp = fevor i_werks = werks IMPORTING tcx00_exp = tcx00_tmp EXCEPTIONS no_entry = 01.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '275' msgty = 'E' msgv1 = matnr msgv2 = werks object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

CM_F_SET_OBJECT CALL FUNCTION 'CM_F_SET_OBJECT' EXPORTING object = msg_obj object_id = 'CA' subobj = msg_sobj.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '274' msgty = 'S' msgv1 = mat_update-matnr msgv2 = mat_update-werks object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

ECM_PROCESSOR_INIT CALL FUNCTION 'ECM_PROCESSOR_INIT' EXPORTING freig_fertigung = const-flg_yes freig_simulation = const-flg_yes batchlauf = flg_batch "NOTE_1007071 TABLES parameter = parameter_tab EXCEPTIONS exit_in_dynpro = 1 wrong_format_in_input = 2 no_maintenance_data = 3 error_interface = 4 OTHERS = 5.






CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '814' msgty = 'E' msgv1 = mat_update-werks msgv2 = mat_update-fevor object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

CP_BT_FREE_TABLES CALL FUNCTION 'CP_BT_FREE_TABLES'.

CP_EXT_LST_CREATE CALL FUNCTION 'CP_EXT_LST_CREATE' EXPORTING
cuobj_imp = cuobj_imp
* CUOBJ_IMP = ' ' * FLG_REF_IMP = 'X' "5.05.99 kp

CM_F_INITIALIZE CALL FUNCTION 'CM_F_INITIALIZE' EXPORTING aplid = 'PPCX' object_id = 'CA' refresh_old_log = ' ' EXCEPTIONS message_type_not_valid = 01 unknown_aplid = 02 unknown_object_id = 03.

CP_BT_PLFL_READ_WITH_INDEX CALL FUNCTION 'CP_BT_PLFL_READ_WITH_INDEX' EXPORTING index = dtab_tmp-index_plfl IMPORTING plfld_exp = plfld_tmp.

CP_BT_PLPO_READ_WITH_INDEX CALL FUNCTION 'CP_BT_PLPO_READ_WITH_INDEX' EXPORTING flg_extr = space flg_pvznr = space flg_sumnr = space flg_work = space * index = dtab_tmp-index_plfl index = dtab_tmp-index_plpo * STTAG = 00000000 IMPORTING plpod_exp = plpod_tmp.

CM_F_DELETE_LAST_MESSAGES CALL FUNCTION 'CM_F_DELETE_LAST_MESSAGES' EXPORTING aplid = 'PPCX' number = 1 EXCEPTIONS not_active = 01.

TCA01_READ CALL FUNCTION 'TCA01_READ' EXPORTING plnty = mat_update-plnty IMPORTING struct = tca01_tmp EXCEPTIONS no_entry = 01.

CP_98_PLAN_CHK CALL FUNCTION 'CP_98_PLAN_CHK' EXPORTING * CHECK_NR_FROM_IMP = 0 check_nr_to_imp = check_nr_to flg_aennr_shift = 'X' * flg_ref_chk = 'X' flg_ref_chk = ' ' "OS IMPORTING flg_error = flg_error TABLES dtab_imp = dtab_tmp.

CP_BT_PLKO_READ_WITH_KEY CALL FUNCTION 'CP_BT_PLKO_READ_WITH_KEY' EXPORTING plnal = mat_update-plnal plnnr = mat_update-plnnr plnty = mat_update-plnty IMPORTING plkod_exp = plkod_tmp EXCEPTIONS not_found = 01.

T436A_READ CALL FUNCTION 'T436A_READ' EXPORTING fhori_imp = mat_update-fhori werks_imp = mat_update-werks IMPORTING t436_exp = t436a_tmp EXCEPTIONS not_found = 01.

T482_READ * CALL FUNCTION 'T482_READ' * EXPORTING * i_flg_vorw = 'X' * I_ECK_UHRZT = SPACE * IMPORTING * t482_exp = t482 * EXCEPTIONS * no_entry = 1.

CX_DI_PLAN_SCHEDULE CALL FUNCTION 'CX_DI_PLAN_SCHEDULE' EXPORTING i_flg_log = space i_flg_change = 'X' i_plnaw = tca01_tmp-plnaw i_sttag = keydat_i plkod_imp = plkod_tmp rc27m_imp = rc27m_tmp rcptm_imp = rcptm_tmp IMPORTING flg_message = flg_message flg_protocol = flg_protocol flg_term_a = flg_term_a.

CX_DI_SCHED_INFO CALL FUNCTION 'CX_DI_SCHED_INFO' IMPORTING rcpte_exp = rcpte_tmp EXCEPTIONS no_scheduled_data = 01.

CM_F_SET_OBJECT CALL FUNCTION 'CM_F_SET_OBJECT' EXPORTING object = msg_obj object_id = 'CA' subobj = msg_sobj.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '827' msgty = 'E' object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

CM_F_DELETE_LAST_MESSAGES CALL FUNCTION 'CM_F_DELETE_LAST_MESSAGES' EXPORTING aplid = 'PPCX' number = 1 EXCEPTIONS not_active = 01.

CM_F_SET_OBJECT CALL FUNCTION 'CM_F_SET_OBJECT' EXPORTING object = msg_obj object_id = 'CA' subobj = msg_sobj.

CM_F_MESSAGE * CALL FUNCTION 'CM_F_MESSAGE' * EXPORTING * append_same_msg = 'X' * arbgb = 'CP' * msgnr = '273' * msgty = 'S' * object_dependent = 'X' * EXCEPTIONS * mesage_type_not_valid = 01 * no_sy_message = 02.

CM_F_SET_OBJECT



CALL FUNCTION 'CM_F_SET_OBJECT' EXPORTING object = msg_obj object_id = 'CA' subobj = msg_sobj.

CP_09_SCHEDULING_RESULT_SAVE CALL FUNCTION 'CP_09_SCHEDULING_RESULT_SAVE' EXPORTING flg_msg_imp = space rcpte_imp = rcpte_tab rcptm_imp = rcptm_tab EXCEPTIONS flg_error = 01.

CP_MA_SCHEDULING_UPDATE CALL FUNCTION 'CP_MA_SCHEDULING_UPDATE' EXPORTING flg_plsr_del = space flg_ausss = flg_aus TABLES plsr_imp = plsr_tab.

CM_F_MESSAGES_GET CALL FUNCTION 'CM_F_MESSAGES_GET' EXPORTING aplid = 'PPCX' TABLES e_msgprot = msg_tab EXCEPTIONS not_active = 1 OTHERS = 2.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '810' msgty = 'E' msgv1 = werks_m object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING append_same_msg = 'X' arbgb = 'CP' msgnr = '811' msgty = 'E' msgv1 = fevor object_dependent = 'X' EXCEPTIONS mesage_type_not_valid = 01 no_sy_message = 02.



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