ISH_NV2000_CALL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISH_NV2000_CALL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
NPA10
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISH_NV2000_CALL' "IS-H: Call Clinical Process Builder
EXPORTING
i_einri = " einri Institution
* i_patnr = SPACE " patnr Patient Number
* i_falnr = SPACE " falnr Case Number
* i_lfdnr = 0 " lfdbew Sequence Number of a Movement
* i_fcode = " ish_fcode_dtm Caller when Determining the Work Environment
* i_vcode = 'UPD' " ish_vcode Processing Mode -> F2
* i_patrl = OFF " ish_on_off Patient-Related only
* i_falar_insert = '1' " fallart Case Type when Creating a Case ('2' for Outpatient)
* i_enqueue_patnr = 'X' " ish_on_off Lock Patient (ON/OFF) -> F2
* i_enqueue_falnr = 'X' " ish_on_off Lock Case (ON/OFF) -> F2
* i_enqueue_papid = 'X' " ish_on_off Lock Provisional Patient (ON/OFF) -> F2
* i_skip_entry = SPACE " ish_on_off Skip Initial Screen (ON/OFF)
* i_skip_caselist = SPACE " ish_on_off Skip Case List (ON/OFF)
* i_wplaceid = SPACE " nwplaceid Variant ID
* i_pop_wplaceid = SPACE " ish_on_off Dialog Box for Variant Selection (ON/OFF)
* is_proposal = " rnv2000 Presetting
* i_tcode_old = SPACE " tcode Transaction Code -> F2
* i_leave = SPACE " ish_on_off LEAVE TO TRANSACTION Instead of CALL TRANSACTION
IMPORTING
e_okcode = " sy-ucomm Function with which the Clinical Process Builder Was Exited
e_patnr = " patnr Edited Patient (for Create: New Patient Number)
e_falnr = " falnr Edited Case (for Create: New Case Number)
e_lfdnr = " lfdbew Edited Movement (for Create: New Sequence Number of the Movement)
EXCEPTIONS
NO_AUTHORITY = 1 " No Authorization
ENQUEUE_MISSING = 2 " Lock Is Missing
ADMISSION_NOT_SAVED = 3 " Transaction Was Exited Without Save
ERROR = 4 " Error During Call
. " ISH_NV2000_CALL
The ABAP code below is a full code listing to execute function module ISH_NV2000_CALL including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_okcode | TYPE SY-UCOMM , |
| ld_e_patnr | TYPE PATNR , |
| ld_e_falnr | TYPE FALNR , |
| ld_e_lfdnr | TYPE LFDBEW . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_okcode | TYPE SY-UCOMM , |
| ld_i_einri | TYPE EINRI , |
| ld_e_patnr | TYPE PATNR , |
| ld_i_patnr | TYPE PATNR , |
| ld_e_falnr | TYPE FALNR , |
| ld_i_falnr | TYPE FALNR , |
| ld_e_lfdnr | TYPE LFDBEW , |
| ld_i_lfdnr | TYPE LFDBEW , |
| ld_i_fcode | TYPE ISH_FCODE_DTM , |
| ld_i_vcode | TYPE ISH_VCODE , |
| ld_i_patrl | TYPE ISH_ON_OFF , |
| ld_i_falar_insert | TYPE FALLART , |
| ld_i_enqueue_patnr | TYPE ISH_ON_OFF , |
| ld_i_enqueue_falnr | TYPE ISH_ON_OFF , |
| ld_i_enqueue_papid | TYPE ISH_ON_OFF , |
| ld_i_skip_entry | TYPE ISH_ON_OFF , |
| ld_i_skip_caselist | TYPE ISH_ON_OFF , |
| ld_i_wplaceid | TYPE NWPLACEID , |
| ld_i_pop_wplaceid | TYPE ISH_ON_OFF , |
| ld_is_proposal | TYPE RNV2000 , |
| ld_i_tcode_old | TYPE TCODE , |
| ld_i_leave | TYPE ISH_ON_OFF . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISH_NV2000_CALL or its description.