SAP FKK_FKCC_RUN_START Function Module for









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

Function Group: FKCC
Program Name: SAPLFKCC
Main Program: SAPLFKCC
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function FKK_FKCC_RUN_START 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_FKCC_RUN_START'"
EXPORTING
* I_AKTYP = "
* I_XFKJOGREETS = ' ' "
I_LAUFD = "
I_LAUFI = "
* I_XCOPY = ' ' "
* I_COPYD = "
* I_COPYI = "
* I_STRDT = "
* I_STRZT = "
* I_XSTRF = 'X' "

IMPORTING
E_PROGN = "
E_PROGID = "

EXCEPTIONS
INVALID_INPUT = 1 FOREIGN_LOCK = 2 SCHEDULE_FAILURE = 3 COPY_FAILURE = 4 TEMPLATE_NOT_FOUND = 5 PARAMETERS_NOT_FOUND = 6 PARAMETERS_ALREADY_EXIST = 7
.



IMPORTING Parameters details for FKK_FKCC_RUN_START

I_AKTYP -

Data type: FKKCOCC-AKTYP
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XFKJOGREETS -

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

I_LAUFD -

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

I_LAUFI -

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

I_XCOPY -

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

I_COPYD -

Data type: FKKCOCC-COPYD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COPYI -

Data type: FKKCOCC-COPYI
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STRDT -

Data type: FKKCOCC-STRDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STRZT -

Data type: FKKCOCC-STRZT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XSTRF -

Data type: FKKCOCC-XSTRF
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FKK_FKCC_RUN_START

E_PROGN -

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

E_PROGID -

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

EXCEPTIONS details

INVALID_INPUT -

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

FOREIGN_LOCK -

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

SCHEDULE_FAILURE -

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

COPY_FAILURE -

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

TEMPLATE_NOT_FOUND -

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

PARAMETERS_NOT_FOUND -

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

PARAMETERS_ALREADY_EXIST -

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

Copy and paste ABAP code example for FKK_FKCC_RUN_START 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_e_progn  TYPE FKKDIJOB-PROGN, "   
lv_i_aktyp  TYPE FKKCOCC-AKTYP, "   
lv_invalid_input  TYPE FKKCOCC, "   
lv_i_xfkjogreets  TYPE BOOLE-BOOLE, "   SPACE
lv_i_laufd  TYPE FKKCOCC-LAUFD, "   
lv_e_progid  TYPE FKKDIJOB-PROGID, "   
lv_foreign_lock  TYPE FKKDIJOB, "   
lv_i_laufi  TYPE FKKCOCC-LAUFI, "   
lv_schedule_failure  TYPE FKKCOCC, "   
lv_i_xcopy  TYPE BOOLE-BOOLE, "   ' '
lv_copy_failure  TYPE BOOLE, "   
lv_i_copyd  TYPE FKKCOCC-COPYD, "   
lv_template_not_found  TYPE FKKCOCC, "   
lv_i_copyi  TYPE FKKCOCC-COPYI, "   
lv_parameters_not_found  TYPE FKKCOCC, "   
lv_i_strdt  TYPE FKKCOCC-STRDT, "   
lv_parameters_already_exist  TYPE FKKCOCC, "   
lv_i_strzt  TYPE FKKCOCC-STRZT, "   
lv_i_xstrf  TYPE FKKCOCC-XSTRF. "   'X'

  CALL FUNCTION 'FKK_FKCC_RUN_START'  "
    EXPORTING
         I_AKTYP = lv_i_aktyp
         I_XFKJOGREETS = lv_i_xfkjogreets
         I_LAUFD = lv_i_laufd
         I_LAUFI = lv_i_laufi
         I_XCOPY = lv_i_xcopy
         I_COPYD = lv_i_copyd
         I_COPYI = lv_i_copyi
         I_STRDT = lv_i_strdt
         I_STRZT = lv_i_strzt
         I_XSTRF = lv_i_xstrf
    IMPORTING
         E_PROGN = lv_e_progn
         E_PROGID = lv_e_progid
    EXCEPTIONS
        INVALID_INPUT = 1
        FOREIGN_LOCK = 2
        SCHEDULE_FAILURE = 3
        COPY_FAILURE = 4
        TEMPLATE_NOT_FOUND = 5
        PARAMETERS_NOT_FOUND = 6
        PARAMETERS_ALREADY_EXIST = 7
. " FKK_FKCC_RUN_START




ABAP code using 7.40 inline data declarations to call FM FKK_FKCC_RUN_START

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 PROGN FROM FKKDIJOB INTO @DATA(ld_e_progn).
 
"SELECT single AKTYP FROM FKKCOCC INTO @DATA(ld_i_aktyp).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xfkjogreets).
DATA(ld_i_xfkjogreets) = ' '.
 
"SELECT single LAUFD FROM FKKCOCC INTO @DATA(ld_i_laufd).
 
"SELECT single PROGID FROM FKKDIJOB INTO @DATA(ld_e_progid).
 
 
"SELECT single LAUFI FROM FKKCOCC INTO @DATA(ld_i_laufi).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xcopy).
DATA(ld_i_xcopy) = ' '.
 
 
"SELECT single COPYD FROM FKKCOCC INTO @DATA(ld_i_copyd).
 
 
"SELECT single COPYI FROM FKKCOCC INTO @DATA(ld_i_copyi).
 
 
"SELECT single STRDT FROM FKKCOCC INTO @DATA(ld_i_strdt).
 
 
"SELECT single STRZT FROM FKKCOCC INTO @DATA(ld_i_strzt).
 
"SELECT single XSTRF FROM FKKCOCC INTO @DATA(ld_i_xstrf).
DATA(ld_i_xstrf) = 'X'.
 


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!