SAP Knowledge Base Article - Public

3044143 - Create Customer Contract with item Start and End Date is not possible via Odata Service

Symptom

You are unable to create Customer Contract with item Start and End Date via Odata Service.

Error Message:

ISO codes for start date and time not valid::ISO codes for end date and time not valid::Date is missing or not in valid ISO format::ISO codes for start date and time not valid::ISO codes for start date and time not valid::ISO codes for end date and time not valid::ISO codes for start date and time not valid::ISO codes for end date and time not valid::Changing Actual End not possible; field is read-only::Changing Start Date/Time not possible; field is read-only::ISO codes for start date and time not valid::ISO codes for end date and time not valid::Create not possible; source object inconsistent Diagnosis If the source object is, for example, a product, then a schedule line cannot be created for this sales order item, because the product is missing in the master data. System Response Possible Solutions in Master Data Check, and create the required source object, if necessary. Procedure Procedure for System Administration::Date is missing or not in valid ISO format::Date is missing or not in valid ISO format

Environment

SAP Business ByDesign

Reproducing the Issue

You are using POST Call in Postman Tool with below Request payload with sample data:

{

"Name":"",

"BuyerID":"",

"DateTime":"",

"DistributionChannelCode":"",

"CustomerContractBuyerParty":

{

"PartyID" : ""

},

"CustomerContractEmployeeResponsibleParty":

{

"PartyID" : ""

},

"CustomerContractAdministratorParty":

{

"PartyID" : ""

},

"CustomerContractSalesUnitParty":

{

"PartyID" : ""

},

"StartDateTime":"",

"EndDateTime":"",

"CustomerContractItem":

[

{

"ID": "",

"Description":"",

"ProductID":"",

"PricePerPeriodIndicator":,

"AccountingAssignment":[

{

"TaskID":""

}

],

"CustomerContractValidityItemPeriod":

{

"StartDateTime":"",

"EndDateTime":""

}

}

]

}

You receive above error in Response.

Cause

Item level update of validity period during creation is not supported.

Resolution

You can create the contract by providing the header validity date and then an update to the item validity date in a separate PATCH request.

Keywords

Customer Contract, Item Start Date , Item End Date, Odata Service, ISO error , KBA , AP-RC-ODF-BYD , OData Framework and Console (ByD) , Problem

Product

SAP Business ByDesign all versions