SAP ISHMED_SPECIAL_INPUT_DATE Function Module for









ISHMED_SPECIAL_INPUT_DATE is a standard ishmed special input 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 special input date FM, simply by entering the name ISHMED_SPECIAL_INPUT_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_SPECIAL_INPUT_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_SPECIAL_INPUT_DATE'"
EXPORTING
* I_TEXTLINE1 = "
* I_TEXTLINE2 = "
* I_TIME_INP = 'X' "
* I_DATE = SY-DATUM "
* I_TIME = SY-UZEIT "
* I_DATE_HI = '99991231' "
* I_DATE_LO = '18000101' "
* I_TITLE = "Dialog Box Title

IMPORTING
E_DATE = "
E_TIME = "

EXCEPTIONS
CANCEL = 1
.




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_SPECIAL_INPUT_DATE

I_TEXTLINE1 -

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

I_TEXTLINE2 -

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

I_TIME_INP -

Data type: RNT40-MARK
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATE -

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

I_TIME -

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

I_DATE_HI -

Data type: SY-DATUM
Default: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATE_LO -

Data type: SY-DATUM
Default: '18000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TITLE - Dialog Box Title

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

EXPORTING Parameters details for ISHMED_SPECIAL_INPUT_DATE

E_DATE -

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

E_TIME -

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

EXCEPTIONS details

CANCEL -

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

Copy and paste ABAP code example for ISHMED_SPECIAL_INPUT_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_cancel  TYPE STRING, "   
lv_e_date  TYPE SY-DATUM, "   
lv_i_textline1  TYPE SY, "   
lv_e_time  TYPE SY-UZEIT, "   
lv_i_textline2  TYPE SY, "   
lv_i_time_inp  TYPE RNT40-MARK, "   'X'
lv_i_date  TYPE SY-DATUM, "   SY-DATUM
lv_i_time  TYPE SY-UZEIT, "   SY-UZEIT
lv_i_date_hi  TYPE SY-DATUM, "   '99991231'
lv_i_date_lo  TYPE SY-DATUM, "   '18000101'
lv_i_title  TYPE SY. "   

  CALL FUNCTION 'ISHMED_SPECIAL_INPUT_DATE'  "
    EXPORTING
         I_TEXTLINE1 = lv_i_textline1
         I_TEXTLINE2 = lv_i_textline2
         I_TIME_INP = lv_i_time_inp
         I_DATE = lv_i_date
         I_TIME = lv_i_time
         I_DATE_HI = lv_i_date_hi
         I_DATE_LO = lv_i_date_lo
         I_TITLE = lv_i_title
    IMPORTING
         E_DATE = lv_e_date
         E_TIME = lv_e_time
    EXCEPTIONS
        CANCEL = 1
. " ISHMED_SPECIAL_INPUT_DATE




ABAP code using 7.40 inline data declarations to call FM ISHMED_SPECIAL_INPUT_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 DATUM FROM SY INTO @DATA(ld_e_date).
 
 
"SELECT single UZEIT FROM SY INTO @DATA(ld_e_time).
 
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_time_inp).
DATA(ld_i_time_inp) = 'X'.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_date).
DATA(ld_i_date) = SY-DATUM.
 
"SELECT single UZEIT FROM SY INTO @DATA(ld_i_time).
DATA(ld_i_time) = SY-UZEIT.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_date_hi).
DATA(ld_i_date_hi) = '99991231'.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_date_lo).
DATA(ld_i_date_lo) = '18000101'.
 
 


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!