on 06-26-2015 6:04 PM
Hi,
I am working on a gateway service and I have created one RFC to expose data in Gateway service.
the input parameter in the FM Is UserId ,IvSmodid IvModid IvAppid
based on that I am populating one table.
I used this RFC in Gateway service and my service URL is looks like below :
http://<HOST>:8000/sap/opu/odata/sap/<Servicename>/po_apprvalset(UserId2='VBHANOT',IvSmodid='PO_APPROVL',IvModid='PO_APPROVL',IvAppid='ZMOB_PO')
but this service is not getting triggered to Get entityset, everytime it triggers to Get Entity.
Can you help how to make it working for Get entity set also.
Thanks
Ram
Hello Ram Pathak,
Your URI will not hit get_entityset, If you want to hit get entity set then try keeping brackets empty..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ram,
You need to pass Inputs as part of filters to hit the Get_Entity_Set method.
Use the below :
http://<HOST>:8000/sap/opu/odata/sap/<Servicename>/po_apprvalset?$filter=UserId2 eq 'VBHANOT' and IvSmodid eq 'PO_APPROVL' and IvModid eq 'PO_APPROVL' and IvAppid eq 'ZMOB_PO'
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 are passing the, so it is going to Get_entityset.
Try this.
http://<HOST>:8000/sap/opu/odata/sap/<Servicename>/po_apprvalset
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
I tried the same you told me but in My RFC there are 4 input field and i have to pass that in RFC then only it will give me output.
I tired your suggestion but it is not working. some how i need to pass the 4 input parameter then only i will be able to see the output in service
Thanks
Ram
User | Count |
---|---|
86 | |
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.