SAP Reports / Programs

RMCSBWHD SAP ABAP Report - Program for Adjusting Header sections of Communication Structures







RMCSBWHD 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 RMCSBWHD 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 RMCSBWHD. "Basic submit
SUBMIT RMCSBWHD AND RETURN. "Return to original report after report execution complete
SUBMIT RMCSBWHD 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: CSTRUC = D Source table
Title: Program for Adjusting Header sections of Communication Structures
Text Symbol: 001 = Header Structure is Being Generated
Text Symbol: 021 = Append for


INCLUDES used within this REPORT RMCSBWHD

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:

TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING systemtype = SYSTEMTYPE.

RS_DD_DELETE CALL FUNCTION 'RS_DD_DELETE' EXPORTING OBJNAME = DD03L-PRECFIELD OBJTYPE = 'S' EXCEPTIONS NAME_NOT_VALID = 1 NOT_EXECUTED = 2 OBJECT_NOT_FOUND = 3 OBJECT_NOT_SPECIFIED = 4 PERMISSION_FAILURE = 5 OTHERS = 6.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING WI_DELETE_TADIR_ENTRY = 'X' WI_TEST_MODUS = ' ' WI_TADIR_PGMID = 'R3TR' WI_TADIR_OBJECT = 'TABL' WI_TADIR_OBJ_NAME = WI_TADIR_OBJ_NAME EXCEPTIONS TADIR_ENTRY_NOT_EXISTING = 1 TADIR_ENTRY_ILL_TYPE = 2 NO_SYSTEMNAME = 3 NO_SYSTEMTYPE = 4 ORIGINAL_SYSTEM_CONFLICT = 5 OBJECT_RESERVED_FOR_DEVCLASS = 6 OBJECT_EXISTS_GLOBAL = 7 OBJECT_EXISTS_LOCAL = 8 OBJECT_IS_DISTRIBUTED = 9 OBJ_SPECIFICATION_NOT_UNIQUE = 10 NO_AUTHORIZATION_TO_DELETE = 11 DEVCLASS_NOT_EXISTING = 12 SIMULTANIOUS_SET_REMOVE_REPAIR = 13 ORDER_MISSING = 14 NO_MODIFICATION_OF_HEAD_SYST = 15 PGMID_OBJECT_NOT_ALLOWED = 16 MASTERLANGUAGE_NOT_SPECIFIED = 17 DEVCLASS_NOT_SPECIFIED = 18 SPECIFY_OWNER_UNIQUE = 19 LOC_PRIV_OBJS_NO_REPAIR = 20 GTADIR_NOT_REACHED = 21 OBJECT_LOCKED_FOR_ORDER = 22 CHANGE_OF_CLASS_NOT_ALLOWED = 23 NO_CHANGE_FROM_SAP_TO_TMP = 24 OTHERS = 25.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING NAME = HEADERSTRUC IMPORTING GOTSTATE = GOTSTATE EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'TABL' wi_tadir_obj_name = OBJ_NAME wi_read_only = 'X' EXCEPTIONS tadir_entry_not_existing = 1 tadir_entry_ill_type = 2 no_systemname = 3 no_systemtype = 4 original_system_conflict = 5 object_reserved_for_devclass = 6 object_exists_global = 7 object_exists_local = 8 object_is_distributed = 9 obj_specification_not_unique = 10 no_authorization_to_delete = 11 devclass_not_existing = 12 simultanious_set_remove_repair = 13 order_missing = 14 no_modification_of_head_syst = 15 pgmid_object_not_allowed = 16 masterlanguage_not_specified = 17 devclass_not_specified = 18 specify_owner_unique = 19 loc_priv_objs_no_repair = 20 gtadir_not_reached = 21 object_locked_for_order = 22 change_of_class_not_allowed = 23 no_change_from_sap_to_tmp = 24 OTHERS = 25.

