on 12-29-2013 4:36 AM
Hi,
I have created OData service and passing WBS element in output but its not showing the right value.. I did put conversion function module its giving error.. If I dont do anything and keep WBS field as 8 Char its showing some different value..
Two Issues: first its not showing up correct value which I am passing from backend.. and while reading it deep entity its giving dump..
Please advice how to handle conversions in Odata services..
Regards,
Rajesh
Hi Rajesh,
I am not clear about the problem. Have few questions.
Are you doing a read or a create?
Where did you put conversion FM? For $expand or deep insert?
What is the correct value and what is it showing as?
Thanks
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am trying to send wbs element in response of GET request.. But for WBS it is showing some number which is not passed from program... But When I am using data from create it giving dump and saying conversion error..
..ERROR_INFO | Invalid format (return table): Row Number 1, Property Name 'Rproj', Property Value 'U-010000050.0010' |
I want to pass CATSDB-RPROJ field to front end and get it back for create method...Maybe this field is mapped to conversion exit and causing problem...
RPROJ | EPROJ | NUMC | 8 | 0 | Receiver WBS element |
Yes, it has to do with conversion routines.
In READ,
In Gateway, you provide the value as stored in table, and Gateway will convert it into display format by executing the conversion routine (CONVERSION_EXIT_ABPSP_OUTPUT).
In CREATE,
When You try to create in browser(or any client), you need to give input in the display format (not as stored in table), and Gateway will convert into internal format. (by executing CONVERSION_EXIT_ABPSP_INPUT).
You can put breakpoints in these routines and double check.
For more information, click here.
Regards
Krishna
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.