SAP Function Modules

FTR_FX_FVA_GET_UNDERLYING SAP Function module - Transfer of Underlying Data from Underlying Subscreen to Framework Progr







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

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


Pattern for FM FTR_FX_FVA_GET_UNDERLYING - FTR FX FVA GET UNDERLYING





CALL FUNCTION 'FTR_FX_FVA_GET_UNDERLYING' "Transfer of Underlying Data from Underlying Subscreen to Framework Program
  IMPORTING
    e_subrc =                   " sy-subrc
    e_vtiof =                   " vtiof         Additional Option Data
    e_oref_avg_tables =         " cl_ftr_avg_tables  Class for Managing Several Schedules
  TABLES
    e_vtifha =                  " vtifha        Underlying Transaction
    e_vtifhazu =                " vtifhazu      Underlying Transaction Status Table
*   e_u_vtifha =                " vtifha        Underlying Transaction
*   e_u_vtifhazu =              " vtifhazu      Underlying Transaction Status Table
*   e_u_n_vtiof =               " vtiof         Additional Option Data
*   e_u_a_vtiof =               " vtiof         Additional Option Data
*   e_u_n_vtiofzu =             " vtiofzu       Allocation of Option/Future to Underlying
*   e_u_a_vtiofzu =             " vtiofzu       Allocation of Option/Future to Underlying
    e_vtifhapo =                " vtifhapo
*   e_vtifinko =                " vtifinko
*   e_u_vtifhapo =              " vtifhapo
*   e_u_vtifinko =              " vtifinko
    .  "  FTR_FX_FVA_GET_UNDERLYING

ABAP code example for Function Module FTR_FX_FVA_GET_UNDERLYING





The ABAP code below is a full code listing to execute function module FTR_FX_FVA_GET_UNDERLYING 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_e_subrc  TYPE SY-SUBRC ,
ld_e_vtiof  TYPE VTIOF ,
ld_e_oref_avg_tables  TYPE CL_FTR_AVG_TABLES ,
it_e_vtifha  TYPE STANDARD TABLE OF VTIFHA,"TABLES PARAM
wa_e_vtifha  LIKE LINE OF it_e_vtifha ,
it_e_vtifhazu  TYPE STANDARD TABLE OF VTIFHAZU,"TABLES PARAM
wa_e_vtifhazu  LIKE LINE OF it_e_vtifhazu ,
it_e_u_vtifha  TYPE STANDARD TABLE OF VTIFHA,"TABLES PARAM
wa_e_u_vtifha  LIKE LINE OF it_e_u_vtifha ,
it_e_u_vtifhazu  TYPE STANDARD TABLE OF VTIFHAZU,"TABLES PARAM
wa_e_u_vtifhazu  LIKE LINE OF it_e_u_vtifhazu ,
it_e_u_n_vtiof  TYPE STANDARD TABLE OF VTIOF,"TABLES PARAM
wa_e_u_n_vtiof  LIKE LINE OF it_e_u_n_vtiof ,
it_e_u_a_vtiof  TYPE STANDARD TABLE OF VTIOF,"TABLES PARAM
wa_e_u_a_vtiof  LIKE LINE OF it_e_u_a_vtiof ,
it_e_u_n_vtiofzu  TYPE STANDARD TABLE OF VTIOFZU,"TABLES PARAM
wa_e_u_n_vtiofzu  LIKE LINE OF it_e_u_n_vtiofzu ,
it_e_u_a_vtiofzu  TYPE STANDARD TABLE OF VTIOFZU,"TABLES PARAM
wa_e_u_a_vtiofzu  LIKE LINE OF it_e_u_a_vtiofzu ,
it_e_vtifhapo  TYPE STANDARD TABLE OF VTIFHAPO,"TABLES PARAM
wa_e_vtifhapo  LIKE LINE OF it_e_vtifhapo ,
it_e_vtifinko  TYPE STANDARD TABLE OF VTIFINKO,"TABLES PARAM
wa_e_vtifinko  LIKE LINE OF it_e_vtifinko ,
it_e_u_vtifhapo  TYPE STANDARD TABLE OF VTIFHAPO,"TABLES PARAM
wa_e_u_vtifhapo  LIKE LINE OF it_e_u_vtifhapo ,
it_e_u_vtifinko  TYPE STANDARD TABLE OF VTIFINKO,"TABLES PARAM
wa_e_u_vtifinko  LIKE LINE OF it_e_u_vtifinko .


"populate fields of struture and append to itab
append wa_e_vtifha to it_e_vtifha.

"populate fields of struture and append to itab
append wa_e_vtifhazu to it_e_vtifhazu.

"populate fields of struture and append to itab
append wa_e_u_vtifha to it_e_u_vtifha.

"populate fields of struture and append to itab
append wa_e_u_vtifhazu to it_e_u_vtifhazu.

"populate fields of struture and append to itab
append wa_e_u_n_vtiof to it_e_u_n_vtiof.

"populate fields of struture and append to itab
append wa_e_u_a_vtiof to it_e_u_a_vtiof.

"populate fields of struture and append to itab
append wa_e_u_n_vtiofzu to it_e_u_n_vtiofzu.

