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

Function ISHMED_READ_NBEW 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_NBEW'".
EXPORTING
* I_EINRI = "
* I_FALNR = "
* I_LFDNR = "
IMPORTING
E_RC = "
E_NBEW = "
CHANGING
* C_ERRORHANDLER = "
IMPORTING Parameters details for ISHMED_READ_NBEW
I_EINRI -
Data type: NBEW-EINRIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FALNR -
Data type: NBEW-FALNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_LFDNR -
Data type: NBEW-LFDNROptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISHMED_READ_NBEW
E_RC -
Data type: ISH_METHOD_RCOptional: No
Call by Reference: No ( called with pass by value option)
E_NBEW -
Data type: NBEWOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISHMED_READ_NBEW
C_ERRORHANDLER -
Data type: CL_ISHMED_ERRORHANDLINGOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISHMED_READ_NBEW 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 ISH_METHOD_RC, " | |||
| lv_i_einri | TYPE NBEW-EINRI, " | |||
| lv_c_errorhandler | TYPE CL_ISHMED_ERRORHANDLING, " | |||
| lv_e_nbew | TYPE NBEW, " | |||
| lv_i_falnr | TYPE NBEW-FALNR, " | |||
| lv_i_lfdnr | TYPE NBEW-LFDNR. " |
|   CALL FUNCTION 'ISHMED_READ_NBEW' " |
| EXPORTING | ||
| I_EINRI | = lv_i_einri | |
| I_FALNR | = lv_i_falnr | |
| I_LFDNR | = lv_i_lfdnr | |
| IMPORTING | ||
| E_RC | = lv_e_rc | |
| E_NBEW | = lv_e_nbew | |
| CHANGING | ||
| C_ERRORHANDLER | = lv_c_errorhandler | |
| . " ISHMED_READ_NBEW | ||
ABAP code using 7.40 inline data declarations to call FM ISHMED_READ_NBEW
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 EINRI FROM NBEW INTO @DATA(ld_i_einri). | ||||
| "SELECT single FALNR FROM NBEW INTO @DATA(ld_i_falnr). | ||||
| "SELECT single LFDNR FROM NBEW INTO @DATA(ld_i_lfdnr). | ||||
Search for further information about these or an SAP related objects