Quantcast
Channel: SCN : Popular Discussions - SAP Gateway
Viewing all 1195 articles
Browse latest View live

Unable to setup SAP NetWeaver Gateway in Eclipse

$
0
0

Hi ,

I have developed some android application using eclipse juno 4.2 but, these application do not consume data from sap system.

Now i wanted to connect to sap system and get data to use in my application.

 

After searching i came across this awesome post by Gal Roter but, somehow i am not able to get the thing done.

 

List of things i have installed,

 

1) Installed Eclipse Juno .

2) SDK manager

3) Android version4.1.2( Jelly Bean )

4) Then i downloaded SAP NetWeaver Gateway plugin for eclipse.

 

Here is the problem i am facing,

 

I try to create new project using SAP NetWeaver Gateway under that i selected Starter application project

 

I enter all the details like: project name, project for android ,application name ,pacakage etc..

but, i am not able to select the Build Target dropdown because that dropdown is empty.

 

What to do..? How to go ahead..???

 

I have attached the snapshot of the error i am getting.

 

 

Thanks in advance,

Vishesh


Netweaver Gateway tutorials and guides

$
0
0

Hi guys,

I am new to Netweaver gateway and would like to know more about how to use it. I have connected to SAP Netweaver Gateway provided by SAP. But I have no clue on what to do next. can someone provide some LINKS to articles/tutorials explaining the same.

 

many thanks,

SAPUI5 mobile does not run in your browser

$
0
0

Dear all,

 

I am pretty sure that browsers like Chrome and Firefox can render SAPUI5 mobile pages. However when we try to test our SAP UI5 mobile application from one of these browser we receive an image with that message printed on it.

Is there a way to get around this problem?

 

sap_ui_5_does_not_run.png

 

Thanks,

Rene

How to call function import parameters in URL

$
0
0

Hi all,

 

can you just help me in calling function import in url,

 

I created my  Function import, i can see even in my model class.i just got struct in how to call this in my url.

 

 

please find the below screen shots and just tell me how to call in the url after giving name of entity set in my url.

 

 

 

Capture1.PNG

 

Capture.PNG

Thanks,

Vijay Vegesana

Gateway Projects not appearing in search list

$
0
0

Hello All,

 

I've created the Gateway OData projects using Gateway service builder tool.Now the issue is when some other user try to open these projects or to be precise try to search these projects using F4 help,It doesn't populate the list and says "there are no entries".

 

When I search the projects,F4 Help displays only those projects which i have created.

 

Is this an authorization/roles issue or some settings required in gateway builder tool.

 

Any help would be appreciated.

 

Regards,

Abhishek Wajge

HTTP 'PUT' request for Netweaver Gateway Service (OData) using JSON format

$
0
0

Hi there,

 

