SAP CLCA_PROCESS_CLASSTYPE Function Module for Classification: Check Existence of Class Type or List of Class Types









CLCA_PROCESS_CLASSTYPE is a standard clca process classtype SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Classification: Check Existence of Class Type or List of Class Types processing and below is the pattern details for this FM, 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 clca process classtype FM, simply by entering the name CLCA_PROCESS_CLASSTYPE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CLCA
Program Name: SAPLCLCA
Main Program: SAPLCLCA
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CLCA_PROCESS_CLASSTYPE 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 'CLCA_PROCESS_CLASSTYPE'"Classification: Check Existence of Class Type or List of Class Types
EXPORTING
* BATCHI = ' ' "Batch Input Active
* MULTI_CLASSIF = ' ' "Indicator: Multiple Classification Allowed
* OBJECTS_ONLY = ' ' "Display Classifiable Objects Only
* OBJ_ONLY_CLASSTYPE = ' ' "
* STANDARD = ' ' "Standard Class Type Indicator
* TABLE = ' ' "Table Names from TCLA
* TEXT = ' ' "Indicator: Text Maintenance Allowed
* TYPETEXT = ' ' "Class Type Description
* SPRAS = SY-LANGU "Language Key
* PTABLE = ' ' "Physical Table from TCLAO
* FROMCL20 = ' ' "Call CL20
* CATCHWORD = ' ' "Indicator: Keyword Allowed
* CHECKANYWAY = ' ' "
CLASSTYPE = "Class Type
* DIN_STANDARD = ' ' "Indicator: DIN Allowed
* DOCUMENT = ' ' "Indicator: Document Allowed
* DYNPROS = ' ' "X = Display Screens 600 and 601
* FEATURE = ' ' "Indicator: Characteristics Allowed
* KONFIGOBJ = ' ' "Indicator: Use in Configurable Objects
* MODE = '1' "2=Classification 1=Other

IMPORTING
CATCHWORD = "Indicator: Keyword Allowed
NO_CL_TRANS = "No CL2* Transactions Allowed
PTABLE = "Physical Table from TCLAO
STANDARD = "Standard Class Type Indicator
TABLE = "Table Names from TCLA
TEXT = "Indicator: Text Maintenance Allowed
TYPETEXT = "Class Type Description
IMPTCLA = "TCLA Returned
OK_ABBR = "OK Code for Cancel Selected
CLASSTYPE = "Class Type
DIN_STANDARD = "Indicator: DIN Allowed
DOCUMENT = "Indicator: Document Allowed
FEATURE = "Indicator: Characteristics Allowed
INTERNTYPE = "Internal Class Type
KONFIGOBJ = "Indicator: Use in Configurable Objects
MULTI_CLASSIF = "Indicator: Multiple Classification Allowed
MULT_OBJ = "Indicator: Multiple Objects Allowed

EXCEPTIONS
NOT_FOUND = 1 NO_AUTH_KLART = 2
.



IMPORTING Parameters details for CLCA_PROCESS_CLASSTYPE

BATCHI - Batch Input Active

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

MULTI_CLASSIF - Indicator: Multiple Classification Allowed

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

OBJECTS_ONLY - Display Classifiable Objects Only

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

OBJ_ONLY_CLASSTYPE -

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

STANDARD - Standard Class Type Indicator

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

TABLE - Table Names from TCLA

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

TEXT - Indicator: Text Maintenance Allowed

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

TYPETEXT - Class Type Description

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

SPRAS - Language Key

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

PTABLE - Physical Table from TCLAO

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

FROMCL20 - Call CL20

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

CATCHWORD - Indicator: Keyword Allowed

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

CHECKANYWAY -

Data type: C
Default: SPACE
Optional: No
Call by Reference: Yes

CLASSTYPE - Class Type

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

DIN_STANDARD - Indicator: DIN Allowed

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

DOCUMENT - Indicator: Document Allowed

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

DYNPROS - X = Display Screens 600 and 601

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

FEATURE - Indicator: Characteristics Allowed

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

KONFIGOBJ - Indicator: Use in Configurable Objects

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

MODE - 2=Classification 1=Other

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

EXPORTING Parameters details for CLCA_PROCESS_CLASSTYPE

CATCHWORD - Indicator: Keyword Allowed

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

NO_CL_TRANS - No CL2* Transactions Allowed

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

PTABLE - Physical Table from TCLAO

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

STANDARD - Standard Class Type Indicator

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

TABLE - Table Names from TCLA

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

