SAP ISH_N2_RAD_SET_WORKLIST Function Module for
ISH_N2_RAD_SET_WORKLIST is a standard ish n2 rad set worklist 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 ish n2 rad set worklist FM, simply by entering the name ISH_N2_RAD_SET_WORKLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: N2D00
Program Name: SAPLN2D00
Main Program: SAPLN2D00
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_N2_RAD_SET_WORKLIST 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 'ISH_N2_RAD_SET_WORKLIST'".
EXPORTING
* SS_MODE = 'INS' "IS-H*MED: Parameter Mode (Controls the Action)
* SS_DOKAR = "Document Type
* SS_DOKNR = "Document Number
* SS_DOKVR = "Document Version
* SS_DOKTL = "Document Part
* SS_LFDDOK = "
* SS_DEVICEID = "IS-H*MED: RAD Scheduled Station AE Title
* SS_PACSID = "PACS Key
* SS_DBCOMMIT = ' ' "
TABLES
* SS_WL = "IS-H*MED: Radiology Worklist
* SS_WLEXT = "IS-H*MED: Radiological Worklist for Optional Attributes
* SS_WLEXT23 = "IS-H*MED: Modality Worklist (extended structure)
EXCEPTIONS
ERROR_INS = 1 ERROR_UPD = 2 ERROR_DEL = 3 ERROR_ACCESS_DENIED = 4
IMPORTING Parameters details for ISH_N2_RAD_SET_WORKLIST
SS_MODE - IS-H*MED: Parameter Mode (Controls the Action)
Data type: N2_MODEDefault: 'INS'
Optional: No
Call by Reference: No ( called with pass by value option)
SS_DOKAR - Document Type
Data type: NDOC-DOKAROptional: Yes
Call by Reference: No ( called with pass by value option)
SS_DOKNR - Document Number
Data type: NDOC-DOKNROptional: Yes
Call by Reference: No ( called with pass by value option)
SS_DOKVR - Document Version
Data type: NDOC-DOKVROptional: Yes
Call by Reference: No ( called with pass by value option)
SS_DOKTL - Document Part
Data type: NDOC-DOKTLOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_LFDDOK -
Data type: NDOC-LFDDOKOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_DEVICEID - IS-H*MED: RAD Scheduled Station AE Title
Data type: N2RAD_0040_0001Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_PACSID - PACS Key
Data type: N2_PACSIDOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_DBCOMMIT -
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_N2_RAD_SET_WORKLIST
SS_WL - IS-H*MED: Radiology Worklist
Data type: N2RADWLOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_WLEXT - IS-H*MED: Radiological Worklist for Optional Attributes
Data type: N2RADWLEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_WLEXT23 - IS-H*MED: Modality Worklist (extended structure)
Data type: N2RADWL1Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
ERROR_INS -
Data type:Optional: No
Call by Reference: Yes
ERROR_UPD -
Data type:Optional: No
Call by Reference: Yes
ERROR_DEL - Error While Deleting
Data type:Optional: No
Call by Reference: Yes
ERROR_ACCESS_DENIED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISH_N2_RAD_SET_WORKLIST 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: | ||||
| lt_ss_wl | TYPE STANDARD TABLE OF N2RADWL, " | |||
| lv_ss_mode | TYPE N2_MODE, " 'INS' | |||
| lv_error_ins | TYPE N2_MODE, " | |||
| lv_ss_dokar | TYPE NDOC-DOKAR, " | |||
| lt_ss_wlext | TYPE STANDARD TABLE OF N2RADWLEXT, " | |||
| lv_error_upd | TYPE N2RADWLEXT, " | |||
| lv_ss_doknr | TYPE NDOC-DOKNR, " | |||
| lv_error_del | TYPE NDOC, " | |||
| lt_ss_wlext23 | TYPE STANDARD TABLE OF N2RADWL1, " | |||
| lv_ss_dokvr | TYPE NDOC-DOKVR, " | |||
| lv_error_access_denied | TYPE NDOC, " | |||
| lv_ss_doktl | TYPE NDOC-DOKTL, " | |||
| lv_ss_lfddok | TYPE NDOC-LFDDOK, " | |||
| lv_ss_deviceid | TYPE N2RAD_0040_0001, " | |||
| lv_ss_pacsid | TYPE N2_PACSID, " | |||
| lv_ss_dbcommit | TYPE FLAG. " SPACE |
|   CALL FUNCTION 'ISH_N2_RAD_SET_WORKLIST' " |
| EXPORTING | ||
| SS_MODE | = lv_ss_mode | |
| SS_DOKAR | = lv_ss_dokar | |
| SS_DOKNR | = lv_ss_doknr | |
| SS_DOKVR | = lv_ss_dokvr | |
| SS_DOKTL | = lv_ss_doktl | |
| SS_LFDDOK | = lv_ss_lfddok | |
| SS_DEVICEID | = lv_ss_deviceid | |
| SS_PACSID | = lv_ss_pacsid | |
| SS_DBCOMMIT | = lv_ss_dbcommit | |
| TABLES | ||
| SS_WL | = lt_ss_wl | |
| SS_WLEXT | = lt_ss_wlext | |
| SS_WLEXT23 | = lt_ss_wlext23 | |
| EXCEPTIONS | ||
| ERROR_INS = 1 | ||
| ERROR_UPD = 2 | ||
| ERROR_DEL = 3 | ||
| ERROR_ACCESS_DENIED = 4 | ||
| . " ISH_N2_RAD_SET_WORKLIST | ||
ABAP code using 7.40 inline data declarations to call FM ISH_N2_RAD_SET_WORKLIST
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.| DATA(ld_ss_mode) | = 'INS'. | |||
| "SELECT single DOKAR FROM NDOC INTO @DATA(ld_ss_dokar). | ||||
| "SELECT single DOKNR FROM NDOC INTO @DATA(ld_ss_doknr). | ||||
| "SELECT single DOKVR FROM NDOC INTO @DATA(ld_ss_dokvr). | ||||
| "SELECT single DOKTL FROM NDOC INTO @DATA(ld_ss_doktl). | ||||
| "SELECT single LFDDOK FROM NDOC INTO @DATA(ld_ss_lfddok). | ||||
| DATA(ld_ss_dbcommit) | = ' '. | |||
Search for further information about these or an SAP related objects