SAP SEO_CLASS_CREATE_COMPLETE Function Module for Komplette Klasse aus Parametern neu anlegen
SEO_CLASS_CREATE_COMPLETE is a standard seo class create complete SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Komplette Klasse aus Parametern neu anlegen 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 create complete FM, simply by entering the name SEO_CLASS_CREATE_COMPLETE 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_CREATE_COMPLETE 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_CREATE_COMPLETE'"Komplette Klasse aus Parametern neu anlegen.
EXPORTING
* CORRNR = "Correction Number
* LOCALS_DEF = "Sourcetext klassenlokaler Klassen (Definitionsteil)
* LOCALS_IMP = "Sourcetext klassenlokaler Klassen (Implementierungsteil)
* LOCALS_MAC = "ABAP-Source
* SUPPRESS_INDEX_UPDATE = SEOX_FALSE "
* TYPESRC = "Updated type Source parameter to support more than 9999 characters
* SUPPRESS_CORR = SEOX_FALSE "
* SUPPRESS_DIALOG = "
* LIFECYCLE_MANAGER = "Lifecycle manager
* LOCALS_AU = "Sourcecode for local testclasses
* LOCK_HANDLE = "Lock Handle
* DEVCLASS = "Package
* SUPPRESS_UNLOCK = SEOX_FALSE "
* SUPPRESS_COMMIT = SEOX_FALSE "No DB_COMMIT will be executed
* VERSION = SEOC_VERSION_INACTIVE "Active/Inactive
* GENFLAG = ' ' "Generation Flag
* AUTHORITY_CHECK = SEOX_TRUE "
* OVERWRITE = SEOX_FALSE "
* SUPPRESS_METHOD_GENERATION = SEOX_FALSE "
* SUPPRESS_REFACTORING_SUPPORT = SEOX_TRUE "
* METHOD_SOURCES = "Table of Methodsources
IMPORTING
KORRNR = "Request/Task
CHANGING
CLASS = "
* TYPE_SOURCE = "This parameter is deprecated. Please use typesrc.
* PARAMETERS = "
* EXCEPS = "
* ALIASES = "
* TYPEPUSAGES = "Type group application
* CLSDEFERRDS = "
* INTDEFERRDS = "
* FRIENDSHIPS = "
* INHERITANCE = "
* REDEFINITIONS = "
* IMPLEMENTINGS = "
* IMPL_DETAILS = "
* ATTRIBUTES = "
* METHODS = "
* EVENTS = "
* TYPES = "
TABLES
* CLASS_DESCRIPTIONS = "Short description class/interface
* COMPONENT_DESCRIPTIONS = "Short description class/interface component
* SUBCOMPONENT_DESCRIPTIONS = "Class/interface subcomponent short description
EXCEPTIONS
EXISTING = 1 IS_INTERFACE = 2 DB_ERROR = 3 COMPONENT_ERROR = 4 NO_ACCESS = 5 OTHER = 6
IMPORTING Parameters details for SEO_CLASS_CREATE_COMPLETE
CORRNR - Correction Number
Data type: TRKORROptional: Yes
Call by Reference: No ( called with pass by value option)
LOCALS_DEF - Sourcetext klassenlokaler Klassen (Definitionsteil)
Data type: RSWSOURCETOptional: Yes
Call by Reference: Yes
LOCALS_IMP - Sourcetext klassenlokaler Klassen (Implementierungsteil)
Data type: RSWSOURCETOptional: Yes
Call by Reference: Yes
LOCALS_MAC - ABAP-Source
Data type: RSWSOURCETOptional: Yes
Call by Reference: Yes
SUPPRESS_INDEX_UPDATE -
Data type: SEOX_BOOLEANDefault: SEOX_FALSE
Optional: No
Call by Reference: Yes
TYPESRC - Updated type Source parameter to support more than 9999 characters
Data type: SEOO_TYPESRCOptional: Yes
Call by Reference: Yes
SUPPRESS_CORR -
Data type: SEOX_BOOLEANDefault: SEOX_FALSE
Optional: No
Call by Reference: No ( called with pass by value option)
SUPPRESS_DIALOG -
Data type: SEOX_BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
LIFECYCLE_MANAGER - Lifecycle manager
Data type: IF_ADT_LIFECYCLE_MANAGEROptional: Yes
Call by Reference: Yes
LOCALS_AU - Sourcecode for local testclasses
Data type: RSWSOURCETOptional: Yes
Call by Reference: Yes
LOCK_HANDLE - Lock Handle
Data type: IF_ADT_LOCK_HANDLEOptional: Yes
Call by Reference: Yes
DEVCLASS - Package
Data type: DEVCLASSOptional: Yes
Call by Reference: No ( called with pass by value option)
SUPPRESS_UNLOCK -
Data type: SEOX_BOOLEANDefault: SEOX_FALSE
Optional: No
Call by Reference: No ( called with pass by value option)
SUPPRESS_COMMIT - No DB_COMMIT will be executed
Data type: SEOX_BOOLEANDefault: SEOX_FALSE
Optional: No
Call by Reference: No ( called with pass by value option)
VERSION - Active/Inactive
Data type: SEOVERSIONDefault: SEOC_VERSION_INACTIVE
Optional: No
Call by Reference: No ( called with pass by value option)
GENFLAG - Generation Flag
Data type: GENFLAGDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
AUTHORITY_CHECK -
Data type: SEOX_BOOLEANDefault: SEOX_TRUE
Optional: No
Call by Reference: No ( called with pass by value option)
OVERWRITE -
Data type: SEOX_BOOLEANDefault: SEOX_FALSE
Optional: No
Call by Reference: No ( called with pass by value option)
SUPPRESS_METHOD_GENERATION -
Data type: SEOX_BOOLEANDefault: SEOX_FALSE
Optional: No
Call by Reference: No ( called with pass by value option)
SUPPRESS_REFACTORING_SUPPORT -
Data type: SEOX_BOOLEANDefault: SEOX_TRUE
Optional: No
Call by Reference: No ( called with pass by value option)
METHOD_SOURCES - Table of Methodsources
Data type: SEO_METHOD_SOURCE_TABLEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SEO_CLASS_CREATE_COMPLETE
KORRNR - Request/Task
Data type: TRKORROptional: No
Call by Reference: Yes
CHANGING Parameters details for SEO_CLASS_CREATE_COMPLETE
CLASS -
Data type: VSEOCLASSOptional: No
Call by Reference: Yes
TYPE_SOURCE - This parameter is deprecated. Please use typesrc.
Data type: SEOP_SOURCEOptional: Yes
Call by Reference: Yes
PARAMETERS -
Data type: SEOS_PARAMETERS_ROptional: Yes
Call by Reference: Yes
EXCEPS -
Data type: SEOS_EXCEPTIONS_ROptional: Yes
Call by Reference: Yes
ALIASES -
Data type: SEOO_ALIASES_ROptional: Yes
Call by Reference: Yes
TYPEPUSAGES - Type group application
Data type: SEOT_TYPEPUSAGES_ROptional: Yes
Call by Reference: Yes
CLSDEFERRDS -
Data type: SEOT_CLSDEFERRDS_ROptional: Yes
Call by Reference: Yes
INTDEFERRDS -
Data type: SEOT_INTDEFERRDS_ROptional: Yes
Call by Reference: Yes
FRIENDSHIPS -
Data type: SEO_FRIENDSOptional: Yes
Call by Reference: Yes
INHERITANCE -
Data type: VSEOEXTENDOptional: Yes
Call by Reference: Yes
REDEFINITIONS -
Data type: SEOR_REDEFINITIONS_ROptional: Yes
Call by Reference: Yes
IMPLEMENTINGS -
Data type: SEOR_IMPLEMENTINGS_ROptional: Yes
Call by Reference: Yes
IMPL_DETAILS -
Data type: SEO_REDEFINITIONSOptional: Yes
Call by Reference: Yes
ATTRIBUTES -
Data type: SEOO_ATTRIBUTES_ROptional: Yes
Call by Reference: Yes
METHODS -
Data type: SEOO_METHODS_ROptional: Yes
Call by Reference: Yes
EVENTS -
Data type: SEOO_EVENTS_ROptional: Yes
Call by Reference: Yes
TYPES -
Data type: SEOO_TYPES_ROptional: Yes
Call by Reference: Yes
TABLES Parameters details for SEO_CLASS_CREATE_COMPLETE
CLASS_DESCRIPTIONS - Short description class/interface
Data type: SEOCLASSTXOptional: Yes
Call by Reference: Yes
COMPONENT_DESCRIPTIONS - Short description class/interface component
Data type: SEOCOMPOTXOptional: Yes
Call by Reference: Yes
SUBCOMPONENT_DESCRIPTIONS - Class/interface subcomponent short description
Data type: SEOSUBCOTXOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
EXISTING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
IS_INTERFACE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
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_CREATE_COMPLETE 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_class | TYPE VSEOCLASS, " | |||
| lv_corrnr | TYPE TRKORR, " | |||
| lv_korrnr | TYPE TRKORR, " | |||
| lv_existing | TYPE TRKORR, " | |||
| lt_class_descriptions | TYPE STANDARD TABLE OF SEOCLASSTX, " | |||
| lv_locals_def | TYPE RSWSOURCET, " | |||
| lv_type_source | TYPE SEOP_SOURCE, " | |||
| lv_locals_imp | TYPE RSWSOURCET, " | |||
| lv_parameters | TYPE SEOS_PARAMETERS_R, " | |||
| lv_exceps | TYPE SEOS_EXCEPTIONS_R, " | |||
| lv_locals_mac | TYPE RSWSOURCET, " | |||
| lv_aliases | TYPE SEOO_ALIASES_R, " | |||
| lv_suppress_index_update | TYPE SEOX_BOOLEAN, " SEOX_FALSE | |||
| lv_typesrc | TYPE SEOO_TYPESRC, " | |||
| lv_typepusages | TYPE SEOT_TYPEPUSAGES_R, " | |||
| lv_clsdeferrds | TYPE SEOT_CLSDEFERRDS_R, " | |||
| lv_suppress_corr | TYPE SEOX_BOOLEAN, " SEOX_FALSE | |||
| lv_intdeferrds | TYPE SEOT_INTDEFERRDS_R, " | |||
| lv_suppress_dialog | TYPE SEOX_BOOLEAN, " | |||
| lv_friendships | TYPE SEO_FRIENDS, " | |||
| lv_lifecycle_manager | TYPE IF_ADT_LIFECYCLE_MANAGER, " | |||
| lv_locals_au | TYPE RSWSOURCET, " | |||
| lv_lock_handle | TYPE IF_ADT_LOCK_HANDLE, " | |||
| lv_devclass | TYPE DEVCLASS, " | |||
| lv_inheritance | TYPE VSEOEXTEND, " | |||
| lv_is_interface | TYPE VSEOEXTEND, " | |||
| lt_component_descriptions | TYPE STANDARD TABLE OF SEOCOMPOTX, " | |||
| lv_suppress_unlock | TYPE SEOX_BOOLEAN, " SEOX_FALSE | |||
| lv_suppress_commit | TYPE SEOX_BOOLEAN, " SEOX_FALSE | |||
| lv_version | TYPE SEOVERSION, " SEOC_VERSION_INACTIVE | |||
| lv_db_error | TYPE SEOVERSION, " | |||
| lv_redefinitions | TYPE SEOR_REDEFINITIONS_R, " | |||
| lt_subcomponent_descriptions | TYPE STANDARD TABLE OF SEOSUBCOTX, " | |||
| lv_genflag | TYPE GENFLAG, " SPACE | |||
| lv_implementings | TYPE SEOR_IMPLEMENTINGS_R, " | |||
| lv_component_error | TYPE SEOR_IMPLEMENTINGS_R, " | |||
| lv_no_access | TYPE SEOR_IMPLEMENTINGS_R, " | |||
| lv_impl_details | TYPE SEO_REDEFINITIONS, " | |||
| lv_authority_check | TYPE SEOX_BOOLEAN, " SEOX_TRUE | |||
| lv_other | TYPE SEOX_BOOLEAN, " | |||
| lv_overwrite | TYPE SEOX_BOOLEAN, " SEOX_FALSE | |||
| lv_attributes | TYPE SEOO_ATTRIBUTES_R, " | |||
| lv_methods | TYPE SEOO_METHODS_R, " | |||
| lv_suppress_method_generation | TYPE SEOX_BOOLEAN, " SEOX_FALSE | |||
| lv_events | TYPE SEOO_EVENTS_R, " | |||
| lv_suppress_refactoring_support | TYPE SEOX_BOOLEAN, " SEOX_TRUE | |||
| lv_types | TYPE SEOO_TYPES_R, " | |||
| lv_method_sources | TYPE SEO_METHOD_SOURCE_TABLE. " |
|   CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE' "Komplette Klasse aus Parametern neu anlegen |
| EXPORTING | ||
| CORRNR | = lv_corrnr | |
| LOCALS_DEF | = lv_locals_def | |
| LOCALS_IMP | = lv_locals_imp | |
| LOCALS_MAC | = lv_locals_mac | |
| SUPPRESS_INDEX_UPDATE | = lv_suppress_index_update | |
| TYPESRC | = lv_typesrc | |
| SUPPRESS_CORR | = lv_suppress_corr | |
| SUPPRESS_DIALOG | = lv_suppress_dialog | |
| LIFECYCLE_MANAGER | = lv_lifecycle_manager | |
| LOCALS_AU | = lv_locals_au | |
| LOCK_HANDLE | = lv_lock_handle | |
| DEVCLASS | = lv_devclass | |
| SUPPRESS_UNLOCK | = lv_suppress_unlock | |
| SUPPRESS_COMMIT | = lv_suppress_commit | |
| VERSION | = lv_version | |
| GENFLAG | = lv_genflag | |
| AUTHORITY_CHECK | = lv_authority_check | |
| OVERWRITE | = lv_overwrite | |
| SUPPRESS_METHOD_GENERATION | = lv_suppress_method_generation | |
| SUPPRESS_REFACTORING_SUPPORT | = lv_suppress_refactoring_support | |
| METHOD_SOURCES | = lv_method_sources | |
| IMPORTING | ||
| KORRNR | = lv_korrnr | |
| CHANGING | ||
| CLASS | = lv_class | |
| TYPE_SOURCE | = lv_type_source | |
| PARAMETERS | = lv_parameters | |
| EXCEPS | = lv_exceps | |
| ALIASES | = lv_aliases | |
| TYPEPUSAGES | = lv_typepusages | |
| CLSDEFERRDS | = lv_clsdeferrds | |
| INTDEFERRDS | = lv_intdeferrds | |
| FRIENDSHIPS | = lv_friendships | |
| INHERITANCE | = lv_inheritance | |
| REDEFINITIONS | = lv_redefinitions | |
| IMPLEMENTINGS | = lv_implementings | |
| IMPL_DETAILS | = lv_impl_details | |
| ATTRIBUTES | = lv_attributes | |
| METHODS | = lv_methods | |
| EVENTS | = lv_events | |
| TYPES | = lv_types | |
| TABLES | ||
| CLASS_DESCRIPTIONS | = lt_class_descriptions | |
| COMPONENT_DESCRIPTIONS | = lt_component_descriptions | |
| SUBCOMPONENT_DESCRIPTIONS | = lt_subcomponent_descriptions | |
| EXCEPTIONS | ||
| EXISTING = 1 | ||
| IS_INTERFACE = 2 | ||
| DB_ERROR = 3 | ||
| COMPONENT_ERROR = 4 | ||
| NO_ACCESS = 5 | ||
| OTHER = 6 | ||
| . " SEO_CLASS_CREATE_COMPLETE | ||
ABAP code using 7.40 inline data declarations to call FM SEO_CLASS_CREATE_COMPLETE
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_suppress_index_update) | = SEOX_FALSE. | |||
| DATA(ld_suppress_corr) | = SEOX_FALSE. | |||
| DATA(ld_suppress_unlock) | = SEOX_FALSE. | |||
| DATA(ld_suppress_commit) | = SEOX_FALSE. | |||
| DATA(ld_version) | = SEOC_VERSION_INACTIVE. | |||
| DATA(ld_genflag) | = ' '. | |||
| DATA(ld_authority_check) | = SEOX_TRUE. | |||
| DATA(ld_overwrite) | = SEOX_FALSE. | |||
| DATA(ld_suppress_method_generation) | = SEOX_FALSE. | |||
| DATA(ld_suppress_refactoring_support) | = SEOX_TRUE. | |||
Search for further information about these or an SAP related objects