SAP CLLA_CHANGE_DOC_CLASSIFICATION Function Module for









CLLA_CHANGE_DOC_CLASSIFICATION is a standard clla change doc classification 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 clla change doc classification FM, simply by entering the name CLLA_CHANGE_DOC_CLASSIFICATION into the relevant SAP transaction such as SE37 or SE38.

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



Function CLLA_CHANGE_DOC_CLASSIFICATION 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 'CLLA_CHANGE_DOC_CLASSIFICATION'"
EXPORTING
OBJECT = "Object
CLASSTYPE = "Class Type
OBJECT_TYPE = "
* OBJ_EQ_CUOBJ = "
* CHARACTERISTIC = "Characteristic
* DATUM = "
* WITH_LISTING = 'X' "Generate list
* ONLY_VALIDATION = ' ' "

TABLES
* CD_HEADER = "
* CD_POSITION = "Table of Items

EXCEPTIONS
NO_DATA = 1
.



IMPORTING Parameters details for CLLA_CHANGE_DOC_CLASSIFICATION

OBJECT - Object

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

CLASSTYPE - Class Type

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

OBJECT_TYPE -

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

OBJ_EQ_CUOBJ -

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

CHARACTERISTIC - Characteristic

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

DATUM -

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

WITH_LISTING - Generate list

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

ONLY_VALIDATION -

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

TABLES Parameters details for CLLA_CHANGE_DOC_CLASSIFICATION

CD_HEADER -

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

CD_POSITION - Table of Items

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

EXCEPTIONS details

NO_DATA - No documents found

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

Copy and paste ABAP code example for CLLA_CHANGE_DOC_CLASSIFICATION 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_object  TYPE KSSK-OBJEK, "   
lv_no_data  TYPE KSSK, "   
lt_cd_header  TYPE STANDARD TABLE OF CDHDR, "   
lv_classtype  TYPE KSSK-KLART, "   
lt_cd_position  TYPE STANDARD TABLE OF CDPOS, "   
lv_object_type  TYPE TCLA-OBTAB, "   
lv_obj_eq_cuobj  TYPE RMCLF-KREUZ, "   
lv_characteristic  TYPE CABN-ATNAM, "   
lv_datum  TYPE CDHDR-UDATE, "   
lv_with_listing  TYPE RMCLF-KREUZ, "   'X'
lv_only_validation  TYPE RMCLF-KREUZ. "   SPACE

  CALL FUNCTION 'CLLA_CHANGE_DOC_CLASSIFICATION'  "
    EXPORTING
         OBJECT = lv_object
         CLASSTYPE = lv_classtype
         OBJECT_TYPE = lv_object_type
         OBJ_EQ_CUOBJ = lv_obj_eq_cuobj
         CHARACTERISTIC = lv_characteristic
         DATUM = lv_datum
         WITH_LISTING = lv_with_listing
         ONLY_VALIDATION = lv_only_validation
    TABLES
         CD_HEADER = lt_cd_header
         CD_POSITION = lt_cd_position
    EXCEPTIONS
        NO_DATA = 1
. " CLLA_CHANGE_DOC_CLASSIFICATION




ABAP code using 7.40 inline data declarations to call FM CLLA_CHANGE_DOC_CLASSIFICATION

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 OBJEK FROM KSSK INTO @DATA(ld_object).
 
 
 
"SELECT single KLART FROM KSSK INTO @DATA(ld_classtype).
 
 
"SELECT single OBTAB FROM TCLA INTO @DATA(ld_object_type).
 
"SELECT single KREUZ FROM RMCLF INTO @DATA(ld_obj_eq_cuobj).
 
"SELECT single ATNAM FROM CABN INTO @DATA(ld_characteristic).
 
"SELECT single UDATE FROM CDHDR INTO @DATA(ld_datum).
 
"SELECT single KREUZ FROM RMCLF INTO @DATA(ld_with_listing).
DATA(ld_with_listing) = 'X'.
 
"SELECT single KREUZ FROM RMCLF INTO @DATA(ld_only_validation).
DATA(ld_only_validation) = ' '.
 


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!