Ansicht
Dokumentation

BAPI_MEDDOC_SETSTATUS - IS-H*MED: Set Document Status

BAPI_MEDDOC_SETSTATUS - IS-H*MED: Set Document Status

TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

For medical documents, one status is set.

There are three (3) options for setting the next status:

  • The next status can be included, either the internal status (STATUSINTERN) or the external language-dependent status (STATUSEXTERN). If the external status is transferred, the system will determine the internal status and store it. The internal status has priority over the external status, if both statuses are transferred.
  • You can make a selection so that the next status (SET_NEXT_STATUS) is set. If the system determines that more than one next status is defined, a corresponding error message will appear.
  • You can make a selection so that the system sets the next status with a release indicator (SET_RELEASE_STATUS), so that the document is released. If the system determines that more than one next status with a release indicator is defined, a corresponding error message will appear.

If you select more than one option, the system will use the following priority:

  1. Transfer of the Internal Status
  2. Transfer of the External Status
  3. Release Document (Set Release Status)
  4. Set Next Status

Example

Notes

The processing functions do not necessarily require import parameter IM_DOCDATA. Although, if you would like to increase the performance, you can transfer the following fields of this structure contained in the management data of the current document:

  • Institution (INSTITUTION)
  • Document Category (DOCUMENT_CATEGORY)
  • Document Category Version (DOCUMENT_CATVERSION)

Further information





Parameters

CHECK_PMD_RELEASE
DOCUMENTDATA
DOCUMENTNUMBER
DOCUMENTPART
DOCUMENTTYPE
DOCUMENTVERSION
LOGFIELD
RETURN
SET_NEXT_STATUS
SET_RELEASE_STATUS
STATUSEXTERN
STATUSINTERN
TESTRUN
WORST_RETURNED_MSGTY

Exceptions

Function Group

1400

TXBHW - Original Tax Base Amount in Local Currency   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3637 Date: 20240606 Time: 124646     sap01-206 ( 40 ms )