SAP ISHMED_DP_OP Function Module for









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

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



Function ISHMED_DP_OP 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_DP_OP'"
EXPORTING
* I_GET_NEW_LIST = 'X' "
* IT_REFRESH_WORKPOOL = "
* I_PLACEID = "Work Environment
* I_VIEWID = "View
* I_REFRESH = ' ' "Update Database Data (ON/OFF)
* I_REQUESTED_WORKPOOL = 'X' "
* I_REMAINING_WORKPOOL = ' ' "
* IT_DISPVAR = "Layout (Display Variant)
* IT_SELECTION_CRITERIA = "Selection Criteria
* IT_REFRESH_OP_OBJECT = "

IMPORTING
E_RC = "

CHANGING
* CT_OP_OBJECT = "
* CT_WORKPOOL = "
* C_ERRORHANDLER = "Instance for Error Handling
* C_ENVIRONMENT = "Environment
.



IMPORTING Parameters details for ISHMED_DP_OP

I_GET_NEW_LIST -

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

IT_REFRESH_WORKPOOL -

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

I_PLACEID - Work Environment

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

I_VIEWID - View

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

I_REFRESH - Update Database Data (ON/OFF)

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

I_REQUESTED_WORKPOOL -

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

I_REMAINING_WORKPOOL -

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

IT_DISPVAR - Layout (Display Variant)

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

IT_SELECTION_CRITERIA - Selection Criteria

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

IT_REFRESH_OP_OBJECT -

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

EXPORTING Parameters details for ISHMED_DP_OP

E_RC -

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

CHANGING Parameters details for ISHMED_DP_OP

CT_OP_OBJECT -

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

CT_WORKPOOL -

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

C_ERRORHANDLER - Instance for Error Handling

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

C_ENVIRONMENT - Environment

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

Copy and paste ABAP code example for ISHMED_DP_OP 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_ct_op_object  TYPE ISH_OBJECTLIST, "   
lv_i_get_new_list  TYPE ISH_ON_OFF, "   'X'
lv_it_refresh_workpool  TYPE ISH_OBJECTLIST, "   
lv_i_placeid  TYPE NWPLACE-WPLACEID, "   
lv_ct_workpool  TYPE ISH_OBJECTLIST, "   
lv_i_viewid  TYPE NWVIEW-VIEWID, "   
lv_c_errorhandler  TYPE CL_ISHMED_ERRORHANDLING, "   
lv_i_refresh  TYPE ISH_ON_OFF, "   SPACE
lv_c_environment  TYPE CL_ISH_ENVIRONMENT, "   
lv_i_requested_workpool  TYPE ISH_ON_OFF, "   'X'
lv_i_remaining_workpool  TYPE ISH_ON_OFF, "   SPACE
lv_it_dispvar  TYPE LVC_T_FCAT, "   
lv_it_selection_criteria  TYPE ISHMED_T_RSPARAMS, "   
lv_it_refresh_op_object  TYPE ISH_OBJECTLIST. "   

  CALL FUNCTION 'ISHMED_DP_OP'  "
    EXPORTING
         I_GET_NEW_LIST = lv_i_get_new_list
         IT_REFRESH_WORKPOOL = lv_it_refresh_workpool
         I_PLACEID = lv_i_placeid
         I_VIEWID = lv_i_viewid
         I_REFRESH = lv_i_refresh
         I_REQUESTED_WORKPOOL = lv_i_requested_workpool
         I_REMAINING_WORKPOOL = lv_i_remaining_workpool
         IT_DISPVAR = lv_it_dispvar
         IT_SELECTION_CRITERIA = lv_it_selection_criteria
         IT_REFRESH_OP_OBJECT = lv_it_refresh_op_object
    IMPORTING
         E_RC = lv_e_rc
    CHANGING
         CT_OP_OBJECT = lv_ct_op_object
         CT_WORKPOOL = lv_ct_workpool
         C_ERRORHANDLER = lv_c_errorhandler
         C_ENVIRONMENT = lv_c_environment
. " ISHMED_DP_OP




ABAP code using 7.40 inline data declarations to call FM ISHMED_DP_OP

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_get_new_list) = 'X'.
 
 
"SELECT single WPLACEID FROM NWPLACE INTO @DATA(ld_i_placeid).
 
 
"SELECT single VIEWID FROM NWVIEW INTO @DATA(ld_i_viewid).
 
 
DATA(ld_i_refresh) = ' '.
 
 
DATA(ld_i_requested_workpool) = 'X'.
 
DATA(ld_i_remaining_workpool) = ' '.
 
 
 
 


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!