I am trying to update data using the update method of a Netweaver Gateway (OData) Service from SAPUI5 or the Gateway Client (that shouldn't matter).

 

So far I can only get a valid HTTP Response if I am using XML as the request body data.

 

Is it possible to use an HTTP request with a request body data using a JSON string instead of the XML string? If this can be done, what do I have to do before using the 'update()' method of an ODataModel object.

 

Best Regards

Patrick

OData JSON missing "innererror" object

$
0
0

Hi,

 

Does anyone know why the $format=json OData responses from Gateway omit the "innererror" object when messages are returned?  I am returning 4 messages from Gateway and all four can be seen in the atom+xml response, along with the lead message, but with JSON I only get the lead message.

 

I'm running GW 2 SP04.  Is this fixed in a later support package?

 

Many thanks,

 

Andrew

Is SAP NetWeaver Gateway supported/available on cloud - Amzon EC2 or MS Azure ?

$
0
0

Is SAP NetWeaver Gateway supported/available on cloud - Amazon EC2 or MS Azure ?

What are the licensing options for it on cloud ?


GW Function Imports

$
0
0

Hi all,

 

So I have been trying to implement a function import for a certain GW service.

I followed SAP's guide to create my function import

http://help.sap.com/saphelp_gateway20sp06/helpdata/en/56/d0cc05b564411e841141f68294e29f/frameset.htm

 

And used OData's URI convention to try and call the function import

http://www.odata.org/documentation/uri-conventions

 

But no success at all, everytime I try this, I get a Bad Request as a response saying the resource could not be found.

Am I missing something? Is there any place I need to implement this function import further?

I was already wondering what the function would do without me having to program anything...

 

Thanks for the help.

GW Data Model not available in SE80

$
0
0

Hello,

 

I have installed a new Netweaver system with the following attributes/components, and not able to display GW Data Model (neither GW*) in the SE80, object navigator drop-down:

 

SAP NetWeaver AS ABAP 7.31

 

SAP_ABA 731 0004 SAPKA73104 Cross-Application Component

SAP_BASIS 731 0004 SAPKB73104 SAP Basis Component

PI_BASIS 731 0004 SAPK-73104INPIBASIS Basis Plug-In

ST-PI 2008_1_710 0004 SAPKITLRE4 SAP Solution Tools Plug-In

GW_CORE 200 0004 SAPK-20004INGWCORE SAP GW CORE 200

SAP_BW 731 0004 SAPKW73104 SAP Business Warehouse

IW_FND 250 0004 SAPK-25004INIWFND SAP IW FND 250

WEBCUIF 731 0003 SAPK-73103INWEBCUIF SAP Web UI Framework

IW_BEP 200 0004 SAPK-20004INIWBEP Backend Event Provider

IW_CBS 200 0004 SAPK-20004INIWCBS SAP IW CBS 200

IW_CNT 200 0004 SAPK-20004INIWCNT SAP IW CNT 200

IW_SCS 200 0004 SAPK-20004INIWSCS Screen Scraping

IW_CBS 200 0004 SAPK-20004INIWCBS SAP IW CBS 200

IW_CNT 200 0004 SAPK-20004INIWCNT SAP IW CNT 200

IW_SCS 200 0004 SAPK-20004INIWSCS Screen Scraping

 

What do you think? something wrong in the system details?

 

Regards.

Fernando.

'segw' Problem: No service found

$
0
0

Dear all,

 

I get a message: 'No service found for namespace /SAP/, name *, version 0001'

when I want to call ma service, developed with transaction 'segw'.

There is a service in '/iwfnd/maint_service' transaction.

What the problem can it be?

 

Regards

Vladislav

Unable to setup SAP NetWeaver Gateway in Eclipse

$
0
0

Hi ,

I have developed some android application using eclipse juno 4.2 but, these application do not consume data from sap system.

Now i wanted to connect to sap system and get data to use in my application.

 

After searching i came across this awesome post by Gal Roter but, somehow i am not able to get the thing done.

 

List of things i have installed,

 

1) Installed Eclipse Juno .

2) SDK manager

3) Android version4.1.2( Jelly Bean )

4) Then i downloaded SAP NetWeaver Gateway plugin for eclipse.

 

Here is the problem i am facing,

 

I try to create new project using SAP NetWeaver Gateway under that i selected Starter application project

 

I enter all the details like: project name, project for android ,application name ,pacakage etc..

but, i am not able to select the Build Target dropdown because that dropdown is empty.

 

What to do..? How to go ahead..???

 

I have attached the snapshot of the error i am getting.

 

 

Thanks in advance,

Vishesh

Update operation through Gateway Odata service from android application.

$
0
0

Hi  Guys,

 

        I am newbie to android application development using Odata service,My problem is , I want to update some data using          executeAsyncUpdateRequest(ODataQuery query, String body ,  ISDMNetListener requestDelegate) ,

 

can any one please suggest me to achieve this issue to go ahead in my project....

 

 

 

Thanks,

Srinivas

Batching multiple operation in a single request

$
0
0

Hi Experts,

I am doing a task as displayed below

How To Batch Multiple Operations Into A Single Request

