SAP EXIT_SAPLCLSC_001 Function Module for Customer Exit for Search Result









EXIT_SAPLCLSC_001 is a standard exit saplclsc 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer Exit for Search Result 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 exit saplclsc 001 FM, simply by entering the name EXIT_SAPLCLSC_001 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLCLSC_001 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 'EXIT_SAPLCLSC_001'"Customer Exit for Search Result
EXPORTING
I_CALLED_BY = "Shows the Function Where the Module is Called
I_KLART = "Class Type
I_CLASS = "Class

IMPORTING
EXIT001_ACTIVE = "'X': Changes are Transferred

TABLES
SELECTION_CRITERIA = "Selection Conditions
SELECTED_OBJECTS = "Selected Objects and Classes
OBJECT_VALUES = "Values Assigned to Objects and Classes
CHARACTERISTICS = "Characteristic Attributes
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
CLSC_ADDITIONAL_FILTER
CLSC_FREE_MEMORY
CLSC_GET_ACTIVE_DEPVIEWS
CLSC_NEW_SORT_FEATURE_VALUES
CLSC_PREPARE_RESULT_TO_EXTERN
CLSC_SEARCH_IN_CLASSTYPE
CLSC_SEARCH_OBJECTS
CLSC_SELECT_OBJECTS
CLSC_SELECT_OBJECTS_FROM_CLASS
CLSC_SELECT_SAME_OBJECT
CLSC_SELECT_WITH_GIVEN_OBJECTS

IMPORTING Parameters details for EXIT_SAPLCLSC_001

I_CALLED_BY - Shows the Function Where the Module is Called

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

I_KLART - Class Type

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

I_CLASS - Class

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

EXPORTING Parameters details for EXIT_SAPLCLSC_001

EXIT001_ACTIVE - 'X': Changes are Transferred

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

TABLES Parameters details for EXIT_SAPLCLSC_001

SELECTION_CRITERIA - Selection Conditions

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

SELECTED_OBJECTS - Selected Objects and Classes

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

OBJECT_VALUES - Values Assigned to Objects and Classes

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

CHARACTERISTICS - Characteristic Attributes

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

Copy and paste ABAP code example for EXIT_SAPLCLSC_001 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_called_by  TYPE STRING, "   
lv_exit001_active  TYPE SY-BATCH, "   
lt_selection_criteria  TYPE STANDARD TABLE OF COMW, "   
lv_i_klart  TYPE KLAH-KLART, "   
lt_selected_objects  TYPE STANDARD TABLE OF CLOBJ, "   
lv_i_class  TYPE KLAH-CLASS, "   
lt_object_values  TYPE STANDARD TABLE OF AUSP, "   
lt_characteristics  TYPE STANDARD TABLE OF CLSELFEATURES. "   

  CALL FUNCTION 'EXIT_SAPLCLSC_001'  "Customer Exit for Search Result
    EXPORTING
         I_CALLED_BY = lv_i_called_by
         I_KLART = lv_i_klart
         I_CLASS = lv_i_class
    IMPORTING
         EXIT001_ACTIVE = lv_exit001_active
    TABLES
         SELECTION_CRITERIA = lt_selection_criteria
         SELECTED_OBJECTS = lt_selected_objects
         OBJECT_VALUES = lt_object_values
         CHARACTERISTICS = lt_characteristics
. " EXIT_SAPLCLSC_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCLSC_001

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 BATCH FROM SY INTO @DATA(ld_exit001_active).
 
 
"SELECT single KLART FROM KLAH INTO @DATA(ld_i_klart).
 
 
"SELECT single CLASS FROM KLAH INTO @DATA(ld_i_class).
 
 
 


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!