FRE_INIT_LOAD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report for initial data load coordinates the data collection and data transmission to F&R...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter FRE_INIT_LOAD into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FRE01 - Initial Transfer of Data to F&R
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: P_BLOCK = D .
Selection Text: P_CONS = Send consumption data
Selection Text: P_DIRECT = Access F&R direct
Selection Text: P_DISMM = MRP type
Selection Text: P_FILTER = Filter over customized sites?
Selection Text: P_FIRST = Transfer suppliers
Selection Text: P_HIERID = Hierarchy ID
Selection Text: P_HIST = D .
Selection Text: P_MATNR = Material
Selection Text: P_NODE = Hierarchy Node
Selection Text: P_PARAL = D .
Selection Text: P_PAST = D .
Selection Text: P_SDATE = Start Date
Selection Text: P_STOCK = Send stock data
Selection Text: P_SVRGR = D .
Selection Text: P_SYDEST = Destination system
Selection Text: P_TASKS = D .
Selection Text: P_VKP_ED = End sales price interval
Selection Text: P_VKP_SD = Start sales price interval
Selection Text: P_VZ_DIR = Direct read DC sales price
Selection Text: P_VZ_END = Distribution channel
Selection Text: P_WERKS = Site
Selection Text: P_SE_ALL = Select All Interfaces
Title: Initial Transfer of Data to SAP F&R
Text Symbol: T08 = ***** Processing Sales Order Interface completed *****
Text Symbol: 053 = Send sales order data to F&R
Text Symbol: T07 = ***** Processing Assignment Information Interface completed *****
Text Symbol: T06 = ***** Processing Switch Information Interface completed *****
Text Symbol: T05 = *****Processing Purchase Order Interface completed*****
Text Symbol: T04 = *****Processing Contracts Interface completed*****
Text Symbol: T03 = *****Processing Article Hierarchies completed*****
Text Symbol: T02 = (For more details use transaction FRE_UI)
Text Symbol: T01 = ******* Processing completed! *******
Text Symbol: 099 = Send Sales Price
Text Symbol: 052 = Send consumption data
Text Symbol: 051 = Send stock data
Text Symbol: 050 = Error occured in parallel when sending layout modules
Text Symbol: 049 = Send assignment information data to F&R
INCLUDE FRE_INIT_LOADF01. " GENERAL FORM ROUTINES.
INCLUDE FRE_INIT_LOADF02. " FORM ROUTINES FOR PARALLISATION
INCLUDE FRE_INIT_LOADF03. " FORM ROUTINES FOR DIFFERENT F&R OBJECTS
INCLUDE FRE_INIT_LOADF04. " FORM ROUTINES FOR PRODUCT
INCLUDE FRE_INIT_LOADF05. " FORM ROUTINES FOR ENTRY CHECKS
INCLUDE FRE_INIT_LOADF06. " FORM ROUTINES FOR LOCATION PRODUCT
INCLUDE FRE_INIT_LOADF07. " FORM ROUTINES FOR LOCATION
No SAP DATABASE tables are accessed within this REPORT code!
FRE_DB_CONVERT_50 CALL FUNCTION 'FRE_DB_CONVERT_50' EXCEPTIONS conversion_error = 1 nothing_to_do = 2 OTHERS = 3.
AIC0_OWN_LOGSYSTEM_GET CALL FUNCTION 'AIC0_OWN_LOGSYSTEM_GET' IMPORTING e_own_logsystem = gs_work_report-system_r3 EXCEPTIONS own_logsystem_not_defined = 1 OTHERS = 2.
ENQUEUE_E_FRE_DB_ARTSITE CALL FUNCTION 'ENQUEUE_E_FRE_DB_ARTSITE' EXPORTING mode_fre_db_art_site = 'X' mandt = sy-mandt * WERKS = * MATNR = * X_WERKS = ' ' * X_MATNR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
FRE_MC_HIER_SELECT CALL FUNCTION 'FRE_MC_HIER_SELECT' EXPORTING i_initial = 'X' i_direct = p_direct is_send_option = gwa_fre_send_option EXCEPTIONS OTHERS = 0.
FRE_MC_HIER_SELECT CALL FUNCTION 'FRE_MC_HIER_SELECT' STARTING NEW TASK 'MC_HIER' EXPORTING i_initial = 'X' i_direct = p_direct is_send_option = gwa_fre_send_option EXCEPTIONS OTHERS = 0.
FRE_UOM_INITIAL CALL FUNCTION 'FRE_UOM_INITIAL' EXPORTING is_send_option = gwa_fre_send_option ip_logsys = gs_work_report-system_r3.
FRE_UOM_INITIAL CALL FUNCTION 'FRE_UOM_INITIAL' STARTING NEW TASK 'UOM_IN' EXPORTING is_send_option = gwa_fre_send_option ip_logsys = gs_work_report-system_r3.
FRE_PROF_INITIAL_SEND CALL FUNCTION 'FRE_PROF_INITIAL_SEND' EXPORTING pit_sites = gt_sites pi_site_dependent = 'X' pi_site_independent = 'X' pis_work_report = gs_work_report pis_send_option = gwa_fre_send_option.
FRE_PROF_INITIAL_SEND CALL FUNCTION 'FRE_PROF_INITIAL_SEND' EXPORTING pit_sites = gt_sites pi_site_dependent = 'X' pi_site_independent = '' pis_work_report = gs_work_report pis_send_option = gwa_fre_send_option.
FRE_MESSAGE_DB CALL FUNCTION 'FRE_MESSAGE_DB' EXPORTING mode = 'I' TABLES messages = gt_msg EXCEPTIONS database_error = 1 wrong_mode = 2 OTHERS = 3.
FRE_PROF_INITIAL_SEND CALL FUNCTION 'FRE_PROF_INITIAL_SEND' EXPORTING pit_sites = gt_sites pi_site_dependent = '' pi_site_independent = 'X' pis_work_report = gs_work_report pis_send_option = gwa_fre_send_option.
SET_LAYOUT_LOAD_REF_ID CALL FUNCTION 'SET_LAYOUT_LOAD_REF_ID' EXPORTING pi_load_refid = gv_refid .
FRE_ORD_DIRECT_SEND CALL FUNCTION 'FRE_ORD_DIRECT_SEND' EXPORTING call_prog = 'MD' initial_load = 'X' * Correction Note 1063709 servergroup = p_svrgr * Correction Note 1063709 ip_hist_po = p_hist "1275796 ip_po_past = p_past "1275796 TABLES fre_art_site = lt_art_site.
FRE_DB_ART_SITE_RELEV_CHECK CALL FUNCTION 'FRE_DB_ART_SITE_RELEV_CHECK' EXPORTING i_accesstype = '3' ip_check_dismm = 'X' ip_check_rel_subst = 'X' TABLES it_matwerks_key = lt_art_site et_matwerks_contain = et_art_site EXCEPTIONS nothing_to_do = 0 OTHERS = 0.
FRE_DB_ART_SITE_RELEV_CHECK CALL FUNCTION 'FRE_DB_ART_SITE_RELEV_CHECK' EXPORTING i_accesstype = '1' ip_check_dismm = 'X' ip_check_rel_subst = 'X' TABLES it_matnr = lt_article et_matnr_contain = et_article EXCEPTIONS nothing_to_do = 0 OTHERS = 0.
FRE_CONTRACT_INITIAL CALL FUNCTION 'FRE_CONTRACT_INITIAL' EXPORTING ip_parallel = p_paral ip_if_fill = space is_send_option = gwa_fre_send_option it_art_site = et_art_site it_article = et_article.
FRE_ORD_DIRECT_SEND CALL FUNCTION 'FRE_ORD_DIRECT_SEND' EXPORTING call_prog = 'MD' initial_load = 'X' ip_parallel = p_paral ip_send_orders = 'X' ip_send_contracts = p_contr is_send_option = gwa_fre_send_option ip_hist_po = p_hist "1275796 ip_po_past = p_past "1275796 TABLES fre_art_site = et_art_site it_article = et_article.
FRE_DB_ART_SITE_RELEV_CHECK CALL FUNCTION 'FRE_DB_ART_SITE_RELEV_CHECK' EXPORTING i_accesstype = '3' ip_check_dismm = 'X' ip_check_rel_subst = 'X' TABLES it_matwerks_key = lt_art_site et_matwerks_contain = et_art_site EXCEPTIONS nothing_to_do = 0 OTHERS = 0.
FRE_SO_SALES_ORDER_INITIAL CALL FUNCTION 'FRE_SO_SALES_ORDER_INITIAL' EXPORTING IP_SERVERGROUP = p_svrgr IP_PARALLEL = p_paral IP_TASKS = p_tasks IP_PACKAGESIZE = p_block IS_SEND_OPTION = gwa_fre_send_option IT_ART_SITE = et_art_site EXCEPTIONS error_during_transfer = 1.
FRE_ARTHIER_BADI_CALL CALL FUNCTION 'FRE_ARTHIER_BADI_CALL' EXPORTING i_initial = 'I' * I_CREATION_DATE_HIGH = '' * I_CREATION_DATE_LOW = '' i_hier_id = p_hierid i_node = p_node is_send_option = gwa_fre_send_option i_refid = gv_pits * it_article = .
FRE_ARTHIER_BADI_CALL CALL FUNCTION 'FRE_ARTHIER_BADI_CALL' STARTING NEW TASK 'ARTHIER' EXPORTING i_initial = 'I' * I_CREATION_DATE_HIGH = '' * I_CREATION_DATE_LOW = '' i_hier_id = p_hierid i_node = p_node is_send_option = gwa_fre_send_option i_refid = gv_pits * it_article = .
DEQUEUE_E_FRE_DB_ARTSITE CALL FUNCTION 'DEQUEUE_E_FRE_DB_ARTSITE' EXPORTING mode_fre_db_art_site = 'X' mandt = sy-mandt * WERKS = * MATNR = * X_WERKS = ' ' * X_MATNR = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .
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 FRE_INIT_LOAD or its description.
FRE_INIT_LOAD - Initial Transfer of Data to SAP F&R FRE_INIT_LOAD - Initial Transfer of Data to SAP F&R FRE_EKORG_ASSIGN_INIT_LOAD_TOP - FREEKORGASSIGNINITLOADTOP FRE_EKORG_ASSIGN_INIT_LOAD_F02 - FREEKORGASSIGNINITLOADF02 FRE_EKORG_ASSIGN_INIT_LOAD_F01 - FREEKORGASSIGNINITLOADF01 FRE_EKORG_ASSIGN_INIT_LOAD - Transfer of Purch. Organizations and Their Plant Assignments to F&R