SAP Function Modules

FTR_FX_FVA_SET_UNDERLYING SAP Function module - Transfer of Underlying Data from Framework Program to Underlying Subscre







FTR_FX_FVA_SET_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_SET_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_SET_UNDERLYING - FTR FX FVA SET UNDERLYING





CALL FUNCTION 'FTR_FX_FVA_SET_UNDERLYING' "Transfer of Underlying Data from Framework Program to Underlying Subscreen
  EXPORTING
    i_flag_display =            "
    i_vti_memoul =              " vti_memoul
*   i_flag_future =             "
*   i_oref_appl_ctrl =          " cl_ftr_appl_ctrl  TR Transaction Management: Application Control
*   i_iref_gui_foreign =        " if_ftr_gui_foreign_appl  TR Transaction Management: Appl <--> Foreign GUI
*   i_vtiof =                   " vtiof         Additional Option Data
*   i_oref_avg_tables =         " cl_ftr_avg_tables  Class for Managing Several Schedules
  TABLES
    u_vtifha =                  " vtifha
    u_vtifhazu =                " vtifhazu
    u_vtifhapo =                " vtifhapo
*   u_vtifinko =                " vtifinko
*   u_u_vtifha =                " vtifha
*   u_u_vtifhazu =              " vtifhazu
*   u_u_vtifhapo =              " vtifhapo
*   u_u_vtifinko =              " vtifinko
    u_vtiofzu =                 " vtiofzu       Allocation of Option/Future to Underlying
*   u_vtiof =                   " vtiof         Additional Option Data
    .  "  FTR_FX_FVA_SET_UNDERLYING

ABAP code example for Function Module FTR_FX_FVA_SET_UNDERLYING





The ABAP code below is a full code listing to execute function module FTR_FX_FVA_SET_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:
it_u_vtifha  TYPE STANDARD TABLE OF VTIFHA,"TABLES PARAM
wa_u_vtifha  LIKE LINE OF it_u_vtifha ,
it_u_vtifhazu  TYPE STANDARD TABLE OF VTIFHAZU,"TABLES PARAM
wa_u_vtifhazu  LIKE LINE OF it_u_vtifhazu ,
it_u_vtifhapo  TYPE STANDARD TABLE OF VTIFHAPO,"TABLES PARAM
wa_u_vtifhapo  LIKE LINE OF it_u_vtifhapo ,
it_u_vtifinko  TYPE STANDARD TABLE OF VTIFINKO,"TABLES PARAM
wa_u_vtifinko  LIKE LINE OF it_u_vtifinko ,
it_u_u_vtifha  TYPE STANDARD TABLE OF VTIFHA,"TABLES PARAM
wa_u_u_vtifha  LIKE LINE OF it_u_u_vtifha ,
it_u_u_vtifhazu  TYPE STANDARD TABLE OF VTIFHAZU,"TABLES PARAM
wa_u_u_vtifhazu  LIKE LINE OF it_u_u_vtifhazu ,
it_u_u_vtifhapo  TYPE STANDARD TABLE OF VTIFHAPO,"TABLES PARAM
wa_u_u_vtifhapo  LIKE LINE OF it_u_u_vtifhapo ,
it_u_u_vtifinko  TYPE STANDARD TABLE OF VTIFINKO,"TABLES PARAM
wa_u_u_vtifinko  LIKE LINE OF it_u_u_vtifinko ,
it_u_vtiofzu  TYPE STANDARD TABLE OF VTIOFZU,"TABLES PARAM
wa_u_vtiofzu  LIKE LINE OF it_u_vtiofzu ,
it_u_vtiof  TYPE STANDARD TABLE OF VTIOF,"TABLES PARAM
wa_u_vtiof  LIKE LINE OF it_u_vtiof .

DATA(ld_i_flag_display) = 'some text here'.
DATA(ld_i_vti_memoul) = 'Check type of data required'.
DATA(ld_i_flag_future) = 'some text here'.
DATA(ld_i_oref_appl_ctrl) = 'Check type of data required'.
DATA(ld_i_iref_gui_foreign) = 'Check type of data required'.
DATA(ld_i_vtiof) = 'Check type of data required'.
DATA(ld_i_oref_avg_tables) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_u_vtifha to it_u_vtifha.

"populate fields of struture and append to itab
append wa_u_vtifhazu to it_u_vtifhazu.

"populate fields of struture and append to itab
append wa_u_vtifhapo to it_u_vtifhapo.

"populate fields of struture and append to itab
append wa_u_vtifinko to it_u_vtifinko.

"populate fields of struture and append to itab
append wa_u_u_vtifha to it_u_u_vtifha.

"populate fields of struture and append to itab
append wa_u_u_vtifhazu to it_u_u_vtifhazu.

