SAP FKK_IT_LOCK_SELECT Function Module for









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

Function Group: FKKLOCK_SERVICE
Program Name: SAPLFKKLOCK_SERVICE
Main Program: SAPLFKLOCK
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FKK_IT_LOCK_SELECT 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_IT_LOCK_SELECT'"
EXPORTING
I_MASS_ACCESS = "
* I_GPART = "
* I_VKONT = "
I_LOOBJ = "
I_LOTYP = "
* I_X_HIST = ' ' "

TABLES
IT_MASSLOCKS = "
* ET_LOCKS = "
* IT_FKKR_PROID = "
* IT_FKKR_FDATE = "
* IT_FKKR_TDATE = "
* IT_MASSLOCKSH = "
* ET_LOCKSH = "
.



IMPORTING Parameters details for FKK_IT_LOCK_SELECT

I_MASS_ACCESS -

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

I_GPART -

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

I_VKONT -

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

I_LOOBJ -

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

I_LOTYP -

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

I_X_HIST -

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

TABLES Parameters details for FKK_IT_LOCK_SELECT

IT_MASSLOCKS -

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

ET_LOCKS -

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

IT_FKKR_PROID -

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

IT_FKKR_FDATE -

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

IT_FKKR_TDATE -

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

IT_MASSLOCKSH -

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

ET_LOCKSH -

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

Copy and paste ABAP code example for FKK_IT_LOCK_SELECT 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:
lt_it_masslocks  TYPE STANDARD TABLE OF DFKKLOCKS, "   
lv_i_mass_access  TYPE DFKKLOCKS, "   
lv_i_gpart  TYPE DFKKLOCKS-GPART, "   
lt_et_locks  TYPE STANDARD TABLE OF DFKKLOCKS, "   
lv_i_vkont  TYPE DFKKLOCKS-VKONT, "   
lt_it_fkkr_proid  TYPE STANDARD TABLE OF FKKR_PROID, "   
lv_i_loobj  TYPE DFKKLOCKS-LOOBJ1, "   
lt_it_fkkr_fdate  TYPE STANDARD TABLE OF FKKR_FDATE, "   
lv_i_lotyp  TYPE DFKKLOCKS-LOTYP, "   
lt_it_fkkr_tdate  TYPE STANDARD TABLE OF FKKR_TDATE, "   
lv_i_x_hist  TYPE BOOLE-BOOLE, "   SPACE
lt_it_masslocksh  TYPE STANDARD TABLE OF DFKKLOCKSH, "   
lt_et_locksh  TYPE STANDARD TABLE OF DFKKLOCKSH. "   

  CALL FUNCTION 'FKK_IT_LOCK_SELECT'  "
    EXPORTING
         I_MASS_ACCESS = lv_i_mass_access
         I_GPART = lv_i_gpart
         I_VKONT = lv_i_vkont
         I_LOOBJ = lv_i_loobj
         I_LOTYP = lv_i_lotyp
         I_X_HIST = lv_i_x_hist
    TABLES
         IT_MASSLOCKS = lt_it_masslocks
         ET_LOCKS = lt_et_locks
         IT_FKKR_PROID = lt_it_fkkr_proid
         IT_FKKR_FDATE = lt_it_fkkr_fdate
         IT_FKKR_TDATE = lt_it_fkkr_tdate
         IT_MASSLOCKSH = lt_it_masslocksh
         ET_LOCKSH = lt_et_locksh
. " FKK_IT_LOCK_SELECT




ABAP code using 7.40 inline data declarations to call FM FKK_IT_LOCK_SELECT

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 GPART FROM DFKKLOCKS INTO @DATA(ld_i_gpart).
 
 
"SELECT single VKONT FROM DFKKLOCKS INTO @DATA(ld_i_vkont).
 
 
"SELECT single LOOBJ1 FROM DFKKLOCKS INTO @DATA(ld_i_loobj).
 
 
"SELECT single LOTYP FROM DFKKLOCKS INTO @DATA(ld_i_lotyp).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_x_hist).
DATA(ld_i_x_hist) = ' '.
 
 
 


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!