SAP Function Modules

SEO_CLASS_CREATE_COMPLETE SAP Function module - Komplette Klasse aus Parametern neu anlegen







SEO_CLASS_CREATE_COMPLETE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name SEO_CLASS_CREATE_COMPLETE into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: SEOQ
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM SEO_CLASS_CREATE_COMPLETE - SEO CLASS CREATE COMPLETE





CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE' "Komplette Klasse aus Parametern neu anlegen
  EXPORTING
*   corrnr =                    " trkorr        Correction Number
*   devclass =                  " devclass      Package
    version = SEOC_VERSION_INACTIVE  " seoversion  Active/Inactive
    genflag = SPACE             " genflag       Generation Flag
    authority_check = SEOX_TRUE  " seox_boolean
    overwrite = SEOX_FALSE      " seox_boolean
    suppress_method_generation = SEOX_FALSE  " seox_boolean
    suppress_refactoring_support = SEOX_TRUE  " seox_boolean
*   method_sources =            " seo_method_source_table  Table of Methodsources
*   locals_def =                " rswsourcet    Sourcetext klassenlokaler Klassen (Definitionsteil)
*   locals_imp =                " rswsourcet    Sourcetext klassenlokaler Klassen (Implementierungsteil)
*   locals_mac =                " rswsourcet    ABAP-Source
    suppress_index_update = SEOX_FALSE  " seox_boolean
*   typesrc =                   " seoo_typesrc  Updated type Source parameter to support more than 9999 characters
    suppress_corr = SEOX_FALSE  " seox_boolean
*   suppress_dialog =           " seox_boolean
*   lifecycle_manager =         " if_adt_lifecycle_manager  Lifecycle manager
*   locals_au =                 " rswsourcet    Sourcecode for local testclasses
*   lock_handle =               " if_adt_lock_handle  Lock Handle
    suppress_unlock = SEOX_FALSE  " seox_boolean
    suppress_commit = SEOX_FALSE  " seox_boolean  No DB_COMMIT will be executed
  IMPORTING
    korrnr =                    " trkorr        Request/Task
* TABLES
*   class_descriptions =        " seoclasstx    Short description class/interface
*   component_descriptions =    " seocompotx    Short description class/interface component
*   subcomponent_descriptions =   " seosubcotx  Class/interface subcomponent short description
  CHANGING
    class =                     " vseoclass
*   inheritance =               " vseoextend
*   redefinitions =             " seor_redefinitions_r
*   implementings =             " seor_implementings_r
*   impl_details =              " seo_redefinitions
*   attributes =                " seoo_attributes_r
*   methods =                   " seoo_methods_r
*   events =                    " seoo_events_r
*   types =                     " seoo_types_r
*   type_source =               " seop_source   This parameter is deprecated. Please use typesrc.
*   parameters =                " seos_parameters_r
*   exceps =                    " seos_exceptions_r
*   aliases =                   " seoo_aliases_r
*   typepusages =               " seot_typepusages_r  Type group application
*   clsdeferrds =               " seot_clsdeferrds_r
*   intdeferrds =               " seot_intdeferrds_r
*   friendships =               " seo_friends
  EXCEPTIONS
    EXISTING = 1                "
    IS_INTERFACE = 2            "
    DB_ERROR = 3                "
    COMPONENT_ERROR = 4         "
    NO_ACCESS = 5               "
    OTHER = 6                   "
    .  "  SEO_CLASS_CREATE_COMPLETE

ABAP code example for Function Module SEO_CLASS_CREATE_COMPLETE





The ABAP code below is a full code listing to execute function module SEO_CLASS_CREATE_COMPLETE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_korrnr  TYPE TRKORR ,
it_class_descriptions  TYPE STANDARD TABLE OF SEOCLASSTX,"TABLES PARAM
wa_class_descriptions  LIKE LINE OF it_class_descriptions ,
it_component_descriptions  TYPE STANDARD TABLE OF SEOCOMPOTX,"TABLES PARAM
wa_component_descriptions  LIKE LINE OF it_component_descriptions ,
it_subcomponent_descriptions  TYPE STANDARD TABLE OF SEOSUBCOTX,"TABLES PARAM
wa_subcomponent_descriptions  LIKE LINE OF it_subcomponent_descriptions .

