SAP Reports / Programs

RCOCB013 SAP ABAP Report - Automatic Process Message Creation: Define Variant







RCOCB013 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 RCOCB013 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 RCOCB013. "Basic submit
SUBMIT RCOCB013 AND RETURN. "Return to original report after report execution complete
SUBMIT RCOCB013 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: VARNAME = D .
Selection Text: VARDESCR = D .
Selection Text: STARTEVT = D .
Selection Text: STARTCON = D .
Selection Text: PLANT = D .
Selection Text: MESSTEST = D .
Selection Text: MESSSRC = D .
Selection Text: MESSCAT = D .
Selection Text: STARTPWK = Weeks
Selection Text: STARTPMI = Minutes
Selection Text: STARTPHR = Hours
Selection Text: STARTPDA = Days
Selection Text: LOG_ON = Write Log
Selection Text: LOG_BBD = Expiration Date of Log
Title: Automatic Process Message Creation: Define Variant
Text Symbol: VAL = Value
Text Symbol: PC5 = Enter a plant
Text Symbol: PC4 = Do you really want to cancel?
Text Symbol: PC3 = Confirmation Prompt
Text Symbol: PC2 = Do you want to save?
Text Symbol: PC1 = Data has been changed
Text Symbol: CHA = Char.
Text Symbol: 014 = Days
Text Symbol: 013 = Expiration Date of Log in
Text Symbol: 012 = Logging
Text Symbol: 011 = Start Condition
Text Symbol: 010 = Process Message to Be Created
Text Symbol: 005 = Message Category
Text Symbol: 004 = Req.
Text Symbol: 003 = ValAssType
Text Symbol: 002 = Characteristic Value
Text Symbol: 001 = Message Characteristic


INCLUDES used within this REPORT RCOCB013

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:

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-pc1 textline2 = text-pc4 titel = text-pc3 * START_COLUMN = 25 * START_ROW = 6 cancel_display = space IMPORTING answer = l_answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-pc1 textline2 = text-pc2 titel = text-pc3 * START_COLUMN = 25 * START_ROW = 6 cancel_display = 'X' IMPORTING answer = l_answer.

CMX_MESSAGE_VARIANT_WRITE_LOG CALL FUNCTION 'CMX_MESSAGE_VARIANT_WRITE_LOG' EXPORTING plant = plant variant = varname msgid = 'CB1' msgty = 'E' msgno = '206' save_log = space expiration = log_bbd.

PROCESS_MESSAGE_CREATE CALL FUNCTION 'PROCESS_MESSAGE_CREATE' TABLES proc_mess_header = l_header_tab proc_mess_charac = l_char_tab proc_mess_textlines = l_chartxt_tab proc_mess_new_id = l_mess_id_tab proc_mess_header_rtc = l_header_rc_tab proc_mess_charac_rtc = l_char_rc_tab EXCEPTIONS no_authority = 1 internal_failure = 2 OTHERS = 3.

CMX_MESSAGE_VARIANT_WRITE_LOG CALL FUNCTION 'CMX_MESSAGE_VARIANT_WRITE_LOG' EXPORTING plant = plant variant = varname msgid = sy-msgid msgty = sy-msgty msgno = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 save_log = space expiration = log_bbd.

CMX_MESSAGE_VARIANT_WRITE_LOG CALL FUNCTION 'CMX_MESSAGE_VARIANT_WRITE_LOG' EXPORTING plant = plant variant = varname msgid = 'CB1' msgty = 'E' msgno = '206' save_log = space expiration = log_bbd.

CMX_MESSAGE_VARIANT_WRITE_LOG CALL FUNCTION 'CMX_MESSAGE_VARIANT_WRITE_LOG' EXPORTING plant = plant variant = varname msgid = l_header_rc-msgid msgty = l_header_rc-msgty msgno = l_header_rc-msgno msgv1 = l_header_rc-msgv1 msgv2 = l_header_rc-msgv2 msgv3 = l_header_rc-msgv3 msgv4 = l_header_rc-msgv4 save_log = space expiration = log_bbd.

CMX_MESSAGE_VARIANT_WRITE_LOG CALL FUNCTION 'CMX_MESSAGE_VARIANT_WRITE_LOG' EXPORTING plant = plant variant = varname msgid = l_char_rc-msgid msgty = l_char_rc-msgty msgno = l_char_rc-msgno msgv1 = l_char_rc-msgv1 msgv2 = l_char_rc-msgv2 msgv3 = l_char_rc-msgv3 msgv4 = l_char_rc-msgv4 save_log = space expiration = log_bbd.

CMX_MESSAGE_VARIANT_WRITE_LOG CALL FUNCTION 'CMX_MESSAGE_VARIANT_WRITE_LOG' EXPORTING plant = plant variant = varname msgid = 'C0' msgty = 'S' msgno = '876' msgv1 = l_mess_id-msid save_log = space expiration = log_bbd.

CMX_MESSAGE_VARIANT_WRITE_LOG CALL FUNCTION 'CMX_MESSAGE_VARIANT_WRITE_LOG' EXPORTING plant = plant variant = varname msgid = 'CB1' msgty = 'E' msgno = '206' save_log = space expiration = log_bbd.

CMX_MESSAGE_VARIANT_WRITE_LOG CALL FUNCTION 'CMX_MESSAGE_VARIANT_WRITE_LOG' EXPORTING plant = plant variant = varname save_log = 'X'.



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