SAP Function Modules

FRE_ARTHIER_SELECT SAP Function module - Control of Transmission of Article Hierarchy to F&R







FRE_ARTHIER_SELECT 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_ARTHIER_SELECT into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM FRE_ARTHIER_SELECT - FRE ARTHIER SELECT





CALL FUNCTION 'FRE_ARTHIER_SELECT' "Control of Transmission of Article Hierarchy to F&R
  EXPORTING
    i_initial =                 " fre_init_flag  Flag to decide between initial and delta Transmission
*   i_creation_date_high = SY-DATUM  " sy-datum  Date and Time, Current (Application Server) Date
*   i_creation_date_low = '17112004'  " sy-datum  Date and Time, Current (Application Server) Date
*   i_hier_id =                 " fre_hier_cnt  Hierarchy
*   i_node =                    " fre_struc_node  Hierarchy Node
    is_send_option =            " fre_send_option  Maintain Basic Settings for Data Transfer
    i_refid =                   " fre_trdat     Timestamp transfer date/time
*   it_article =                " fre_md_matnr_tty  Material Selection
    .  "  FRE_ARTHIER_SELECT

ABAP code example for Function Module FRE_ARTHIER_SELECT





The ABAP code below is a full code listing to execute function module FRE_ARTHIER_SELECT 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_i_initial) = 'Check type of data required'.
DATA(ld_i_creation_date_high) = '20210129'.
DATA(ld_i_creation_date_low) = '20210129'.
DATA(ld_i_hier_id) = '20210129'.
DATA(ld_i_node) = '20210129'.
DATA(ld_is_send_option) = '20210129'.
DATA(ld_i_refid) = '20210129'.
DATA(ld_it_article) = '20210129'. . CALL FUNCTION 'FRE_ARTHIER_SELECT' EXPORTING i_initial = ld_i_initial * i_creation_date_high = ld_i_creation_date_high * i_creation_date_low = ld_i_creation_date_low * i_hier_id = ld_i_hier_id * i_node = ld_i_node is_send_option = ld_is_send_option i_refid = ld_i_refid * it_article = ld_it_article . " FRE_ARTHIER_SELECT
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_i_initial  TYPE FRE_INIT_FLAG ,
ld_i_creation_date_high  TYPE SY-DATUM ,
ld_i_creation_date_low  TYPE SY-DATUM ,
ld_i_hier_id  TYPE FRE_HIER_CNT ,
ld_i_node  TYPE FRE_STRUC_NODE ,
ld_is_send_option  TYPE FRE_SEND_OPTION ,
ld_i_refid  TYPE FRE_TRDAT ,
ld_it_article  TYPE FRE_MD_MATNR_TTY .

ld_i_initial = '20210129'.
ld_i_creation_date_high = '20210129'.
ld_i_creation_date_low = '20210129'.
ld_i_hier_id = '20210129'.
ld_i_node = '20210129'.
ld_is_send_option = '20210129'.
ld_i_refid = '20210129'.
ld_it_article = '20210129'.

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