Skip to Content

FunctionImports in metadata documents

hi

Using oData Channel (minimal gateway) how do I expose FunctionImports in the metadata document?

My understanding is that a FunctionImport is used to support 'actions' or 'operations' that don't map to collections, and allow clients to use OData documents to be used to perform some (arbitrary) backend operation,

But I have no idea how to tie the backend BAPI/RFM to either the metadata description or the runtime behaviour.

I guess this is documented someplace, but I have not found out where.

Anyone point me in the right direction?

thanks

chris

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2011 at 02:24 PM

    Hi Chris -

    Chris Whealy provides an example of this in Part 2 of his HTG: [How to Write an OData Channel Gateway Service. Part 2 - The Runtime Data Provider Class|http://www.sdn.sap.com/irj/sdn/gateway?rid=/library/uuid/50ad7227-68a9-2e10-b191-905cb9b6c31a].

    Regards,

    Jin

    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.