SAP FKK_S_LOCKSET_MAINTAIN Function Module for









FKK_S_LOCKSET_MAINTAIN is a standard fkk s lockset maintain 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 s lockset maintain FM, simply by entering the name FKK_S_LOCKSET_MAINTAIN 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_S_LOCKSET_MAINTAIN 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_S_LOCKSET_MAINTAIN'"
EXPORTING
* I_APPL_WORK_AREA = "
I_WMODE = "
I_UPD_ONLINE = "
* I_DIALOG_OPTIONS = "
* IX_UNIQUE_EXPANSION = 'X' "
* IT_EXP_GPART = "
* IT_EXP_VKONT = "
* I_POPUP_TITLE = ' ' "
* I_UNAME = SY-UNAME "SAP System, User Logon Name
* I_GPART = "
* I_VKONT = "
* I_LOOBJ1 = "
* I_PROID = "
* I_LOTYP = "
* I_LOCKR = "
* I_FDATE = "
* I_TDATE = "

TABLES
* IT_FKKR_LOOBJ1 = "
* IT_FKKR_PROID = "
* IT_FKKR_LOTYP = "
* IT_FKKR_LOCKR = "
* IT_FKKR_FDATE = "
* IT_FKKR_TDATE = "

EXCEPTIONS
WMODE_NOT_SUPPORTED = 1 NOT_FOUND = 2 EXP_NOT_UNIQUE = 3
.



IMPORTING Parameters details for FKK_S_LOCKSET_MAINTAIN

I_APPL_WORK_AREA -

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

I_WMODE -

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

I_UPD_ONLINE -

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

I_DIALOG_OPTIONS -

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

IX_UNIQUE_EXPANSION -

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

IT_EXP_GPART -

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

IT_EXP_VKONT -

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

I_POPUP_TITLE -

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

I_UNAME - SAP System, User Logon Name

Data type: SY-UNAME
Default: SY-UNAME
Optional: Yes
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_LOOBJ1 -

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

I_PROID -

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

I_LOTYP -

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

I_LOCKR -

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

I_FDATE -

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

I_TDATE -

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

TABLES Parameters details for FKK_S_LOCKSET_MAINTAIN

IT_FKKR_LOOBJ1 -

Data type: FKKR_LOOBJ
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_LOTYP -

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

IT_FKKR_LOCKR -

Data type: FKKR_LOCKR
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)

EXCEPTIONS details

WMODE_NOT_SUPPORTED -

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

NOT_FOUND -

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

EXP_NOT_UNIQUE -

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

Copy and paste ABAP code example for FKK_S_LOCKSET_MAINTAIN 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_fkkr_loobj1  TYPE STANDARD TABLE OF FKKR_LOOBJ, "   
lv_i_appl_work_area  TYPE FKKR_LOOBJ, "   
lv_wmode_not_supported  TYPE FKKR_LOOBJ, "   
lv_i_wmode  TYPE FKKOOGEN-WMODE, "   
lv_i_upd_online  TYPE FKKOOGEN-UPD_ONLINE, "   
lv_i_dialog_options  TYPE FKLOC_LOCK_DIALOG_OPTIONS, "   
lv_ix_unique_expansion  TYPE BOOLE-BOOLE, "   'X'
lv_it_exp_gpart  TYPE FKLOC_EXP_GPART, "   
lv_it_exp_vkont  TYPE FKLOC_EXP_VKONT, "   
lv_i_popup_title  TYPE SY-TITLE, "   SPACE
lv_i_uname  TYPE SY-UNAME, "   SY-UNAME
lv_i_gpart  TYPE DFKKLOCKS-GPART, "   
lv_not_found  TYPE DFKKLOCKS, "   
lt_it_fkkr_proid  TYPE STANDARD TABLE OF FKKR_PROID, "   
lv_i_vkont  TYPE DFKKLOCKS-VKONT, "   
lt_it_fkkr_lotyp  TYPE STANDARD TABLE OF FKKR_LOTYP, "   
lv_exp_not_unique  TYPE FKKR_LOTYP, "   
lv_i_loobj1  TYPE DFKKLOCKS-LOOBJ1, "   
lt_it_fkkr_lockr  TYPE STANDARD TABLE OF FKKR_LOCKR, "   
lv_i_proid  TYPE DFKKLOCKS-PROID, "   
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_lockr  TYPE DFKKLOCKS-LOCKR, "   
lv_i_fdate  TYPE DFKKLOCKS-FDATE, "   
lv_i_tdate  TYPE DFKKLOCKS-TDATE. "   

  CALL FUNCTION 'FKK_S_LOCKSET_MAINTAIN'  "
    EXPORTING
         I_APPL_WORK_AREA = lv_i_appl_work_area
         I_WMODE = lv_i_wmode
         I_UPD_ONLINE = lv_i_upd_online
         I_DIALOG_OPTIONS = lv_i_dialog_options
         IX_UNIQUE_EXPANSION = lv_ix_unique_expansion
         IT_EXP_GPART = lv_it_exp_gpart
         IT_EXP_VKONT = lv_it_exp_vkont
         I_POPUP_TITLE = lv_i_popup_title
         I_UNAME = lv_i_uname
         I_GPART = lv_i_gpart
         I_VKONT = lv_i_vkont
         I_LOOBJ1 = lv_i_loobj1
         I_PROID = lv_i_proid
         I_LOTYP = lv_i_lotyp
         I_LOCKR = lv_i_lockr
         I_FDATE = lv_i_fdate
         I_TDATE = lv_i_tdate
    TABLES
         IT_FKKR_LOOBJ1 = lt_it_fkkr_loobj1
         IT_FKKR_PROID = lt_it_fkkr_proid
         IT_FKKR_LOTYP = lt_it_fkkr_lotyp
         IT_FKKR_LOCKR = lt_it_fkkr_lockr
         IT_FKKR_FDATE = lt_it_fkkr_fdate
         IT_FKKR_TDATE = lt_it_fkkr_tdate
    EXCEPTIONS
        WMODE_NOT_SUPPORTED = 1
        NOT_FOUND = 2
        EXP_NOT_UNIQUE = 3
. " FKK_S_LOCKSET_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM FKK_S_LOCKSET_MAINTAIN

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 WMODE FROM FKKOOGEN INTO @DATA(ld_i_wmode).
 
"SELECT single UPD_ONLINE FROM FKKOOGEN INTO @DATA(ld_i_upd_online).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_unique_expansion).
DATA(ld_ix_unique_expansion) = 'X'.
 
 
 
"SELECT single TITLE FROM SY INTO @DATA(ld_i_popup_title).
DATA(ld_i_popup_title) = ' '.
 
"SELECT single UNAME FROM SY INTO @DATA(ld_i_uname).
DATA(ld_i_uname) = SY-UNAME.
 
"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_loobj1).
 
 
"SELECT single PROID FROM DFKKLOCKS INTO @DATA(ld_i_proid).
 
 
"SELECT single LOTYP FROM DFKKLOCKS INTO @DATA(ld_i_lotyp).
 
 
"SELECT single LOCKR FROM DFKKLOCKS INTO @DATA(ld_i_lockr).
 
"SELECT single FDATE FROM DFKKLOCKS INTO @DATA(ld_i_fdate).
 
"SELECT single TDATE FROM DFKKLOCKS INTO @DATA(ld_i_tdate).
 


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!