SAP Function /SAPCEM/BAPI_SHIPDOCCEM_PARK - Parking (Document Status 7) of CEM Shipping Document

Parameter Reference Type Length Default Optional Text
NUMBER /SAPCEM/BAPI_SDCEM-NUMBER C 10 Document number
TESTRUN BAPIFLAG-BAPIFLAG C 1 X Simulation = 'X'

Parameter Reference Length Optional Text
RETURN BAPIRET2 548 Return Parameters

Functionality
The status 'Park' is set for a CEM shipping document via this BAPI/SAPCEM/BAPI_SHIPDOCCEM_PARK. However you can only parka shippingdocument if various checks are successful. Some of these checks are:

  • Authority checks: Is the user authorized to park the shipping document?

  • Document Date: Is the date within the period of current settlement?

  • Status check: Does the document status permit parking?

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

        Notes
        If an error occurs (parameter RETURN contains entries with TYPE E orA), and if this means that the shipping document cannot be parked, thecaller of the BAPI is responsible for removing all SAP blocks. Thecaller of the BAPI is responsible for the Commit Work.

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

        Description
        If you use this indicoatr 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