on 04-22-2015 7:24 AM
Hi Experts,
I can try to pass parameter to rfc function via url.
How can I do it ?
I create function import parameter but I couldnt configure.
My query is
**********************/sap/opu/odata/sap/ZWEBDI_FIORI02_SRV/DiSet?URUNTIPI=35
Thnks,
Hello Kaan,
URL Convention is as below :
sap/opu/odata/sap/<Your Service Name>/<Function Import Name>?<Parameter Name>='XXX'
As per the latest screen shot,
1. Set the method to GET in GW Model and generate the Run-Time Objects
2. Write Logic in ExecuteAction method of the DPC_EXT class.
3. Clear the model cache in /iwfnd/cache_cleanup
4. While firing in Gateway Client, set HTTP method to GET with the Below URL and should work ->
sap/opu/odata/sap/<Your Service Name>/uruntipi?URUNTIPI='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.
you just need to redefine DPC_EXT class method. Please check implementation code for /IWBEP/IF_MGW_APPL_SRV_RUNTIME~EXECUTE_ACTION in my blog
Check for point 6 - Function Import. Also I will suggest to debug the code by putting external point into method. and if possible try to go through all operations that I mentioned in my blog and debug so that you will understand it better.
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah..
Maksim,
I actually meant the URL given by you is right, and wanted him to additionally clear the cache.
Kaan,
Sorry for confusion.
- URL has to be sap/opu/odata/sap/ZWEBDI_FIORI02_SRV/Di?URUNTIPI=35
After you created the function import, did you generate runtime artefacts and clear cache after that?
Because you are asking EntitySet to provide you data by calling DiSet.
I fully agree with Maksim and Krishna, correct url must be /sap/opu/odata/sap/ZWEBDI_FIORI02_SRV/Di?URUNTIPI=35
Make sure that method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~EXECUTE_ACTION in your *DPC_EXT has been redefined.
In case it's still doesn't help, please send us screenshot of your Function Import settings.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
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.