SAP SEO_METHOD_GENERATE_INCLUDE Function Module for Methoden-Include generieren









SEO_METHOD_GENERATE_INCLUDE is a standard seo method generate include SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Methoden-Include generieren 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 method generate include FM, simply by entering the name SEO_METHOD_GENERATE_INCLUDE into the relevant SAP transaction such as SE37 or SE38.

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



Function SEO_METHOD_GENERATE_INCLUDE 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_METHOD_GENERATE_INCLUDE'"Methoden-Include generieren
EXPORTING
* LIFECYCLE_MANAGER = "Lifecycle manager
* EDITOR_LOCK = SEOX_FALSE "Editor lock flag
* SUPPRESS_MTDKEY_CHECK = SEOX_FALSE "
* IMPLEMENTATION = "
* IMPLEMENTATION_EXPANDED = "
* SUPPRESS_CORR = SEOX_FALSE "Korrektureintrag wird unterdrückt
* REDEFINE = SEOX_FALSE "Redefintion
* FORCE = SEOX_FALSE "Existierendes Include wird überschrieben
* VERSION = SEOC_VERSION_ACTIVE "*** Obsolet! ***
MTDKEY = "
* SUPPRESS_MODIFICATION_SUPPORT = SEOX_FALSE "
* ENHANCEMENT = ' ' "Id eines Enhancements
* EXTEND = SEOX_FALSE "
* SUPPRESS_INDEX_UPDATE = SEOX_FALSE "
* WITH_SUPER_CALL = SEOX_FALSE "
* WITHOUT_METHOD_FRAME = SEOX_FALSE "
* CORRNR = "Request/Task
* GENERATED = SEOX_FALSE "Generated code

EXCEPTIONS
NOT_EXISTING = 1 METHOD_IS_FINAL_IMPLEMENTED = 10 INTERNAL_ERROR_INSERT_REPORT = 11 MODEL_ONLY = 2 INCLUDE_EXISTING = 3 METHOD_IMP_NOT_GENERATED = 4 METHOD_IMP_NOT_INITIALISED = 5 _INTERNAL_CLASS_NOT_EXISTING = 6 _INTERNAL_METHOD_OVERFLOW = 7 CANCELLED = 8 METHOD_IS_ABSTRACT_IMPLEMENTED = 9
.



IMPORTING Parameters details for SEO_METHOD_GENERATE_INCLUDE

LIFECYCLE_MANAGER - Lifecycle manager

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

EDITOR_LOCK - Editor lock flag

Data type: EDTX
Default: SEOX_FALSE
Optional: No
Call by Reference: Yes

SUPPRESS_MTDKEY_CHECK -

Data type: SEOX_BOOLEAN
Default: SEOX_FALSE
Optional: No
Call by Reference: Yes

IMPLEMENTATION -

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

IMPLEMENTATION_EXPANDED -

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

SUPPRESS_CORR - Korrektureintrag wird unterdrückt

Data type: SEOX_BOOLEAN
Default: SEOX_FALSE
Optional: No
Call by Reference: Yes

REDEFINE - Redefintion

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

FORCE - Existierendes Include wird überschrieben

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

VERSION - *** Obsolet! ***

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

MTDKEY -

Data type: SEOCPDKEY
Optional: No
Call by Reference: Yes

SUPPRESS_MODIFICATION_SUPPORT -

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

ENHANCEMENT - Id eines Enhancements

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

EXTEND -

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

SUPPRESS_INDEX_UPDATE -

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

WITH_SUPER_CALL -

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

WITHOUT_METHOD_FRAME -

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

CORRNR - Request/Task

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

GENERATED - Generated code

Data type: SEOX_BOOLEAN
Default: SEOX_FALSE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NOT_EXISTING -

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

METHOD_IS_FINAL_IMPLEMENTED -

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

INTERNAL_ERROR_INSERT_REPORT -

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

MODEL_ONLY -

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

INCLUDE_EXISTING -

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

METHOD_IMP_NOT_GENERATED -

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

METHOD_IMP_NOT_INITIALISED -

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

_INTERNAL_CLASS_NOT_EXISTING -

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

_INTERNAL_METHOD_OVERFLOW -

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

CANCELLED -

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

METHOD_IS_ABSTRACT_IMPLEMENTED -

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

