SAP CASH_FORECAST_CFM_TM_WP_CHECK Function Module for Verprobung CFM-TM für Finanzdispo-Fortschreibung: Bestandsbewegungen









CASH_FORECAST_CFM_TM_WP_CHECK is a standard cash forecast cfm tm wp check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Verprobung CFM-TM für Finanzdispo-Fortschreibung: Bestandsbewegungen 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 cash forecast cfm tm wp check FM, simply by entering the name CASH_FORECAST_CFM_TM_WP_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function CASH_FORECAST_CFM_TM_WP_CHECK 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 'CASH_FORECAST_CFM_TM_WP_CHECK'"Verprobung CFM-TM für Finanzdispo-Fortschreibung: Bestandsbewegungen
EXPORTING
* I_ROLLBACK_WORK = ' ' "X - A-Meldung und rollback work bei Fehler
* I_ALTERNATIVEBENE = ' ' "X-Alternativebene aus V_T036W nehmen
* I_RESTR_FD_AUFBAU = ' ' "Restriktion für FD-Aufbau (siehe Langtext)

TABLES
T_WP = "

EXCEPTIONS
DDISPO_MISSING = 1 LEVEL_MISSING = 2 NOT_FOUND_SKB1 = 3 NOT_FOUND_TWD01 = 4 NOT_FOUND_T012K = 5 T012K_HKONT_MISSING = 6 ORIGN_INVALID = 7 ORIGN_MISSING = 8 GROUP_MISSING = 9
.



IMPORTING Parameters details for CASH_FORECAST_CFM_TM_WP_CHECK

I_ROLLBACK_WORK - X - A-Meldung und rollback work bei Fehler

Data type: T001-XFDIS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ALTERNATIVEBENE - X-Alternativebene aus V_T036W nehmen

Data type: T001-XFDIS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RESTR_FD_AUFBAU - Restriktion für FD-Aufbau (siehe Langtext)

Data type: RFFFPDO1-FDBUILDUP
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CASH_FORECAST_CFM_TM_WP_CHECK

T_WP -

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

EXCEPTIONS details

DDISPO_MISSING - Dispositionsdatum nicht gepflegt

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

LEVEL_MISSING - Ebene nicht in T036

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

NOT_FOUND_SKB1 - Sachkonto im Buchungskreis nicht vorhanden

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

NOT_FOUND_TWD01 - Logisches Depot fehlt in TWD01

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

NOT_FOUND_T012K - Sachkonto nicht in T012K

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

T012K_HKONT_MISSING - Hauptbuchkonto nicht in T012K gepflegt

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

ORIGN_INVALID - Herkunftssymbol nicht zulässig

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

ORIGN_MISSING - Herkunftssymbol nicht in T039

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

GROUP_MISSING - Dispositionsgruppe nicht in T035

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

Copy and paste ABAP code example for CASH_FORECAST_CFM_TM_WP_CHECK 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_t_wp  TYPE STANDARD TABLE OF TRCS_CASH_MGT_TRANSFER, "   
lv_ddispo_missing  TYPE TRCS_CASH_MGT_TRANSFER, "   
lv_i_rollback_work  TYPE T001-XFDIS, "   SPACE
lv_level_missing  TYPE T001, "   
lv_i_alternativebene  TYPE T001-XFDIS, "   SPACE
lv_not_found_skb1  TYPE T001, "   
lv_i_restr_fd_aufbau  TYPE RFFFPDO1-FDBUILDUP, "   SPACE
lv_not_found_twd01  TYPE RFFFPDO1, "   
lv_not_found_t012k  TYPE RFFFPDO1, "   
lv_t012k_hkont_missing  TYPE RFFFPDO1, "   
lv_orign_invalid  TYPE RFFFPDO1, "   
lv_orign_missing  TYPE RFFFPDO1, "   
lv_group_missing  TYPE RFFFPDO1. "   

  CALL FUNCTION 'CASH_FORECAST_CFM_TM_WP_CHECK'  "Verprobung CFM-TM für Finanzdispo-Fortschreibung: Bestandsbewegungen
    EXPORTING
         I_ROLLBACK_WORK = lv_i_rollback_work
         I_ALTERNATIVEBENE = lv_i_alternativebene
         I_RESTR_FD_AUFBAU = lv_i_restr_fd_aufbau
    TABLES
         T_WP = lt_t_wp
    EXCEPTIONS
        DDISPO_MISSING = 1
        LEVEL_MISSING = 2
        NOT_FOUND_SKB1 = 3
        NOT_FOUND_TWD01 = 4
        NOT_FOUND_T012K = 5
        T012K_HKONT_MISSING = 6
        ORIGN_INVALID = 7
        ORIGN_MISSING = 8
        GROUP_MISSING = 9
. " CASH_FORECAST_CFM_TM_WP_CHECK




ABAP code using 7.40 inline data declarations to call FM CASH_FORECAST_CFM_TM_WP_CHECK

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 XFDIS FROM T001 INTO @DATA(ld_i_rollback_work).
DATA(ld_i_rollback_work) = ' '.
 
 
"SELECT single XFDIS FROM T001 INTO @DATA(ld_i_alternativebene).
DATA(ld_i_alternativebene) = ' '.
 
 
"SELECT single FDBUILDUP FROM RFFFPDO1 INTO @DATA(ld_i_restr_fd_aufbau).
DATA(ld_i_restr_fd_aufbau) = ' '.
 
 
 
 
 
 
 


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!