SAP FKK_SCHEDMAN_INIT Function Module for









FKK_SCHEDMAN_INIT is a standard fkk schedman init 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 fkk schedman init FM, simply by entering the name FKK_SCHEDMAN_INIT into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_SCHEDMAN_INIT 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 'FKK_SCHEDMAN_INIT'"
EXPORTING
* I_REPID = SY-CPROG "
* I_TCODE = ' ' "
* I_WFITEM = ' ' "
* I_WFLIST = ' ' "
* I_FLG_TEST = ' ' "
* I_ACTIVITY = '16' "

IMPORTING
E_F_SCHEDMAN_KEY = "
.



IMPORTING Parameters details for FKK_SCHEDMAN_INIT

I_REPID -

Data type: REPID
Default: SY-CPROG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TCODE -

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

I_WFITEM -

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

I_WFLIST -

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

I_FLG_TEST -

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

I_ACTIVITY -

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

EXPORTING Parameters details for FKK_SCHEDMAN_INIT

E_F_SCHEDMAN_KEY -

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

Copy and paste ABAP code example for FKK_SCHEDMAN_INIT 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_i_repid  TYPE REPID, "   SY-CPROG
lv_e_f_schedman_key  TYPE SCHEDMAN_KEY, "   
lv_i_tcode  TYPE TCODE, "   SPACE
lv_i_wfitem  TYPE SCMA_WITEM-WF_WITEM, "   SPACE
lv_i_wflist  TYPE SCMA_WITEM-WF_WLIST, "   SPACE
lv_i_flg_test  TYPE CHAR1, "   SPACE
lv_i_activity  TYPE SCHEDMAN_DETAIL_USER-ACTIVITY. "   '16'

  CALL FUNCTION 'FKK_SCHEDMAN_INIT'  "
    EXPORTING
         I_REPID = lv_i_repid
         I_TCODE = lv_i_tcode
         I_WFITEM = lv_i_wfitem
         I_WFLIST = lv_i_wflist
         I_FLG_TEST = lv_i_flg_test
         I_ACTIVITY = lv_i_activity
    IMPORTING
         E_F_SCHEDMAN_KEY = lv_e_f_schedman_key
. " FKK_SCHEDMAN_INIT




ABAP code using 7.40 inline data declarations to call FM FKK_SCHEDMAN_INIT

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_repid) = SY-CPROG.
 
 
DATA(ld_i_tcode) = ' '.
 
"SELECT single WF_WITEM FROM SCMA_WITEM INTO @DATA(ld_i_wfitem).
DATA(ld_i_wfitem) = ' '.
 
"SELECT single WF_WLIST FROM SCMA_WITEM INTO @DATA(ld_i_wflist).
DATA(ld_i_wflist) = ' '.
 
DATA(ld_i_flg_test) = ' '.
 
"SELECT single ACTIVITY FROM SCHEDMAN_DETAIL_USER INTO @DATA(ld_i_activity).
DATA(ld_i_activity) = '16'.
 


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!