Ansicht
Dokumentation
BAPI_PATCASE_ADD_C2CA - IS-H BAPI PatientCase.AddCaseAssignment - Create Case Assignment
BAL Application Log Documentation Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
It creates a case-to-case assignment for two cases. 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
INSTITUTION
NEW_ASSIGNMENT_DATA
PATCASEID
RETURN
TESTRUN
WORST_RETURNED_MSGTY
Exceptions
Function Group
2097TXBHW - Original Tax Base Amount in Local Currency BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 3511 Date: 20240523 Time: 171925 sap01-206 ( 41 ms )