SAP KKPA_PARA_PROCESS_START Function Module for









KKPA_PARA_PROCESS_START is a standard kkpa para process 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 kkpa para process start FM, simply by entering the name KKPA_PARA_PROCESS_START into the relevant SAP transaction such as SE37 or SE38.

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



Function KKPA_PARA_PROCESS_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 'KKPA_PARA_PROCESS_START'"
EXPORTING
RFC_GROUP = "RFC server group
START_TASK_FORM = "Callback form for CALL ... STARTING NEW TASK
RECEIVE_TASK_FORM = "Callback form for RECEIVE RESULTS
CALLBACK_PROG = "Callback form program
* MAX_NO_OF_TASKS = 0 "Maximum number of parallel tasks (0=unlimited)
* DEBUG_MODE = ' ' "' '/'X' ('X'=Debug info. is internally marked)

IMPORTING
STATISTICS = "Flow statistics

CHANGING
* USER_PARAM = "Unrestricted-use user parameters

EXCEPTIONS
INVALID_GROUP_NAME = 1 NO_RESOURCES_FOUND = 2 NO_TASKS_LEFT = 3
.



IMPORTING Parameters details for KKPA_PARA_PROCESS_START

RFC_GROUP - RFC server group

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

START_TASK_FORM - Callback form for CALL ... STARTING NEW TASK

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

RECEIVE_TASK_FORM - Callback form for RECEIVE RESULTS

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

CALLBACK_PROG - Callback form program

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

MAX_NO_OF_TASKS - Maximum number of parallel tasks (0=unlimited)

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

DEBUG_MODE - SPACE/'X' ('X'=Debug info. is internally marked)

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

EXPORTING Parameters details for KKPA_PARA_PROCESS_START

STATISTICS - Flow statistics

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

CHANGING Parameters details for KKPA_PARA_PROCESS_START

USER_PARAM - Unrestricted-use user parameters

Data type:
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

INVALID_GROUP_NAME - Invalid name for server group

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

NO_RESOURCES_FOUND - No task resources exist in server group

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

NO_TASKS_LEFT -

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

Copy and paste ABAP code example for KKPA_PARA_PROCESS_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_rfc_group  TYPE RZLLITAB-CLASSNAME, "   
lv_statistics  TYPE KKPA_T_STATISTICS, "   
lv_user_param  TYPE KKPA_T_STATISTICS, "   
lv_invalid_group_name  TYPE KKPA_T_STATISTICS, "   
lv_start_task_form  TYPE KKPA_T_STATISTICS, "   
lv_no_resources_found  TYPE KKPA_T_STATISTICS, "   
lv_no_tasks_left  TYPE KKPA_T_STATISTICS, "   
lv_receive_task_form  TYPE KKPA_T_STATISTICS, "   
lv_callback_prog  TYPE SY-REPID, "   
lv_max_no_of_tasks  TYPE SY-INDEX, "   0
lv_debug_mode  TYPE SY. "   SPACE

  CALL FUNCTION 'KKPA_PARA_PROCESS_START'  "
    EXPORTING
         RFC_GROUP = lv_rfc_group
         START_TASK_FORM = lv_start_task_form
         RECEIVE_TASK_FORM = lv_receive_task_form
         CALLBACK_PROG = lv_callback_prog
         MAX_NO_OF_TASKS = lv_max_no_of_tasks
         DEBUG_MODE = lv_debug_mode
    IMPORTING
         STATISTICS = lv_statistics
    CHANGING
         USER_PARAM = lv_user_param
    EXCEPTIONS
        INVALID_GROUP_NAME = 1
        NO_RESOURCES_FOUND = 2
        NO_TASKS_LEFT = 3
. " KKPA_PARA_PROCESS_START




ABAP code using 7.40 inline data declarations to call FM KKPA_PARA_PROCESS_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 CLASSNAME FROM RZLLITAB INTO @DATA(ld_rfc_group).
 
 
 
 
 
 
 
 
"SELECT single REPID FROM SY INTO @DATA(ld_callback_prog).
 
"SELECT single INDEX FROM SY INTO @DATA(ld_max_no_of_tasks).
 
DATA(ld_debug_mode) = ' '.
 


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!