SAP FRE_MD_LOC_SEND Function Module for Send Location Data to F&R









FRE_MD_LOC_SEND is a standard fre md loc send SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Send Location Data to F&R processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for fre md loc send FM, simply by entering the name FRE_MD_LOC_SEND into the relevant SAP transaction such as SE37 or SE38.

Function Group: FRE_MASTER_OUT_LOC
Program Name: SAPLFRE_MASTER_OUT_LOC
Main Program: SAPLFRE_MASTER_OUT_LOC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FRE_MD_LOC_SEND pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'FRE_MD_LOC_SEND'"Send Location Data to F&R
EXPORTING
I_DIRECT_ACCESS = "Work pannel from Reports to Object modules (Outbound to F&R)
* IP_CALLING_PROCESS = "Single-Character Indicator
I_SYSTEM_FRE = "System of F&R
* IT_LOC = "F&R data interface: List of location data
* IT_LOCT = "F&R Data Interface Location Text Data
* IT_LOCADR = "BIF: Location spec. address data incl. ISO fields
* IT_LOCTEL = "Location spec. phone numbers incl. ISO fields
* IT_LOCFAX = "location spec. fax numbers incl. ISO fields
* IT_LOCSMTP = "F&R data interface: List of location spec. internet address
* IT_LOCURI = "F&R data interface: List of location spec. commun. methods

IMPORTING
ET_FRE_RETURN = "Table with BAPI Return Information
ES_MSG_TEXT = "Char 80
ET_LOC = "F&R data interface: List of location data
ET_LOCT = "F&R Data Interface Location Text Data
ET_LOCADR = "BIF: Location spec. address data incl. ISO fields
ET_LOCTEL = "Location spec. phone numbers incl. ISO fields
ET_LOCFAX = "location spec. fax numbers incl. ISO fields
ET_LOCSMTP = "F&R data interface: List of location spec. internet address
ET_LOCURI = "F&R data interface: List of location spec. commun. methods

EXCEPTIONS
COMMUNICATION_FAILURE = 1
.



IMPORTING Parameters details for FRE_MD_LOC_SEND

I_DIRECT_ACCESS - Work pannel from Reports to Object modules (Outbound to F&R)

Data type: FRE_DIRECT_ACCESS
Optional: No
Call by Reference: Yes

IP_CALLING_PROCESS - Single-Character Indicator

Data type: CHAR1
Optional: Yes
Call by Reference: Yes

I_SYSTEM_FRE - System of F&R

Data type: FRE_SYSTEM_FRE
Optional: No
Call by Reference: Yes

IT_LOC - F&R data interface: List of location data

Data type: FRE_BIF_LOC_TTY
Optional: Yes
Call by Reference: Yes

IT_LOCT - F&R Data Interface Location Text Data

Data type: FRE_BIF_LOCT_TTY
Optional: Yes
Call by Reference: Yes

IT_LOCADR - BIF: Location spec. address data incl. ISO fields

Data type: FRE_BIF_LOCADR_ISO_TTY
Optional: Yes
Call by Reference: Yes

IT_LOCTEL - Location spec. phone numbers incl. ISO fields

Data type: FRE_BIF_LOCTEL_ISO_TTY
Optional: Yes
Call by Reference: Yes

IT_LOCFAX - location spec. fax numbers incl. ISO fields

Data type: FRE_BIF_LOCFAX_ISO_TTY
Optional: Yes
Call by Reference: Yes

IT_LOCSMTP - F&R data interface: List of location spec. internet address

Data type: FRE_BIF_LOCSMTP_TTY
Optional: Yes
Call by Reference: Yes

IT_LOCURI - F&R data interface: List of location spec. commun. methods

Data type: FRE_BIF_LOCURI_TTY
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FRE_MD_LOC_SEND

ET_FRE_RETURN - Table with BAPI Return Information

Data type: FRE_BAPIRETTAB_TTY
Optional: No
Call by Reference: Yes

ES_MSG_TEXT - Char 80

Data type: CHAR80
Optional: No
Call by Reference: Yes

ET_LOC - F&R data interface: List of location data

Data type: FRE_BIF_LOC_TTY
Optional: No
Call by Reference: Yes