"populate fields of struture and append to itab
append wa_e_u_a_vtiofzu to it_e_u_a_vtiofzu.

"populate fields of struture and append to itab
append wa_e_vtifhapo to it_e_vtifhapo.

"populate fields of struture and append to itab
append wa_e_vtifinko to it_e_vtifinko.

"populate fields of struture and append to itab
append wa_e_u_vtifhapo to it_e_u_vtifhapo.

"populate fields of struture and append to itab
append wa_e_u_vtifinko to it_e_u_vtifinko. . CALL FUNCTION 'FTR_FX_FVA_GET_UNDERLYING' IMPORTING e_subrc = ld_e_subrc e_vtiof = ld_e_vtiof e_oref_avg_tables = ld_e_oref_avg_tables TABLES e_vtifha = it_e_vtifha e_vtifhazu = it_e_vtifhazu * e_u_vtifha = it_e_u_vtifha * e_u_vtifhazu = it_e_u_vtifhazu * e_u_n_vtiof = it_e_u_n_vtiof * e_u_a_vtiof = it_e_u_a_vtiof * e_u_n_vtiofzu = it_e_u_n_vtiofzu * e_u_a_vtiofzu = it_e_u_a_vtiofzu e_vtifhapo = it_e_vtifhapo * e_vtifinko = it_e_vtifinko * e_u_vtifhapo = it_e_u_vtifhapo * e_u_vtifinko = it_e_u_vtifinko . " FTR_FX_FVA_GET_UNDERLYING
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_e_subrc  TYPE SY-SUBRC ,
it_e_vtifha  TYPE STANDARD TABLE OF VTIFHA ,
wa_e_vtifha  LIKE LINE OF it_e_vtifha,
ld_e_vtiof  TYPE VTIOF ,
it_e_vtifhazu  TYPE STANDARD TABLE OF VTIFHAZU ,
wa_e_vtifhazu  LIKE LINE OF it_e_vtifhazu,
ld_e_oref_avg_tables  TYPE CL_FTR_AVG_TABLES ,
it_e_u_vtifha  TYPE STANDARD TABLE OF VTIFHA ,
wa_e_u_vtifha  LIKE LINE OF it_e_u_vtifha,
it_e_u_vtifhazu  TYPE STANDARD TABLE OF VTIFHAZU ,
wa_e_u_vtifhazu  LIKE LINE OF it_e_u_vtifhazu,
it_e_u_n_vtiof  TYPE STANDARD TABLE OF VTIOF ,
wa_e_u_n_vtiof  LIKE LINE OF it_e_u_n_vtiof,
it_e_u_a_vtiof  TYPE STANDARD TABLE OF VTIOF ,
wa_e_u_a_vtiof  LIKE LINE OF it_e_u_a_vtiof,
it_e_u_n_vtiofzu  TYPE STANDARD TABLE OF VTIOFZU ,
wa_e_u_n_vtiofzu  LIKE LINE OF it_e_u_n_vtiofzu,
it_e_u_a_vtiofzu  TYPE STANDARD TABLE OF VTIOFZU ,
wa_e_u_a_vtiofzu  LIKE LINE OF it_e_u_a_vtiofzu,
it_e_vtifhapo  TYPE STANDARD TABLE OF VTIFHAPO ,
wa_e_vtifhapo  LIKE LINE OF it_e_vtifhapo,
it_e_vtifinko  TYPE STANDARD TABLE OF VTIFINKO ,
wa_e_vtifinko  LIKE LINE OF it_e_vtifinko,
it_e_u_vtifhapo  TYPE STANDARD TABLE OF VTIFHAPO ,
wa_e_u_vtifhapo  LIKE LINE OF it_e_u_vtifhapo,
it_e_u_vtifinko  TYPE STANDARD TABLE OF VTIFINKO ,
wa_e_u_vtifinko  LIKE LINE OF it_e_u_vtifinko.


"populate fields of struture and append to itab
append wa_e_vtifha to it_e_vtifha.

"populate fields of struture and append to itab
append wa_e_vtifhazu to it_e_vtifhazu.

"populate fields of struture and append to itab
append wa_e_u_vtifha to it_e_u_vtifha.

"populate fields of struture and append to itab
append wa_e_u_vtifhazu to it_e_u_vtifhazu.

"populate fields of struture and append to itab
append wa_e_u_n_vtiof to it_e_u_n_vtiof.

"populate fields of struture and append to itab
append wa_e_u_a_vtiof to it_e_u_a_vtiof.

"populate fields of struture and append to itab
append wa_e_u_n_vtiofzu to it_e_u_n_vtiofzu.

"populate fields of struture and append to itab
append wa_e_u_a_vtiofzu to it_e_u_a_vtiofzu.

"populate fields of struture and append to itab
append wa_e_vtifhapo to it_e_vtifhapo.

"populate fields of struture and append to itab
append wa_e_vtifinko to it_e_vtifinko.

"populate fields of struture and append to itab
append wa_e_u_vtifhapo to it_e_u_vtifhapo.

"populate fields of struture and append to itab
append wa_e_u_vtifinko to it_e_u_vtifinko.

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