cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid format (return structure): Property Name 'Fldate', Property Value '00000000'

former_member184741
Active Contributor
0 Kudos

Hi Experts,

I have developed a simple ODATA services where i want to read and update data in sflight table. I am able to read the data and i use "use as request" option and change fldate value and click on POST then i get the error

Invalid format (return structure): Property Name 'Fldate',  Property Value '00000000'

I am not sure how to enter the date value. I have tried yyyymmdd, dd.mm.yyyy etc., but nothing seems to work. see the attached image.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member184741
Active Contributor

Hello experts,

Any help or ideas?

EkanshCapgemini
Active Contributor
0 Kudos

Hi,

Can you share the ABAP type for your property 'Fldate' ? I think this is the issue of the data type mismatch.

Regards,

Ekansh

former_member184741
Active Contributor
0 Kudos

i am using S_DATE as data element which refers DATS domain

EkanshCapgemini
Active Contributor
0 Kudos

Try giving it as Internal Type --> Date for this property.

former_member184741
Active Contributor
0 Kudos

you mean in the request XML payload

former_member184741
Active Contributor
0 Kudos

i got it. I have changed it in entity properties for fldate. But during generaion i am getting error

Property 'Fldate' must not define add. ABAP type mapping

EkanshCapgemini
Active Contributor
0 Kudos

The date property should be like

It should work.

Regards,

Ekansh

former_member184741
Active Contributor
0 Kudos

the screen shot for me looks different. I have created the fields from sflight structure. is that a issue? I can not chk the nullable property as this is a key field

EkanshCapgemini
Active Contributor
0 Kudos

That is fine..the screenshots are different due to different SP versions. I am not clear with the error you mentioned in previous post. Can you share the exact error msg you are getting (screenshots also if possible).

former_member184741
Active Contributor
0 Kudos

Hi saxena,

Sorry for the trouble. It was actually coding issue in crate entity method. I resolved it now. Thanks for the help.

Answers (0)