TEXT - Indicator: Text Maintenance Allowed

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

TYPETEXT - Class Type Description

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

IMPTCLA - TCLA Returned

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

OK_ABBR - OK Code for Cancel Selected

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

CLASSTYPE - Class Type

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

DIN_STANDARD - Indicator: DIN Allowed

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

DOCUMENT - Indicator: Document Allowed

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

FEATURE - Indicator: Characteristics Allowed

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

INTERNTYPE - Internal Class Type

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

KONFIGOBJ - Indicator: Use in Configurable Objects

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

MULTI_CLASSIF - Indicator: Multiple Classification Allowed

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

MULT_OBJ - Indicator: Multiple Objects Allowed

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

EXCEPTIONS details

NOT_FOUND - Class Type Not in Table

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

NO_AUTH_KLART - No Authorization for This Class Type

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

Copy and paste ABAP code example for CLCA_PROCESS_CLASSTYPE 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_batchi  TYPE SY-BINPT, "   SPACE
lv_catchword  TYPE TCLA-SWOFL, "   
lv_not_found  TYPE TCLA, "   
lv_no_cl_trans  TYPE TCLA-TRACL, "   
lv_multi_classif  TYPE TCLA-MFKLS, "   SPACE
lv_ptable  TYPE TCLAO-OBTAB, "   
lv_objects_only  TYPE TCLAO, "   SPACE
lv_standard  TYPE TCLA-STAND, "   
lv_obj_only_classtype  TYPE RMCLF-KREUZ, "   SPACE
lv_table  TYPE TCLA-OBTAB, "   
lv_standard  TYPE TCLA-STAND, "   SPACE
lv_text  TYPE TCLA-TXTFL, "   
lv_table  TYPE TCLA-OBTAB, "   SPACE
lv_text  TYPE TCLA-TXTFL, "   SPACE
lv_typetext  TYPE RMCLF-ARTXT, "   
lv_imptcla  TYPE TCLA, "   
lv_typetext  TYPE RMCLF-ARTXT, "   SPACE
lv_spras  TYPE SY-LANGU, "   SY-LANGU
lv_ok_abbr  TYPE SY, "   
lv_ptable  TYPE TCLAO-OBTAB, "   SPACE
lv_fromcl20  TYPE TCLAO, "   SPACE
lv_catchword  TYPE TCLA-SWOFL, "   SPACE
lv_classtype  TYPE RMCLF-KLART, "   
lv_no_auth_klart  TYPE RMCLF, "   
lv_checkanyway  TYPE C, "   SPACE
lv_classtype  TYPE RMCLF-KLART, "   
lv_din_standard  TYPE TCLA-DINFL, "   
lv_document  TYPE TCLA-DOKFL, "   
lv_din_standard  TYPE TCLA-DINFL, "   SPACE
lv_feature  TYPE TCLA-SMEFL, "   
lv_document  TYPE TCLA-DOKFL, "   SPACE
lv_dynpros  TYPE TCLA, "   SPACE
lv_interntype  TYPE TCLA-INTKLART, "   
lv_feature  TYPE TCLA-SMEFL, "   SPACE
lv_konfigobj  TYPE TCLA-KONFOBJ, "   
lv_konfigobj  TYPE TCLA-KONFOBJ, "   SPACE
lv_multi_classif  TYPE TCLA-MFKLS, "   
lv_mode  TYPE C, "   '1'
lv_mult_obj  TYPE TCLA-MULTOBJ. "   

  CALL FUNCTION 'CLCA_PROCESS_CLASSTYPE'  "Classification: Check Existence of Class Type or List of Class Types
    EXPORTING
         BATCHI = lv_batchi
         MULTI_CLASSIF = lv_multi_classif
         OBJECTS_ONLY = lv_objects_only
         OBJ_ONLY_CLASSTYPE = lv_obj_only_classtype
         STANDARD = lv_standard
         TABLE = lv_table
         TEXT = lv_text
         TYPETEXT = lv_typetext
         SPRAS = lv_spras
         PTABLE = lv_ptable
         FROMCL20 = lv_fromcl20
         CATCHWORD = lv_catchword
         CHECKANYWAY = lv_checkanyway
         CLASSTYPE = lv_classtype
         DIN_STANDARD = lv_din_standard
         DOCUMENT = lv_document
         DYNPROS = lv_dynpros
         FEATURE = lv_feature
         KONFIGOBJ = lv_konfigobj
         MODE = lv_mode
    IMPORTING
         CATCHWORD = lv_catchword
         NO_CL_TRANS = lv_no_cl_trans
         PTABLE = lv_ptable
         STANDARD = lv_standard
         TABLE = lv_table
         TEXT = lv_text
         TYPETEXT = lv_typetext
         IMPTCLA = lv_imptcla
         OK_ABBR = lv_ok_abbr
         CLASSTYPE = lv_classtype
         DIN_STANDARD = lv_din_standard
         DOCUMENT = lv_document
         FEATURE = lv_feature
         INTERNTYPE = lv_interntype
         KONFIGOBJ = lv_konfigobj
         MULTI_CLASSIF = lv_multi_classif
         MULT_OBJ = lv_mult_obj
    EXCEPTIONS
        NOT_FOUND = 1
        NO_AUTH_KLART = 2
