SAP ISHMED_VM_PERSONAL_DATA_READ Function Module for
ISHMED_VM_PERSONAL_DATA_READ is a standard ishmed vm personal data read 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 ishmed vm personal data read FM, simply by entering the name ISHMED_VM_PERSONAL_DATA_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: N1WORKPLACE
Program Name: SAPLN1WORKPLACE
Main Program: SAPLN1WORKPLACE
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISHMED_VM_PERSONAL_DATA_READ 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 'ISHMED_VM_PERSONAL_DATA_READ'".
EXPORTING
* I_UNAME = SY-UNAME "
* I_PLACETYPE = '001' "
* I_MODE = 'L' "'L'oad / 'R'efresh / 'U'pdate ->
I_CALLER = "
* I_WORKFLOW = 'X' "Workflow
* I_FAVORITES = 'X' "
* I_PLACEID = "Read only this Specific Work Environment ->
* I_REPLACE_SUBSTITUTE = ' ' "
IMPORTING
E_RC = "Return Code
E_DEFAULT_VIEW = "
E_DEFAULT_WPLACE = "
TABLES
* T_WORKPLACES = "
* T_VIEWS = "
* T_USER_MENUS = "
* T_USER_FAVORITES = "
* T_MESSAGES = "
* T_NWPVZ = "
* T_NWPVZ_USZ = "
* T_NWPUSZ = "
* T_WORKPLACES_001 = "
IMPORTING Parameters details for ISHMED_VM_PERSONAL_DATA_READ
I_UNAME -
Data type: SY-UNAMEDefault: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PLACETYPE -
Data type: NWPLACE-WPLACETYPEDefault: '001'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MODE - 'L'oad / 'R'efresh / 'U'pdate ->
Data type: CDefault: 'L'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CALLER -
Data type: SY-REPIDOptional: No
Call by Reference: No ( called with pass by value option)
I_WORKFLOW - Workflow
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FAVORITES -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PLACEID - Read only this Specific Work Environment ->
Data type: NWPLACE-WPLACEIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_REPLACE_SUBSTITUTE -
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISHMED_VM_PERSONAL_DATA_READ
E_RC - Return Code
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
E_DEFAULT_VIEW -
Data type: V_NWVIEWOptional: No
Call by Reference: No ( called with pass by value option)
E_DEFAULT_WPLACE -
Data type: V_NWPLACEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISHMED_VM_PERSONAL_DATA_READ
T_WORKPLACES -
Data type: V_NWPLACEOptional: Yes
Call by Reference: Yes
T_VIEWS -
Data type: V_NWVIEWOptional: Yes
Call by Reference: Yes
T_USER_MENUS -
Data type: BXMNODES1Optional: Yes
Call by Reference: No ( called with pass by value option)
T_USER_FAVORITES -
Data type: BXMNODESOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MESSAGES -
Data type: BAPIRET2Optional: Yes
Call by Reference: No ( called with pass by value option)
T_NWPVZ -
Data type: V_NWPVZOptional: Yes
Call by Reference: Yes
T_NWPVZ_USZ -
Data type: NWPVZ_USZOptional: Yes
Call by Reference: Yes
T_NWPUSZ -
Data type: V_NWPUSZOptional: Yes
Call by Reference: Yes
T_WORKPLACES_001 -
Data type: NWPLACE_001Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISHMED_VM_PERSONAL_DATA_READ 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-SUBRC, " | |||
| lv_i_uname | TYPE SY-UNAME, " SY-UNAME | |||
| lt_t_workplaces | TYPE STANDARD TABLE OF V_NWPLACE, " | |||
| lt_t_views | TYPE STANDARD TABLE OF V_NWVIEW, " | |||
| lv_i_placetype | TYPE NWPLACE-WPLACETYPE, " '001' | |||
| lv_e_default_view | TYPE V_NWVIEW, " | |||
| lv_i_mode | TYPE C, " 'L' | |||
| lt_t_user_menus | TYPE STANDARD TABLE OF BXMNODES1, " | |||
| lv_e_default_wplace | TYPE V_NWPLACE, " | |||
| lv_i_caller | TYPE SY-REPID, " | |||
| lt_t_user_favorites | TYPE STANDARD TABLE OF BXMNODES, " | |||
| lv_i_workflow | TYPE C, " 'X' | |||
| lt_t_messages | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_t_nwpvz | TYPE STANDARD TABLE OF V_NWPVZ, " | |||
| lv_i_favorites | TYPE C, " 'X' | |||
| lv_i_placeid | TYPE NWPLACE-WPLACEID, " | |||
| lt_t_nwpvz_usz | TYPE STANDARD TABLE OF NWPVZ_USZ, " | |||
| lt_t_nwpusz | TYPE STANDARD TABLE OF V_NWPUSZ, " | |||
| lv_i_replace_substitute | TYPE ISH_ON_OFF, " SPACE | |||
| lt_t_workplaces_001 | TYPE STANDARD TABLE OF NWPLACE_001. " |
|   CALL FUNCTION 'ISHMED_VM_PERSONAL_DATA_READ' " |
| EXPORTING | ||
| I_UNAME | = lv_i_uname | |
| I_PLACETYPE | = lv_i_placetype | |
| I_MODE | = lv_i_mode | |
| I_CALLER | = lv_i_caller | |
| I_WORKFLOW | = lv_i_workflow | |
| I_FAVORITES | = lv_i_favorites | |
| I_PLACEID | = lv_i_placeid | |
| I_REPLACE_SUBSTITUTE | = lv_i_replace_substitute | |
| IMPORTING | ||
| E_RC | = lv_e_rc | |
| E_DEFAULT_VIEW | = lv_e_default_view | |
| E_DEFAULT_WPLACE | = lv_e_default_wplace | |
| TABLES | ||
| T_WORKPLACES | = lt_t_workplaces | |
| T_VIEWS | = lt_t_views | |
| T_USER_MENUS | = lt_t_user_menus | |
| T_USER_FAVORITES | = lt_t_user_favorites | |
| T_MESSAGES | = lt_t_messages | |
| T_NWPVZ | = lt_t_nwpvz | |
| T_NWPVZ_USZ | = lt_t_nwpvz_usz | |
| T_NWPUSZ | = lt_t_nwpusz | |
| T_WORKPLACES_001 | = lt_t_workplaces_001 | |
| . " ISHMED_VM_PERSONAL_DATA_READ | ||
ABAP code using 7.40 inline data declarations to call FM ISHMED_VM_PERSONAL_DATA_READ
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 SUBRC FROM SY INTO @DATA(ld_e_rc). | ||||
| "SELECT single UNAME FROM SY INTO @DATA(ld_i_uname). | ||||
| DATA(ld_i_uname) | = SY-UNAME. | |||
| "SELECT single WPLACETYPE FROM NWPLACE INTO @DATA(ld_i_placetype). | ||||
| DATA(ld_i_placetype) | = '001'. | |||
| DATA(ld_i_mode) | = 'L'. | |||
| "SELECT single REPID FROM SY INTO @DATA(ld_i_caller). | ||||
| DATA(ld_i_workflow) | = 'X'. | |||
| DATA(ld_i_favorites) | = 'X'. | |||
| "SELECT single WPLACEID FROM NWPLACE INTO @DATA(ld_i_placeid). | ||||
| DATA(ld_i_replace_substitute) | = ' '. | |||
Search for further information about these or an SAP related objects