SAP K_KKB_JOB_LIST Function Module for









K_KKB_JOB_LIST is a standard k kkb job list 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 kkb job list FM, simply by entering the name K_KKB_JOB_LIST into the relevant SAP transaction such as SE37 or SE38.

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



Function K_KKB_JOB_LIST 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_KKB_JOB_LIST'"
EXPORTING
* DFO = ' ' "
* IANW = '1' "
* IOBJ = ' ' "
* NUM = ' ' "
* WITHOUT_SELECTION = ' ' "

IMPORTING
JOB_DATA = "Report dates
SUBRC = "

TABLES
EX_JOBS = "

EXCEPTIONS
NO_JOBS = 1 NO_JOB_PICKED = 2
.



IMPORTING Parameters details for K_KKB_JOB_LIST

DFO -

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

IANW -

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

IOBJ -

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

NUM -

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

WITHOUT_SELECTION -

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

EXPORTING Parameters details for K_KKB_JOB_LIST

JOB_DATA - Report dates

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

SUBRC -

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

TABLES Parameters details for K_KKB_JOB_LIST

EX_JOBS -

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

EXCEPTIONS details

NO_JOBS -

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

NO_JOB_PICKED - No report selected

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

Copy and paste ABAP code example for K_KKB_JOB_LIST 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_dfo  TYPE TKKB1-DFO, "   SPACE
lt_ex_jobs  TYPE STANDARD TABLE OF TKKB1, "   
lv_no_jobs  TYPE TKKB1, "   
lv_job_data  TYPE TKKB1, "   
lv_ianw  TYPE TKKB1-ANW, "   '1'
lv_subrc  TYPE SY-SUBRC, "   
lv_no_job_picked  TYPE SY, "   
lv_iobj  TYPE TKKB1-OBJ, "   SPACE
lv_num  TYPE TKKB1-NUM, "   SPACE
lv_without_selection  TYPE TKKB1-FEH. "   SPACE

  CALL FUNCTION 'K_KKB_JOB_LIST'  "
    EXPORTING
         DFO = lv_dfo
         IANW = lv_ianw
         IOBJ = lv_iobj
         NUM = lv_num
         WITHOUT_SELECTION = lv_without_selection
    IMPORTING
         JOB_DATA = lv_job_data
         SUBRC = lv_subrc
    TABLES
         EX_JOBS = lt_ex_jobs
    EXCEPTIONS
        NO_JOBS = 1
        NO_JOB_PICKED = 2
. " K_KKB_JOB_LIST




ABAP code using 7.40 inline data declarations to call FM K_KKB_JOB_LIST

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 DFO FROM TKKB1 INTO @DATA(ld_dfo).
DATA(ld_dfo) = ' '.
 
 
 
 
"SELECT single ANW FROM TKKB1 INTO @DATA(ld_ianw).
DATA(ld_ianw) = '1'.
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_subrc).
 
 
"SELECT single OBJ FROM TKKB1 INTO @DATA(ld_iobj).
DATA(ld_iobj) = ' '.
 
"SELECT single NUM FROM TKKB1 INTO @DATA(ld_num).
DATA(ld_num) = ' '.
 
"SELECT single FEH FROM TKKB1 INTO @DATA(ld_without_selection).
DATA(ld_without_selection) = ' '.
 


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!