SAP Function Modules

FRML209_RCP_STRUCT_READ SAP Function module







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

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


Pattern for FM FRML209_RCP_STRUCT_READ - FRML209 RCP STRUCT READ





CALL FUNCTION 'FRML209_RCP_STRUCT_READ' "
  IMPORTING
    et_rcp_struct =             " frmlty_rcp_struct
    e_root_text =               " frmle_pobtx
    e_root_subcat =             " rcpe_subcat
    e_root_subnam =             " frmle_desc
    e_rcp_formula =             " frmle_pnguid
    e_mst_recn =                " frmle_pnguid
    e_valdat =                  " frmle_valdat  Key Date
    e_rcp_obj_kind =            " rmsae_wbo_obj_kind
    e_assync_flg =              " frmle_flg     For General Usage
    e_aennr =                   " aennr
    et_streams =                " frmlty_stream
    e_rcp_refquant =            " rcpe_refquant
    e_rcp_refunit =             " rcpe_qunit
    e_rcp_reflangu =            " rcpe_olang
    e_flg_valid =               " c
    e_rcp_status =              " frmle_status
    e_root_id =                 " frmle_descr
    e_rcp_valfrom =             " frmle_valfr   Valid-From Date
    e_rcp_valto =               " frmle_valto   Valid-To Date
    e_rcp_cons_flg =            " rcpe_cons_flg  Consistent
    .  "  FRML209_RCP_STRUCT_READ

ABAP code example for Function Module FRML209_RCP_STRUCT_READ





The ABAP code below is a full code listing to execute function module FRML209_RCP_STRUCT_READ 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_rcp_struct  TYPE FRMLTY_RCP_STRUCT ,
ld_e_root_text  TYPE FRMLE_POBTX ,
ld_e_root_subcat  TYPE RCPE_SUBCAT ,
ld_e_root_subnam  TYPE FRMLE_DESC ,
ld_e_rcp_formula  TYPE FRMLE_PNGUID ,
ld_e_mst_recn  TYPE FRMLE_PNGUID ,
ld_e_valdat  TYPE FRMLE_VALDAT ,
ld_e_rcp_obj_kind  TYPE RMSAE_WBO_OBJ_KIND ,
ld_e_assync_flg  TYPE FRMLE_FLG ,
ld_e_aennr  TYPE AENNR ,
ld_et_streams  TYPE FRMLTY_STREAM ,
ld_e_rcp_refquant  TYPE RCPE_REFQUANT ,
ld_e_rcp_refunit  TYPE RCPE_QUNIT ,
ld_e_rcp_reflangu  TYPE RCPE_OLANG ,
ld_e_flg_valid  TYPE C ,
ld_e_rcp_status  TYPE FRMLE_STATUS ,
ld_e_root_id  TYPE FRMLE_DESCR ,
ld_e_rcp_valfrom  TYPE FRMLE_VALFR ,
ld_e_rcp_valto  TYPE FRMLE_VALTO ,
ld_e_rcp_cons_flg  TYPE RCPE_CONS_FLG .
CALL FUNCTION 'FRML209_RCP_STRUCT_READ' IMPORTING et_rcp_struct = ld_et_rcp_struct e_root_text = ld_e_root_text e_root_subcat = ld_e_root_subcat e_root_subnam = ld_e_root_subnam e_rcp_formula = ld_e_rcp_formula e_mst_recn = ld_e_mst_recn e_valdat = ld_e_valdat e_rcp_obj_kind = ld_e_rcp_obj_kind e_assync_flg = ld_e_assync_flg e_aennr = ld_e_aennr et_streams = ld_et_streams e_rcp_refquant = ld_e_rcp_refquant e_rcp_refunit = ld_e_rcp_refunit e_rcp_reflangu = ld_e_rcp_reflangu e_flg_valid = ld_e_flg_valid e_rcp_status = ld_e_rcp_status e_root_id = ld_e_root_id e_rcp_valfrom = ld_e_rcp_valfrom e_rcp_valto = ld_e_rcp_valto e_rcp_cons_flg = ld_e_rcp_cons_flg . " FRML209_RCP_STRUCT_READ
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_rcp_struct  TYPE FRMLTY_RCP_STRUCT ,
ld_e_root_text  TYPE FRMLE_POBTX ,
ld_e_root_subcat  TYPE RCPE_SUBCAT ,
ld_e_root_subnam  TYPE FRMLE_DESC ,
ld_e_rcp_formula  TYPE FRMLE_PNGUID ,
ld_e_mst_recn  TYPE FRMLE_PNGUID ,
ld_e_valdat  TYPE FRMLE_VALDAT ,
ld_e_rcp_obj_kind  TYPE RMSAE_WBO_OBJ_KIND ,
ld_e_assync_flg  TYPE FRMLE_FLG ,
ld_e_aennr  TYPE AENNR ,
ld_et_streams  TYPE FRMLTY_STREAM ,
ld_e_rcp_refquant  TYPE RCPE_REFQUANT ,
ld_e_rcp_refunit  TYPE RCPE_QUNIT ,
ld_e_rcp_reflangu  TYPE RCPE_OLANG ,
ld_e_flg_valid  TYPE C ,
ld_e_rcp_status  TYPE FRMLE_STATUS ,
ld_e_root_id  TYPE FRMLE_DESCR ,
ld_e_rcp_valfrom  TYPE FRMLE_VALFR ,
ld_e_rcp_valto  TYPE FRMLE_VALTO ,
ld_e_rcp_cons_flg  TYPE RCPE_CONS_FLG .

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