Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ODATA Service Error : GetEntity(READ) operation : Mapping can cause runtime data loss

sanjana_lingras
Active Participant
0 Likes
2,199

Hi Experts,

I am facing issue while generating Odata service for Material Read interface. I have developed custom RFC to read material data based on material number as a key. RFC has 31 Export parameters and I have implemented GetEntity(Read) method.

I am able to successfully import the RFC in ODATA service but while trying to Map Data source for GetEntity(Read) , I am facing error Mapping between parameters can cause data loss runtime.

Can you please let me know what could be wrong? I have attached error screenshot.capturenew.jpg

1 ACCEPTED SOLUTION
Read only

venkateswaran_k
Active Contributor
0 Likes
2,012

Hi

It is a warning message only. However, please check the length of the mapping fields. Example MATNR ( that defined in the table ) against that defined in your ODATA property. It should be same.

Regards,

Venkat

5 REPLIES 5
Read only

venkateswaran_k
Active Contributor
0 Likes
2,013

Hi

It is a warning message only. However, please check the length of the mapping fields. Example MATNR ( that defined in the table ) against that defined in your ODATA property. It should be same.

Regards,

Venkat

Read only

0 Likes
2,012

No I have imported from RFC and data types are same as table.

Its not warning, while generating service its giving error.

Read only

0 Likes
2,012

Can you please share the SEGW - property screen

and your Table structure screen

Read only

0 Likes
2,012

captureerr.jpg

Attaching property screenshot

Read only

venkateswaran_k
Active Contributor
0 Likes
2,012

Hi Sanjana

Please Make changes to properties Ezmatnr1..to. Ezmatnr5 - change the max length from 10 to 18.

Also, please show the table strcture of E_ZSACCO1 to 5.

Regards,

Venkat