Ansicht
Dokumentation
BAPI_PATCASE_CHANGE_C2CA - IS-H BAPI PatientCase.ChangeCaseAssignment - Change Case Assignment
Addresses (Business Address Services) SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
It changes a case-to-case assignment. The roles of the cases within the assignment determine whether the assignment involves a companion, the assignment between a mother and a newborn, or a different assignment.
Example
Notes
To execute this method, you must be assigned the following authorizations:
- S_TCODE for transaction NP26, NP28, or NP24, depending on the type of assignment
- N_EINRI_TCO for transaction NP26, NP28, or NP24, depending on the type of assignment
Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.
The system runs the following checks:
- CLIENT, INSTITUTION, PATCASEID, ASSIGNMENT_DATA-PATCASEID, ASSIGNMENT_DATA-ENDDATE, ASSIGNMENT_DATA-BEGDATE, ASSIGNMENT_DATA-ROLE1_EXT, ASSIGNMENT_DATA-ROLE2_EXT must contain entries
- The logon client must match CLIENT.
- The institution must exist.
- Cases PATCASEID and ASSIGNMENT_DATA-PATCASEID must not be the same
- Cases PATCASEID and ASSIGNMENT_DATA-PATCASEID must not be canceled or billed
- Case ASSIGNMENT_DATA-PATCASEID must not yet be assigned to case PATCASEID in institution INSTITUTION with end date ASSIGNMENT_DATA-ENDDATE.
- If there is already a case-to-case assignment with INSTITUTION, PATCASEID, ASSIGNMENT_DATA-PATCASEID and a different end date, the periods must not overlap.
- Roles ASSIGNMENT_DATA-ROLE1_EXT, ASSIGNMENT_DATA-ROLE2_EXT must be assigned as an external role and a complementary role for an assignment in table TN15B in institution INSTITUTION.
- The valid-from date of the assignment must not be after the valid-to date.
Further information
Parameters
ASSIGNMENT_DATACLIENT
ENDDATE
INSTITUTION
NEW_ASSIGNMENT_DATA
PATCASEID1
PATCASEID2
RETURN
TESTRUN
WORST_RETURNED_MSGTY
Exceptions
Function Group
2097Fill RESBD Structure from EBP Component Structure ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 3683 Date: 20240606 Time: 121041 sap01-206 ( 42 ms )