SAP TM_CASHFLOW_CONSTRUCT_NOTICE Function Module for Set Up Cash Flow for Deposit at Notice Transaction









TM_CASHFLOW_CONSTRUCT_NOTICE is a standard tm cashflow construct notice 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 Deposit at Notice 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 tm cashflow construct notice FM, simply by entering the name TM_CASHFLOW_CONSTRUCT_NOTICE into the relevant SAP transaction such as SE37 or SE38.

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



Function TM_CASHFLOW_CONSTRUCT_NOTICE 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 'TM_CASHFLOW_CONSTRUCT_NOTICE'"Set Up Cash Flow for Deposit at Notice Transaction
EXPORTING
* CUT_OFF_DATE = '00000000' "Ende des Berechnungszeitraums (vor Kündigung)
FHA = "Transaction
FHAZU = "Current activity
* REVERSAL = ' ' "Reversal of current activity
* I_OREF_FTR_APPL_CTRL = "TR Transaction Management: Application Control

TABLES
FHAPO_IN = "Flows (incoming)
FHAPO_OUT = "Flows (outgoing)
FINKO = "Conditions
.



IMPORTING Parameters details for TM_CASHFLOW_CONSTRUCT_NOTICE

CUT_OFF_DATE - Ende des Berechnungszeitraums (vor Kündigung)

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

FHA - Transaction

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

FHAZU - Current activity

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

REVERSAL - Reversal of current activity

Data type:
Default: SPACE
Optional: Yes
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

TABLES Parameters details for TM_CASHFLOW_CONSTRUCT_NOTICE

FHAPO_IN - Flows (incoming)

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

FHAPO_OUT - Flows (outgoing)

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

FINKO - Conditions

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

Copy and paste ABAP code example for TM_CASHFLOW_CONSTRUCT_NOTICE 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_fhapo_in  TYPE STANDARD TABLE OF VTBFHAPO, "   
lv_cut_off_date  TYPE SY-DATUM, "   '00000000'
lv_fha  TYPE VTBFHA, "   
lt_fhapo_out  TYPE STANDARD TABLE OF VTBFHAPO, "   
lv_fhazu  TYPE VTBFHAZU, "   
lt_finko  TYPE STANDARD TABLE OF VTBFINKO, "   
lv_reversal  TYPE VTBFINKO, "   SPACE
lv_i_oref_ftr_appl_ctrl  TYPE CL_FTR_APPL_CTRL. "   

  CALL FUNCTION 'TM_CASHFLOW_CONSTRUCT_NOTICE'  "Set Up Cash Flow for Deposit at Notice Transaction
    EXPORTING
         CUT_OFF_DATE = lv_cut_off_date
         FHA = lv_fha
         FHAZU = lv_fhazu
         REVERSAL = lv_reversal
         I_OREF_FTR_APPL_CTRL = lv_i_oref_ftr_appl_ctrl
    TABLES
         FHAPO_IN = lt_fhapo_in
         FHAPO_OUT = lt_fhapo_out
         FINKO = lt_finko
. " TM_CASHFLOW_CONSTRUCT_NOTICE




ABAP code using 7.40 inline data declarations to call FM TM_CASHFLOW_CONSTRUCT_NOTICE

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.

 
"SELECT single DATUM FROM SY INTO @DATA(ld_cut_off_date).
DATA(ld_cut_off_date) = '00000000'.
 
 
 
 
 
DATA(ld_reversal) = ' '.
 
 


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!