SAP SIN_WI_PREVIEW_USER_EXIT Function Module for









SIN_WI_PREVIEW_USER_EXIT is a standard sin wi preview user exit SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 sin wi preview user exit FM, simply by entering the name SIN_WI_PREVIEW_USER_EXIT into the relevant SAP transaction such as SE37 or SE38.

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



Function SIN_WI_PREVIEW_USER_EXIT 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 'SIN_WI_PREVIEW_USER_EXIT'"
EXPORTING
I_COMMAND = "
I_WORKITEM = "
I_FONT_TAG_SML = "

IMPORTING
ES_USER_STRIP = "
E_DOCUMENT_ID = "
E_USER_EXIT_PREVIEW_ACTIVE = "
E_USER_EXIT_EXECUTE_ACTIVE = "

TABLES
* ET_MIME_OBJECTS = "
* ET_MERGE_TABLE = "
.



IMPORTING Parameters details for SIN_WI_PREVIEW_USER_EXIT

I_COMMAND -

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

I_WORKITEM -

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

I_FONT_TAG_SML -

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

EXPORTING Parameters details for SIN_WI_PREVIEW_USER_EXIT

ES_USER_STRIP -

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

E_DOCUMENT_ID -

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

E_USER_EXIT_PREVIEW_ACTIVE -

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

E_USER_EXIT_EXECUTE_ACTIVE -

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

TABLES Parameters details for SIN_WI_PREVIEW_USER_EXIT

ET_MIME_OBJECTS -

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

ET_MERGE_TABLE -

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

Copy and paste ABAP code example for SIN_WI_PREVIEW_USER_EXIT 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_i_command  TYPE SYUCOMM, "   
lv_es_user_strip  TYPE SWDUSSTRIP, "   
lt_et_mime_objects  TYPE STANDARD TABLE OF SINMIMEOBJ, "   
lv_i_workitem  TYPE SWLWP1, "   
lv_e_document_id  TYPE C, "   
lt_et_merge_table  TYPE STANDARD TABLE OF SWWW_T_MERGE_TABLE, "   
lv_i_font_tag_sml  TYPE C, "   
lv_e_user_exit_preview_active  TYPE IBOOLEAN, "   
lv_e_user_exit_execute_active  TYPE IBOOLEAN. "   

  CALL FUNCTION 'SIN_WI_PREVIEW_USER_EXIT'  "
    EXPORTING
         I_COMMAND = lv_i_command
         I_WORKITEM = lv_i_workitem
         I_FONT_TAG_SML = lv_i_font_tag_sml
    IMPORTING
         ES_USER_STRIP = lv_es_user_strip
         E_DOCUMENT_ID = lv_e_document_id
         E_USER_EXIT_PREVIEW_ACTIVE = lv_e_user_exit_preview_active
         E_USER_EXIT_EXECUTE_ACTIVE = lv_e_user_exit_execute_active
    TABLES
         ET_MIME_OBJECTS = lt_et_mime_objects
         ET_MERGE_TABLE = lt_et_merge_table
. " SIN_WI_PREVIEW_USER_EXIT




ABAP code using 7.40 inline data declarations to call FM SIN_WI_PREVIEW_USER_EXIT

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.

 
 
 
 
 
 
 
 
 


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!