DATA(ld_class) = 'Check type of data required'.
DATA(ld_inheritance) = 'Check type of data required'.
DATA(ld_redefinitions) = 'Check type of data required'.
DATA(ld_implementings) = 'Check type of data required'.
DATA(ld_impl_details) = 'Check type of data required'.
DATA(ld_attributes) = 'Check type of data required'.
DATA(ld_methods) = 'Check type of data required'.
DATA(ld_events) = 'Check type of data required'.
DATA(ld_types) = 'Check type of data required'.
DATA(ld_type_source) = 'Check type of data required'.
DATA(ld_parameters) = 'Check type of data required'.
DATA(ld_exceps) = 'Check type of data required'.
DATA(ld_aliases) = 'Check type of data required'.
DATA(ld_typepusages) = 'Check type of data required'.
DATA(ld_clsdeferrds) = 'Check type of data required'.
DATA(ld_intdeferrds) = 'Check type of data required'.
DATA(ld_friendships) = 'Check type of data required'.
DATA(ld_corrnr) = 'Check type of data required'.
DATA(ld_devclass) = 'Check type of data required'.
DATA(ld_version) = 'Check type of data required'.
DATA(ld_genflag) = 'Check type of data required'.
DATA(ld_authority_check) = 'Check type of data required'.
DATA(ld_overwrite) = 'Check type of data required'.
DATA(ld_suppress_method_generation) = 'Check type of data required'.
DATA(ld_suppress_refactoring_support) = 'Check type of data required'.
DATA(ld_method_sources) = 'Check type of data required'.
DATA(ld_locals_def) = 'Check type of data required'.
DATA(ld_locals_imp) = 'Check type of data required'.
DATA(ld_locals_mac) = 'Check type of data required'.
DATA(ld_suppress_index_update) = 'Check type of data required'.
DATA(ld_typesrc) = 'Check type of data required'.
DATA(ld_suppress_corr) = 'Check type of data required'.
DATA(ld_suppress_dialog) = 'Check type of data required'.
DATA(ld_lifecycle_manager) = 'Check type of data required'.
DATA(ld_locals_au) = 'Check type of data required'.
DATA(ld_lock_handle) = 'Check type of data required'.
DATA(ld_suppress_unlock) = 'Check type of data required'.
DATA(ld_suppress_commit) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_class_descriptions to it_class_descriptions.

"populate fields of struture and append to itab
append wa_component_descriptions to it_component_descriptions.

