SAP FTR_IRATE_STRUC_GET Function Module for Read Issue Structure of Interest Rate Instrument w/o Processing Logic









FTR_IRATE_STRUC_GET is a standard ftr irate struc get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Issue Structure of Interest Rate Instrument w/o Processing Logic 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 get FM, simply by entering the name FTR_IRATE_STRUC_GET 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_GET 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_GET'"Read Issue Structure of Interest Rate Instrument w/o Processing Logic
EXPORTING
PI_BUKRS = "Company Code
PI_RFHA = "Financial Transaction
* PI_DSTICH = SY-DATUM "Key Date
* PI_NET_FLAG = "
* PI_FLAG_SNOMPAY = "Difference Between Payment Amount and Nominal Amount

IMPORTING
PE_FHA = "Financial Transaction
PE_FHAZU = "akttueller Finanzgeschäftsvorgang
PE_IRATE = "FTR: Structure for Financial Mathematical Interest Details
PE_REPAYM = "FTR: Structure for Financial Mathematical Repayment Details
PE_AMOUNT = "TR Transaction Management: Amounts

EXCEPTIONS
SELECT_FAILED = 1 WRONG_PRODUCTCAT = 2
.



IMPORTING Parameters details for FTR_IRATE_STRUC_GET

PI_BUKRS - Company Code

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

PI_RFHA - Financial Transaction

Data type: TB_RFHA
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_GET

PE_FHA - Financial Transaction

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

PE_FHAZU - akttueller Finanzgeschäftsvorgang

Data type: VTBFHAZU
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

PE_REPAYM - FTR: Structure for Financial Mathematical Repayment Details

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

PE_AMOUNT - TR Transaction Management: Amounts

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

EXCEPTIONS details

SELECT_FAILED - Lesen der Daten fehlgeschlagen

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

WRONG_PRODUCTCAT - Incorrect Product Category

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FTR_IRATE_STRUC_GET 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_pe_fha  TYPE VTBFHA, "   
lv_pi_bukrs  TYPE BUKRS, "   
lv_select_failed  TYPE BUKRS, "   
lv_pi_rfha  TYPE TB_RFHA, "   
lv_pe_fhazu  TYPE VTBFHAZU, "   
lv_wrong_productcat  TYPE VTBFHAZU, "   
lv_pe_irate  TYPE VTS_CF_IRATE, "   
lv_pi_dstich  TYPE TB_DSTICH, "   SY-DATUM
lv_pe_repaym  TYPE VTS_CF_REPAYM, "   
lv_pi_net_flag  TYPE FLAG, "   
lv_pe_amount  TYPE VTS_CF_AMOUNT, "   
lv_pi_flag_snompay  TYPE FLAG. "   

  CALL FUNCTION 'FTR_IRATE_STRUC_GET'  "Read Issue Structure of Interest Rate Instrument w/o Processing Logic
    EXPORTING
         PI_BUKRS = lv_pi_bukrs
         PI_RFHA = lv_pi_rfha
         PI_DSTICH = lv_pi_dstich
         PI_NET_FLAG = lv_pi_net_flag
         PI_FLAG_SNOMPAY = lv_pi_flag_snompay
    IMPORTING
         PE_FHA = lv_pe_fha
         PE_FHAZU = lv_pe_fhazu
         PE_IRATE = lv_pe_irate
         PE_REPAYM = lv_pe_repaym
         PE_AMOUNT = lv_pe_amount
    EXCEPTIONS
        SELECT_FAILED = 1
        WRONG_PRODUCTCAT = 2
. " FTR_IRATE_STRUC_GET




ABAP code using 7.40 inline data declarations to call FM FTR_IRATE_STRUC_GET

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!