SAP ISHMED_GENERATE_BEW_TO_DATE Function Module for









ISHMED_GENERATE_BEW_TO_DATE is a standard ishmed generate bew to date 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 generate bew to date FM, simply by entering the name ISHMED_GENERATE_BEW_TO_DATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISHMED_GENERATE_BEW_TO_DATE 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_GENERATE_BEW_TO_DATE'"
EXPORTING
* I_LFDNR = '00000' "
* I_STATU = '70' "
I_CALLER = "ID of Caller
* I_SAVE_TAB = ' ' "
* I_CHANGE_DATE = ' ' "
* I_LOCK_TAB = ' ' "
* I_SRCH_MOVEMENT = ' ' "

IMPORTING
E_NBEW = "
E_RC = "

CHANGING
C_NTMN = "

TABLES
* T_NAPP = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLN1LO_001 IS-H*MED: User Exit for Performing/Releasing

IMPORTING Parameters details for ISHMED_GENERATE_BEW_TO_DATE

I_LFDNR -

Data type: NBEW-LFDNR
Default: '00000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STATU -

Data type: NBEW-STATU
Default: '70'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CALLER - ID of Caller

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

I_SAVE_TAB -

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

I_CHANGE_DATE -

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

I_LOCK_TAB -

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

I_SRCH_MOVEMENT -

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

EXPORTING Parameters details for ISHMED_GENERATE_BEW_TO_DATE

E_NBEW -

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

E_RC -

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for ISHMED_GENERATE_BEW_TO_DATE

C_NTMN -

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

TABLES Parameters details for ISHMED_GENERATE_BEW_TO_DATE

T_NAPP -

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

Copy and paste ABAP code example for ISHMED_GENERATE_BEW_TO_DATE 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_c_ntmn  TYPE VNTMN, "   
lv_e_nbew  TYPE VNBEW, "   
lt_t_napp  TYPE STANDARD TABLE OF VNAPP, "   
lv_i_lfdnr  TYPE NBEW-LFDNR, "   '00000'
lv_e_rc  TYPE SY-SUBRC, "   
lv_i_statu  TYPE NBEW-STATU, "   '70'
lv_i_caller  TYPE NBEW, "   
lv_i_save_tab  TYPE C, "   SPACE
lv_i_change_date  TYPE C, "   SPACE
lv_i_lock_tab  TYPE C, "   SPACE
lv_i_srch_movement  TYPE C. "   SPACE

  CALL FUNCTION 'ISHMED_GENERATE_BEW_TO_DATE'  "
    EXPORTING
         I_LFDNR = lv_i_lfdnr
         I_STATU = lv_i_statu
         I_CALLER = lv_i_caller
         I_SAVE_TAB = lv_i_save_tab
         I_CHANGE_DATE = lv_i_change_date
         I_LOCK_TAB = lv_i_lock_tab
         I_SRCH_MOVEMENT = lv_i_srch_movement
    IMPORTING
         E_NBEW = lv_e_nbew
         E_RC = lv_e_rc
    CHANGING
         C_NTMN = lv_c_ntmn
    TABLES
         T_NAPP = lt_t_napp
. " ISHMED_GENERATE_BEW_TO_DATE




ABAP code using 7.40 inline data declarations to call FM ISHMED_GENERATE_BEW_TO_DATE

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 LFDNR FROM NBEW INTO @DATA(ld_i_lfdnr).
DATA(ld_i_lfdnr) = '00000'.
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_e_rc).
 
"SELECT single STATU FROM NBEW INTO @DATA(ld_i_statu).
DATA(ld_i_statu) = '70'.
 
 
DATA(ld_i_save_tab) = ' '.
 
DATA(ld_i_change_date) = ' '.
 
DATA(ld_i_lock_tab) = ' '.
 
DATA(ld_i_srch_movement) = ' '.
 


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!