Copy and paste ABAP code example for SEO_METHOD_GENERATE_INCLUDE 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_not_existing  TYPE STRING, "   
lv_lifecycle_manager  TYPE IF_ADT_LIFECYCLE_MANAGER, "   
lv_editor_lock  TYPE EDTX, "   SEOX_FALSE
lv_method_is_final_implemented  TYPE EDTX, "   
lv_suppress_mtdkey_check  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_internal_error_insert_report  TYPE SEOX_BOOLEAN, "   
lv_implementation  TYPE SEOP_SOURCE, "   
lv_implementation_expanded  TYPE SEOP_SOURCE_STRING, "   
lv_suppress_corr  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_redefine  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_force  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_version  TYPE SEOVERSION, "   SEOC_VERSION_ACTIVE
lv_mtdkey  TYPE SEOCPDKEY, "   
lv_model_only  TYPE SEOCPDKEY, "   
lv_suppress_modification_support  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_enhancement  TYPE ENHNAME, "   SPACE
lv_include_existing  TYPE ENHNAME, "   
lv_extend  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_method_imp_not_generated  TYPE SEOX_BOOLEAN, "   
lv_suppress_index_update  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_method_imp_not_initialised  TYPE SEOX_BOOLEAN, "   
lv_with_super_call  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv__internal_class_not_existing  TYPE SEOX_BOOLEAN, "   
lv_without_method_frame  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv__internal_method_overflow  TYPE SEOX_BOOLEAN, "   
lv_corrnr  TYPE TRKORR, "   
lv_cancelled  TYPE TRKORR, "   
lv_generated  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_method_is_abstract_implemented  TYPE SEOX_BOOLEAN. "   

  CALL FUNCTION 'SEO_METHOD_GENERATE_INCLUDE'  "Methoden-Include generieren
    EXPORTING
         LIFECYCLE_MANAGER = lv_lifecycle_manager
         EDITOR_LOCK = lv_editor_lock
         SUPPRESS_MTDKEY_CHECK = lv_suppress_mtdkey_check
         IMPLEMENTATION = lv_implementation
         IMPLEMENTATION_EXPANDED = lv_implementation_expanded
         SUPPRESS_CORR = lv_suppress_corr
         REDEFINE = lv_redefine
         FORCE = lv_force
         VERSION = lv_version
         MTDKEY = lv_mtdkey
         SUPPRESS_MODIFICATION_SUPPORT = lv_suppress_modification_support
         ENHANCEMENT = lv_enhancement
         EXTEND = lv_extend
         SUPPRESS_INDEX_UPDATE = lv_suppress_index_update
         WITH_SUPER_CALL = lv_with_super_call
         WITHOUT_METHOD_FRAME = lv_without_method_frame
         CORRNR = lv_corrnr
         GENERATED = lv_generated
    EXCEPTIONS
        NOT_EXISTING = 1
        METHOD_IS_FINAL_IMPLEMENTED = 10
        INTERNAL_ERROR_INSERT_REPORT = 11
        MODEL_ONLY = 2
        INCLUDE_EXISTING = 3
        METHOD_IMP_NOT_GENERATED = 4
        METHOD_IMP_NOT_INITIALISED = 5
        _INTERNAL_CLASS_NOT_EXISTING = 6
        _INTERNAL_METHOD_OVERFLOW = 7
        CANCELLED = 8
        METHOD_IS_ABSTRACT_IMPLEMENTED = 9
. " SEO_METHOD_GENERATE_INCLUDE




ABAP code using 7.40 inline data declarations to call FM SEO_METHOD_GENERATE_INCLUDE

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_editor_lock) = SEOX_FALSE.
 
 
DATA(ld_suppress_mtdkey_check) = SEOX_FALSE.
 
 
 
 
DATA(ld_suppress_corr) = SEOX_FALSE.
 
DATA(ld_redefine) = SEOX_FALSE.
 
DATA(ld_force) = SEOX_FALSE.
 
DATA(ld_version) = SEOC_VERSION_ACTIVE.
 
 
 
DATA(ld_suppress_modification_support) = SEOX_FALSE.
 
DATA(ld_enhancement) = ' '.
 
 
DATA(ld_extend) = SEOX_FALSE.
 
 
DATA(ld_suppress_index_update) = SEOX_FALSE.
 
 
DATA(ld_with_super_call) = SEOX_FALSE.
 
 
DATA(ld_without_method_frame) = SEOX_FALSE.
 
 
 
 
DATA(ld_generated) = 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!