SAP FKK_DB_SECURITY_SELECT Function Module for









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

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



Function FKK_DB_SECURITY_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_DB_SECURITY_SELECT'"
EXPORTING
* X_SECURITY = "
* X_VTREF = "
* X_VKONT = "
* I_ARCHD = "

TABLES
* X_IRSECURITY = "
* Y_FKK_SEC_C = "
* Y_FKK_SEC = "
* Y_FKK_SEC_N = "
* Y_FKK_SEC_REQ = "

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for FKK_DB_SECURITY_SELECT

X_SECURITY -

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

X_VTREF -

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

X_VKONT -

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

I_ARCHD -

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

TABLES Parameters details for FKK_DB_SECURITY_SELECT

X_IRSECURITY -

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

Y_FKK_SEC_C -

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

Y_FKK_SEC -

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

Y_FKK_SEC_N -

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

Y_FKK_SEC_REQ -

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

EXCEPTIONS details

NOT_FOUND -

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

Copy and paste ABAP code example for FKK_DB_SECURITY_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:
lv_not_found  TYPE STRING, "   
lv_x_security  TYPE FKK_SEC_D-SECURITY, "   
lt_x_irsecurity  TYPE STANDARD TABLE OF IRSECURITY, "   
lv_x_vtref  TYPE FKK_SEC_D-VTREF, "   
lt_y_fkk_sec_c  TYPE STANDARD TABLE OF FKK_SEC_C, "   
lv_x_vkont  TYPE FKK_SEC_D-VKONT, "   
lt_y_fkk_sec  TYPE STANDARD TABLE OF FKK_SEC, "   
lv_i_archd  TYPE XARCD_KK, "   
lt_y_fkk_sec_n  TYPE STANDARD TABLE OF FKK_SEC_N, "   
lt_y_fkk_sec_req  TYPE STANDARD TABLE OF FKK_SEC_REQ. "   

  CALL FUNCTION 'FKK_DB_SECURITY_SELECT'  "
    EXPORTING
         X_SECURITY = lv_x_security
         X_VTREF = lv_x_vtref
         X_VKONT = lv_x_vkont
         I_ARCHD = lv_i_archd
    TABLES
         X_IRSECURITY = lt_x_irsecurity
         Y_FKK_SEC_C = lt_y_fkk_sec_c
         Y_FKK_SEC = lt_y_fkk_sec
         Y_FKK_SEC_N = lt_y_fkk_sec_n
         Y_FKK_SEC_REQ = lt_y_fkk_sec_req
    EXCEPTIONS
        NOT_FOUND = 1
. " FKK_DB_SECURITY_SELECT




ABAP code using 7.40 inline data declarations to call FM FKK_DB_SECURITY_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 SECURITY FROM FKK_SEC_D INTO @DATA(ld_x_security).
 
 
"SELECT single VTREF FROM FKK_SEC_D INTO @DATA(ld_x_vtref).
 
 
"SELECT single VKONT FROM FKK_SEC_D INTO @DATA(ld_x_vkont).
 
 
 
 
 


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!