on 12-16-2015 4:53 PM
Hi All,
I have a Function module which has 4 import parameters and one return table parameter.. when I tried to create odata service for this RFC, I see that 2 individual entity types are being created.. where as I dont want them to appear as 2 entities.. it should exactly emulate the RFC as taking 4 import and 1 return table type, so how can I achieve this.
Best Regards
Manoj
Hello Manoj,
1. Manually add all the input and out put fields inside a single entity. Define Key(s) which are present as part of your output table only.
2. While performing service implementation ( in your case it would be Query/EntitySet ) on selection of ' Map to data Source ' , map input & output fields accordingly OR use propose mapping option.
3. Generate run time artifacts.
4. Pass inputs as part of filters.
Sample URI would be ->
...?$filter=Param1 eq 'XXX' and Param2 eq 'XXX' and Param3 eq 'XXX' and Param4 eq 'XXX'
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
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.