SAP ISHMED_DPLAUTH_DIALOG Function Module for









ISHMED_DPLAUTH_DIALOG is a standard ishmed dplauth dialog 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 dplauth dialog FM, simply by entering the name ISHMED_DPLAUTH_DIALOG into the relevant SAP transaction such as SE37 or SE38.

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



Function ISHMED_DPLAUTH_DIALOG 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_DPLAUTH_DIALOG'"
EXPORTING
I_EINRI = "IS-H: Institution
* I_ACT_TAB = '1' "
IT_PLOE_DATA = "IS-H*MED: Day-Rel. Plann. Auth. - Table Type for Planned OU
IT_CALENDAR_DATA = "IS-H*MED: Day-Related Planning Authority - Calendar Data
* IT_POBNR = "IS-H*MED: Table Type for Planning Object Number
* IT_SEL_NATM = "IS-H*MED: Table Type For Natm Table
* I_CONTAINERNAME = "
* I_CONTAINERNAME_PLOB = "
* I_CONTAINERNAME_MOD = "
* I_CONTINFO = "ISHMED: Day-Related Planning Authority - Container Info
* I_PLOE_DISPLAY = 'X' "X = ALV for Planned Surgeries will be Displayed
* I_CAL_DISPLAY = 'X' "X = Kalender Control will be Displayed
* I_TITLE_SET = '1' "
* I_SORTMODE = 0 "

IMPORTING
E_RC = "Return Value, Return Value after ABAP Statements
ET_DPLAUTH_DATA = "IS-H*MED: Day-Related Plann. Auth. - Table Type for Display
E_EXITCODE = "Screens, Function Code that Triggered PAI
E_NOTHING_CHANGED_DPLAUTH = "Single-Character Indicator
E_NOTHING_CHANGED_TERMANG = "Single-Character Indicator

CHANGING
* C_ERRORHANDLER = "ISHMED: Class for Error Handling
.



IMPORTING Parameters details for ISHMED_DPLAUTH_DIALOG

I_EINRI - IS-H: Institution

Data type: EINRI
Optional: No
Call by Reference: Yes

I_ACT_TAB -

Data type: C
Default: '1'
Optional: Yes
Call by Reference: Yes

IT_PLOE_DATA - IS-H*MED: Day-Rel. Plann. Auth. - Table Type for Planned OU

Data type: ISHMED_DPLAUTH_PLOE_DATA
Optional: No
Call by Reference: Yes

IT_CALENDAR_DATA - IS-H*MED: Day-Related Planning Authority - Calendar Data

Data type: ISHMED_DPLAUTH_CALENDAR_DATA
Optional: No
Call by Reference: Yes

IT_POBNR - IS-H*MED: Table Type for Planning Object Number

Data type: ISHMED_T_POBNR
Optional: Yes
Call by Reference: Yes

IT_SEL_NATM - IS-H*MED: Table Type For Natm Table

Data type: ISHMED_TERM_NATM
Optional: Yes
Call by Reference: Yes

I_CONTAINERNAME -

Data type: ISHMED_CONTROLNAME
Optional: Yes
Call by Reference: Yes

I_CONTAINERNAME_PLOB -

Data type: ISHMED_CONTROLNAME
Optional: Yes
Call by Reference: Yes

I_CONTAINERNAME_MOD -

Data type: ISHMED_CONTROLNAME
Optional: Yes
Call by Reference: Yes

I_CONTINFO - ISHMED: Day-Related Planning Authority - Container Info

Data type: ISHMED_DPLAUTH_CONTINFO
Optional: Yes
Call by Reference: Yes

I_PLOE_DISPLAY - X = ALV for Planned Surgeries will be Displayed

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_CAL_DISPLAY - X = Kalender Control will be Displayed

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_TITLE_SET -

Data type: ISH_ON_OFF
Default: '1'
Optional: Yes
Call by Reference: Yes

I_SORTMODE -

Data type: I
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISHMED_DPLAUTH_DIALOG

E_RC - Return Value, Return Value after ABAP Statements

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

ET_DPLAUTH_DATA - IS-H*MED: Day-Related Plann. Auth. - Table Type for Display