. " CLCA_PROCESS_CLASSTYPE




ABAP code using 7.40 inline data declarations to call FM CLCA_PROCESS_CLASSTYPE

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 BINPT FROM SY INTO @DATA(ld_batchi).
DATA(ld_batchi) = ' '.
 
"SELECT single SWOFL FROM TCLA INTO @DATA(ld_catchword).
 
 
"SELECT single TRACL FROM TCLA INTO @DATA(ld_no_cl_trans).
 
"SELECT single MFKLS FROM TCLA INTO @DATA(ld_multi_classif).
DATA(ld_multi_classif) = ' '.
 
"SELECT single OBTAB FROM TCLAO INTO @DATA(ld_ptable).
 
DATA(ld_objects_only) = ' '.
 
"SELECT single STAND FROM TCLA INTO @DATA(ld_standard).
 
"SELECT single KREUZ FROM RMCLF INTO @DATA(ld_obj_only_classtype).
DATA(ld_obj_only_classtype) = ' '.
 
"SELECT single OBTAB FROM TCLA INTO @DATA(ld_table).
 
"SELECT single STAND FROM TCLA INTO @DATA(ld_standard).
DATA(ld_standard) = ' '.
 
"SELECT single TXTFL FROM TCLA INTO @DATA(ld_text).
 
"SELECT single OBTAB FROM TCLA INTO @DATA(ld_table).
DATA(ld_table) = ' '.
 
"SELECT single TXTFL FROM TCLA INTO @DATA(ld_text).
DATA(ld_text) = ' '.
 
"SELECT single ARTXT FROM RMCLF INTO @DATA(ld_typetext).
 
 
"SELECT single ARTXT FROM RMCLF INTO @DATA(ld_typetext).
DATA(ld_typetext) = ' '.
 
"SELECT single LANGU FROM SY INTO @DATA(ld_spras).
DATA(ld_spras) = SY-LANGU.
 
 
"SELECT single OBTAB FROM TCLAO INTO @DATA(ld_ptable).
DATA(ld_ptable) = ' '.
 
DATA(ld_fromcl20) = ' '.
 
"SELECT single SWOFL FROM TCLA INTO @DATA(ld_catchword).
DATA(ld_catchword) = ' '.
 
"SELECT single KLART FROM RMCLF INTO @DATA(ld_classtype).
 
 
DATA(ld_checkanyway) = ' '.
 
"SELECT single KLART FROM RMCLF INTO @DATA(ld_classtype).
 
"SELECT single DINFL FROM TCLA INTO @DATA(ld_din_standard).
 
"SELECT single DOKFL FROM TCLA INTO @DATA(ld_document).
 
"SELECT single DINFL FROM TCLA INTO @DATA(ld_din_standard).
DATA(ld_din_standard) = ' '.
 
"SELECT single SMEFL FROM TCLA INTO @DATA(ld_feature).
 
"SELECT single DOKFL FROM TCLA INTO @DATA(ld_document).
DATA(ld_document) = ' '.
 
DATA(ld_dynpros) = ' '.
 
"SELECT single INTKLART FROM TCLA INTO @DATA(ld_interntype).
 
"SELECT single SMEFL FROM TCLA INTO @DATA(ld_feature).
DATA(ld_feature) = ' '.
 
"SELECT single KONFOBJ FROM TCLA INTO @DATA(ld_konfigobj).
 
"SELECT single KONFOBJ FROM TCLA INTO @DATA(ld_konfigobj).
DATA(ld_konfigobj) = ' '.
 
"SELECT single MFKLS FROM TCLA INTO @DATA(ld_multi_classif).
 
DATA(ld_mode) = '1'.
 
"SELECT single MULTOBJ FROM TCLA INTO @DATA(ld_mult_obj).
 


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!