Fonction SAP BAPI_CTRACPSOBJECT_DELETE - PSCD: Set BAPI Archiving Indicator for Contract Object

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
PSOBJECTGUID BAPI_CTRACPSOBJECT_HEAD-PSOB_GUID C 32 X GUID of a Contract Object (CHAR Format)
PSOBJECTKEY BAPI_CTRACPSOBJECT_HEAD-PSOBJECTKEY C 20 BAPI Header Data: Contract Object Key
PSOBJECTTESTRUN BAPI_CTRACPSOBJECT_ADMIN-PSOBJECT_TESTRUN C 1 X Switch to Simulation Mode for Write BAPIs
XUPDATETASK BAPI_CTRACPSOBJECT_ADMIN-XUPDATETASK C 1 'X' X Datenbank-Update with Update Task

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

Functionality
This method releases the selected contract object for archiving ordeletion. If you execute the method for a contract object, the archivingindicator for the contract object is set.

Example

Notes
The contract object is not archived until a separate archiving run. Aslong as this run has not started, you can cancel the release forarchiving/deletion using the methodPSCD cancel contract object archivingindicator.

Description
In this import parameter you enter the GUID of the contract object forwhich you want to set an archiving flag.

Description
In this import parameter, enter the contract object key for which youwant to set an archiving flag.

Description
This module is used to check the instance specifications in writingBAPIs before you actually create the object instance in the database.The object instance is not really created, it is merely simulated andthe data is not updated (posted).
The following values are possible:

  • ' ' (no value)

  • No value means that the update takes place. This is the standard settingand corresponds with the expectations of the initiator (person callingthe program).
    • 'X'

    • This value means that the BAPI is only called in simulation mode and noupdate occurs when it is called.

      Description
      With this import parameter, you can define whether the new/changed datais written with an update module or directly in the database.
      In both cases, database changes can be reversed in the Logical Unitof Work (LUW) still open using a ROLLBACK WORK. The differenceis that with the update task, the data to be written with system checks(for example when creating a document that should refer to a contractobject just created) will not be regarded until the COMMIT WORKhas occurred.

      Default
      The parameter is set to 'X' by default which means an update module isused for the database update.
      INCLUDE BAPI_TABLE OBJECT DOKU ID TX