SAP CEP_FSEL_SELECT Function Module for NOTRANSL: Wähle die zu verschickenden Felder aus









CEP_FSEL_SELECT is a standard cep fsel select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Wähle die zu verschickenden Felder aus 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 cep fsel select FM, simply by entering the name CEP_FSEL_SELECT into the relevant SAP transaction such as SE37 or SE38.

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



Function CEP_FSEL_SELECT 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 'CEP_FSEL_SELECT'"NOTRANSL: Wähle die zu verschickenden Felder aus
EXPORTING
I_STRUCNAME = "Table Name
I_WINDOW_TITLE = "Screens, Title Text
I_ELEMENTTYPE = "Element type for field selection
I_PROFILE = "Profile for field selection in CEP

IMPORTING
E_CANCELLED = "

TABLES
IT_FIELDSEL = "DE-EN-LANG-SWITCH-NO-TRANSLATION
.



IMPORTING Parameters details for CEP_FSEL_SELECT

I_STRUCNAME - Table Name

Data type: DD02L-TABNAME
Optional: No
Call by Reference: Yes

I_WINDOW_TITLE - Screens, Title Text

Data type: SY-TITLE
Optional: No
Call by Reference: Yes

I_ELEMENTTYPE - Element type for field selection

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

I_PROFILE - Profile for field selection in CEP

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

EXPORTING Parameters details for CEP_FSEL_SELECT

E_CANCELLED -

Data type:
Optional: No
Call by Reference: Yes

TABLES Parameters details for CEP_FSEL_SELECT

IT_FIELDSEL - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for CEP_FSEL_SELECT 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_e_cancelled  TYPE STRING, "   
lt_it_fieldsel  TYPE STANDARD TABLE OF TFSEL_CEP, "   
lv_i_strucname  TYPE DD02L-TABNAME, "   
lv_i_window_title  TYPE SY-TITLE, "   
lv_i_elementtype  TYPE ELEMENTTYPE_CEP, "   
lv_i_profile  TYPE PROF_FSEL_CEP. "   

  CALL FUNCTION 'CEP_FSEL_SELECT'  "NOTRANSL: Wähle die zu verschickenden Felder aus
    EXPORTING
         I_STRUCNAME = lv_i_strucname
         I_WINDOW_TITLE = lv_i_window_title
         I_ELEMENTTYPE = lv_i_elementtype
         I_PROFILE = lv_i_profile
    IMPORTING
         E_CANCELLED = lv_e_cancelled
    TABLES
         IT_FIELDSEL = lt_it_fieldsel
. " CEP_FSEL_SELECT




ABAP code using 7.40 inline data declarations to call FM CEP_FSEL_SELECT

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.

 
 
"SELECT single TABNAME FROM DD02L INTO @DATA(ld_i_strucname).
 
"SELECT single TITLE FROM SY INTO @DATA(ld_i_window_title).
 
 
 


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!