Fonction SAP BAPI_CTRACPSOBJECT_UNDELETE - PSCD: Reset 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
With this method you remove a set archiving indicator for the selectedcontract object.

Example

Notes
This reverses the release of the specified contract object forarchiving.

Description
In this import parameter you enter the GUID of the contract object whosearchiving flag you wish to delete.

Description
In this import parameter, enter the key of the contract object whosearchiving flag you want to remove.

Description
This function module is used to check the instance specifications inwriting BAPIs before the object instance is actually created in thedatabase. The object instance is merely simulated and the data is notupdated (posted).
The following values are possible:

  • ' ' (no value)

  • No value means that the update takes place. This is the standard settingand meets the expectations of the person calling.
    • 'X'

    • This value means that the BAPI is only called in simulation mode andthat no update takes place when it is called.

      Description
      With this import parameter, you can define whether new/changed data iswritten with an update module or directly in the database.
      In both cases, you can reverse database changes in the Logical Unitof Work (LUW) still open, by using a ROLLBACK WORK. Thedifference is that with the update task, the data to be written withsystem checks (for example, when creating a document that refers to acontract object just created) is not regarded until a COMMIT WORK
      has occurred.

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