SAP SEO_METHOD_DELETE_INCLUDE Function Module for Methoden-Include (inaktiv) löschen









SEO_METHOD_DELETE_INCLUDE is a standard seo method delete 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 (inaktiv) löschen 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 delete include FM, simply by entering the name SEO_METHOD_DELETE_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_DELETE_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_DELETE_INCLUDE'"Methoden-Include (inaktiv) löschen
EXPORTING
MTDKEY = "Method
* FORCE = SEOX_FALSE "
* SUPPRESS_CORR = SEOX_FALSE "
* SUPPRESS_COMMIT = SEOX_FALSE "---------------- obsolet ------------------
* SUPPRESS_DELETE_ENHA = SEOX_FALSE "
* LIFECYCLE_MANAGER = "Lifecycle manager
* SUPPRESS_INDEX_UPDATE = SEOX_FALSE "

CHANGING
* CORRNR = "Request/Task

EXCEPTIONS
_INTERNAL_CLASS_NOT_EXISTING = 1 _INTERNAL_METHOD_NOT_EXISTING = 2
.



IMPORTING Parameters details for SEO_METHOD_DELETE_INCLUDE

MTDKEY - Method

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

FORCE -

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

SUPPRESS_CORR -

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

SUPPRESS_COMMIT - ---------------- obsolet ------------------

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

SUPPRESS_DELETE_ENHA -

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

LIFECYCLE_MANAGER - Lifecycle manager

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

SUPPRESS_INDEX_UPDATE -

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

CHANGING Parameters details for SEO_METHOD_DELETE_INCLUDE

CORRNR - Request/Task

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

EXCEPTIONS details

_INTERNAL_CLASS_NOT_EXISTING -

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

_INTERNAL_METHOD_NOT_EXISTING -

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

Copy and paste ABAP code example for SEO_METHOD_DELETE_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_corrnr  TYPE TRKORR, "   
lv_mtdkey  TYPE SEOCPDKEY, "   
lv__internal_class_not_existing  TYPE SEOCPDKEY, "   
lv_force  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv__internal_method_not_existing  TYPE SEOX_BOOLEAN, "   
lv_suppress_corr  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_suppress_commit  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_suppress_delete_enha  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_lifecycle_manager  TYPE IF_ADT_LIFECYCLE_MANAGER, "   
lv_suppress_index_update  TYPE SEOX_BOOLEAN. "   SEOX_FALSE

  CALL FUNCTION 'SEO_METHOD_DELETE_INCLUDE'  "Methoden-Include (inaktiv) löschen
    EXPORTING
         MTDKEY = lv_mtdkey
         FORCE = lv_force
         SUPPRESS_CORR = lv_suppress_corr
         SUPPRESS_COMMIT = lv_suppress_commit
         SUPPRESS_DELETE_ENHA = lv_suppress_delete_enha
         LIFECYCLE_MANAGER = lv_lifecycle_manager
         SUPPRESS_INDEX_UPDATE = lv_suppress_index_update
    CHANGING
         CORRNR = lv_corrnr
    EXCEPTIONS
        _INTERNAL_CLASS_NOT_EXISTING = 1
        _INTERNAL_METHOD_NOT_EXISTING = 2
. " SEO_METHOD_DELETE_INCLUDE




ABAP code using 7.40 inline data declarations to call FM SEO_METHOD_DELETE_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_force) = SEOX_FALSE.
 
 
DATA(ld_suppress_corr) = SEOX_FALSE.
 
DATA(ld_suppress_commit) = SEOX_FALSE.
 
DATA(ld_suppress_delete_enha) = SEOX_FALSE.
 
 
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!