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

Function ISHMED_READ_N1ZPI 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_READ_N1ZPI'".
EXPORTING
I_EINRI = "
* I_ZPIE = "
* I_ZPI = "
IMPORTING
E_ZPIE = "
E_ZPI = "
E_ZPITXT = "
E_RC = "
IMPORTING Parameters details for ISHMED_READ_N1ZPI
I_EINRI -
Data type: EINRIOptional: No
Call by Reference: No ( called with pass by value option)
I_ZPIE -
Data type: N1ZPI-ZPIEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ZPI -
Data type: N1ZPI-ZPIOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISHMED_READ_N1ZPI
E_ZPIE -
Data type: N1ZPI-ZPIEOptional: No
Call by Reference: No ( called with pass by value option)
E_ZPI -
Data type: N1ZPI-ZPIOptional: No
Call by Reference: No ( called with pass by value option)
E_ZPITXT -
Data type: N1ZPIT-ZPITXTOptional: No
Call by Reference: No ( called with pass by value option)
E_RC -
Data type: ISH_METHOD_RCOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISHMED_READ_N1ZPI 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_zpie | TYPE N1ZPI-ZPIE, " | |||
| lv_i_einri | TYPE EINRI, " | |||
| lv_e_zpi | TYPE N1ZPI-ZPI, " | |||
| lv_i_zpie | TYPE N1ZPI-ZPIE, " | |||
| lv_i_zpi | TYPE N1ZPI-ZPI, " | |||
| lv_e_zpitxt | TYPE N1ZPIT-ZPITXT, " | |||
| lv_e_rc | TYPE ISH_METHOD_RC. " |
|   CALL FUNCTION 'ISHMED_READ_N1ZPI' " |
| EXPORTING | ||
| I_EINRI | = lv_i_einri | |
| I_ZPIE | = lv_i_zpie | |
| I_ZPI | = lv_i_zpi | |
| IMPORTING | ||
| E_ZPIE | = lv_e_zpie | |
| E_ZPI | = lv_e_zpi | |
| E_ZPITXT | = lv_e_zpitxt | |
| E_RC | = lv_e_rc | |
| . " ISHMED_READ_N1ZPI | ||
ABAP code using 7.40 inline data declarations to call FM ISHMED_READ_N1ZPI
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 ZPIE FROM N1ZPI INTO @DATA(ld_e_zpie). | ||||
| "SELECT single ZPI FROM N1ZPI INTO @DATA(ld_e_zpi). | ||||
| "SELECT single ZPIE FROM N1ZPI INTO @DATA(ld_i_zpie). | ||||
| "SELECT single ZPI FROM N1ZPI INTO @DATA(ld_i_zpi). | ||||
| "SELECT single ZPITXT FROM N1ZPIT INTO @DATA(ld_e_zpitxt). | ||||
Search for further information about these or an SAP related objects