SAP TB_CASHFLOW_CONSTRUCT_VAR_CORE Function Module for INTERNAL: Set Up Cash Flow for Treasury









TB_CASHFLOW_CONSTRUCT_VAR_CORE is a standard tb cashflow construct var core SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Set Up Cash Flow for Treasury 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 tb cashflow construct var core FM, simply by entering the name TB_CASHFLOW_CONSTRUCT_VAR_CORE into the relevant SAP transaction such as SE37 or SE38.

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



Function TB_CASHFLOW_CONSTRUCT_VAR_CORE 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 'TB_CASHFLOW_CONSTRUCT_VAR_CORE'"INTERNAL: Set Up Cash Flow for Treasury
EXPORTING
* I_FUNKTION = ' ' "Function
* I_IREF_TRIA_PRA = "Treasury: Interest Rate Adjustment for Bearer
I_LEISTE = "allgemeine Schnittstelle Finanzstromrechner
I_IREF_TRIA = "Referenz auf eine Instanz des Zinsanpassungsservices
I_PLAN_STRATEGY = "Planned Record Update Strategy
* I_BERNEU = ' ' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_IREF_FIMA_CALLBACK = "Calulate Amount to be Capitalized
* I_OREF_FTR_APPL_CTRL = "TR Transaction Management: Application Control
I_FHA = "Financial Transaction
* I_ACCUMULATE_FLOWS = ' ' "Bewegungen akkumulieren

IMPORTING
E_RAW_VTBBEWE = "FIMA Bewegungssätze im 'Rohdatenformat'

TABLES
* E_ANPASS = "Tabelle mit den Kondionsanpassungsterminen
E_BEWE = "ausgehende Bewegungen
I_BEWE = "eingehende Bewegungen
I_KONDI = "eingehende Konditionen
* I_ZINSTAB = "ausgehende Konditionen

EXCEPTIONS
CONSTRUCT_FAILED = 1
.



IMPORTING Parameters details for TB_CASHFLOW_CONSTRUCT_VAR_CORE

I_FUNKTION - Function

Data type: ANY
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IREF_TRIA_PRA - Treasury: Interest Rate Adjustment for Bearer

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

I_LEISTE - allgemeine Schnittstelle Finanzstromrechner

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

I_IREF_TRIA - Referenz auf eine Instanz des Zinsanpassungsservices

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

I_PLAN_STRATEGY - Planned Record Update Strategy

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

I_BERNEU - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

Data type: BOOLE_D
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IREF_FIMA_CALLBACK - Calulate Amount to be Capitalized

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

I_OREF_FTR_APPL_CTRL - TR Transaction Management: Application Control

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

I_FHA - Financial Transaction

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

I_ACCUMULATE_FLOWS - Bewegungen akkumulieren

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for TB_CASHFLOW_CONSTRUCT_VAR_CORE

E_RAW_VTBBEWE - FIMA Bewegungssätze im 'Rohdatenformat'

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

TABLES Parameters details for TB_CASHFLOW_CONSTRUCT_VAR_CORE

E_ANPASS - Tabelle mit den Kondionsanpassungsterminen

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

E_BEWE - ausgehende Bewegungen

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

I_BEWE - eingehende Bewegungen

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

I_KONDI - eingehende Konditionen

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

I_ZINSTAB - ausgehende Konditionen

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

EXCEPTIONS details

CONSTRUCT_FAILED - Berechungnen fehlgeschlagen

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

Copy and paste ABAP code example for TB_CASHFLOW_CONSTRUCT_VAR_CORE 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:
lt_e_anpass  TYPE STANDARD TABLE OF VTBZIANP, "   
lv_i_funktion  TYPE ANY, "   ' '
lv_e_raw_vtbbewe  TYPE FIMA_TAB_VTBBEWE, "   
lv_construct_failed  TYPE FIMA_TAB_VTBBEWE, "   
lv_i_iref_tria_pra  TYPE IF_IRA_BEARER, "   
lt_e_bewe  TYPE STANDARD TABLE OF VTBFHAPO, "   
lv_i_leiste  TYPE VTBLEISTE, "   
lt_i_bewe  TYPE STANDARD TABLE OF VTBFHAPO, "   
lv_i_iref_tria  TYPE IF_IRA_BEARER, "   
lt_i_kondi  TYPE STANDARD TABLE OF VTBFINKO, "   
lv_i_plan_strategy  TYPE TB_IRA_PLAN_STRATEGY, "   
lv_i_berneu  TYPE BOOLE_D, "   ' '
lt_i_zinstab  TYPE STANDARD TABLE OF T056P, "   
lv_i_iref_fima_callback  TYPE IF_FIMA_CALLBACK, "   
lv_i_oref_ftr_appl_ctrl  TYPE CL_FTR_APPL_CTRL, "   
lv_i_fha  TYPE VTBFHA, "   
lv_i_accumulate_flows  TYPE XFELD. "   ' '

  CALL FUNCTION 'TB_CASHFLOW_CONSTRUCT_VAR_CORE'  "INTERNAL: Set Up Cash Flow for Treasury
    EXPORTING
         I_FUNKTION = lv_i_funktion
         I_IREF_TRIA_PRA = lv_i_iref_tria_pra
         I_LEISTE = lv_i_leiste
         I_IREF_TRIA = lv_i_iref_tria
         I_PLAN_STRATEGY = lv_i_plan_strategy
         I_BERNEU = lv_i_berneu
         I_IREF_FIMA_CALLBACK = lv_i_iref_fima_callback
         I_OREF_FTR_APPL_CTRL = lv_i_oref_ftr_appl_ctrl
         I_FHA = lv_i_fha
         I_ACCUMULATE_FLOWS = lv_i_accumulate_flows
    IMPORTING
         E_RAW_VTBBEWE = lv_e_raw_vtbbewe
    TABLES
         E_ANPASS = lt_e_anpass
         E_BEWE = lt_e_bewe
         I_BEWE = lt_i_bewe
         I_KONDI = lt_i_kondi
         I_ZINSTAB = lt_i_zinstab
    EXCEPTIONS
        CONSTRUCT_FAILED = 1
. " TB_CASHFLOW_CONSTRUCT_VAR_CORE




ABAP code using 7.40 inline data declarations to call FM TB_CASHFLOW_CONSTRUCT_VAR_CORE

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_funktion) = ' '.
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_berneu) = ' '.
 
 
 
 
 
DATA(ld_i_accumulate_flows) = ' '.
 


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!