SAP Function Modules

FRE_UOM_OUT SAP Function module - Transmission of Unit of Measure Groups to F&R







FRE_UOM_OUT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name FRE_UOM_OUT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FRE_LOGIST_ROUND_OUT
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FRE_UOM_OUT - FRE UOM OUT





CALL FUNCTION 'FRE_UOM_OUT' "Transmission of Unit of Measure Groups to F&R
  EXPORTING
    is_send_option =            " fre_send_option  Maintain Basic Settings for Data Transfer
    ip_logsys =                 " fre_system_r3  System of R3
    it_uom_h =                  " fre_bif_uom_h_tty  Unit of Measure Group Header
    it_uom_i =                  " fre_bif_uom_i_tty  Unit of Measure Group Item
    tst =                       " timestamp     UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
  IMPORTING
    et_msg =                    " fre_ui_msg_tty  FRE CON R/3 User Interface Message Structure
    .  "  FRE_UOM_OUT

ABAP code example for Function Module FRE_UOM_OUT





The ABAP code below is a full code listing to execute function module FRE_UOM_OUT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_et_msg  TYPE FRE_UI_MSG_TTY .

DATA(ld_is_send_option) = 'Check type of data required'.
DATA(ld_ip_logsys) = 'Check type of data required'.
DATA(ld_it_uom_h) = 'some text here'.
DATA(ld_it_uom_i) = 'some text here'.
DATA(ld_tst) = 'some text here'. . CALL FUNCTION 'FRE_UOM_OUT' EXPORTING is_send_option = ld_is_send_option ip_logsys = ld_ip_logsys it_uom_h = ld_it_uom_h it_uom_i = ld_it_uom_i tst = ld_tst IMPORTING et_msg = ld_et_msg . " FRE_UOM_OUT
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_et_msg  TYPE FRE_UI_MSG_TTY ,
ld_is_send_option  TYPE FRE_SEND_OPTION ,
ld_ip_logsys  TYPE FRE_SYSTEM_R3 ,
ld_it_uom_h  TYPE FRE_BIF_UOM_H_TTY ,
ld_it_uom_i  TYPE FRE_BIF_UOM_I_TTY ,
ld_tst  TYPE TIMESTAMP .

ld_is_send_option = 'some text here'.
ld_ip_logsys = 'Check type of data required'.
ld_it_uom_h = 'some text here'.
ld_it_uom_i = 'some text here'.
ld_tst = 'some text here'.

SAP Documentation for FM FRE_UOM_OUT


Depending on Transmission Mode (XI or asynchronous RFC; Field IS_SEND_OPTION-FRE_RFC) SAP F R is called via XI or asynchronous ...See here for full SAP fm documentation

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FRE_UOM_OUT or its description.