TR_TADIR_POPUP_ENTRY_E071 CALL FUNCTION 'TR_TADIR_POPUP_ENTRY_E071' EXPORTING wi_e071_pgmid = 'R3TR' wi_e071_object = 'TABL' wi_e071_obj_name = OBJ_NAME2 wi_message_enter_devclass = 'X' IMPORTING es_tdevc = TDEVC EXCEPTIONS display_mode = 1 exit = 2 global_tadir_insert_error = 3 no_repair_selected = 4 no_systemname = 5 no_systemtype = 6 no_tadir_type = 7 reserved_name = 8 tadir_enqueue_failed = 9 devclass_not_found = 10 tadir_not_exist = 11 object_exists = 12 internal_error = 13 object_append_error = 14 tadir_modify_error = 15 object_locked = 16 no_object_authority = 17 OTHERS = 18.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_delete_tadir_entry = 'X' wi_test_modus = ' ' wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'TABL' wi_tadir_obj_name = OBJ_NAME EXCEPTIONS tadir_entry_not_existing = 1 tadir_entry_ill_type = 2 no_systemname = 3 no_systemtype = 4 original_system_conflict = 5 object_reserved_for_devclass = 6 object_exists_global = 7 object_exists_local = 8 object_is_distributed = 9 obj_specification_not_unique = 10 no_authorization_to_delete = 11 devclass_not_existing = 12 simultanious_set_remove_repair = 13 order_missing = 14 no_modification_of_head_syst = 15 pgmid_object_not_allowed = 16 masterlanguage_not_specified = 17 devclass_not_specified = 18 specify_owner_unique = 19 loc_priv_objs_no_repair = 20 gtadir_not_reached = 21 object_locked_for_order = 22 change_of_class_not_allowed = 23 no_change_from_sap_to_tmp = 24 OTHERS = 25.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = TEXT-001 " Headerstruktur wird generiert EXCEPTIONS OTHERS = 1.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING TABNAME = DD03L-PRECFIELD TABLES FIELDTAB = DFIES_TAB EXCEPTIONS INTERNAL_ERROR = 1 NO_TEXTS_FOUND = 2 TABLE_HAS_NO_FIELDS = 3 TABLE_NOT_ACTIV = 4 OTHERS = 5.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING TABNAME = cstruc TABLES FIELDTAB = DFIES_TAB EXCEPTIONS INTERNAL_ERROR = 1 NO_TEXTS_FOUND = 2 TABLE_HAS_NO_FIELDS = 3 TABLE_NOT_ACTIV = 4 OTHERS = 5.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING NAME = HEADERSTRUC IMPORTING GOTSTATE = GOTSTATE EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.

RS_DD_DELETE CALL FUNCTION 'RS_DD_DELETE' EXPORTING OBJNAME = HEADERSTRUC OBJTYPE = 'S' EXCEPTIONS NAME_NOT_VALID = 1 NOT_EXECUTED = 2 OBJECT_NOT_FOUND = 3 OBJECT_NOT_SPECIFIED = 4 PERMISSION_FAILURE = 5 OTHERS = 6.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING WI_DELETE_TADIR_ENTRY = 'X' WI_TEST_MODUS = ' ' WI_TADIR_PGMID = 'R3TR' WI_TADIR_OBJECT = 'TABL' WI_TADIR_OBJ_NAME = WI_TADIR_OBJ_NAME EXCEPTIONS TADIR_ENTRY_NOT_EXISTING = 1 TADIR_ENTRY_ILL_TYPE = 2 NO_SYSTEMNAME = 3 NO_SYSTEMTYPE = 4 ORIGINAL_SYSTEM_CONFLICT = 5 OBJECT_RESERVED_FOR_DEVCLASS = 6 OBJECT_EXISTS_GLOBAL = 7 OBJECT_EXISTS_LOCAL = 8 OBJECT_IS_DISTRIBUTED = 9 OBJ_SPECIFICATION_NOT_UNIQUE = 10 NO_AUTHORIZATION_TO_DELETE = 11 DEVCLASS_NOT_EXISTING = 12 SIMULTANIOUS_SET_REMOVE_REPAIR = 13 ORDER_MISSING = 14 NO_MODIFICATION_OF_HEAD_SYST = 15 PGMID_OBJECT_NOT_ALLOWED = 16 MASTERLANGUAGE_NOT_SPECIFIED = 17 DEVCLASS_NOT_SPECIFIED = 18 SPECIFY_OWNER_UNIQUE = 19 LOC_PRIV_OBJS_NO_REPAIR = 20 GTADIR_NOT_REACHED = 21 OBJECT_LOCKED_FOR_ORDER = 22 CHANGE_OF_CLASS_NOT_ALLOWED = 23 NO_CHANGE_FROM_SAP_TO_TMP = 24 OTHERS = 25.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 20 TEXT = TEXT-001 " Headerstruktur wird generiert EXCEPTIONS OTHERS = 1.

DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING name = DD03P_TAB-TABNAME dd02v_wa = DD02V_WA TABLES dd03p_tab = DD03P_TAB dd05m_tab = DD05M_TAB dd08v_tab = DD08V_TAB dd35v_tab = DD35V_TAB dd36m_tab = DD36M_TAB EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.

DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING name = DD03P_TAB-TABNAME TABLES dd03p_tab = DD03P_TAB EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.

DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING name = DD03P_TAB-TABNAME dd02v_wa = DD02V_WA TABLES dd03p_tab = DD03P_TAB dd05m_tab = DD05M_TAB dd08v_tab = DD08V_TAB dd35v_tab = DD35V_TAB dd36m_tab = DD36M_TAB EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 60 TEXT = TEXT-001 " Headerstruktur wird generiert EXCEPTIONS OTHERS = 1.

DDIF_TABL_ACTIVATE





CALL FUNCTION 'DDIF_TABL_ACTIVATE' EXPORTING NAME = DD03P_TAB-TABNAME EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.



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