SAP SEO_CLASS_GENERATE_SECTIONS Function Module for Section-Includes generieren









SEO_CLASS_GENERATE_SECTIONS is a standard seo class generate sections SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Section-Includes 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 class generate sections FM, simply by entering the name SEO_CLASS_GENERATE_SECTIONS 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_CLASS_GENERATE_SECTIONS 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_GENERATE_SECTIONS'"Section-Includes generieren
EXPORTING
CLSKEY = "
* PUBLIC = SEOX_FALSE "
* PROTECTED = SEOX_FALSE "
* PRIVATE = SEOX_FALSE "
* SUPPRESS_CORR = SEOX_FALSE "
* RETURN_GENERATED_SECTIONS_ONLY = SEOX_FALSE "
* TYPEINFO = "
* LINE_SIZE = 255 "
* SUPPRESS_INDEX_UPDATE = SEOX_FALSE "

IMPORTING
PUBSEC_SOURCE = "Section Source
PROSEC_SOURCE = "Section Source
PRISEC_SOURCE = "Section Source

EXCEPTIONS
NOT_EXISTING = 1 MODEL_ONLY = 2 PUBLIC_SEC_NOT_GENERATED = 3 PROTECTED_SEC_NOT_GENERATED = 4 PRIVATE_SEC_NOT_GENERATED = 5 PUBLIC_SEC_NOT_INITIALISED = 6 PROTECTED_SEC_NOT_INITIALISED = 7 PRIVATE_SEC_NOT_INITIALISED = 8 _INTERNAL_CLASS_NOT_EXISTING = 9
.



IMPORTING Parameters details for SEO_CLASS_GENERATE_SECTIONS

CLSKEY -

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

PUBLIC -

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

PROTECTED -

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

PRIVATE -

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

SUPPRESS_CORR -

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

RETURN_GENERATED_SECTIONS_ONLY -

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

TYPEINFO -

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

LINE_SIZE -

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

SUPPRESS_INDEX_UPDATE -

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

EXPORTING Parameters details for SEO_CLASS_GENERATE_SECTIONS

PUBSEC_SOURCE - Section Source

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

PROSEC_SOURCE - Section Source

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

PRISEC_SOURCE - Section Source

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

EXCEPTIONS details

NOT_EXISTING -

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)

PUBLIC_SEC_NOT_GENERATED -

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

PROTECTED_SEC_NOT_GENERATED -

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

PRIVATE_SEC_NOT_GENERATED -

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

PUBLIC_SEC_NOT_INITIALISED -

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

PROTECTED_SEC_NOT_INITIALISED -

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

PRIVATE_SEC_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)

Copy and paste ABAP code example for SEO_CLASS_GENERATE_SECTIONS 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_not_existing  TYPE SEOCLSKEY, "   
lv_pubsec_source  TYPE SEO_SECTION_SOURCE, "   
lv_public  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_model_only  TYPE SEOX_BOOLEAN, "   
lv_prosec_source  TYPE SEO_SECTION_SOURCE, "   
lv_protected  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_prisec_source  TYPE SEO_SECTION_SOURCE, "   
lv_public_sec_not_generated  TYPE SEO_SECTION_SOURCE, "   
lv_private  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_protected_sec_not_generated  TYPE SEOX_BOOLEAN, "   
lv_suppress_corr  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_private_sec_not_generated  TYPE SEOX_BOOLEAN, "   
lv_public_sec_not_initialised  TYPE SEOX_BOOLEAN, "   
lv_return_generated_sections_only  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv_typeinfo  TYPE SEOK_CLS_TYPEINFO, "   
lv_protected_sec_not_initialised  TYPE SEOK_CLS_TYPEINFO, "   
lv_line_size  TYPE I, "   255
lv_private_sec_not_initialised  TYPE I, "   
lv_suppress_index_update  TYPE SEOX_BOOLEAN, "   SEOX_FALSE
lv__internal_class_not_existing  TYPE SEOX_BOOLEAN. "   

  CALL FUNCTION 'SEO_CLASS_GENERATE_SECTIONS'  "Section-Includes generieren
    EXPORTING
         CLSKEY = lv_clskey
         PUBLIC = lv_public
         PROTECTED = lv_protected
         PRIVATE = lv_private
         SUPPRESS_CORR = lv_suppress_corr
         RETURN_GENERATED_SECTIONS_ONLY = lv_return_generated_sections_only
         TYPEINFO = lv_typeinfo
         LINE_SIZE = lv_line_size
         SUPPRESS_INDEX_UPDATE = lv_suppress_index_update
    IMPORTING
         PUBSEC_SOURCE = lv_pubsec_source
         PROSEC_SOURCE = lv_prosec_source
         PRISEC_SOURCE = lv_prisec_source
    EXCEPTIONS
        NOT_EXISTING = 1
        MODEL_ONLY = 2
        PUBLIC_SEC_NOT_GENERATED = 3
        PROTECTED_SEC_NOT_GENERATED = 4
        PRIVATE_SEC_NOT_GENERATED = 5
        PUBLIC_SEC_NOT_INITIALISED = 6
        PROTECTED_SEC_NOT_INITIALISED = 7
        PRIVATE_SEC_NOT_INITIALISED = 8
        _INTERNAL_CLASS_NOT_EXISTING = 9
. " SEO_CLASS_GENERATE_SECTIONS




ABAP code using 7.40 inline data declarations to call FM SEO_CLASS_GENERATE_SECTIONS

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_public) = SEOX_FALSE.
 
 
 
DATA(ld_protected) = SEOX_FALSE.
 
 
 
DATA(ld_private) = SEOX_FALSE.
 
 
DATA(ld_suppress_corr) = SEOX_FALSE.
 
 
 
DATA(ld_return_generated_sections_only) = SEOX_FALSE.
 
 
 
DATA(ld_line_size) = 255.
 
 
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!