cancel
Showing results for 
Search instead for 
Did you mean: 

API Real Estate Contracts for Public Cloud

JFPC
Participant
0 Kudos
409

Dear all,

We want to use the API for Real Estate Contracts to upload and change Real Estate contracts in a Public Cloud system. Currently we are executing some tests with the Post method to create new contracts. The contracts to be loaded are lease contracts with a contract object. We are loading the contracts with minimal information, meaning only the structures:

  • Header (company code, contract type, contract name, term, valuation relevance)
  • Object assignment (object type target “J4”, subject number “0010”, subject type and account assignment object)
  • Conditions (condition type, validity, unit price, condition purpose, calculation rule and statusobjectcalculation),
  • Partner (partner number and role)
  • Organizational assignment (profit center and functional area)
  • Valuation (valuation rule, term number, interest, consideration start date, object type and statusobject).

What we encounter is that we receive error messages on the valuation tab mentioning that the object is not a contractobject. If we load the contract without the valuation we can create a contract but the condition is not assigned to the contractobject.

We would like to know how to interpret the fields in the condition and valuation structure to link the condition and the valuation to the contract object. We tried using different combinations without luck. If we execute the Read API we see that the fields are filled with internal SAP numbers which we do not know when creating the contract.

The problem according to us is how to fill these fields:

  • Condition -          "REStatusObjectCalculation": "string", we tried COB 0010, only 0010 or J4 0010 without luck There are no two separate fields for object type and object which we would expect.
  • Valuation -          "REStatusObject": "string", here we have two fields but filling this with 0010 is not resulting in a correct valuation and "RealEstateObjectType": "string", here also J4 is not resulting in a correct valuation

Error message:

- Condition: "code": "RECD/060",    "message": "The calculation object of the condition is not a contract object",

- Valuation: "code": "RECETM/019", "message": "IFRS 10: Object  of valuation rule is not assigned to contract",

We would like to know how we must fill the fields in order to create a contract with a contract object, where the condition and valuation is linked to this contract object.

If we look into the "old" BAPI which was used previously or in the migration object for Real Estate contract, we always find two fields, one for object type and one for object number. These we cannot find like this in the API.

Thanks in advance,

Jeroen

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos
Added Finance tag, please remove other tags.
JFPC
Participant
0 Kudos
Hi, I have removed one tag but the issue is in an API and for a Real Estate Management issue within Public Cloud. It should stay on only Finance? Best regards, Jeroen

Accepted Solutions (0)

Answers (0)