"populate fields of struture and append to itab
append wa_u_u_vtifhapo to it_u_u_vtifhapo.

"populate fields of struture and append to itab
append wa_u_u_vtifinko to it_u_u_vtifinko.

"populate fields of struture and append to itab
append wa_u_vtiofzu to it_u_vtiofzu.

"populate fields of struture and append to itab
append wa_u_vtiof to it_u_vtiof. . CALL FUNCTION 'FTR_FX_FVA_SET_UNDERLYING' EXPORTING i_flag_display = ld_i_flag_display i_vti_memoul = ld_i_vti_memoul * i_flag_future = ld_i_flag_future * i_oref_appl_ctrl = ld_i_oref_appl_ctrl * i_iref_gui_foreign = ld_i_iref_gui_foreign * i_vtiof = ld_i_vtiof * i_oref_avg_tables = ld_i_oref_avg_tables TABLES u_vtifha = it_u_vtifha u_vtifhazu = it_u_vtifhazu u_vtifhapo = it_u_vtifhapo * u_vtifinko = it_u_vtifinko * u_u_vtifha = it_u_u_vtifha * u_u_vtifhazu = it_u_u_vtifhazu * u_u_vtifhapo = it_u_u_vtifhapo * u_u_vtifinko = it_u_u_vtifinko u_vtiofzu = it_u_vtiofzu * u_vtiof = it_u_vtiof . " FTR_FX_FVA_SET_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_i_flag_display  TYPE STRING ,
it_u_vtifha  TYPE STANDARD TABLE OF VTIFHA ,
wa_u_vtifha  LIKE LINE OF it_u_vtifha,
ld_i_vti_memoul  TYPE VTI_MEMOUL ,
it_u_vtifhazu  TYPE STANDARD TABLE OF VTIFHAZU ,
wa_u_vtifhazu  LIKE LINE OF it_u_vtifhazu,
ld_i_flag_future  TYPE STRING ,
it_u_vtifhapo  TYPE STANDARD TABLE OF VTIFHAPO ,
wa_u_vtifhapo  LIKE LINE OF it_u_vtifhapo,
ld_i_oref_appl_ctrl  TYPE CL_FTR_APPL_CTRL ,
it_u_vtifinko  TYPE STANDARD TABLE OF VTIFINKO ,
wa_u_vtifinko  LIKE LINE OF it_u_vtifinko,
ld_i_iref_gui_foreign  TYPE IF_FTR_GUI_FOREIGN_APPL ,
it_u_u_vtifha  TYPE STANDARD TABLE OF VTIFHA ,
wa_u_u_vtifha  LIKE LINE OF it_u_u_vtifha,
ld_i_vtiof  TYPE VTIOF ,
it_u_u_vtifhazu  TYPE STANDARD TABLE OF VTIFHAZU ,
wa_u_u_vtifhazu  LIKE LINE OF it_u_u_vtifhazu,
ld_i_oref_avg_tables  TYPE CL_FTR_AVG_TABLES ,
it_u_u_vtifhapo  TYPE STANDARD TABLE OF VTIFHAPO ,
wa_u_u_vtifhapo  LIKE LINE OF it_u_u_vtifhapo,
it_u_u_vtifinko  TYPE STANDARD TABLE OF VTIFINKO ,
wa_u_u_vtifinko  LIKE LINE OF it_u_u_vtifinko,
it_u_vtiofzu  TYPE STANDARD TABLE OF VTIOFZU ,
wa_u_vtiofzu  LIKE LINE OF it_u_vtiofzu,
it_u_vtiof  TYPE STANDARD TABLE OF VTIOF ,
wa_u_vtiof  LIKE LINE OF it_u_vtiof.

ld_i_flag_display = 'some text here'.

"populate fields of struture and append to itab
append wa_u_vtifha to it_u_vtifha.
ld_i_vti_memoul = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_u_vtifhazu to it_u_vtifhazu.
ld_i_flag_future = 'some text here'.

"populate fields of struture and append to itab
append wa_u_vtifhapo to it_u_vtifhapo.
ld_i_oref_appl_ctrl = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_u_vtifinko to it_u_vtifinko.
ld_i_iref_gui_foreign = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_u_u_vtifha to it_u_u_vtifha.
ld_i_vtiof = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_u_u_vtifhazu to it_u_u_vtifhazu.
ld_i_oref_avg_tables = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_u_u_vtifhapo to it_u_u_vtifhapo.

"populate fields of struture and append to itab
append wa_u_u_vtifinko to it_u_u_vtifinko.

"populate fields of struture and append to itab
append wa_u_vtiofzu to it_u_vtiofzu.

"populate fields of struture and append to itab
append wa_u_vtiof to it_u_vtiof.

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