"populate fields of struture and append to itab
append wa_subcomponent_descriptions to it_subcomponent_descriptions. . CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE' EXPORTING * corrnr = ld_corrnr * devclass = ld_devclass version = ld_version genflag = ld_genflag authority_check = ld_authority_check overwrite = ld_overwrite suppress_method_generation = ld_suppress_method_generation suppress_refactoring_support = ld_suppress_refactoring_support * method_sources = ld_method_sources * locals_def = ld_locals_def * locals_imp = ld_locals_imp * locals_mac = ld_locals_mac suppress_index_update = ld_suppress_index_update * typesrc = ld_typesrc suppress_corr = ld_suppress_corr * suppress_dialog = ld_suppress_dialog * lifecycle_manager = ld_lifecycle_manager * locals_au = ld_locals_au * lock_handle = ld_lock_handle suppress_unlock = ld_suppress_unlock suppress_commit = ld_suppress_commit IMPORTING korrnr = ld_korrnr * TABLES * class_descriptions = it_class_descriptions * component_descriptions = it_component_descriptions * subcomponent_descriptions = it_subcomponent_descriptions CHANGING class = ld_class * inheritance = ld_inheritance * redefinitions = ld_redefinitions * implementings = ld_implementings * impl_details = ld_impl_details * attributes = ld_attributes * methods = ld_methods * events = ld_events * types = ld_types * type_source = ld_type_source * parameters = ld_parameters * exceps = ld_exceps * aliases = ld_aliases * typepusages = ld_typepusages * clsdeferrds = ld_clsdeferrds * intdeferrds = ld_intdeferrds * friendships = ld_friendships EXCEPTIONS EXISTING = 1 IS_INTERFACE = 2 DB_ERROR = 3 COMPONENT_ERROR = 4 NO_ACCESS = 5 OTHER = 6 . " SEO_CLASS_CREATE_COMPLETE
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_class  TYPE VSEOCLASS ,
it_class_descriptions  TYPE STANDARD TABLE OF SEOCLASSTX ,
wa_class_descriptions  LIKE LINE OF it_class_descriptions,
ld_korrnr  TYPE TRKORR ,
ld_corrnr  TYPE TRKORR ,
ld_inheritance  TYPE VSEOEXTEND ,
it_component_descriptions  TYPE STANDARD TABLE OF SEOCOMPOTX ,
wa_component_descriptions  LIKE LINE OF it_component_descriptions,
ld_devclass  TYPE DEVCLASS ,
ld_redefinitions  TYPE SEOR_REDEFINITIONS_R ,
it_subcomponent_descriptions  TYPE STANDARD TABLE OF SEOSUBCOTX ,
wa_subcomponent_descriptions  LIKE LINE OF it_subcomponent_descriptions,
ld_version  TYPE SEOVERSION ,
ld_implementings  TYPE SEOR_IMPLEMENTINGS_R ,
ld_genflag  TYPE GENFLAG ,
ld_impl_details  TYPE SEO_REDEFINITIONS ,
ld_authority_check  TYPE SEOX_BOOLEAN ,
ld_overwrite  TYPE SEOX_BOOLEAN ,
ld_attributes  TYPE SEOO_ATTRIBUTES_R ,
ld_suppress_method_generation  TYPE SEOX_BOOLEAN ,
ld_methods  TYPE SEOO_METHODS_R ,
ld_suppress_refactoring_support  TYPE SEOX_BOOLEAN ,
ld_events  TYPE SEOO_EVENTS_R ,
ld_method_sources  TYPE SEO_METHOD_SOURCE_TABLE ,
ld_types  TYPE SEOO_TYPES_R ,
ld_locals_def  TYPE RSWSOURCET ,
ld_type_source  TYPE SEOP_SOURCE ,
ld_locals_imp  TYPE RSWSOURCET ,
ld_parameters  TYPE SEOS_PARAMETERS_R ,
ld_locals_mac  TYPE RSWSOURCET ,
ld_exceps  TYPE SEOS_EXCEPTIONS_R ,
ld_suppress_index_update  TYPE SEOX_BOOLEAN ,
ld_aliases  TYPE SEOO_ALIASES_R ,
ld_typesrc  TYPE SEOO_TYPESRC ,
ld_typepusages  TYPE SEOT_TYPEPUSAGES_R ,
ld_clsdeferrds  TYPE SEOT_CLSDEFERRDS_R ,
ld_suppress_corr  TYPE SEOX_BOOLEAN ,
ld_intdeferrds  TYPE SEOT_INTDEFERRDS_R ,
ld_suppress_dialog  TYPE SEOX_BOOLEAN ,
ld_lifecycle_manager  TYPE IF_ADT_LIFECYCLE_MANAGER ,
ld_friendships  TYPE SEO_FRIENDS ,
ld_locals_au  TYPE RSWSOURCET ,
ld_lock_handle  TYPE IF_ADT_LOCK_HANDLE ,
ld_suppress_unlock  TYPE SEOX_BOOLEAN ,
ld_suppress_commit  TYPE SEOX_BOOLEAN .

ld_class = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_class_descriptions to it_class_descriptions.
ld_corrnr = 'Check type of data required'.
ld_inheritance = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_component_descriptions to it_component_descriptions.
ld_devclass = 'Check type of data required'.
ld_redefinitions = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_subcomponent_descriptions to it_subcomponent_descriptions.
ld_version = 'Check type of data required'.
ld_implementings = 'Check type of data required'.
ld_genflag = 'Check type of data required'.
ld_impl_details = 'Check type of data required'.
ld_authority_check = 'Check type of data required'.
ld_overwrite = 'Check type of data required'.
ld_attributes = 'Check type of data required'.
ld_suppress_method_generation = 'Check type of data required'.
ld_methods = 'Check type of data required'.
ld_suppress_refactoring_support = 'Check type of data required'.
ld_events = 'Check type of data required'.
ld_method_sources = 'Check type of data required'.
ld_types = 'Check type of data required'.
ld_locals_def = 'Check type of data required'.
ld_type_source = 'Check type of data required'.
ld_locals_imp = 'Check type of data required'.
ld_parameters = 'Check type of data required'.
ld_locals_mac = 'Check type of data required'.
ld_exceps = 'Check type of data required'.
ld_suppress_index_update = 'Check type of data required'.
ld_aliases = 'Check type of data required'.
ld_typesrc = 'Check type of data required'.
ld_typepusages = 'Check type of data required'.
ld_clsdeferrds = 'Check type of data required'.
ld_suppress_corr = 'Check type of data required'.
ld_intdeferrds = 'Check type of data required'.
ld_suppress_dialog = 'Check type of data required'.
ld_lifecycle_manager = 'Check type of data required'.
ld_friendships = 'Check type of data required'.
ld_locals_au = 'Check type of data required'.
ld_lock_handle = 'Check type of data required'.
ld_suppress_unlock = 'Check type of data required'.
ld_suppress_commit = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name SEO_CLASS_CREATE_COMPLETE or its description.