SAP Reports / Programs

FRE_INIT_LOAD SAP ABAP Report - Initial Transfer of Data to SAP F&R







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FRE01 - Initial Transfer of Data to F&R


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 FRE_INIT_LOAD. "Basic submit
SUBMIT FRE_INIT_LOAD AND RETURN. "Return to original report after report execution complete
SUBMIT FRE_INIT_LOAD 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_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





Text Symbol: 048 = Send contract data to F&R
Text Symbol: 047 = Analysis Horizon for Incorporating the Number of Supplied Plants
Text Symbol: 001 = Data Select Options
Text Symbol: 002 = Parallel Processing Options
Text Symbol: 003 = Options for Transmission of a Subtree of an Article Hierarchy
Text Symbol: 005 = High level filtering over customized sites
Text Symbol: 006 = Transfer Settings
Text Symbol: 007 = Definition of sales price determination interval
Text Symbol: 008 = DC sales price determination method
Text Symbol: 009 = Product interface error message:
Text Symbol: 011 = Location-Product interface error message
Text Symbol: 012 = error read logical system id
Text Symbol: 013 = no system resources available
Text Symbol: 014 = wrong F&R destination
Text Symbol: 015 = wrong replenishment types
Text Symbol: 016 = Master Data Interface
Text Symbol: 017 = no valid sites customized for F&R-scenario
Text Symbol: 018 = nothing selected from MARC for specified options
Text Symbol: 019 = Transportation lane interface error message
Text Symbol: 020 = Only direct sending to SAP F&R is possible at the moment
Text Symbol: 021 = Location data transfer successful
Text Symbol: 022 = Product data transfer successful
Text Symbol: 023 = Location-Product data transfer successful
Text Symbol: 024 = Transportation lane data transfer successful
Text Symbol: 030 = Send vendor data to F&R
Text Symbol: 031 = Send merchandise categories / MC hierarchies to F&R
Text Symbol: 032 = Send reference site assignment to F&R
Text Symbol: 033 = Send Loc/Prod/LocProd/TranspLanes data to F&R
Text Symbol: 034 = Send open orders to F&R
Text Symbol: 035 = Send article hierarchy data to F&R
Text Symbol: 036 = Send DIF occurr. for promotions directly to F&R (only possible with LocProd)
Text Symbol: 037 = Only possible if initial Transm. of complete Hierarchy performed with success!
Text Symbol: 038 = Send site independent release profiles with assignments
Text Symbol: 039 = Send unit of measure groups to F&R
Text Symbol: 040 = Another Interface is already active!!! (Lock on table FRE_DB_ART_SITE failed)
Text Symbol: 041 = ******************** Report FRE_INIT_LOAD stopped ************************
Text Symbol: 042 = Send layout modules
Text Symbol: 043 = Layout module interface
Text Symbol: 044 = Selection Criteria independent Interfaces





Text Symbol: 045 = Send switch information data to F&R
Text Symbol: 046 = Send DIF occurrences for number of supplied plants (only possible with LocProd)


INCLUDES used within this REPORT FRE_INIT_LOAD

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


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:

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 = ' ' .



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