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
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
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).
| 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 . |
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. |
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.
FTR_FX_FVA_GET_UNDERLYING - Transfer of Underlying Data from Underlying Subscreen to Framework Pro FTR_FX_DEAL_MAINTAIN_FROM_DATA - FTR: Create/Change a Foreign Exchange Transaction via Interface FTR_FX_DEAL_FILL_INTERFACE - FTR: Fill Interface VTBFXIFDC FTR_FX_DATEVALUES_GET - FTR_FX_CREATE_FX_DIALOG - Create Foreign Exchange from Underlying at Exercise FTR_FX_COMPBID_MAINTAIN - Financial Transaction: Create/Change/Display Foreign Exchange Quote