Quantcast
Channel: SCN: Message List - SAP Gateway
Viewing all 6105 articles
Browse latest View live

Re: Service Consumption in SAP Gateway

$
0
0

Capability Matrix doc looks helpful


Re: Service Consumption in SAP Gateway

$
0
0

If these are already REST services, I would not recommend to route it through Gateway (unless you want to mash the external API with SAP Data).

Rather using a Web Dispatcher to route the calls to non-SAP system would make sense.

Re: SAP gateway query options(filtering,paging sorting and searching).

Re: Service Consumption in SAP Gateway

$
0
0

Yes, the architecture they are following is not a recommended approach, though they are looking on the possibilities..

 

Could you elaborate on : Rather using a Web Dispatcher to route the calls to non-SAP system would make sense

 

Would it be possible to make a call from UI5 to non-SAP systems or UI5 to these REST services ?

 

Regards,

Tejas

Re: No Model assigned to Service assign Model first

$
0
0

Hi Hari,

 

        I guess you must have figured out by now how to resolve it, if now here are the basic checks which will help as I did.

 

1. Goto SPRO > SAP Netweaver > Gateway service enablement > Backend OData channel > Service development for backend odata channel > Maintain Model & select your Model name and do a syntax if your model is correct.

 

2. Check for the service definition re-picked again using the change button, the screen shot you shared looks to be a display. Even when you are in change mode you are getting the same screen, it is the role in the system which is restricting you from changing.

 

Regards,

Tilak B.

Re: Service Consumption in SAP Gateway

$
0
0

Hi Manish,

 

I am also looking for a solution to consume a webservice in netweaver gateway. Were you successful in doing so? If yes could you please share the details with me.


<<Email id is removed, if you want to connect to community members via email id, you can mention it in your SCN profile>>

 

Thanks

Stan

 

Message was edited by: Jitendra Kansal (Moderator)

Re: it_key_tab of GetEntitySet never gets populated

$
0
0

Hi Krishna,

so does it mean that IT_KEY_TAB is never populated for GET_ENTITYSET method?
in case it does could you please provide a usecase?

 

Thanks much!

 

Regards,

Haritha

Re: Error GateWay 'CX_SY_RANGE_OUT_OF_BOUNDS'

$
0
0

Hi ,

 

I am also having same problem and i included specified component included in structure

 

but stil i am facing same dump

 

pls help struling for long time

 

dump_scenario_definition.png


Re: Error GateWay 'CX_SY_RANGE_OUT_OF_BOUNDS'

$
0
0

Hi ,

 

I am also having same problem and i included specified component included in structure

 

but stil i am facing same dump

 

pls help struling for long time

Re: Gateway Services $Expand doesn't return nested(inline) data

$
0
0

yeah, I already check by debugging the service, and what I see its that first the class /IWBEP/CL_MGW_ABS_DATA call  get_expanded_entity method but after call the  get_expanded_entityset method and this populated the first three fields (Bukrs" : "XXX",  "Belnr" : "XXX",  "Gjahr" : "2015") ,

this is the lwa_expand_fi  in the get_expanded_entity method

 

Imagen1.png

and this is LWA_EXPAND_FI-POSFI data (nested data)

Imagen2.png

 

but later the services class (/IWBEP/CL_MGW_ABS_DATA) call the get_expanded_entityset method and return this:

 

Imagen3.png




Imagen4.png


until now all goes ok but then it calls the  /iwbep/cl_mgw_data_helper=>move_corresponding method and returns this:


 

Imagen5.png


and that's the data we see in the json response... why /IWBEP/CL_MGW_ABS_DATA it's calling the get_expanded_entityset?... thanks in advance for your help I really apreciate



Re: Gateway Services $Expand doesn't return nested(inline) data

$
0
0

Hi Krishna, thanks for your help I solve the problem by recoding this lines:

 

DATA: BEGIN OF ty_expand_fi.           INCLUDE TYPE zcl_zgw_fi_doc_mpc_ext=>ts_docfi.   DATA: posfi TYPE zcl_zgw_fi_doc_mpc_ext=>tt_posfi,
END OF ty_expand_fi.


to


DATA: BEGIN OF ty_expand_fi.           INCLUDE TYPE zcl_zgw_fi_doc_mpc_ext=>ts_docfi.   DATA: posfiset TYPE zcl_zgw_fi_doc_mpc_ext=>tt_posfi,
END OF ty_expand_fi.

 

and this line:

 

CONSTANTS: lc_expand_tech_clause TYPE string VALUE 'POSFISET'.


that do the trick

grettings

how to use the ODATA service in Salesforce

$
0
0

Hi ,

 

I have created a ODATA service which retrieves work order data from ECC backend  . Now I want the SaleForce to to consume this ODATA.

 

The SalesForce  Developer  tried to pass the ODATA URL in the external source.. but  he is not able to get the data.

 

the URL is correct and I can able to see the Entity set values in the browser.

 

Please suggest if some one worked in Sales Force as how to use the ODATA service in Salesforce ?

 

Thanks,

Shreedhar

Re: how to use the ODATA service in Salesforce

$
0
0

Hi Shreedhar,

 

As the OData service is working in browser, there is no issue from the Gateway side. If you can share the error that sharepoint guy is facing, we would be able to understand the issue in a better way.

 

Regards,

Ekansh

How to Upload Image in Notification using SAP Odata service

$
0
0

Hi

   I am working on uploading image in Notification using SAP Odata gate way service.

i am totally new in this area. i want some input how we can upload image using sap odata gateway service and attach that image in Notification.

Odata service is not triggering in get Entity set

$
0
0

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




Re: Odata service is not triggering in get Entity set

Re: Odata service is not triggering in get Entity set

$
0
0

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

Re: how to use the ODATA service in Salesforce

Re: how to use the ODATA service in Salesforce

$
0
0

Hi Ekansh.. I have attached the screen shot.. but we are not getting any data when we Save and Sync in SalesForce

Re: Odata service is not triggering in get Entity set

$
0
0

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

Viewing all 6105 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>