SAP SEO_CLASS_ADD_COMPONENTS Function Module for Komponenten einer Klasse hinzufügen









SEO_CLASS_ADD_COMPONENTS is a standard seo class add components SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Komponenten einer Klasse hinzufügen 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 seo class add components FM, simply by entering the name SEO_CLASS_ADD_COMPONENTS into the relevant SAP transaction such as SE37 or SE38.

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



Function SEO_CLASS_ADD_COMPONENTS 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 'SEO_CLASS_ADD_COMPONENTS'"Komponenten einer Klasse hinzufügen
EXPORTING
CLSKEY = "Key structure of a class
* CORRNR = "Correction Number
* VERSION = SEOC_VERSION_INACTIVE "Active/Inactive
* AUTHORITY_CHECK = SEOX_TRUE "
* SUPPRESS_INDEX_UPDATE = SEOX_FALSE "X = suppress index actualization

CHANGING
* IMPLEMENTINGS = "
* ATTRIBUTES = "
* METHODS = "
* EVENTS = "
* TYPES = "
* TYPE_SOURCE = "
* PARAMETERS = "
* EXCEPS = "
* ALIASES = "

TABLES
* COMPONENT_DESCRIPTIONS = "Short description class/interface component
* SUBCOMPONENT_DESCRIPTIONS = "Class/interface subcomponent short description

EXCEPTIONS
CLASS_NOT_EXISTING = 1 DB_ERROR = 2 COMPONENT_ERROR = 3 NO_ACCESS = 4 OTHER = 5
.



IMPORTING Parameters details for SEO_CLASS_ADD_COMPONENTS

CLSKEY - Key structure of a class

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

CORRNR - Correction Number

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

VERSION - Active/Inactive

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

AUTHORITY_CHECK -

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

SUPPRESS_INDEX_UPDATE - X = suppress index actualization

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

CHANGING Parameters details for SEO_CLASS_ADD_COMPONENTS

IMPLEMENTINGS -

Data type: SEOR_IMPLEMENTINGS_R
Optional: Yes
Call by Reference: Yes

ATTRIBUTES -

Data type: SEOO_ATTRIBUTES_R
Optional: Yes
Call by Reference: Yes

METHODS -

Data type: SEOO_METHODS_R
Optional: Yes
Call by Reference: Yes

EVENTS -

Data type: SEOO_EVENTS_R
Optional: Yes
Call by Reference: Yes

TYPES -

Data type: SEOO_TYPES_R
Optional: Yes
Call by Reference: Yes

TYPE_SOURCE -

Data type: SEOP_SOURCE
Optional: Yes
Call by Reference: Yes

PARAMETERS -

Data type: SEOS_PARAMETERS_R
Optional: Yes
Call by Reference: Yes

EXCEPS -

Data type: SEOS_EXCEPTIONS_R
Optional: Yes
Call by Reference: Yes

ALIASES -

Data type: SEOO_ALIASES_R
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for SEO_CLASS_ADD_COMPONENTS

COMPONENT_DESCRIPTIONS - Short description class/interface component

Data type: SEOCOMPOTX
Optional: Yes
Call by Reference: Yes

SUBCOMPONENT_DESCRIPTIONS - Class/interface subcomponent short description

Data type: SEOSUBCOTX
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

CLASS_NOT_EXISTING -

Data type:
Optional: No
Call by Reference: Yes

DB_ERROR -

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

COMPONENT_ERROR -

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

NO_ACCESS -

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

OTHER -

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

Copy and paste ABAP code example for SEO_CLASS_ADD_COMPONENTS 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_clskey  TYPE SEOCLSKEY, "   
lv_implementings  TYPE SEOR_IMPLEMENTINGS_R, "   
lv_class_not_existing  TYPE SEOR_IMPLEMENTINGS_R, "   
lt_component_descriptions  TYPE STANDARD TABLE OF SEOCOMPOTX, "   
lv_corrnr  TYPE TRKORR, "   
lv_db_error  TYPE TRKORR, "   
lv_attributes  TYPE SEOO_ATTRIBUTES_R, "   
lt_subcomponent_descriptions  TYPE STANDARD TABLE OF SEOSUBCOTX, "   
lv_methods  TYPE SEOO_METHODS_R, "   
lv_version  TYPE SEOVERSION, "   SEOC_VERSION_INACTIVE
lv_component_error  TYPE SEOVERSION, "   
lv_events  TYPE SEOO_EVENTS_R, "   
lv_no_access  TYPE SEOO_EVENTS_R, "   
lv_authority_check  TYPE SEOX_BOOLEAN, "   SEOX_TRUE
lv_other  TYPE SEOX_BOOLEAN, "   
lv_types  TYPE SEOO_TYPES_R, "   
lv_suppress_index_update  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_type_source  TYPE SEOP_SOURCE, "   
lv_parameters  TYPE SEOS_PARAMETERS_R, "   
lv_exceps  TYPE SEOS_EXCEPTIONS_R, "   
lv_aliases  TYPE SEOO_ALIASES_R. "   

  CALL FUNCTION 'SEO_CLASS_ADD_COMPONENTS'  "Komponenten einer Klasse hinzufügen
    EXPORTING
         CLSKEY = lv_clskey
         CORRNR = lv_corrnr
         VERSION = lv_version
         AUTHORITY_CHECK = lv_authority_check
         SUPPRESS_INDEX_UPDATE = lv_suppress_index_update
    CHANGING
         IMPLEMENTINGS = lv_implementings
         ATTRIBUTES = lv_attributes
         METHODS = lv_methods
         EVENTS = lv_events
         TYPES = lv_types
         TYPE_SOURCE = lv_type_source
         PARAMETERS = lv_parameters
         EXCEPS = lv_exceps
         ALIASES = lv_aliases
    TABLES
         COMPONENT_DESCRIPTIONS = lt_component_descriptions
         SUBCOMPONENT_DESCRIPTIONS = lt_subcomponent_descriptions
    EXCEPTIONS
        CLASS_NOT_EXISTING = 1
        DB_ERROR = 2
        COMPONENT_ERROR = 3
        NO_ACCESS = 4
        OTHER = 5
. " SEO_CLASS_ADD_COMPONENTS




ABAP code using 7.40 inline data declarations to call FM SEO_CLASS_ADD_COMPONENTS

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.

 
 
 
 
 
 
 
 
 
DATA(ld_version) = SEOC_VERSION_INACTIVE.
 
 
 
 
DATA(ld_authority_check) = SEOX_TRUE.
 
 
 
DATA(ld_suppress_index_update) = SEOX_FALSE.
 
 
 
 
 


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!