Data type: ISHMED_DPLAUTH_DATA
Optional: No
Call by Reference: Yes

E_EXITCODE - Screens, Function Code that Triggered PAI

Data type: SY-UCOMM
Optional: No
Call by Reference: Yes

E_NOTHING_CHANGED_DPLAUTH - Single-Character Indicator

Data type: CHAR1
Optional: No
Call by Reference: Yes

E_NOTHING_CHANGED_TERMANG - Single-Character Indicator

Data type: CHAR1
Optional: No
Call by Reference: Yes

CHANGING Parameters details for ISHMED_DPLAUTH_DIALOG

C_ERRORHANDLER - ISHMED: Class for Error Handling

Data type: CL_ISHMED_ERRORHANDLING
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for ISHMED_DPLAUTH_DIALOG 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_einri  TYPE EINRI, "   
lv_c_errorhandler  TYPE CL_ISHMED_ERRORHANDLING, "   
lv_i_act_tab  TYPE C, "   '1'
lv_it_ploe_data  TYPE ISHMED_DPLAUTH_PLOE_DATA, "   
lv_it_calendar_data  TYPE ISHMED_DPLAUTH_CALENDAR_DATA, "   
lv_it_pobnr  TYPE ISHMED_T_POBNR, "   
lv_it_sel_natm  TYPE ISHMED_TERM_NATM, "   
lv_et_dplauth_data  TYPE ISHMED_DPLAUTH_DATA, "   
lv_i_containername  TYPE ISHMED_CONTROLNAME, "   
lv_e_exitcode  TYPE SY-UCOMM, "   
lv_i_containername_plob  TYPE ISHMED_CONTROLNAME, "   
lv_i_containername_mod  TYPE ISHMED_CONTROLNAME, "   
lv_e_nothing_changed_dplauth  TYPE CHAR1, "   
lv_i_continfo  TYPE ISHMED_DPLAUTH_CONTINFO, "   
lv_e_nothing_changed_termang  TYPE CHAR1, "   
lv_i_ploe_display  TYPE C, "   'X'
lv_i_cal_display  TYPE C, "   'X'
lv_i_title_set  TYPE ISH_ON_OFF, "   '1'
lv_i_sortmode  TYPE I. "   0

  CALL FUNCTION 'ISHMED_DPLAUTH_DIALOG'  "
    EXPORTING
         I_EINRI = lv_i_einri
         I_ACT_TAB = lv_i_act_tab
         IT_PLOE_DATA = lv_it_ploe_data
         IT_CALENDAR_DATA = lv_it_calendar_data
         IT_POBNR = lv_it_pobnr
         IT_SEL_NATM = lv_it_sel_natm
         I_CONTAINERNAME = lv_i_containername
         I_CONTAINERNAME_PLOB = lv_i_containername_plob
         I_CONTAINERNAME_MOD = lv_i_containername_mod
         I_CONTINFO = lv_i_continfo
         I_PLOE_DISPLAY = lv_i_ploe_display
         I_CAL_DISPLAY = lv_i_cal_display
         I_TITLE_SET = lv_i_title_set
         I_SORTMODE = lv_i_sortmode
    IMPORTING
         E_RC = lv_e_rc
         ET_DPLAUTH_DATA = lv_et_dplauth_data
         E_EXITCODE = lv_e_exitcode
         E_NOTHING_CHANGED_DPLAUTH = lv_e_nothing_changed_dplauth
         E_NOTHING_CHANGED_TERMANG = lv_e_nothing_changed_termang
    CHANGING
         C_ERRORHANDLER = lv_c_errorhandler
. " ISHMED_DPLAUTH_DIALOG




ABAP code using 7.40 inline data declarations to call FM ISHMED_DPLAUTH_DIALOG

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).
 
 
 
DATA(ld_i_act_tab) = '1'.
 
 
 
 
 
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_e_exitcode).
 
 
 
 
 
 
DATA(ld_i_ploe_display) = 'X'.
 
DATA(ld_i_cal_display) = 'X'.
 
DATA(ld_i_title_set) = '1'.
 
 


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!