SAP ISH_WP_VIEW_FOR_USER_CALL Function Module for
ISH_WP_VIEW_FOR_USER_CALL is a standard ish wp view for user call 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 ish wp view for user call FM, simply by entering the name ISH_WP_VIEW_FOR_USER_CALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: N_WP_FRAMEWORK
Program Name: SAPLN_WP_FRAMEWORK
Main Program: SAPLN_WP_FRAMEWORK
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_WP_VIEW_FOR_USER_CALL 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 'ISH_WP_VIEW_FOR_USER_CALL'".
EXPORTING
I_INSTITUTION_ID = "
* I_CALLER = "Caller
I_USER_ID = "System, Logon Name of User
I_VIEW_TYPE = "View Type
* I_RCL_PARENT = "
* I_SHOW_POPUP_LIST = ' ' "
* I_POPUP_LIST_ROW_X = 1 "
* I_POPUP_LIST_COL_X = 1 "
* I_POPUP_LIST_ROW_Y = "
* I_POPUP_LIST_COL_Y = "
IMPORTING
E_RC = "
E_RETMAXTY = "Worst Message Type Returned
TABLES
* IT_SELVAR_MOD = "
* ET_RETURN = "Return Parameter(s)
EXCEPTIONS
NO_VIEW_PROGRAM_EXIST = 1
IMPORTING Parameters details for ISH_WP_VIEW_FOR_USER_CALL
I_INSTITUTION_ID -
Data type: TN01-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
I_CALLER - Caller
Data type: SY-REPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_USER_ID - System, Logon Name of User
Data type: SY-UNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_VIEW_TYPE - View Type
Data type: NWVIEW-VIEWTYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_RCL_PARENT -
Data type: CL_GUI_CONTAINEROptional: Yes
Call by Reference: No ( called with pass by value option)
I_SHOW_POPUP_LIST -
Data type: ISH_ON_OFFDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_POPUP_LIST_ROW_X -
Data type: IDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_POPUP_LIST_COL_X -
Data type: IDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_POPUP_LIST_ROW_Y -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
I_POPUP_LIST_COL_Y -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_WP_VIEW_FOR_USER_CALL
E_RC -
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
E_RETMAXTY - Worst Message Type Returned
Data type: ISH_BAPIRETMAXTYOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_WP_VIEW_FOR_USER_CALL
IT_SELVAR_MOD -
Data type: RSPARAMSOptional: Yes
Call by Reference: Yes
ET_RETURN - Return Parameter(s)
Data type: BAPIRET2_TOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_VIEW_PROGRAM_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_WP_VIEW_FOR_USER_CALL 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_rc | TYPE SY-UCOMM, " | |||
| lt_it_selvar_mod | TYPE STANDARD TABLE OF RSPARAMS, " | |||
| lv_i_institution_id | TYPE TN01-EINRI, " | |||
| lv_no_view_program_exist | TYPE TN01, " | |||
| lv_i_caller | TYPE SY-REPID, " | |||
| lt_et_return | TYPE STANDARD TABLE OF BAPIRET2_T, " | |||
| lv_i_user_id | TYPE SY-UNAME, " | |||
| lv_e_retmaxty | TYPE ISH_BAPIRETMAXTY, " | |||
| lv_i_view_type | TYPE NWVIEW-VIEWTYPE, " | |||
| lv_i_rcl_parent | TYPE CL_GUI_CONTAINER, " | |||
| lv_i_show_popup_list | TYPE ISH_ON_OFF, " ' ' | |||
| lv_i_popup_list_row_x | TYPE I, " 1 | |||
| lv_i_popup_list_col_x | TYPE I, " 1 | |||
| lv_i_popup_list_row_y | TYPE I, " | |||
| lv_i_popup_list_col_y | TYPE I. " |
|   CALL FUNCTION 'ISH_WP_VIEW_FOR_USER_CALL' " |
| EXPORTING | ||
| I_INSTITUTION_ID | = lv_i_institution_id | |
| I_CALLER | = lv_i_caller | |
| I_USER_ID | = lv_i_user_id | |
| I_VIEW_TYPE | = lv_i_view_type | |
| I_RCL_PARENT | = lv_i_rcl_parent | |
| I_SHOW_POPUP_LIST | = lv_i_show_popup_list | |
| I_POPUP_LIST_ROW_X | = lv_i_popup_list_row_x | |
| I_POPUP_LIST_COL_X | = lv_i_popup_list_col_x | |
| I_POPUP_LIST_ROW_Y | = lv_i_popup_list_row_y | |
| I_POPUP_LIST_COL_Y | = lv_i_popup_list_col_y | |
| IMPORTING | ||
| E_RC | = lv_e_rc | |
| E_RETMAXTY | = lv_e_retmaxty | |
| TABLES | ||
| IT_SELVAR_MOD | = lt_it_seltar_mod | |
| ET_RETURN | = lt_et_return | |
| EXCEPTIONS | ||
| NO_VIEW_PROGRAM_EXIST = 1 | ||
| . " ISH_WP_VIEW_FOR_USER_CALL | ||
ABAP code using 7.40 inline data declarations to call FM ISH_WP_VIEW_FOR_USER_CALL
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_e_rc). | ||||
| "SELECT single EINRI FROM TN01 INTO @DATA(ld_i_institution_id). | ||||
| "SELECT single REPID FROM SY INTO @DATA(ld_i_caller). | ||||
| "SELECT single UNAME FROM SY INTO @DATA(ld_i_user_id). | ||||
| "SELECT single VIEWTYPE FROM NWVIEW INTO @DATA(ld_i_view_type). | ||||
| DATA(ld_i_show_popup_list) | = ' '. | |||
| DATA(ld_i_popup_list_row_x) | = 1. | |||
| DATA(ld_i_popup_list_col_x) | = 1. | |||
Search for further information about these or an SAP related objects