SAP FTR_IRATE_STRUC_TRANSLATE Function Module for Determine Issue Structure of an Interest Rate Instrument









FTR_IRATE_STRUC_TRANSLATE is a standard ftr irate struc translate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Issue Structure of an Interest Rate Instrument 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 irate struc translate FM, simply by entering the name FTR_IRATE_STRUC_TRANSLATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: FTR_IRATE
Program Name: SAPLFTR_IRATE
Main Program: SAPLFTR_IRATE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FTR_IRATE_STRUC_TRANSLATE 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_IRATE_STRUC_TRANSLATE'"Determine Issue Structure of an Interest Rate Instrument
EXPORTING
PI_FHA = "Financial Transaction
PI_TAB_FINKO = "Konditionen des aktuellen Vorgangs
PI_TAB_FHAPO = "Main Flows
* PI_DSTICH = SY-DATUM "Key Date
* PI_NET_FLAG = "
* PI_FLAG_SNOMPAY = "Difference Between Payment Amount and Nominal Amount

IMPORTING
PE_AMOUNT = "TR Transaction Management: Amounts
PE_REPAYM = "FTR: Structure for Financial Mathematical Repayment Details
PE_IRATE = "FTR: Structure for Financial Mathematical Interest Details

EXCEPTIONS
FAILED = 1
.



IMPORTING Parameters details for FTR_IRATE_STRUC_TRANSLATE

PI_FHA - Financial Transaction

Data type: VTBFHA
Optional: No
Call by Reference: Yes

PI_TAB_FINKO - Konditionen des aktuellen Vorgangs

Data type: FTRTR_TAB_FINKO
Optional: No
Call by Reference: Yes

PI_TAB_FHAPO - Main Flows

Data type: FTRTR_TAB_FHAPO
Optional: No
Call by Reference: Yes

PI_DSTICH - Key Date

Data type: TB_DSTICH
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

PI_NET_FLAG -

Data type: FLAG
Optional: Yes
Call by Reference: Yes

PI_FLAG_SNOMPAY - Difference Between Payment Amount and Nominal Amount

Data type: FLAG
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FTR_IRATE_STRUC_TRANSLATE

PE_AMOUNT - TR Transaction Management: Amounts

Data type: VTS_CF_AMOUNT
Optional: No
Call by Reference: Yes

PE_REPAYM - FTR: Structure for Financial Mathematical Repayment Details

Data type: VTS_CF_REPAYM
Optional: No
Call by Reference: Yes

PE_IRATE - FTR: Structure for Financial Mathematical Interest Details

Data type: VTS_CF_IRATE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

FAILED - Determination Failed

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FTR_IRATE_STRUC_TRANSLATE 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_failed  TYPE STRING, "   
lv_pi_fha  TYPE VTBFHA, "   
lv_pe_amount  TYPE VTS_CF_AMOUNT, "   
lv_pe_repaym  TYPE VTS_CF_REPAYM, "   
lv_pi_tab_finko  TYPE FTRTR_TAB_FINKO, "   
lv_pe_irate  TYPE VTS_CF_IRATE, "   
lv_pi_tab_fhapo  TYPE FTRTR_TAB_FHAPO, "   
lv_pi_dstich  TYPE TB_DSTICH, "   SY-DATUM
lv_pi_net_flag  TYPE FLAG, "   
lv_pi_flag_snompay  TYPE FLAG. "   

  CALL FUNCTION 'FTR_IRATE_STRUC_TRANSLATE'  "Determine Issue Structure of an Interest Rate Instrument
    EXPORTING
         PI_FHA = lv_pi_fha
         PI_TAB_FINKO = lv_pi_tab_finko
         PI_TAB_FHAPO = lv_pi_tab_fhapo
         PI_DSTICH = lv_pi_dstich
         PI_NET_FLAG = lv_pi_net_flag
         PI_FLAG_SNOMPAY = lv_pi_flag_snompay
    IMPORTING
         PE_AMOUNT = lv_pe_amount
         PE_REPAYM = lv_pe_repaym
         PE_IRATE = lv_pe_irate
    EXCEPTIONS
        FAILED = 1
. " FTR_IRATE_STRUC_TRANSLATE




ABAP code using 7.40 inline data declarations to call FM FTR_IRATE_STRUC_TRANSLATE

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_pi_dstich) = SY-DATUM.
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!