Fonction SAP /SAPCEM/BAPI_SHIPDOCCEM_RELEAS - Release of parked shipping document

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER /SAPCEM/BAPI_SDCEM-NUMBER C 10 Document number
TESTRUN BAPIFLAG-BAPIFLAG C 1 Simulation = 'X'

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return Parameters

Functionality
Status 'normal' is set for a parked CEM shipping document by this BAPI/SAPCEM/BAPI_SHIPDOCCEM_RELEASE. However, a shipping documentcan only be released (unparked) if various checks run successfully.Some of these checks are:

  • Authorization checks: Is the user authorized to release the shipping
  • document?
    • Document Date: Is the document date within the period of the current
    • settlement?
      • Status check: Does the document status allow unparking?

      • PBE-document check: Do PBE-documents already exist for the equipment in
      • the shipping document?
        • Availability: In chronological inventory management the equipment/parts
        • in the shipping document must be available after release.

          Notes
          If an error is found (parameter RETURN contains entries with TYPE E orA), and if this means you cannot cancel a shipping document, the userwho called the BAPI is responsible for unblocking all SAP locks. Thecaller is responsible for the Commit Work.

          Description
          You use this parameter to enter the number of the document to bereleased.

          Description
          If you set this indicator updating does not take place.

          Description
          Table of messages
          Messages are collected in this table.
          TYPE Message category S Success, E Error, W Warning, IInformation
          ID Message-ID
          NUMBER Message number
          MESSAGE Message text
          LOG_NO Application Log: Log Number
          LOG_MSG_NO Application Log: Sequence number of message
          MESSAGE_V1 Message variable
          MESSAGE_V2 Message variable
          MESSAGE_V3 Message variable
          MESSAGE_V4 Message variable
          PARAMETER Parameter name
          ROW Row in parameter
          FIELD Field in parameter
          SYSTEM System (logical system) from which message originates