SAP Reports / Programs | Portfolio and Project Management | Common Functions(PPM-CF) SAP PPM

INM_DFM_SYNCH SAP ABAP Report - Synchronization report







INM_DFM_SYNCH 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 INM_DFM_SYNCH 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 INM_DFM_SYNCH. "Basic submit
SUBMIT INM_DFM_SYNCH AND RETURN. "Return to original report after report execution complete
SUBMIT INM_DFM_SYNCH 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: P_SIMU = Test Mode (No Database Update)
Selection Text: P_PSPID = PS Project ID
Selection Text: P_PSPD = PS Project Definition
Selection Text: P_OBJT = Changed On
Selection Text: P_LOGSYS = Source Logical System
Selection Text: P_ITEMID = Item ID
Selection Text: P_ITEM = Portfolio Item
Selection Text: P_INITID = Initiative ID
Selection Text: P_INIT = Initiative
Selection Text: P_CPROID = Proj. Mgmt Project ID
Selection Text: P_CPRO = Proj. Mgmt Project Definition
Title: Synchronization report
Text Symbol: 012 = PS Synchronization not available (see SAP note 1427365 & 1391444); Restart selection
Text Symbol: 011 = Search for Logs
Text Symbol: 010 = Unable to save the log file
Text Symbol: 009 = Simulation Run
Text Symbol: 008 = Production Run
Text Symbol: 007 = DFM Synchronization Log
Text Symbol: 006 = Source Object Selection Options Changed
Text Symbol: 005 = Logical System Is Not Valid
Text Symbol: 004 = Select a Logical System
Text Symbol: 003 = Search for Logs
Text Symbol: 002 = Source Object Selection Options
Text Symbol: 001 = Source Object Type Selection
Text Symbol: 000 = General Options


INCLUDES used within this REPORT INM_DFM_SYNCH

INCLUDE INM_DFM_SYNCH_TOP.


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:

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lv_own_logsys EXCEPTIONS own_logical_system_not_defined = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr translate_to_upper = 'X' TABLES dynpfields = lt_dynpread EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

RSEC_DATE_CONVERT CALL FUNCTION 'RSEC_DATE_CONVERT' EXPORTING i_chavl_ext = lv_start_date_temp IMPORTING e_chavl_int = lv_start_date_temp EXCEPTIONS no_input_given = 1 input_not_numerical = 2 conversion_not_supported = 3 date_not_correct = 4 time_not_correct = 5 invalid_format = 6 OTHERS = 7.

RSEC_DATE_CONVERT CALL FUNCTION 'RSEC_DATE_CONVERT' EXPORTING i_chavl_ext = lv_finish_date_temp IMPORTING e_chavl_int = lv_finish_date_temp EXCEPTIONS no_input_given = 1 input_not_numerical = 2 conversion_not_supported = 3 date_not_correct = 4 time_not_correct = 5 invalid_format = 6 OTHERS = 7.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'LOGSYS' dynpprog = 'INM_DFM_SYNCH' dynpnr = sy-dynnr dynprofield = 'P_LOGSYS' value_org = 'S' TABLES value_tab = lt_logsys EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'EXTERNAL_ID' dynpprog = 'INM_DFM_SYNCH' dynpnr = sy-dynnr dynprofield = 'P_ITEMID' value_org = 'S' TABLES value_tab = gt_items_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'EXTERNAL_ID' dynpprog = 'INM_DFM_SYNCH' dynpnr = sy-dynnr dynprofield = 'P_INITID' value_org = 'S' TABLES value_tab = gt_init_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PROJECT_ID' dynpprog = 'INM_DFM_SYNCH' dynpnr = sy-dynnr dynprofield = 'P_CPROID' value_org = 'S' TABLES value_tab = gt_cpro_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

INM_S_OF_RFC CALL FUNCTION 'INM_S_OF_RFC' DESTINATION lv_rfcdest EXPORTING iv_method_name = lc_method_pspid_f4 iv_bo_node_name = lc_ps_pd it_data = lt_date_range IMPORTING et_data = lt_pspid_range ev_rc = lv_rc TABLES et_messages = lt_messages.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PSPID' dynpprog = 'INM_DFM_SYNCH' dynpnr = sy-dynnr dynprofield = 'P_PSPID' value_org = 'S' TABLES value_tab = gt_pspd_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

INM_S_OF_RFC CALL FUNCTION 'INM_S_OF_RFC' DESTINATION lv_rfcdest EXPORTING iv_method_name = 'PSPID_GETLIST' iv_bo_node_name = lc_ps_pd it_data = lt_date_range it_data1 = lt_pspid_range1 IMPORTING et_data = lt_pspid_range1 ev_rc = lv_rc TABLES et_messages = lt_messages.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

INM_S_OF_RFC





CALL FUNCTION 'INM_S_OF_RFC' DESTINATION lv_rfcdest EXPORTING iv_method_name = 'GET_CHILDREN' iv_bo_node_name = lc_ps_pd it_keys = lt_keys IMPORTING et_data = lt_pspid_range et_data1 = lt_net_act ev_rc = lv_rc TABLES et_messages = lt_messages.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

DFM_INBOUND_SYNCH_FRAMEWORK CALL FUNCTION 'DFM_INBOUND_SYNCH_FRAMEWORK' STARTING NEW TASK 'Object_Synch' PERFORMING synch_callback ON END OF TASK EXPORTING is_source_object_context = ls_src_obj_context is_operation_context = ls_op_context.

APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = gc_rpm_int_log object_attribute = 0 subobject = gc_dfm_log subobject_attribute = 0 external_number = ' ' external_number_attribute = 0 title_list_screen = ' ' title_selection_screen = ' ' suppress_selection_dialog = 'X' date_from = '19000101' "#EC DOM_EQUAL date_to = sy-datum "#EC DOM_EQUAL time_to = '235959' "#EC DOM_EQUAL external_number_display_length = 20 i_variant_report = sy-repid IMPORTING number_of_protocols = lv_number_of_protocols EXCEPTIONS no_authority = 01.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log_header IMPORTING e_log_handle = ls_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = ls_log_handle i_s_msg = ls_log_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING * i_in_update_task = abap_true i_t_log_handle = lt_log_handle EXCEPTIONS OTHERS = 1.

RPM_GET_SETTINGS_VALUE CALL FUNCTION 'RPM_GET_SETTINGS_VALUE' EXPORTING iv_area = cl_rpm_co=>sc_master_switch_area iv_name = cl_rpm_co=>sc_new_ecc_int_name TABLES et_settingsvalue = lt_settings.

RPM_GET_SETTINGS_VALUE CALL FUNCTION 'RPM_GET_SETTINGS_VALUE' EXPORTING iv_area = cl_rpm_co=>sc_master_switch_area iv_name = cl_rpm_co=>sc_new_ps_fi_int_name TABLES et_settingsvalue = lt_settings.



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