SAP K_VRGNG_CLASSIFY Function Module for









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

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



Function K_VRGNG_CLASSIFY 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_VRGNG_CLASSIFY'"
EXPORTING
I_VRGNG = "
* I_USPOB = ' ' "

IMPORTING
E_RKACT_CL = "
E_COST_ELEM_PRI = "
E_COST_ELEM_SEC = "

EXCEPTIONS
NOT_FOUND = 1 INVALID_PARAMETER = 2
.



IMPORTING Parameters details for K_VRGNG_CLASSIFY

I_VRGNG -

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

I_USPOB -

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

EXPORTING Parameters details for K_VRGNG_CLASSIFY

E_RKACT_CL -

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

E_COST_ELEM_PRI -

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

E_COST_ELEM_SEC -

Data type: BOOLE-BOOLE
Optional: No
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)

INVALID_PARAMETER -

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

Copy and paste ABAP code example for K_VRGNG_CLASSIFY 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_i_vrgng  TYPE RKACT_CL-VRGNG, "   
lv_not_found  TYPE RKACT_CL, "   
lv_e_rkact_cl  TYPE RKACT_CL, "   
lv_i_uspob  TYPE COSS-USPOB, "   SPACE
lv_e_cost_elem_pri  TYPE BOOLE-BOOLE, "   
lv_invalid_parameter  TYPE BOOLE, "   
lv_e_cost_elem_sec  TYPE BOOLE-BOOLE. "   

  CALL FUNCTION 'K_VRGNG_CLASSIFY'  "
    EXPORTING
         I_VRGNG = lv_i_vrgng
         I_USPOB = lv_i_uspob
    IMPORTING
         E_RKACT_CL = lv_e_rkact_cl
         E_COST_ELEM_PRI = lv_e_cost_elem_pri
         E_COST_ELEM_SEC = lv_e_cost_elem_sec
    EXCEPTIONS
        NOT_FOUND = 1
        INVALID_PARAMETER = 2
. " K_VRGNG_CLASSIFY




ABAP code using 7.40 inline data declarations to call FM K_VRGNG_CLASSIFY

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 VRGNG FROM RKACT_CL INTO @DATA(ld_i_vrgng).
 
 
 
"SELECT single USPOB FROM COSS INTO @DATA(ld_i_uspob).
DATA(ld_i_uspob) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_e_cost_elem_pri).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_e_cost_elem_sec).
 


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!