SAP CASH_FORECAST_CHECK_LEVEL_GRP Function Module for
CASH_FORECAST_CHECK_LEVEL_GRP is a standard cash forecast check level grp SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 check level grp FM, simply by entering the name CASH_FORECAST_CHECK_LEVEL_GRP into the relevant SAP transaction such as SE37 or SE38.
Function Group: FDIS
Program Name: SAPLFDIS
Main Program: SAPLFDIS
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function CASH_FORECAST_CHECK_LEVEL_GRP 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_CHECK_LEVEL_GRP'".
EXPORTING
* FDGRP = ' ' "FD group
* FDLEV = ' ' "Planning level
KOART = "Account type
IMPORTING
FDGRP = "FD group
FDLEV = "Planning level
ORIGN = "FD origin symbol
XEING = "X-FD date and FD level should be r
EXCEPTIONS
GROUP_INVALID = 1 LEVEL_INVALID = 2 ORIGN_INVALID = 3
IMPORTING Parameters details for CASH_FORECAST_CHECK_LEVEL_GRP
FDGRP - FD group
Data type: BSEG-FDGRPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FDLEV - Planning level
Data type: BSEG-FDLEVDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
KOART - Account type
Data type: BSEG-KOARTOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CASH_FORECAST_CHECK_LEVEL_GRP
FDGRP - FD group
Data type: BSEG-FDGRPOptional: No
Call by Reference: No ( called with pass by value option)
FDLEV - Planning level
Data type: BSEG-FDLEVOptional: No
Call by Reference: No ( called with pass by value option)
ORIGN - FD origin symbol
Data type: T036-ORIGNOptional: No
Call by Reference: No ( called with pass by value option)
XEING - X-FD date and FD level should be r
Data type: T035-BILD1Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
GROUP_INVALID - FD group not in T035
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LEVEL_INVALID - FD level not in T036 or not allowe
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ORIGN_INVALID - FD origin symbol not in T039 or no
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CASH_FORECAST_CHECK_LEVEL_GRP 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_fdgrp | TYPE BSEG-FDGRP, " | |||
lv_fdgrp | TYPE BSEG-FDGRP, " SPACE | |||
lv_group_invalid | TYPE BSEG, " | |||
lv_fdlev | TYPE BSEG-FDLEV, " | |||
lv_fdlev | TYPE BSEG-FDLEV, " SPACE | |||
lv_level_invalid | TYPE BSEG, " | |||
lv_koart | TYPE BSEG-KOART, " | |||
lv_orign | TYPE T036-ORIGN, " | |||
lv_orign_invalid | TYPE T036, " | |||
lv_xeing | TYPE T035-BILD1. " |
  CALL FUNCTION 'CASH_FORECAST_CHECK_LEVEL_GRP' " |
EXPORTING | ||
FDGRP | = lv_fdgrp | |
FDLEV | = lv_fdlev | |
KOART | = lv_koart | |
IMPORTING | ||
FDGRP | = lv_fdgrp | |
FDLEV | = lv_fdlev | |
ORIGN | = lv_orign | |
XEING | = lv_xeing | |
EXCEPTIONS | ||
GROUP_INVALID = 1 | ||
LEVEL_INVALID = 2 | ||
ORIGN_INVALID = 3 | ||
. " CASH_FORECAST_CHECK_LEVEL_GRP |
ABAP code using 7.40 inline data declarations to call FM CASH_FORECAST_CHECK_LEVEL_GRP
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 FDGRP FROM BSEG INTO @DATA(ld_fdgrp). | ||||
"SELECT single FDGRP FROM BSEG INTO @DATA(ld_fdgrp). | ||||
DATA(ld_fdgrp) | = ' '. | |||
"SELECT single FDLEV FROM BSEG INTO @DATA(ld_fdlev). | ||||
"SELECT single FDLEV FROM BSEG INTO @DATA(ld_fdlev). | ||||
DATA(ld_fdlev) | = ' '. | |||
"SELECT single KOART FROM BSEG INTO @DATA(ld_koart). | ||||
"SELECT single ORIGN FROM T036 INTO @DATA(ld_orign). | ||||
"SELECT single BILD1 FROM T035 INTO @DATA(ld_xeing). | ||||
Search for further information about these or an SAP related objects