SAP Reports / Programs | Production Planning and Control | Production Planning for Process Industries | Process Message(PP-PI-PMA-MSG) SAP PP

RCOCB013F01 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT RCOCB013F01

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:

TC50_MESS_READ CALL FUNCTION 'TC50_MESS_READ' EXPORTING plant = plant process_mess_cat = messcat language = sy-langu IMPORTING process_mess_cat_data = l_messcat_data EXCEPTIONS not_found = 1 OTHERS = 2.

COC1_FEATURE_CHECK call function 'COC1_FEATURE_CHECK' exporting feature_id = l_tc50e_wa-atinn message_type_inp = 'S' importing * FEATURE_NAME = feature_neutral_name = &2 exceptions invalid_class_type = 1 missing_feature_information = 2 no_feature_found = 3 no_feature_valid = 4 no_language = 5 others = 6.

TC50E_MESS_READ CALL FUNCTION 'TC50E_MESS_READ' EXPORTING plant = plant process_mess_cat = messcat * IMPORTING * FLAG_NO_ENTRIES_FOUND = TABLES mess_cat_characteristics = l_tc50e_tab EXCEPTIONS invalid_characteristic = 1 OTHERS = 2.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = co_repid variant = l_rsvarname IMPORTING r_c = l_subrc EXCEPTIONS not_authorized = 1 no_report = 2 report_not_existent = 3 report_not_supplied = 4 OTHERS = 5.

RS_CREATE_VARIANT CALL FUNCTION 'RS_CREATE_VARIANT' EXPORTING curr_report = co_repid curr_variant = l_rsvarname vari_desc = l_vardesc TABLES vari_contents = l_varcont_tab vari_text = l_vartxt_tab * VSCREENS = EXCEPTIONS illegal_report_or_variant = 1 illegal_variantname = 2 not_authorized = 3 not_executed = 4 report_not_existent = 5 report_not_supplied = 6 variant_exists = 7 variant_locked = 8 OTHERS = 9.

RS_CHANGE_CREATED_VARIANT CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT' EXPORTING curr_report = co_repid curr_variant = l_rsvarname vari_desc = l_vardesc TABLES vari_contents = l_varcont_tab vari_text = l_vartxt_tab EXCEPTIONS OTHERS = 1.

COC1_FEATURE_CHECK CALL FUNCTION 'COC1_FEATURE_CHECK' EXPORTING feature_neutral_name = charac message_type_inp = 'S' IMPORTING feature_id = l_atinn number_of_positions = l_anzst conversion_exit = l_atkon value_assignment_with_longtext = l_txtrf EXCEPTIONS OTHERS = 1.

CHAR_VALUE_CHANGE2 CALL FUNCTION 'CHAR_VALUE_CHANGE2' EXPORTING atinn = l_atinn new_value = l_atwrt flag_no_dialog = 'X' IMPORTING atwrt = l_atwrt atflv = l_atflv EXCEPTIONS characteristic_unknown = 1 conversion_error = 2 value_set_error = 3 OTHERS = 4.

CHAR_VALUE_PREPARE CALL FUNCTION 'CHAR_VALUE_PREPARE' EXPORTING char_imp = l_comw flg_char_data_provide_imp = space atkon_imp = l_atkon anzst_imp = l_anzst IMPORTING value_exp = l_valexp EXCEPTIONS no_value = 1 OTHERS = 2.

CHAR_VALUE_POSSIBLE_ENTRIES CALL FUNCTION 'CHAR_VALUE_POSSIBLE_ENTRIES' EXPORTING char_imp = l_char * FLG_DISPLAY_IMP = ' ' IMPORTING char_val_exp = l_atwrt * FLG_VAL_CHANGED_EXP = EXCEPTIONS not_found = 1 close_error = 2 set_error = 3 no_authority = 4 failed = 5 OTHERS = 6.

DD_SHLP_GET_HELPMETHOD CALL FUNCTION 'DD_SHLP_GET_HELPMETHOD' CHANGING shlp = l_shlp2.

F4IF_START_VALUE_REQUEST CALL FUNCTION 'F4IF_START_VALUE_REQUEST' EXPORTING shlp = l_shlp2 IMPORTING rc = l_rc TABLES return_values = l_return_value_tab.

ENQUEUE_ESVARIANT CALL FUNCTION 'ENQUEUE_ESVARIANT' EXPORTING relid = 'VA' report = co_repid variant = l_rsvarname _scope = '3' EXCEPTIONS foreign_lock = 4 system_failure = 12.



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