BAPI_CASEPROCEDURE_CHANGEMULT 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 BAPI_CASEPROCEDURE_CHANGEMULT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
1303
Released Date:
28.07.2005
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_CASEPROCEDURE_CHANGEMULT' "IS-H BAPI CaseProcedure.ChangeMultiple - Change Case-Related Procedures
EXPORTING
client = " bapinall-client Client
institution = " bapi1303data-institution Institution
patcaseid = " bapi1303data-patcaseid Case Number
* testrun = SPACE " bapinall-testrun Test Mode (No Changes in Database)
IMPORTING
worst_returned_msgty = " bapinall-worstretmsg Most Severe Message Type
TABLES
caseprocedure_cdata = " bapi1303cdata Data for Procedures to Be Created
* caseprocedure_casssrv = " bapi1303casssrv Assignments to Services to Be Created
* caseprocedure_cassdia = " bapi1303cassdia Assignments to Diagnoses to Be Created
* return = " bapiret2 Return Messages
. " BAPI_CASEPROCEDURE_CHANGEMULT
The ABAP code below is a full code listing to execute function module BAPI_CASEPROCEDURE_CHANGEMULT 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_worst_returned_msgty | TYPE BAPINALL-WORSTRETMSG , |
| it_caseprocedure_cdata | TYPE STANDARD TABLE OF BAPI1303CDATA,"TABLES PARAM |
| wa_caseprocedure_cdata | LIKE LINE OF it_caseprocedure_cdata , |
| it_caseprocedure_casssrv | TYPE STANDARD TABLE OF BAPI1303CASSSRV,"TABLES PARAM |
| wa_caseprocedure_casssrv | LIKE LINE OF it_caseprocedure_casssrv , |
| it_caseprocedure_cassdia | TYPE STANDARD TABLE OF BAPI1303CASSDIA,"TABLES PARAM |
| wa_caseprocedure_cassdia | LIKE LINE OF it_caseprocedure_cassdia , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
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_worst_returned_msgty | TYPE BAPINALL-WORSTRETMSG , |
| ld_client | TYPE BAPINALL-CLIENT , |
| it_caseprocedure_cdata | TYPE STANDARD TABLE OF BAPI1303CDATA , |
| wa_caseprocedure_cdata | LIKE LINE OF it_caseprocedure_cdata, |
| ld_institution | TYPE BAPI1303DATA-INSTITUTION , |
| it_caseprocedure_casssrv | TYPE STANDARD TABLE OF BAPI1303CASSSRV , |
| wa_caseprocedure_casssrv | LIKE LINE OF it_caseprocedure_casssrv, |
| ld_patcaseid | TYPE BAPI1303DATA-PATCASEID , |
| it_caseprocedure_cassdia | TYPE STANDARD TABLE OF BAPI1303CASSDIA , |
| wa_caseprocedure_cassdia | LIKE LINE OF it_caseprocedure_cassdia, |
| ld_testrun | TYPE BAPINALL-TESTRUN , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
It changes procedures for a specific case. Service assignments and
diagnosis assignments can be created for the procedures. For this to be
...See here for full SAP fm documentation
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 BAPI_CASEPROCEDURE_CHANGEMULT or its description.
BAPI_CASEPROCEDURE_CHANGEMULT - IS-H BAPI CaseProcedure.ChangeMultiple - Change Case-Related Procedure BAPI_CASEPROCEDURE_CANCELMULT - IS-H BAPI CaseProcedure.CancelMultiple - Cancel Case-Related Procedure BAPI_CASEDIAGNOSIS_MODIFYMULT - IS-H BAPI CaseDiagnosis.ChangeMultiple - Change Diagnoses for Case BAPI_CASEDIAGNOSIS_GETLIST - IS-H BAPI CaseDiagnosis.GetList - List Diagnoses for Case BAPI_CASEDIAGNOSIS_GETDETAIL - IS-H BAPI CaseDiagnosis.GetDetail - Display Details on Diagnosis BAPI_CASEDIAGNOSIS_DELETEMULT - IS-H BAPI CaseDiagnosis.DeleteMultiple - Delete Diagnoses for Case