This was a little disappointing, given my oData experience so far went from
- messing around with the DPC_EXT methods (where you had to do a bit of work to read the contents of the message from the frontend)
- just cloning the FM interface out to an oData structure (where you didn't have to do any work...
I think you can guess which one I preferred...
So when you need to populate lots of stuff into a function module (e.g. you're creating a Sales Order, and you need to pass header data and several lines of line Item data)
you need to use a "Deep Entity". This immediately makes me think that the entity is sitting around contemplating the meaning of life, questioning it's own existence, etc etc.
The setting up of a deep entity call is described in detail here:
http://scn.sap.com/community/gateway/blog/2014/04/27/step-by-step-development-guide-for-createdeepentity-operation
and the corresponding front-end call is described here:
https://scn.sap.com/thread/3557655
I'm about to go through these; if there's anything notable about them, I'll blog in some additions below. Peace.
No comments:
Post a Comment