SAP Reports / Programs

ODTF_REPL_CC SAP ABAP Report - Cost Center Distribution







ODTF_REPL_CC 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 ODTF_REPL_CC 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 ODTF_REPL_CC. "Basic submit
SUBMIT ODTF_REPL_CC AND RETURN. "Return to original report after report execution complete
SUBMIT ODTF_REPL_CC 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: WERKS_SO = D .
Selection Text: VERAU_SO = D .
Selection Text: VERAK_SO = D .
Selection Text: P_RM_SYS = D .
Selection Text: P_RCVPRN = D .
Selection Text: P_CTSD = Transmission Start Date
Selection Text: P_CP_USE = D .
Selection Text: PRCTR_SO = D .
Selection Text: POST_ALW = Only FI postings allowed CCs
Selection Text: KSTGR_SO = D .
Selection Text: KOSTL_SO = D .
Selection Text: KOSAR_SO = D .
Selection Text: KOKRS_SO = D .
Selection Text: GSBER_SO = D .
Selection Text: DATBI_SO = D .
Selection Text: BUKRS_SO = D .
Title: Cost Center Distribution
Text Symbol: TST = Test Mode (List selected data only)
Text Symbol: SYS = Destination Systems for IDOC Message
Text Symbol: RM3 = Set Responsible Manager in BAdI
Text Symbol: RM2 = Read Employee ID from Field 'Person Responsible'
Text Symbol: RM1 = Read Employee ID from Field 'User Responsible'
Text Symbol: LG1 = Write Error Log for Skipped Data Sets
Text Symbol: FD1 = Replicate all Updated Cost Objects Independent of Selection Criteria
Text Symbol: FD0 = Use Variant for Delta Replication Using Change Pointers
Text Symbol: BRS = Choose Receiving System
Text Symbol: BRM = Responsible Manager
Text Symbol: BCT = Transmission Start
Text Symbol: BCP = Delta Replication Settings
Text Symbol: BCC = Cost Center Selection


INCLUDES used within this REPORT ODTF_REPL_CC

INCLUDE ODTF_REPL_CC_TOP.
INCLUDE ODTF_REPL_CC_SEL.


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:

K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING field_name = 'KOSTL' searchfld = ld_searchfield * searchfld_input = space * set = kstgr_so-low IMPORTING set_name = kstgr_so-low EXCEPTIONS no_set_picked = 1 OTHERS = 2.

ALE_MODEL_INFO_GET CALL FUNCTION 'ALE_MODEL_INFO_GET' EXPORTING message_type = message_type TABLES model_data = distrimodel EXCEPTIONS OTHERS = 0.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING curow = curow display = inp_switch selectfield = 'SYSTEM' titel = text_popup * title_in_values_list = list_title show_all_values_at_first_time = 'X' write_selectfield_in_colours = 'X' use_user_selections = sw_user_sel IMPORTING ind = help_tab_ind TABLES fields = fields_tab full_table = i_values_rcvprn EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.

ODTF_REPL_CC_WRITE_IDOC_CONTEN CALL FUNCTION 'ODTF_REPL_CC_WRITE_IDOC_CONTEN' EXPORTING is_co_data = gs_odtf_s_cost_center_repl.

ALE_ODTF_CCTR CALL FUNCTION 'ALE_ODTF_CCTR' EXPORTING data = ls_cost_center_repl receivers = gt_receiver * SERIAL_ID = 'BUS0012 0000' TABLES * COMMUNICATION_DOCUMENTS = idoc_comm = lt_idoc_comm EXCEPTIONS error_creating_idocs = 1 OTHERS = 2 .

BAPI_IDOC_DBCOMMIT CALL FUNCTION 'BAPI_IDOC_DBCOMMIT'.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = g_s_log IMPORTING e_log_handle = handle_errors EXCEPTIONS OTHERS = 1.

RH_ALE_DISPLAY_LOG CALL FUNCTION 'RH_ALE_DISPLAY_LOG' EXPORTING data_selected = 'X' sel_error_log = handle_errors parallel = '' error_in_data_conversion = '' error_in_data_selection = '' TABLES comm_control = lt_idoc_comm_all.

ODTF_CC_GET_PERNR_FOR_USER CALL FUNCTION 'ODTF_CC_GET_PERNR_FOR_USER' EXPORTING user = -verak_user IMPORTING pernr = lv_assigned_manager_id.

ODTF_REPL_CC_CHECK_DATA CALL FUNCTION 'ODTF_REPL_CC_CHECK_DATA' EXPORTING iv_write_log = p_log CHANGING cs_cc_data = gs_odtf_s_cost_center_repl.



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