SAP FTR_CORR_DATA_CREATE Function Module for Provide Correspondence Data from Transferred Transaction
FTR_CORR_DATA_CREATE is a standard ftr corr data create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Provide Correspondence Data from Transferred Transaction processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ftr corr data create FM, simply by entering the name FTR_CORR_DATA_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: TB85
Program Name: SAPLTB85
Main Program: SAPLTB85
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FTR_CORR_DATA_CREATE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FTR_CORR_DATA_CREATE'"Provide Correspondence Data from Transferred Transaction.
EXPORTING
* I_VTBKORES = "
I_VTBFHA = "
I_VTBFHAZU = "
T_VTBFHAPO = "
* I_XPROG_INDICATOR = 'X' "Data Element for BOOLE Domain: TRUE (='X') und FALSE (=' ')
* IV_NEW = "
* IV_PRINT_NEW = "Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ')
* IS_SA_MAIN = "Securities account main data
* IT_SA_FLOWS = "TCO Data: Table type of Securities account flows information
IMPORTING
E_TBCO_TD = "Output Structure Confirmations Fixed-Term Deposit/Deposit at Notice
E_TBCO_FU = "Output Structure for Confirmation of Futures
E_TBCO_RP = "Output Structure for Repo Confirmations
E_TBCO_FW = "Output Structure for Forward Transaction Confirmations
E_TBCO_OP = "Output Structure of Confirmations for Options
E_TBCO_SL = "Ausgabestruktur Bestätigungen Wertpapierleihe
E_TBCO_SE = "Output Structure: Securities Order Confirmations
E_TBCO_FIX = "Output Structure for Interest Rate Adjustment
E_TBCO_CTY = "###Commodity forwards Output structure
E_UNDERLYING_FX = "Output Structure of Confirmations for Forex Transactions
E_UNDERLYING_SW = "Output structure for SWAPs
E_TBCO_CP = "Output Structure Commercial Paper Confirmations
E_UNDERLYING_FR = "Output structure of FRA confirmations
E_UNDERLYING_SE = "Output Structure: Securities Order Confirmations
E_UNDERLYING_OP = "Output Structure of Confirmations for Options
E_UNDERLYING_OP2 = "Output Structure for Options: Underlying of the Underlying
E_UNDERLYING_BO_FX = "Table Type for TBCO_FX
E_IDOC_HEADER = "Control Record (IDoc)
T_IDOC_DATA = "Table Type for EDIDD (IDoc Data Records)
E_TBCO_TAB_DIVID = "Table Type for Structure TBCO_INTST
E_TBCO_CS = "Output structure for Commodity SWAPs
E_TBCO_TRS = "Output structure for Total Return Equity Swap
E_TBCO_ZZ = "Output Structure: Cash Flow-Based Transaction Confirmations
E_TBCO_SA_MAIN = "Output structure of Securities Account (main data)
E_UNDERLYING_CTY = "Output Structure of Confirmations for Commodity Forwards
E_TBCO_IR = "Output Structure for Confirmation: Int. Rate Instrument
E_TBCO_FC = "Output Structure Confirmations Facility
E_TBCO_FX = "Output Structure of Confirmations for Forex Transactions
E_TBCO_CF = "Output structure of CAP and FLOOR
E_TBCO_SW = "Output structure for SWAPs
E_TBCO_FR = "Output structure of FRA confirmations
TABLES
* T_TBCO_ZS = "Output Structure Confirmations Additional Flows
* T_TBCO_CS_FIX = "Output Structure for Commodity Price Adjustment
* T_TBCO_DIVID_TRS = "Structure for Dividend Corr. in Total Return Value Swap
* T_TBCO_TRS_FIX = "Output Structure for Securities Price Adjustment
* T_TBCO_PURCHASE = "Transaction Flow
* T_TBCO_SALE = "Transaction Flow
* T_TBCO_SA_FLOWS = "Output structure of Securities Account Flows
* T_TBCO_AVG = "Output Structure (Correspondence): Averages
* T_TBCO_INTST = "Confirmations: Interest Rate Flows
* T_TBCO_COND = "Output structure for conditions
* T_TBCO_COND_REP = "Redemption Conditions
* T_TBCO_COND_SE = "Output Structure (Correspondence): Securities Conditions
* T_TBCO_RATE = "Output structure interest fixing (interest rates)
* T_TBCO_BNOM = "Output Structure of Further Main/Nominal Amount Flows
* T_TBCO_RPAY = "Output Structure: Repayment Flows
* T_TBCO_REF = "Output Structure Netting Transactions
IMPORTING Parameters details for FTR_CORR_DATA_CREATE
I_VTBKORES -
Data type: VTBKORESOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VTBFHA -
Data type: VTBFHAOptional: No
Call by Reference: No ( called with pass by value option)
I_VTBFHAZU -
Data type: VTBFHAZUOptional: No
Call by Reference: No ( called with pass by value option)
T_VTBFHAPO -
Data type: TRTB_TFHAPOOptional: No
Call by Reference: No ( called with pass by value option)
I_XPROG_INDICATOR - Data Element for BOOLE Domain: TRUE (='X') und FALSE (=' ')
Data type: BOOLE_DDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_NEW -
Data type: COptional: Yes
Call by Reference: Yes
IV_PRINT_NEW - Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ')
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
IS_SA_MAIN - Securities account main data
Data type: TCORS_COSA_INCLOptional: Yes
Call by Reference: Yes
IT_SA_FLOWS - TCO Data: Table type of Securities account flows information
Data type: TCORY_COSAFL_INCLOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FTR_CORR_DATA_CREATE
E_TBCO_TD - Output Structure Confirmations Fixed-Term Deposit/Deposit at Notice
Data type: TBCO_TDOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_FU - Output Structure for Confirmation of Futures
Data type: TBCO_FUOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_RP - Output Structure for Repo Confirmations
Data type: TBCO_RPOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_FW - Output Structure for Forward Transaction Confirmations
Data type: TBCO_FWOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_OP - Output Structure of Confirmations for Options
Data type: TBCO_OPOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_SL - Ausgabestruktur Bestätigungen Wertpapierleihe
Data type: TBCO_SLOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_SE - Output Structure: Securities Order Confirmations
Data type: TBCO_SEOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_FIX - Output Structure for Interest Rate Adjustment
Data type: TBCO_FIXOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_CTY - ###Commodity forwards Output structure
Data type: TBCO_CTYOptional: No
Call by Reference: No ( called with pass by value option)
E_UNDERLYING_FX - Output Structure of Confirmations for Forex Transactions
Data type: TBCO_FXOptional: No
Call by Reference: No ( called with pass by value option)
E_UNDERLYING_SW - Output structure for SWAPs
Data type: TBCO_SWOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_CP - Output Structure Commercial Paper Confirmations
Data type: TBCO_CPOptional: No
Call by Reference: No ( called with pass by value option)
E_UNDERLYING_FR - Output structure of FRA confirmations
Data type: TBCO_FROptional: No
Call by Reference: No ( called with pass by value option)
E_UNDERLYING_SE - Output Structure: Securities Order Confirmations
Data type: TBCO_SEOptional: No
Call by Reference: No ( called with pass by value option)
E_UNDERLYING_OP - Output Structure of Confirmations for Options
Data type: TBCO_OPULOptional: No
Call by Reference: No ( called with pass by value option)
E_UNDERLYING_OP2 - Output Structure for Options: Underlying of the Underlying
Data type: TBCO_OPULOptional: No
Call by Reference: No ( called with pass by value option)
E_UNDERLYING_BO_FX - Table Type for TBCO_FX
Data type: TBCO_BO_FXOptional: No
Call by Reference: No ( called with pass by value option)
E_IDOC_HEADER - Control Record (IDoc)
Data type: EDIDCOptional: No
Call by Reference: No ( called with pass by value option)
T_IDOC_DATA - Table Type for EDIDD (IDoc Data Records)
Data type: EDIDD_TTOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_TAB_DIVID - Table Type for Structure TBCO_INTST
Data type: TBCO_TAB_DIVIDOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_CS - Output structure for Commodity SWAPs
Data type: TBCO_CSOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_TRS - Output structure for Total Return Equity Swap
Data type: TBCO_TRSOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_ZZ - Output Structure: Cash Flow-Based Transaction Confirmations
Data type: TBCO_ZZOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_SA_MAIN - Output structure of Securities Account (main data)
Data type: TBCO_SA_MAINOptional: No
Call by Reference: No ( called with pass by value option)
E_UNDERLYING_CTY - Output Structure of Confirmations for Commodity Forwards
Data type: TBCO_CTYOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_IR - Output Structure for Confirmation: Int. Rate Instrument
Data type: TBCO_IROptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_FC - Output Structure Confirmations Facility
Data type: TBCO_FCOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_FX - Output Structure of Confirmations for Forex Transactions
Data type: TBCO_FXOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_CF - Output structure of CAP and FLOOR
Data type: TBCO_CFOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_SW - Output structure for SWAPs
Data type: TBCO_SWOptional: No
Call by Reference: No ( called with pass by value option)
E_TBCO_FR - Output structure of FRA confirmations
Data type: TBCO_FROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FTR_CORR_DATA_CREATE
T_TBCO_ZS - Output Structure Confirmations Additional Flows
Data type: TBCO_ZSOptional: Yes
Call by Reference: Yes
T_TBCO_CS_FIX - Output Structure for Commodity Price Adjustment
Data type: TBCO_CS_FIXOptional: Yes
Call by Reference: Yes
T_TBCO_DIVID_TRS - Structure for Dividend Corr. in Total Return Value Swap
Data type: TBCO_TSD_DIVIDOptional: Yes
Call by Reference: Yes
T_TBCO_TRS_FIX - Output Structure for Securities Price Adjustment
Data type: TBCO_TRS_FIXOptional: Yes
Call by Reference: Yes
T_TBCO_PURCHASE - Transaction Flow
Data type: VTBFHAPOOptional: Yes
Call by Reference: Yes
T_TBCO_SALE - Transaction Flow
Data type: VTBFHAPOOptional: Yes
Call by Reference: Yes
T_TBCO_SA_FLOWS - Output structure of Securities Account Flows
Data type: TBCO_SA_FLOWSOptional: Yes
Call by Reference: Yes
T_TBCO_AVG - Output Structure (Correspondence): Averages
Data type: TBCO_AVGOptional: Yes
Call by Reference: Yes
T_TBCO_INTST - Confirmations: Interest Rate Flows
Data type: TBCO_INTSTOptional: Yes
Call by Reference: Yes
T_TBCO_COND - Output structure for conditions
Data type: TBCO_CONDOptional: Yes
Call by Reference: Yes
T_TBCO_COND_REP - Redemption Conditions
Data type: TBCO_CONDOptional: Yes
Call by Reference: Yes
T_TBCO_COND_SE - Output Structure (Correspondence): Securities Conditions
Data type: TBCO_COND_SEOptional: Yes
Call by Reference: Yes
T_TBCO_RATE - Output structure interest fixing (interest rates)
Data type: TBCO_RATEOptional: Yes
Call by Reference: Yes
T_TBCO_BNOM - Output Structure of Further Main/Nominal Amount Flows
Data type: TBCO_BNOMOptional: Yes
Call by Reference: Yes
T_TBCO_RPAY - Output Structure: Repayment Flows
Data type: TBCO_RPAYOptional: Yes
Call by Reference: Yes
T_TBCO_REF - Output Structure Netting Transactions
Data type: TBCO_REFOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FTR_CORR_DATA_CREATE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_e_tbco_td | TYPE TBCO_TD, " | |||
| lt_t_tbco_zs | TYPE STANDARD TABLE OF TBCO_ZS, " | |||
| lv_i_vtbkores | TYPE VTBKORES, " | |||
| lv_e_tbco_fu | TYPE TBCO_FU, " | |||
| lt_t_tbco_cs_fix | TYPE STANDARD TABLE OF TBCO_CS_FIX, " | |||
| lv_e_tbco_rp | TYPE TBCO_RP, " | |||
| lt_t_tbco_divid_trs | TYPE STANDARD TABLE OF TBCO_TSD_DIVID, " | |||
| lv_e_tbco_fw | TYPE TBCO_FW, " | |||
| lt_t_tbco_trs_fix | TYPE STANDARD TABLE OF TBCO_TRS_FIX, " | |||
| lv_e_tbco_op | TYPE TBCO_OP, " | |||
| lt_t_tbco_purchase | TYPE STANDARD TABLE OF VTBFHAPO, " | |||
| lv_e_tbco_sl | TYPE TBCO_SL, " | |||
| lt_t_tbco_sale | TYPE STANDARD TABLE OF VTBFHAPO, " | |||
| lv_e_tbco_se | TYPE TBCO_SE, " | |||
| lt_t_tbco_sa_flows | TYPE STANDARD TABLE OF TBCO_SA_FLOWS, " | |||
| lv_e_tbco_fix | TYPE TBCO_FIX, " | |||
| lt_t_tbco_avg | TYPE STANDARD TABLE OF TBCO_AVG, " | |||
| lv_e_tbco_cty | TYPE TBCO_CTY, " | |||
| lv_e_underlying_fx | TYPE TBCO_FX, " | |||
| lv_e_underlying_sw | TYPE TBCO_SW, " | |||
| lv_i_vtbfha | TYPE VTBFHA, " | |||
| lv_e_tbco_cp | TYPE TBCO_CP, " | |||
| lt_t_tbco_intst | TYPE STANDARD TABLE OF TBCO_INTST, " | |||
| lv_e_underlying_fr | TYPE TBCO_FR, " | |||
| lv_e_underlying_se | TYPE TBCO_SE, " | |||
| lv_e_underlying_op | TYPE TBCO_OPUL, " | |||
| lv_e_underlying_op2 | TYPE TBCO_OPUL, " | |||
| lv_e_underlying_bo_fx | TYPE TBCO_BO_FX, " | |||
| lv_e_idoc_header | TYPE EDIDC, " | |||
| lv_t_idoc_data | TYPE EDIDD_TT, " | |||
| lv_e_tbco_tab_divid | TYPE TBCO_TAB_DIVID, " | |||
| lv_e_tbco_cs | TYPE TBCO_CS, " | |||
| lv_e_tbco_trs | TYPE TBCO_TRS, " | |||
| lv_e_tbco_zz | TYPE TBCO_ZZ, " | |||
| lv_i_vtbfhazu | TYPE VTBFHAZU, " | |||
| lt_t_tbco_cond | TYPE STANDARD TABLE OF TBCO_COND, " | |||
| lv_e_tbco_sa_main | TYPE TBCO_SA_MAIN, " | |||
| lv_e_underlying_cty | TYPE TBCO_CTY, " | |||
| lv_e_tbco_ir | TYPE TBCO_IR, " | |||
| lv_t_vtbfhapo | TYPE TRTB_TFHAPO, " | |||
| lt_t_tbco_cond_rep | TYPE STANDARD TABLE OF TBCO_COND, " | |||
| lv_e_tbco_fc | TYPE TBCO_FC, " | |||
| lt_t_tbco_cond_se | TYPE STANDARD TABLE OF TBCO_COND_SE, " | |||
| lv_i_xprog_indicator | TYPE BOOLE_D, " 'X' | |||
| lv_iv_new | TYPE C, " | |||
| lv_e_tbco_fx | TYPE TBCO_FX, " | |||
| lt_t_tbco_rate | TYPE STANDARD TABLE OF TBCO_RATE, " | |||
| lv_e_tbco_cf | TYPE TBCO_CF, " | |||
| lt_t_tbco_bnom | TYPE STANDARD TABLE OF TBCO_BNOM, " | |||
| lv_iv_print_new | TYPE BOOLE_D, " | |||
| lv_e_tbco_sw | TYPE TBCO_SW, " | |||
| lv_is_sa_main | TYPE TCORS_COSA_INCL, " | |||
| lt_t_tbco_rpay | TYPE STANDARD TABLE OF TBCO_RPAY, " | |||
| lv_e_tbco_fr | TYPE TBCO_FR, " | |||
| lt_t_tbco_ref | TYPE STANDARD TABLE OF TBCO_REF, " | |||
| lv_it_sa_flows | TYPE TCORY_COSAFL_INCL. " |
|   CALL FUNCTION 'FTR_CORR_DATA_CREATE' "Provide Correspondence Data from Transferred Transaction |
| EXPORTING | ||
| I_VTBKORES | = lv_i_vtbkores | |
| I_VTBFHA | = lv_i_vtbfha | |
| I_VTBFHAZU | = lv_i_vtbfhazu | |
| T_VTBFHAPO | = lv_t_vtbfhapo | |
| I_XPROG_INDICATOR | = lv_i_xprog_indicator | |
| IV_NEW | = lv_iv_new | |
| IV_PRINT_NEW | = lv_iv_print_new | |
| IS_SA_MAIN | = lv_is_sa_main | |
| IT_SA_FLOWS | = lv_it_sa_flows | |
| IMPORTING | ||
| E_TBCO_TD | = lv_e_tbco_td | |
| E_TBCO_FU | = lv_e_tbco_fu | |
| E_TBCO_RP | = lv_e_tbco_rp | |
| E_TBCO_FW | = lv_e_tbco_fw | |
| E_TBCO_OP | = lv_e_tbco_op | |
| E_TBCO_SL | = lv_e_tbco_sl | |
| E_TBCO_SE | = lv_e_tbco_se | |
| E_TBCO_FIX | = lv_e_tbco_fix | |
| E_TBCO_CTY | = lv_e_tbco_cty | |
| E_UNDERLYING_FX | = lv_e_underlying_fx | |
| E_UNDERLYING_SW | = lv_e_underlying_sw | |
| E_TBCO_CP | = lv_e_tbco_cp | |
| E_UNDERLYING_FR | = lv_e_underlying_fr | |
| E_UNDERLYING_SE | = lv_e_underlying_se | |
| E_UNDERLYING_OP | = lv_e_underlying_op | |
| E_UNDERLYING_OP2 | = lv_e_underlying_op2 | |
| E_UNDERLYING_BO_FX | = lv_e_underlying_bo_fx | |
| E_IDOC_HEADER | = lv_e_idoc_header | |
| T_IDOC_DATA | = lv_t_idoc_data | |
| E_TBCO_TAB_DIVID | = lv_e_tbco_tab_divid | |
| E_TBCO_CS | = lv_e_tbco_cs | |
| E_TBCO_TRS | = lv_e_tbco_trs | |
| E_TBCO_ZZ | = lv_e_tbco_zz | |
| E_TBCO_SA_MAIN | = lv_e_tbco_sa_main | |
| E_UNDERLYING_CTY | = lv_e_underlying_cty | |
| E_TBCO_IR | = lv_e_tbco_ir | |
| E_TBCO_FC | = lv_e_tbco_fc | |
| E_TBCO_FX | = lv_e_tbco_fx | |
| E_TBCO_CF | = lv_e_tbco_cf | |
| E_TBCO_SW | = lv_e_tbco_sw | |
| E_TBCO_FR | = lv_e_tbco_fr | |
| TABLES | ||
| T_TBCO_ZS | = lt_t_tbco_zs | |
| T_TBCO_CS_FIX | = lt_t_tbco_cs_fix | |
| T_TBCO_DIVID_TRS | = lt_t_tbco_divid_trs | |
| T_TBCO_TRS_FIX | = lt_t_tbco_trs_fix | |
| T_TBCO_PURCHASE | = lt_t_tbco_purchase | |
| T_TBCO_SALE | = lt_t_tbco_sale | |
| T_TBCO_SA_FLOWS | = lt_t_tbco_sa_flows | |
| T_TBCO_AVG | = lt_t_tbco_avg | |
| T_TBCO_INTST | = lt_t_tbco_intst | |
| T_TBCO_COND | = lt_t_tbco_cond | |
| T_TBCO_COND_REP | = lt_t_tbco_cond_rep | |
| T_TBCO_COND_SE | = lt_t_tbco_cond_se | |
| T_TBCO_RATE | = lt_t_tbco_rate | |
| T_TBCO_BNOM | = lt_t_tbco_bnom | |
| T_TBCO_RPAY | = lt_t_tbco_rpay | |
| T_TBCO_REF | = lt_t_tbco_ref | |
| . " FTR_CORR_DATA_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM FTR_CORR_DATA_CREATE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_i_xprog_indicator) | = 'X'. | |||
Search for further information about these or an SAP related objects