SAP K_PLAN_FORM_CHECK Function Module for
K_PLAN_FORM_CHECK is a standard k plan form check 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 k plan form check FM, simply by entering the name K_PLAN_FORM_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: KPP1
Program Name: SAPLKPP1
Main Program: SAPLKPP1
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function K_PLAN_FORM_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 'K_PLAN_FORM_CHECK'".
EXPORTING
ITKES1 = "
* IMODUS = 'S' "
TABLES
T_MESG = "
* T_CEFORMA = "
T_CEFORMS = "
T_CEFORMT = "
T_CEFORMV = "
* T_CEFORMW = "
T_CEFORMF = "
T_CEPRINT = "
T_TKEP1 = "
T_TKESK = "
EXCEPTIONS
DIMENSION_NOT_DEFINED = 1 ERROR_IN_FORM = 2 FORM_NOT_DEFINED = 3
IMPORTING Parameters details for K_PLAN_FORM_CHECK
ITKES1 -
Data type: TKES1Optional: No
Call by Reference: No ( called with pass by value option)
IMODUS -
Data type:Default: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for K_PLAN_FORM_CHECK
T_MESG -
Data type: MESGOptional: No
Call by Reference: No ( called with pass by value option)
T_CEFORMA -
Data type: CEFORMAOptional: Yes
Call by Reference: No ( called with pass by value option)
T_CEFORMS -
Data type: CEFORMSOptional: No
Call by Reference: No ( called with pass by value option)
T_CEFORMT -
Data type: CEFORMTOptional: No
Call by Reference: No ( called with pass by value option)
T_CEFORMV -
Data type: CEFORMVOptional: No
Call by Reference: No ( called with pass by value option)
T_CEFORMW -
Data type: CEFORMWOptional: Yes
Call by Reference: No ( called with pass by value option)
T_CEFORMF -
Data type: CEFORMFOptional: No
Call by Reference: No ( called with pass by value option)
T_CEPRINT -
Data type: CEPRINTOptional: No
Call by Reference: No ( called with pass by value option)
T_TKEP1 -
Data type: TKEP1Optional: No
Call by Reference: No ( called with pass by value option)
T_TKESK -
Data type: TKESKOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DIMENSION_NOT_DEFINED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_IN_FORM -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FORM_NOT_DEFINED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for K_PLAN_FORM_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: | ||||
| lv_itkes1 | TYPE TKES1, " | |||
| lt_t_mesg | TYPE STANDARD TABLE OF MESG, " | |||
| lv_dimension_not_defined | TYPE MESG, " | |||
| lt_t_ceforma | TYPE STANDARD TABLE OF CEFORMA, " | |||
| lv_imodus | TYPE CEFORMA, " 'S' | |||
| lt_t_ceforms | TYPE STANDARD TABLE OF CEFORMS, " | |||
| lv_error_in_form | TYPE CEFORMS, " | |||
| lt_t_ceformt | TYPE STANDARD TABLE OF CEFORMT, " | |||
| lv_form_not_defined | TYPE CEFORMT, " | |||
| lt_t_ceformv | TYPE STANDARD TABLE OF CEFORMV, " | |||
| lt_t_ceformw | TYPE STANDARD TABLE OF CEFORMW, " | |||
| lt_t_ceformf | TYPE STANDARD TABLE OF CEFORMF, " | |||
| lt_t_ceprint | TYPE STANDARD TABLE OF CEPRINT, " | |||
| lt_t_tkep1 | TYPE STANDARD TABLE OF TKEP1, " | |||
| lt_t_tkesk | TYPE STANDARD TABLE OF TKESK. " |
|   CALL FUNCTION 'K_PLAN_FORM_CHECK' " |
| EXPORTING | ||
| ITKES1 | = lv_itkes1 | |
| IMODUS | = lv_imodus | |
| TABLES | ||
| T_MESG | = lt_t_mesg | |
| T_CEFORMA | = lt_t_ceforma | |
| T_CEFORMS | = lt_t_ceforms | |
| T_CEFORMT | = lt_t_ceformt | |
| T_CEFORMV | = lt_t_ceformv | |
| T_CEFORMW | = lt_t_ceformw | |
| T_CEFORMF | = lt_t_ceformf | |
| T_CEPRINT | = lt_t_ceprint | |
| T_TKEP1 | = lt_t_tkep1 | |
| T_TKESK | = lt_t_tkesk | |
| EXCEPTIONS | ||
| DIMENSION_NOT_DEFINED = 1 | ||
| ERROR_IN_FORM = 2 | ||
| FORM_NOT_DEFINED = 3 | ||
| . " K_PLAN_FORM_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM K_PLAN_FORM_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.| DATA(ld_imodus) | = 'S'. | |||
Search for further information about these or an SAP related objects