Fonction SAP BAPI_CASESERVICE_CANCELMULT - IS-H BAPI CaseService.CancelMultiple - Cancel Case-Related Services

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT BAPINALL-CLIENT C 3 Client
INSTITUTION BAPI2099DATA-INSTITUTION C 4 Institution
PATCASEID BAPI2099DATA-PATCASEID C 10 Case Number
TESTRUN BAPINALL-TESTRUN C 1 SPACE X Test Mode (No Changes in Database)

Paramètre Reférence Type Long. Description
WORST_RETURNED_MSGTY BAPINALL-WORSTRETMSG C 1 Most Severe Message Type

Paramètre Reférence Long. Facultatif Description
CASESERVICE_CANCEL BAPI2099CANCEL 34 Services to be Canceled
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It enables you to cancel services (including assignments to physicians)of a given case.

Notes
INCLUDE NBAPI_PRECOND_AUTHORITIES
RESET N1
At case level: N_NLEI_FAL;
At service level: N_NLEI_ANF, N_NLEI_ANP and N_NLEI_ERB.
The method attempts to process each CASESERVICE_CANCEL recordpassed to it. Records containing errors are skipped.
In test mode, you can check whether the services passed to thismethod can be cancelled.
INCLUDE BAPI_RET
INCLUDE NBAPI_WORST_RETURNED_MSGTY
INCLUDE NBAPI_CLIENT
INCLUDE NBAPI_INSTITUTION
INCLUDE NBAPI_PATCASEID
INCLUDE NBAPI_TESTRUN

Description
You specify the case-related services to be canceled in this table.
Specify the sequential number of the case-related service in theSERVICE_SEQNO field.
In the RULETYPE field, you can specify an identification key forthe rule type that is also passed on to the database. The rule typemust, however, be authorized for use in BAPIs. For more informationabout this, refer to the IS-H Implementation Guide in the SAPsystem by choosing Patient Accounting -> Service Rules ->Maintain Check Procedure.

Description
Any errors that may have occurred are returned in this table.

Value range
The following error messages can occur:

  • NC 603: Current client is , but data is determined for client

    • MC 600: System error occurred during lock administration

    • MC 601: Object requested is currently locked by user

    • MC 602: The requested object is locked by another transaction

    • MC 603: Lock table overflow

    • NE 532: Invalid rule type

    • NE 529: You are not authorized to cancel services

    • N1 117: Institution does not exist

    • N1 034: Case does not exist

    • N1 613: You are not allowed to process this case in institution

      • N1 601: Number of parameters in check object is
      • invalid
        • N1 602: Specified object not maintained in user
        • master
          • N1 603: No user is entered in user master

          • N1 604: Authorization for not
          • found in user master
            • N1 606: You are not authorized to carry out actions in the SAP System

            • N1 605: The user master & is incorrectly set up (SY-SUBRC =
            • )
              • N1 026: Case is cancelled

              • NE 501: Service // is not
              • defined
                • NE 531: You are not authorized to cancel this service

                • N3 284: Provisional billing carried out for the case - limited changes
                • possible
                  • NE 530: Service has been billed for - cancellation not possible

380881IS-H: Update termination with FM ND010 in NL01N