on 08-10-2015 1:27 PM
Hello Gurus,
I came across a new method of /IWBEP/IF_MGW_APPL_SRV_RUNTIME Gateway Application Interface which is UPDATE_ENTITY.
I cannot trigger this method..
Can anyone share when can we trigger this method.??
like for create_deep_entity trigger on Header set for example.. likewise what can be the URI for hitting UPDATE_ENTITY.
Thanks,
Pavan G
Hi Pavan,
The UPDATE_ENTITY method is called for HTTP method PUT. So whenever you fire a call on HeaderSet with http method PUT, it will call the /IWBEP/IF_MGW_APPL_SRV_RUNTIME~UPDATE_ENTITY method which checks the Entity and calls the respective Update method. Now the flow comes to HEADERSET_UPDATE_ENTITY and after executing this, it again comes back to /IWBEP/IF_MGW_APPL_SRV_RUNTIME~UPDATE_ENTITY.
Regards,
Ekansh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ekansh,
I completely agree with you,
consider an example, If we have sales order Header and sales order Item Entity sets. We perform the GET operation on HeaderSet (Get_expand_entity) and choose 'Use as Request' option, Click the the PUT radio button and click EXECUTE..
(Note: uri assuming will be http:// host /service_name/HeaderSet)
since we have redefined the Get_expand_entity method, we get the HTTP response accordingly for both Header & Item for that specific SALES ORDER.
Now what shud be changed the these above steps to hit the hit Update_Entity method..??
also can you specify the URI for the same..
Regards,
Pavan Golesar.
Yes, Even I had this concern..
and yes I am stuck at this step..
So what need to be done in the case of achieving (Kind of functionality) of update deep entity..
At worst I think redefining the Headerset_Update_entity.. and carrying out this on the URI
headerset('55555') and http put operation,
Regards,
Pavan
Hi Pavan,
You need to opt for $batch for this kind of scenario. You can find many useful links in this forum.
For your approach, the flow would not even come to Headerset_Update_entity if structure in your body is a deep structure so you would not be able to retrieve the request body in this method.
Regards,
Ekansh
Hi all
here i am facing same problem..
getting stuck this issue
this was blog we i have already discuss issue but not yet get any solution
help me out these issue
Thanks in Adv,
Umesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
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.