Skip to Content

Passing internal tables as import and export varaibles

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


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2015 at 05:25 PM

    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'



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.