SAP SESI_WIZ Function Module for Wizard









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

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



Function SESI_WIZ 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 'SESI_WIZ'"Wizard
EXPORTING
* TITLE = "
* RFC_NAME = "Function name
* PACKAGE = "Destination package
* WIZARD_FRAMEWORK = "Encapsulated Wizardframework (AUNIT)
* OBJ_NAME = "ABAP/4 Development Workbench: TADIR name
* ENDPOINT_TYPE = "Object Type of Reference Object (Function, BAPI, IDOC)
* VIFNAME = "Name Funktion oder Parameter in virtuellen Interfaces
* L_WB_REQUEST = "Workbench Manager: Request
* IM_FCODE = "call wzd based on fcode Function code
* IM_IFR_ID = "Proxy Generation: Object Identification Integration Builder
* EXECUTE = "Single-Character Flag
* WSDL_PORTTYPE = "Porttype to use when reading WSDL

IMPORTING
EX_OBJ_KEY = "WB Request: Key for Object in Development Environment
EX_WB_REQUEST = "Workbench Manager: Request
EX_CORR_INSERT = "Delegate Data to RS_CORR_INSERT
EX_PREFIX_VALUE = "30 Characters

EXCEPTIONS
NOT_EXECUTED = 1 OPERATION_CANCELLED_BY_USER = 2
.



IMPORTING Parameters details for SESI_WIZ

TITLE -

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

RFC_NAME - Function name

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

PACKAGE - Destination package

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

WIZARD_FRAMEWORK - Encapsulated Wizardframework (AUNIT)

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

OBJ_NAME - ABAP/4 Development Workbench: TADIR name

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

ENDPOINT_TYPE - Object Type of Reference Object (Function, BAPI, IDOC)

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

VIFNAME - Name Funktion oder Parameter in virtuellen Interfaces

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

L_WB_REQUEST - Workbench Manager: Request

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

IM_FCODE - call wzd based on fcode Function code

Data type: SY-UCOMM
Optional: Yes
Call by Reference: Yes

IM_IFR_ID - Proxy Generation: Object Identification Integration Builder

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

EXECUTE - Single-Character Flag

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

WSDL_PORTTYPE - Porttype to use when reading WSDL

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

EXPORTING Parameters details for SESI_WIZ

EX_OBJ_KEY - WB Request: Key for Object in Development Environment

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

EX_WB_REQUEST - Workbench Manager: Request

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

EX_CORR_INSERT - Delegate Data to RS_CORR_INSERT

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

EX_PREFIX_VALUE - 30 Characters

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

EXCEPTIONS details

NOT_EXECUTED - Anwendungsfunktion wurde nicht ausgefuehrt

Data type:
Optional: No
Call by Reference: Yes

OPERATION_CANCELLED_BY_USER - Operation cancelled by the user

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SESI_WIZ 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_title  TYPE STRING, "   
lv_ex_obj_key  TYPE SEU_OBJKEY, "   
lv_not_executed  TYPE SEU_OBJKEY, "   
lv_rfc_name  TYPE FUNCNAME, "   
lv_package  TYPE DEVCLASS, "   
lv_wizard_framework  TYPE IF_ESD_WIZ_FW, "   
lv_obj_name  TYPE EU_ANAME, "   
lv_ex_wb_request  TYPE CL_WB_REQUEST, "   
lv_operation_cancelled_by_user  TYPE CL_WB_REQUEST, "   
lv_endpoint_type  TYPE VEPREFTYPE, "   
lv_ex_corr_insert  TYPE VICORRINSERT, "   
lv_vifname  TYPE VEPNAME, "   
lv_ex_prefix_value  TYPE CHAR30, "   
lv_l_wb_request  TYPE CL_WB_REQUEST, "   
lv_im_fcode  TYPE SY-UCOMM, "   
lv_im_ifr_id  TYPE PRX_S_IFR, "   
lv_execute  TYPE CHAR1, "   
lv_wsdl_porttype  TYPE QNAME. "   

  CALL FUNCTION 'SESI_WIZ'  "Wizard
    EXPORTING
         TITLE = lv_title
         RFC_NAME = lv_rfc_name
         PACKAGE = lv_package
         WIZARD_FRAMEWORK = lv_wizard_framework
         OBJ_NAME = lv_obj_name
         ENDPOINT_TYPE = lv_endpoint_type
         VIFNAME = lv_vifname
         L_WB_REQUEST = lv_l_wb_request
         IM_FCODE = lv_im_fcode
         IM_IFR_ID = lv_im_ifr_id
         EXECUTE = lv_execute
         WSDL_PORTTYPE = lv_wsdl_porttype
    IMPORTING
         EX_OBJ_KEY = lv_ex_obj_key
         EX_WB_REQUEST = lv_ex_wb_request
         EX_CORR_INSERT = lv_ex_corr_insert
         EX_PREFIX_VALUE = lv_ex_prefix_value
    EXCEPTIONS
        NOT_EXECUTED = 1
        OPERATION_CANCELLED_BY_USER = 2
. " SESI_WIZ




ABAP code using 7.40 inline data declarations to call FM SESI_WIZ

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 UCOMM FROM SY INTO @DATA(ld_im_fcode).
 
 
 
 


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!