cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Parameter has invalid value: Parameter IV_VALUE has invalid value .

Bharath369
Explorer
0 Likes
1,241

Hi All,

Below is my oData URL and when executing from /IWFND/GW_CLIENT

/sap/opu/odata4/sap/api_project_v3/srvd_a2x/sap/project/0001/WBSElement?sap-statistics=true&$top=2

I am getting the below response:
{
"error" : {
"code" : "CX_PARAMETER_INVALID_RANGE",
"message" : "Parameter has invalid value: Parameter IV_VALUE has invalid value .",
"@SAP__common.ExceptionCategory" : "Client_Error",
"details" : [
{
"code" : "/IWCOR/CX_OD_INTERNAL_ERROR/0050569259751EE4BA97133877F61116",
"message" : "In the context of Data Services an unknown internal server error occurred",
"@SAP__common.Severity" : "error",
"@SAP__common.numericSeverity" : 4
},
{
"code" : "/IWCOR/CX_OD_EP_ENTITY_ERROR/0050569259751EE4BA9739C53C899155",
"message" : "Error occurred while processing property 'SchedldBasicEarliestStartDate' of entity with index 1",
"@SAP__common.Severity" : "error",
"@SAP__common.numericSeverity" : 4
},
{
"code" : "/IWCOR/CX_OD_EP_PROPERTY_ERROR/005056A509B11ED1BF822D2D09173A04",
"message" : "Property 'SchedldBasicEarliestStartDate' has invalid value ''",
"@SAP__common.Severity" : "error",
"@SAP__common.numericSeverity" : 4
}
],
"innererror" : {
"ErrorDetails" : {
"@SAP__common.Application" : {
"ComponentId" : "PS-ST",
"ServiceRepository" : "SRVD_A2X",
"ServiceId" : "API_PROJECT_V3",
"ServiceVersion" : "0001"
},
"@SAP__common.TransactionId" : "A2E9BF5D760A0070E0068F0DD38A7ACB",
"@SAP__common.Timestamp" : "20251016161510.514754",
"@SAP__common.ErrorResolution" : {
"Analysis" : "Use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details",
"Note" : "See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"
}
}
}
}
}

Did anyone faced this error and please let me know how to resolve this error?

Thanks,

BK

Accepted Solutions (0)

Answers (3)

Answers (3)

rammel_sapdev
Participant
0 Likes

Hi, 

I tried in our practice system and I didn't encounter the same error as you did.

rammel_sapdev_1-1760708729080.png

Can you check the data (SchedldBasicEarliestStartDate) of the first two entries from SE16? Probably it's due to some erroneous data. Also, can you exclude the date field from the response by specifying a select query option? And see if you still get the error?

/sap/opu/odata4/sap/api_project_v3/srvd_a2x/sap/project/0001/WBSElement?sap-statistics=true&$top=2&$select=WBSElementInternalID,WBSDescription

rammel_sapdev_2-1760709053755.png

 

 

 

 

 

Marian_Zeis
Active Contributor
0 Likes

My guess is faulty data with Attribute SchedldBasicEarliestStartDate is empty which should be not empty because it is a key field?

rammel_sapdev
Participant
0 Likes
Bharath369
Explorer
0 Likes

hi Rammel,

I tried the below URL and I got the successful response
/sap/opu/odata4/sap/api_project_v3/srvd_a2x/sap/project/0001/WBSElement?$top=2&$skip=2

the value for  "SchedldBasicEarliestStartDate" : null,

Bharath369_0-1760706876705.png

But for the GET /sap/opu/odata4/sap/api_project_v3/srvd_a2x/sap/project/0001/WBSElement?$top=2   

I am getting the below error in the Error log. I am facing the issue with ?$top=2 only.
Error occurred while processing property 'SchedldBasicEarliestStartDate' of entity with index 1
Property 'SchedldBasicEarliestStartDate' has invalid value ''

Parameter has invalid value: Parameter IV_VALUE has invalid value .

For Project entity also ProjectInternalID is Mandatory. But without passing ProjectInternalID also, I am getting the response.
/sap/opu/odata4/sap/api_project_v3/srvd_a2x/sap/project/0001/Project?$top=2

rammel_sapdev
Participant
0 Likes
You are right, even without the WBS element, it works.