Fonction SAP BAPI_CTRACPSOBJACC_EXISTCHECK - PSCD: BAPI Contract Object With Accounting Data - Check Existence

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CTRACCOUNTTYPE BAPI_CTRACPSOBJECT_ACCOUNT-CTRACCOUNTTYPE C 2 BAPI Accounting Data: Contract Account Category
PARTNER BAPI_CTRACPSOBJECT_ACCOUNT-PARTNER C 10 BAPI Accounting Data: Business Partner
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
XOBSOLETE BAPI_CTRACPSOBJECT_ADMIN-XOBSOLETE C 1 SPACE X Check Obsolete Contract Account Data Also?

Paramètre Reférence Type Long. Description
PSOBJECTEXIST BAPI_CTRACPSOBJECT_EXIST u 2 BAPI Existence Check Data for Contract Object

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

Functionality
With this method you can check whether a particular contract objectwith accounting data exists in the system. The result of the check isreturned via the structure PSOBJECTEXIST. Alternatively, thereturn code transferred can also be evaluated.
As well as key field PSOBJECTKEY, you must also enter a businesspartner/contract account category combination for the accounting datarecord that you are searching for.

Example

Notes

Description
In this export parameter the check result is displayed if a particularcontract object or a combination (triple) of contract object - businesspartner - contract account category exists in the system.

Description
In this import parameter you enter the contract accountcategory of a contract object that should be checked.

Description
In this import parameter you can limit the selection of the contractobject specifically for this contract object-business partnercombination by entering a business partner.

Description
In this import parameter, you enter the GUID of the contract object tobe checked.

Description
In this import parameter enter the key of the contract object thatshould be checked.

Description
You can use this import parameter to define whether contract accountdata flagged as obsolete should be included in the existence check. Tobe able to do this, you need authorization for authorization objectF_KK_SOND with activity 24.

Default
By default, the parameter is not set; as such, obsolete contractaccount data is not included.
INCLUDE BAPI_TABLE OBJECT DOKU ID TX