whether the multiple operation in a single request can be done only with Odata using $batch or there is any different approach. is it possble to do it using rfc methods as per link [Content Deleted June 2013] Kindly help me on this issue

 

Message was edited by: Jason Lax

Unable to return Deep structures from RFC

$
0
0

Hi Experts ,

 

I have an requirement to return the deep structures in output from RFC .

 

Req : In output i need multiple tables in Gateway. 

 

I tried in SEGW for mapping multiple tables , but got error message "Only one Output table can be mapped " . 

 

Please help me in this , to resolve the issue .  

 

 

 

 

Thanks in Advance .

Aisurya.


SAPUI5 mobile does not run in your browser

$
0
0

Dear all,

 

I am pretty sure that browsers like Chrome and Firefox can render SAPUI5 mobile pages. However when we try to test our SAP UI5 mobile application from one of these browser we receive an image with that message printed on it.

Is there a way to get around this problem?

 

sap_ui_5_does_not_run.png

 

Thanks,

Rene

Gateway Costing and license issues

$
0
0

Hi

 

I'm sure this has been mentioned / blogged before, but i've tried searching and can't find the document anywhere.

 

I'm sure there was a change in SAP Gateway license last year to that any existing user licences were covered by the deployment of gateway

 

So for example if i wanted to download gateway install it on one of our test systems this would be free ?

 

So long as any users already had SAP licences ? 

 

I'd quite like to have a go at setting up the following application.

 

http://scn.sap.com/community/netweaver-gateway/blog/2013/01/09/developing-the-sap-workflow-app-for-ios-setting-the-wheels-in-motion

 

But i'm not sure of the costs of downloading and installing gateway at the moment

 

If anyone from SAP could advise that would be much appreciated

 

Many Thanks

 

James Ibbotson

Query Operation: SAP Netweaver Gateway Wizard

$
0
0

Hello,

 

I have create a QUERY Service with the wizard from IDES BAPI, but there is one required Parameter in BAPI.

Now I set hard coded the default value of it, but I want to set it dynamically.

Has someone any idea how to pass it from user to NW Gateway Odata Service?

(with READ Operation it is quite simple)

 

Best Regards

Vladislav Shakhmatov

GW Function Imports

$
0
0

Hi all,

 

So I have been trying to implement a function import for a certain GW service.

I followed SAP's guide to create my function import

http://help.sap.com/saphelp_gateway20sp06/helpdata/en/56/d0cc05b564411e841141f68294e29f/frameset.htm

 

And used OData's URI convention to try and call the function import

http://www.odata.org/documentation/uri-conventions

 

But no success at all, everytime I try this, I get a Bad Request as a response saying the resource could not be found.

Am I missing something? Is there any place I need to implement this function import further?

I was already wondering what the function would do without me having to program anything...

 

Thanks for the help.

Need help with Create/Update/Post of OData service

$
0
0

Hi Experts

 

I created a service and got my GetEntitySet and GetEntity created and tested using the Gateway Client interface.

 

Now I want to create and test my Create/Update/Delete methods.

 

In Gateway Client I want to create a POST HTTP request, but I haven't been able to find any information on the format of the request and how to code my method in ABAP.

 

Please anyone if you will please enlighten me on this

 

Tried to read a lot of other posts on the forums, but haven't been able to figure out what the format should be.

 

Best regards.

Kell Vagtholm

 

When I use this code in my POST HTTP request:

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<atom:content type="application/xml">
  <m:properties>
   <d:Username>KVA</d:Username>
   <d:Lunchdate>2013-08-29T00:00:00</d:Lunchdate>
   <d:Creaby>KVA</d:Creaby>
   <d:Creadate>2013-08-29T00:00:00</d:Creadate>
   <d:Idx>2</d:Idx>
   <d:Noof>01</d:Noof>
  </m:properties>
</atom:content>
</atom:entry>

 

I get an error message back:

 

  <?xml version="1.0" encoding="utf-8" ?>

- <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

  <code>005056A509B11ED1B9BF9F46AA8E82ED</code>

  <message xml:lang="en">In the context of Data Services an unknown internal server error occured</message>

  </error>

