on 12-28-2016 12:57 PM
Hi All,
As a part of developing gateway service have created the data model with 6 entity types. Created 6 entity sets for the entity types created.For each entity type got properties from the custom RFC.The custom RFC has 6 tables to get data.Have created associations and the respective navigation properties.The referential constraints point to a key field which is the key field for all the tables used in the RFC. Created 6 implementations for the entities.One of the implementation is a below.Created GetEntitySet(Query mapping).Here the activities properties on right are mapped to the activities table on the right side.
Now when the service is generated we get the below warnings.
The question why is this warning message coming up though activities table fields and activity properties are mapped.As seen in the image the warning for activities does not appear. Only the other parameters give warning in this implementation for activities. The respective parameters are mapped in their respective implementations. Question is is these could be ignored.
Now tried to execute the above in the gateway client transaction. Ended with the errors as below.
The RFC interface is like below
GET_WI_LIST
importing
user_id
tables
activities
header
items
log
attachments
workitem_list
return
When generating runtime object of the service except for the warnings the classes are getting generated and status is green.Are these issues coming because of the improper mapping?.Requesting suggestions/tips in solving the issue.
Thanks in advance
Regards,
Ram
Hi
In your mail clearly showing RFC interface source field is not mapped,Header data is not there,Etc. better check the interface whether properly mapped or not
Thanks
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dinesh,
Thank you for the reply. Solved the problem by recreating the mapping. Extending the above is it mandatory to have GetEntity method implemented in the service implementations?. We have created one RFC to get collection of workitems. Now if we give workitem id in the filter from the principal entry set and get all the related data from the rest of the entry sets through navigation, could we achieve this using the RFC we have now and the GetEntitySet(Query) for the entity sets.
Regards,
Ramesh
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.