ET_LOCT - F&R Data Interface Location Text Data

Data type: FRE_BIF_LOCT_TTY
Optional: No
Call by Reference: Yes

ET_LOCADR - BIF: Location spec. address data incl. ISO fields

Data type: FRE_BIF_LOCADR_ISO_TTY
Optional: No
Call by Reference: Yes

ET_LOCTEL - Location spec. phone numbers incl. ISO fields

Data type: FRE_BIF_LOCTEL_ISO_TTY
Optional: No
Call by Reference: Yes

ET_LOCFAX - location spec. fax numbers incl. ISO fields

Data type: FRE_BIF_LOCFAX_ISO_TTY
Optional: No
Call by Reference: Yes

ET_LOCSMTP - F&R data interface: List of location spec. internet address

Data type: FRE_BIF_LOCSMTP_TTY
Optional: No
Call by Reference: Yes

ET_LOCURI - F&R data interface: List of location spec. commun. methods

Data type: FRE_BIF_LOCURI_TTY
Optional: No
Call by Reference: Yes

EXCEPTIONS details

COMMUNICATION_FAILURE - error during sending process

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FRE_MD_LOC_SEND Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_et_fre_return  TYPE FRE_BAPIRETTAB_TTY, "   
lv_i_direct_access  TYPE FRE_DIRECT_ACCESS, "   
lv_communication_failure  TYPE FRE_DIRECT_ACCESS, "   
lv_ip_calling_process  TYPE CHAR1, "   
lv_es_msg_text  TYPE CHAR80, "   
lv_i_system_fre  TYPE FRE_SYSTEM_FRE, "   
lv_et_loc  TYPE FRE_BIF_LOC_TTY, "   
lv_it_loc  TYPE FRE_BIF_LOC_TTY, "   
lv_et_loct  TYPE FRE_BIF_LOCT_TTY, "   
lv_it_loct  TYPE FRE_BIF_LOCT_TTY, "   
lv_et_locadr  TYPE FRE_BIF_LOCADR_ISO_TTY, "   
lv_it_locadr  TYPE FRE_BIF_LOCADR_ISO_TTY, "   
lv_et_loctel  TYPE FRE_BIF_LOCTEL_ISO_TTY, "   
lv_it_loctel  TYPE FRE_BIF_LOCTEL_ISO_TTY, "   
lv_et_locfax  TYPE FRE_BIF_LOCFAX_ISO_TTY, "   
lv_it_locfax  TYPE FRE_BIF_LOCFAX_ISO_TTY, "   
lv_et_locsmtp  TYPE FRE_BIF_LOCSMTP_TTY, "   
lv_it_locsmtp  TYPE FRE_BIF_LOCSMTP_TTY, "   
lv_et_locuri  TYPE FRE_BIF_LOCURI_TTY, "   
lv_it_locuri  TYPE FRE_BIF_LOCURI_TTY. "   

  CALL FUNCTION 'FRE_MD_LOC_SEND'  "Send Location Data to F&R
    EXPORTING
         I_DIRECT_ACCESS = lv_i_direct_access
         IP_CALLING_PROCESS = lv_ip_calling_process
         I_SYSTEM_FRE = lv_i_system_fre
         IT_LOC = lv_it_loc
         IT_LOCT = lv_it_loct
         IT_LOCADR = lv_it_locadr
         IT_LOCTEL = lv_it_loctel
         IT_LOCFAX = lv_it_locfax
         IT_LOCSMTP = lv_it_locsmtp
         IT_LOCURI = lv_it_locuri
    IMPORTING
         ET_FRE_RETURN = lv_et_fre_return
         ES_MSG_TEXT = lv_es_msg_text
         ET_LOC = lv_et_loc
         ET_LOCT = lv_et_loct
         ET_LOCADR = lv_et_locadr
         ET_LOCTEL = lv_et_loctel
         ET_LOCFAX = lv_et_locfax
         ET_LOCSMTP = lv_et_locsmtp
         ET_LOCURI = lv_et_locuri
    EXCEPTIONS
        COMMUNICATION_FAILURE = 1
. " FRE_MD_LOC_SEND




ABAP code using 7.40 inline data declarations to call FM FRE_MD_LOC_SEND

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!