Using ?sap-ds-debug=true gives me this error information:
Header 1

Value '00000000' violates facet information 'nullable=false'

Exception /IWCOR/CX_DS_EDM_FACET_ERROR occured in Class /IWCOR/CL_DS_EDM_DATE_TIME Method /IWCOR/IF_DS_EDM_SIMPLE_TYPE~TO_STRING and Line 18

1 method /IWCOR/IF_DS_EDM_SIMPLE_TYPE~TO_STRING. 2     DATA: 3       l_dsedx_date TYPE d, 4       l_dsedx_time TYPE t, 5       l_dsedx_days TYPE i, 6       l_dsedx_seconds TYPE p LENGTH 10 DECIMALS 0, 7       l_dsedx_milliseconds TYPE n LENGTH 3, 8       l_dsedx_length TYPE i, 9       l_dsedx_offset TYPE i. 10     FIELD-SYMBOLS: 11       <dsedx_p> TYPE p. 12  13     dsedx_initialize_descriptor io_element_descriptor lo_descriptor iv_value. 14  15     IF iv_kind = kind_json. 16       dsedx_format_datetime_json rv_value iv_value id_facets lo_descriptor. 17     ELSE. 
18       dsedx_format_datetime rv_value iv_value id_facets lo_descriptor. 
19       IF iv_kind = kind_uri. 20         to_uri_literal rv_value. 21       ENDIF. 22     ENDIF. 23 endmethod. 
Parameter has invalid value: Parameter IV_VALUE has invalid value 00000000.

Exception CX_PARAMETER_INVALID_RANGE occured in Class /IWCOR/CL_DS_EDM_DATE_TIME Method /IWCOR/IF_DS_EDM_SIMPLE_TYPE~TO_STRING and Line 18

1 method /IWCOR/IF_DS_EDM_SIMPLE_TYPE~TO_STRING. 2     DATA: 3       l_dsedx_date TYPE d, 4       l_dsedx_time TYPE t, 5       l_dsedx_days TYPE i, 6       l_dsedx_seconds TYPE p LENGTH 10 DECIMALS 0, 7       l_dsedx_milliseconds TYPE n LENGTH 3, 8       l_dsedx_length TYPE i, 9       l_dsedx_offset TYPE i. 10     FIELD-SYMBOLS: 11       <dsedx_p> TYPE p. 12  13     dsedx_initialize_descriptor io_element_descriptor lo_descriptor iv_value. 14  15     IF iv_kind = kind_json. 16       dsedx_format_datetime_json rv_value iv_value id_facets lo_descriptor. 17     ELSE. 
18       dsedx_format_datetime rv_value iv_value id_facets lo_descriptor. 
19       IF iv_kind = kind_uri. 20         to_uri_literal rv_value. 21       ENDIF. 22     ENDIF. 23 endmethod. 
An exception with the type CX_PARAMETER_INVALID_RANGE occurred, but was neither handled locally, nor declared in a RAISING clause

Exception CX_SY_NO_HANDLER occured in Class /IWFND/CL_SODATA_POST_PROC Method ABAP_KEY_TO_EDM and Line 1

1 METHOD abap_key_to_edm. 
2  3   DATA: lr_key     TYPE REF TO /iwfnd/if_mgw_core_types=>key_s, 4         lo_type    TYPE REF TO /iwcor/if_ds_edm_simple_type, 5         ls_key     TYPE /iwcor/if_ds_uri=>key_predicate_s, 6         lr_facets  TYPE REF TO /iwcor/if_ds_edm_element=>facets_s. 7  8   FIELD-SYMBOLS: <value>  TYPE data. 9  10   LOOP AT it_key REFERENCE INTO lr_key. 
In the context of Data Services an unknown internal server error occured

Exception /IWCOR/CX_DS_INTERNAL_ERROR occured in Program SAPMHTTP Include  and Line -0

What does it mean?
Viewing all 1195 articles
Browse latest View live


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