SAP TB_CASHFLOW_CONSTRUCT Function Module for Set Up Cash Flow for Treasury









TB_CASHFLOW_CONSTRUCT is a standard tb cashflow construct SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for 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 FM, simply by entering the name TB_CASHFLOW_CONSTRUCT 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 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'"Set Up Cash Flow for Treasury
EXPORTING
* I_FUNKTION = ' ' "Function
I_LEISTE = "allgemeine Schnittstelle Finanzstromrechner
* I_OREF_FTR_APPL_CTRL = "TR Transaction Management: Application Control
I_FHA = "Financial Transaction

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



IMPORTING Parameters details for TB_CASHFLOW_CONSTRUCT

I_FUNKTION - Function

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

I_LEISTE - allgemeine Schnittstelle Finanzstromrechner

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

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

TABLES Parameters details for TB_CASHFLOW_CONSTRUCT

E_ANPASS - Tabelle mit den Kondionsanpassungsterminen

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

E_BEWE - ausgehende Bewegungen

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

I_BEWE - eingehende Bewegungen

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

I_KONDI - eingehende Konditionen

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

I_ZINSTAB - ausgehende Konditionen

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

Copy and paste ABAP code example for TB_CASHFLOW_CONSTRUCT 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 VTBZIANP, "   ' '
lt_e_bewe  TYPE STANDARD TABLE OF VTBFHAPO, "   
lv_i_leiste  TYPE VTBLEISTE, "   
lt_i_bewe  TYPE STANDARD TABLE OF VTBFHAPO, "   
lv_i_oref_ftr_appl_ctrl  TYPE CL_FTR_APPL_CTRL, "   
lv_i_fha  TYPE VTBFHA, "   
lt_i_kondi  TYPE STANDARD TABLE OF VTBFINKO, "   
lt_i_zinstab  TYPE STANDARD TABLE OF T056P. "   

  CALL FUNCTION 'TB_CASHFLOW_CONSTRUCT'  "Set Up Cash Flow for Treasury
    EXPORTING
         I_FUNKTION = lv_i_funktion
         I_LEISTE = lv_i_leiste
         I_OREF_FTR_APPL_CTRL = lv_i_oref_ftr_appl_ctrl
         I_FHA = lv_i_fha
    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
. " TB_CASHFLOW_CONSTRUCT




ABAP code using 7.40 inline data declarations to call FM TB_CASHFLOW_CONSTRUCT

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) = ' '.
 
 
 
 
 
 
 
 


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!