SAP Reports / Programs | Basis Components | Upgrade - General | Online Correction Support (Support Package and Add-On Tools)(BC-UPG-OCS) SAP BC

ROCS_COREMAC SAP ABAP INCLUDE - Macros of function group OCS_CORE







ROCS_COREMAC 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 ROCS_COREMAC 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 ROCS_COREMAC. "Basic submit
SUBMIT ROCS_COREMAC AND RETURN. "Return to original report after report execution complete
SUBMIT ROCS_COREMAC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Macros of function group OCS_CORE


INCLUDES used within this REPORT ROCS_COREMAC

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:

OCS_CREATE_LOGLINE call function 'OCS_CREATE_LOGLINE' exporting iv_function = &1 "#EC NOTEXT iv_text1 = &2 "#EC NOTEXT iv_text2 = &3. "#EC NOTEXT

OCS_CONVERT_MESSAGE_TO_TEXT call function 'OCS_CONVERT_MESSAGE_TO_TEXT' exporting msg_class = sy-msgid msg_number = sy-msgno msg_var1 = sy-msgv1 msg_var2 = sy-msgv2 msg_var3 = sy-msgv3 msg_var4 = sy-msgv4 importing msg_text = &7 exceptions others = 0.

OCS_CONVERT_MESSAGE_TO_TEXT call function 'OCS_CONVERT_MESSAGE_TO_TEXT' exporting msg_class = sy-msgid msg_number = sy-msgno msg_var1 = sy-msgv1 msg_var2 = sy-msgv2 msg_var3 = sy-msgv3 msg_var4 = sy-msgv4 importing msg_text = &1 exceptions others = 0.

OCS_INITIALIZE_OCS_LOG call function 'OCS_INITIALIZE_OCS_LOG' exporting iv_log_type = lv_log_type iv_log_name = lv_log_name iv_log_dirtype = lv_log_dirtype iv_ocs_tool = lv_log_ocs_tool exceptions others = 99.

OCS_LOG_GET_LAST_LOGID call function 'OCS_LOG_GET_LAST_LOGID' exporting iv_log_name = lv_log_name iv_ocs_tool = lv_log_ocs_tool iv_calc_new_id = lv_id_creation importing ev_main_logid = lv_main_id ev_sub_logid = lv_sub_id exceptions no_id_found = 1 others = 99.

OCS_LOG_GET_LAST_LOGID call function 'OCS_LOG_GET_LAST_LOGID' exporting iv_log_name = lv_log_name iv_ocs_tool = lv_log_ocs_tool iv_calc_new_id = lv_id_creation importing ev_main_logid = lv_main_id ev_sub_logid = lv_sub_id exceptions others = 99.

OCS_APPEND_LOG call function 'OCS_APPEND_LOG' tables tt_msgs = lt_msgs exceptions others = 0.

OCS_APPEND_LOG call function 'OCS_APPEND_LOG' exporting iv_save_log = 'X' tables tt_msgs = lt_msgs exceptions others = 0.

OCS_APPEND_LOGLINE call function 'OCS_APPEND_LOGLINE' exporting is_msgs = ls_msgs exceptions others = 0.

OCS_APPEND_LOGLINE call function 'OCS_APPEND_LOGLINE' exporting iv_save_log = 'X' is_msgs = ls_msgs exceptions others = 0.

OCS_FLUSH_LOG call function 'OCS_FLUSH_LOG' 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 ROCS_COREMAC or its description.