SAP ISH_TRTCRT_MODIFYMULTIPLE Function Module for IS-H: Treat. Cert. Modify API
ISH_TRTCRT_MODIFYMULTIPLE is a standard ish trtcrt modifymultiple SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-H: Treat. Cert. Modify API processing and below is the pattern details for this FM, 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 trtcrt modifymultiple FM, simply by entering the name ISH_TRTCRT_MODIFYMULTIPLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: N_API_TRTCRT
Program Name: SAPLN_API_TRTCRT
Main Program: SAPLN_API_TRTCRT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_TRTCRT_MODIFYMULTIPLE 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_TRTCRT_MODIFYMULTIPLE'"IS-H: Treat. Cert. Modify API.
EXPORTING
I_EINRI = "Institution
I_FALNR = "Case Number
* I_AUTHCHECK = 'X' "Authority Check
* I_TESTRUN = ' ' "Test Run
* I_ACT_COMPLETE = ' ' "Current data table complete
* I_CALL_FROM_BAPI = ' ' "BAPI call
* IS_ACTNPAT = "Patient Master Data (General)
* IS_ACTNFAL = "Cases
IMPORTING
E_RETMAXTYPE = "Most Severe Message Type Generated
ET_RETURN = "Table Type for Structure BAPIRET2
ET_NKSK = "Table type for NKSK
ET_NKSP = "Table type for NKSP
ET_NKSD = "Table type for NKSD
ET_NBKZ = "Table type for NBKZ
ET_NLKZ = "Table Type for NLKZ
CHANGING
CT_RNAPITRTCRT = "Table Type for RNAPITRTCRT
* CT_RNAPITRTCRTTXT = "Table Type for RNAPITRTCRTTXT
* CT_RNAPITRTCRTMOVASS = "Table Type for RNAPITRTCRTMOVASS
TABLES
* CT_ACTVNKSK = "Table type for VNKSK
* CT_ACTVNKSP = "Table Type for VNKSP
* CT_ACTVNKSD = "Table Type fo VNKSD
* CT_ACTVNBKZ = "Table Type for VNBKZ
* CT_ACTVNLKZ = "Table Type for VNLKZ
IMPORTING Parameters details for ISH_TRTCRT_MODIFYMULTIPLE
I_EINRI - Institution
Data type: EINRIOptional: No
Call by Reference: No ( called with pass by value option)
I_FALNR - Case Number
Data type: FALNROptional: No
Call by Reference: No ( called with pass by value option)
I_AUTHCHECK - Authority Check
Data type: ISH_ON_OFFDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TESTRUN - Test Run
Data type: ISH_ON_OFFDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ACT_COMPLETE - Current data table complete
Data type: ISH_ON_OFFDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CALL_FROM_BAPI - BAPI call
Data type: ISH_ON_OFFDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_ACTNPAT - Patient Master Data (General)
Data type: NPATOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_ACTNFAL - Cases
Data type: NFALOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_TRTCRT_MODIFYMULTIPLE
E_RETMAXTYPE - Most Severe Message Type Generated
Data type: ISH_BAPIRETMAXTYOptional: No
Call by Reference: No ( called with pass by value option)
ET_RETURN - Table Type for Structure BAPIRET2
Data type: ISH_BAPIRET2_TAB_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
ET_NKSK - Table type for NKSK
Data type: ISH_T_NKSKOptional: No
Call by Reference: No ( called with pass by value option)
ET_NKSP - Table type for NKSP
Data type: ISH_T_NKSPOptional: No
Call by Reference: No ( called with pass by value option)
ET_NKSD - Table type for NKSD
Data type: ISH_T_NKSDOptional: No
Call by Reference: No ( called with pass by value option)
ET_NBKZ - Table type for NBKZ
Data type: ISH_T_NBKZOptional: No
Call by Reference: No ( called with pass by value option)
ET_NLKZ - Table Type for NLKZ
Data type: ISH_T_NLKZOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISH_TRTCRT_MODIFYMULTIPLE
CT_RNAPITRTCRT - Table Type for RNAPITRTCRT
Data type: ISH_T_RNAPITRTCRTOptional: No
Call by Reference: Yes
CT_RNAPITRTCRTTXT - Table Type for RNAPITRTCRTTXT
Data type: ISH_T_RNAPITRTCRTTXTOptional: Yes
Call by Reference: Yes
CT_RNAPITRTCRTMOVASS - Table Type for RNAPITRTCRTMOVASS
Data type: ISH_T_RNAPITRTCRTMOVASSOptional: Yes
Call by Reference: Yes
TABLES Parameters details for ISH_TRTCRT_MODIFYMULTIPLE
CT_ACTVNKSK - Table type for VNKSK
Data type: ISH_T_VNKSKOptional: Yes
Call by Reference: Yes
CT_ACTVNKSP - Table Type for VNKSP
Data type: ISH_T_VNKSPOptional: Yes
Call by Reference: Yes
CT_ACTVNKSD - Table Type fo VNKSD
Data type: ISH_T_VNKSDOptional: Yes
Call by Reference: Yes
CT_ACTVNBKZ - Table Type for VNBKZ
Data type: ISH_T_VNBKZOptional: Yes
Call by Reference: Yes
CT_ACTVNLKZ - Table Type for VNLKZ
Data type: ISH_T_VNLKZOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISH_TRTCRT_MODIFYMULTIPLE 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_i_einri | TYPE EINRI, " | |||
| lt_ct_actvnksk | TYPE STANDARD TABLE OF ISH_T_VNKSK, " | |||
| lv_e_retmaxtype | TYPE ISH_BAPIRETMAXTY, " | |||
| lv_ct_rnapitrtcrt | TYPE ISH_T_RNAPITRTCRT, " | |||
| lv_i_falnr | TYPE FALNR, " | |||
| lv_et_return | TYPE ISH_BAPIRET2_TAB_TYPE, " | |||
| lt_ct_actvnksp | TYPE STANDARD TABLE OF ISH_T_VNKSP, " | |||
| lv_ct_rnapitrtcrttxt | TYPE ISH_T_RNAPITRTCRTTXT, " | |||
| lv_et_nksk | TYPE ISH_T_NKSK, " | |||
| lt_ct_actvnksd | TYPE STANDARD TABLE OF ISH_T_VNKSD, " | |||
| lv_i_authcheck | TYPE ISH_ON_OFF, " 'X' | |||
| lv_ct_rnapitrtcrtmovass | TYPE ISH_T_RNAPITRTCRTMOVASS, " | |||
| lv_et_nksp | TYPE ISH_T_NKSP, " | |||
| lv_i_testrun | TYPE ISH_ON_OFF, " ' ' | |||
| lt_ct_actvnbkz | TYPE STANDARD TABLE OF ISH_T_VNBKZ, " | |||
| lv_et_nksd | TYPE ISH_T_NKSD, " | |||
| lt_ct_actvnlkz | TYPE STANDARD TABLE OF ISH_T_VNLKZ, " | |||
| lv_i_act_complete | TYPE ISH_ON_OFF, " ' ' | |||
| lv_et_nbkz | TYPE ISH_T_NBKZ, " | |||
| lv_i_call_from_bapi | TYPE ISH_ON_OFF, " ' ' | |||
| lv_et_nlkz | TYPE ISH_T_NLKZ, " | |||
| lv_is_actnpat | TYPE NPAT, " | |||
| lv_is_actnfal | TYPE NFAL. " |
|   CALL FUNCTION 'ISH_TRTCRT_MODIFYMULTIPLE' "IS-H: Treat. Cert. Modify API |
| EXPORTING | ||
| I_EINRI | = lv_i_einri | |
| I_FALNR | = lv_i_falnr | |
| I_AUTHCHECK | = lv_i_authcheck | |
| I_TESTRUN | = lv_i_testrun | |
| I_ACT_COMPLETE | = lv_i_act_complete | |
| I_CALL_FROM_BAPI | = lv_i_call_from_bapi | |
| IS_ACTNPAT | = lv_is_actnpat | |
| IS_ACTNFAL | = lv_is_actnfal | |
| IMPORTING | ||
| E_RETMAXTYPE | = lv_e_retmaxtype | |
| ET_RETURN | = lv_et_return | |
| ET_NKSK | = lv_et_nksk | |
| ET_NKSP | = lv_et_nksp | |
| ET_NKSD | = lv_et_nksd | |
| ET_NBKZ | = lv_et_nbkz | |
| ET_NLKZ | = lv_et_nlkz | |
| CHANGING | ||
| CT_RNAPITRTCRT | = lv_ct_rnapitrtcrt | |
| CT_RNAPITRTCRTTXT | = lv_ct_rnapitrtcrttxt | |
| CT_RNAPITRTCRTMOVASS | = lv_ct_rnapitrtcrtmovass | |
| TABLES | ||
| CT_ACTVNKSK | = lt_ct_actvnksk | |
| CT_ACTVNKSP | = lt_ct_actvnksp | |
| CT_ACTVNKSD | = lt_ct_actvnksd | |
| CT_ACTVNBKZ | = lt_ct_actvnbkz | |
| CT_ACTVNLKZ | = lt_ct_actvnlkz | |
| . " ISH_TRTCRT_MODIFYMULTIPLE | ||
ABAP code using 7.40 inline data declarations to call FM ISH_TRTCRT_MODIFYMULTIPLE
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_i_authcheck) | = 'X'. | |||
| DATA(ld_i_testrun) | = ' '. | |||
| DATA(ld_i_act_complete) | = ' '. | |||
| DATA(ld_i_call_from_bapi) | = ' '. | |||
Search for further information about these or an SAP related objects