RM_INITIAL_DATA_LOAD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use the
If you would like to execute this report or see the full code listing simply enter RM_INITIAL_DATA_LOAD into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: PHY_FILE = D .
Title: Initial Data Load for Recipes
Text Symbol: 001 = File Selection
Text Symbol: 002 = Control
Text Symbol: 003 = Test Run Without Saving Data
Text Symbol: 004 = Name of XML File
Text Symbol: 005 = Exit Editing of Recipe After First Error
Text Symbol: 006 = Save Recipes with Errors
Text Symbol: 007 = Initial Data Load for Recipes
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_logfile INCLUDING_DIR = 'X' IMPORTING FILE_NAME = phy_file EXCEPTIONS FILE_NOT_FOUND = 1 OTHERS = 2.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_logfile changing physical_filename = phy_file EXCEPTIONS OTHERS = 1.
BAL_CNTL_FREE CALL FUNCTION 'BAL_CNTL_FREE' CHANGING c_control_handle = g_control_handle EXCEPTIONS OTHERS = 1.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log_header IMPORTING e_log_handle = l_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_LOG_DELETE CALL FUNCTION 'BAL_LOG_DELETE' EXPORTING i_log_handle =
EXCEPTIONS log_not_found = 1 OTHERS = 2.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = l_frml_item_struct_name TABLES x031l_tab = lt_ddic_nametab EXCEPTIONS not_found = 1 OTHERS = 2.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' "1487019 EXPORTING logical_filename = gc_logfile changing physical_filename = lv_physical_file EXCEPTIONS OTHERS = 1.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = ls_appl_log_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
BAL_DSP_PROFILE_STANDARD_GET CALL FUNCTION 'BAL_DSP_PROFILE_STANDARD_GET' IMPORTING e_s_display_profile = g_s_display_profile.
BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_t_log_handle = lt_log_handles IMPORTING e_t_log_handle = lt_log_handle EXCEPTIONS msg_not_found = 1 OTHERS = 2.
BAL_CNTL_CREATE CALL FUNCTION 'BAL_CNTL_CREATE' EXPORTING i_container = g_gui_container i_s_display_profile = g_s_display_profile i_t_log_handle = lt_log_handle i_srt_by_timstmp = const_true IMPORTING e_control_handle = g_control_handle EXCEPTIONS OTHERS = 1.
BAL_CNTL_FREE CALL FUNCTION 'BAL_CNTL_FREE' CHANGING c_control_handle = g_control_handle EXCEPTIONS OTHERS = 1.
BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_t_log_handle = lt_log_handles IMPORTING e_t_log_handle = lt_log_handle EXCEPTIONS msg_not_found = 1 OTHERS = 2.
BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = lt_log_handle * IMPORTING * E_NEW_LOGNUMBERS = EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM_INITIAL_DATA_LOAD - Initial Data Load for Recipes RM_INITIAL_DATA_LOAD - Initial Data Load for Recipes RM_IMG_DB_PROVIDER - Display Implementation Guide for DB Providers RM_IMG_DB_PROVIDER - Display Implementation Guide for DB Providers RM_ERROR_LOG - RMERRORLOG RM_DEPENDENT_CUSTOMIZING_CALL - Program RMDEPENDENT_CUSTOMIZING_CALL