Gateway OData service on multiple clients (IDES)

Hi guys,
I have ERP 6.0 EHP7 SP1 IDES version of SAP Business Suite standard installation with NW 7.41 embedded. I am using NW Gateway (backend, not HUB deployment) to expose Odata web services. I have managed to expose and read data on client 001, where i also made all the customizing neccessary to enable the NW Gateway, maintain system aliases etc..
Now, since all the demo data for IDES is in client 800, i don't know how to configure NW Gateway and system aliases so that i can expose data from client 800. I have searched for an answer to this a lot, but most of the information i could find was for a HUB deployment.Also, if i login to client 800, i can see that the customizing settings for NW Gateway are not there. So i have a couple of questions:
How do i set-up my NW Gateway and system aliases to expose data also from client 800?
Aren't gateway customizing settings cross-client? How come the gateway is disabled in client 800 but enabled in 001 on the same system?
If not, how do i configure the gateway in client 800, where do i set the HTTP port etc.
I am quite new to SAP / NW, so sorry if what i'm asking is something stupid.
Regards,
Primož

Hi Timo, i didn't get any answer (i guess SAP considers this too basic a question ). I did however manage to retrieve data from client 800, using the web service configured in client 100.
This can be achieved with the sap-client parameter:
http://mysap/my_service_path/MySet/?sap-client=800&filter=...
This way you are returing data from client 800. But how to have a dev/prod scenario on a single embedded deployment, i have yet to find out. By this i mean how to have a service definition in client 100 that you can transport to client 800 (using ie. SCC1) on demand, so these two clients can use different service definitions. Altough i did transfer ws configuration from 100 to 800 using SCC1, looks like you have to set-up the aliases in a right way to achieve the above and i don't know how.
Hope it helps in any way, i was on a long "vacation" from SAP, and i just started dealing with this problem again .. If i find anything i Will let you know, you can do the same of course
Regards,
Martin

Similar Messages

  • Anyone been able to get the sap.ca.ui.FileUpload control working with a Gateway OData service?

    Hi,
    I have been trying to get the sap.ca.ui.FileUpload control working with an OData Gateway service, specifically /IWPGW/TASKPROCESSING which is the service used by both Fiori Approve Requests and the Unified Inbox.
    I have looked at the sample application in the Explored at SAPUI5 Explored
    I have managed to replicate that and get it to work, but as soon as I switch it from a JSONModel to an ODataModel I get javascript errors from within the setModel method of the control. I have redefined that method and corrected the errors, which enables me to get a bit further, but then I hit more errors, and other strange behaviour.
    Either I am doing something completely wrong, or to me it appears as if this control is still extremely buggy and maybe either not designed to work with an ODataModel, or just hasn't been tested using an ODataModel. I'm hoping it is my mistake.
    So has anybody out there successfully managed to use this control connecting it to a Gateway OData service? If so please share your experience.
    Thanks,
    Brad

    Hi Pauline,
    Same issue I had, I switched to using a sap.m.list and handling the press as follows:
    attachmentsList.bindItems(workItemPath + "/Attachments", new sap.m.StandardListItem({
                               type: sap.m.ListType.Active,
                               title: "{FileName}",
                               description: "{CreatedByName}",
                               icon: "sap-icon://doc-attachment",
    //                         counter: "{FileSize}",
                          info: {path : "CreatedAt", formatter: dateTimeFormatter},
                          tap: function(oEvent){
                                var oContext = oEvent.getSource().getBindingContext();
                                var media_src = oContext.getProperty().__metadata.media_src;
                                sap.m.URLHelper.redirect(media_src, true);
                        }), new sap.ui.model.Sorter("CreatedAt", true));
    So sap.m.URLHelper.redirect(media_src, true); is what loads the attachment.
    See the full function handler:
    function(oEvent){
    function(oEvent){
                  var oContext = oEvent.getSource().getBindingContext();
                  var media_src = oContext.getProperty().__metadata.media_src;
            sap.m.URLHelper.redirect(media_src, true);
    This should be enough if you only want to list and display the attachments, then you don't really need the FileUploader control as that is more advanced and handles upload, display, change and deletion of files.
    I only needed to upload and display files, so I used a list to display it and created a separate upload button using the sap.ui.unified.FileUploader control.
    Hope that helps.
    Cheers,
    Brad

  • Error while consuming Odata service from Gateway client i.e /iwfnd/gw_client

    Hello Experts.
       I am facing below an error while consuming the Odata service from GW client... The error is "No service found for the namespace /IWFND/,name ZTEST_STOREROOM_SRV,version 001". Even i have tried to deep dive in /IWFND/Error_log but no use..
      Actually what I was doing :- My aim is to connect multiple back end systems in the same server with the help of Aliasing concept.. I have created multiple aliases and added in the /IWFND/MAINT_Service transaction.. but i am not getting how to consume the service..
       I have followed the solution upto some extent in the link => Multiple Origin Composition - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
      Can you please let me know how to resolve this.. Also please let me know, the syntax for the URI...
      Your help is highly appreciated..
      Please find the screenshot attached.
    Thanks,
    Srinivas.

    Hello @Nrisimhanadh_Yandamuri
      Thanks for your reply..
      I have got all the required authorization.. But still I am not able to hit the service.. Please let me know what could be the solution..
    Thanks,
    Srinivas.

  • UI5 Approval - Missing OData Service TASKPROCESSING

    Hi Experts!
    We are implementing SAPUI5 HR renewal Services with NW 7.4 and EHP7.
    When we execute the approval applicaton, we are facing the following error message:
    The error log shows that the TASKPROCESSING Service is missing:
    I've checked already the following help-document:
    http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/53/c46f8fc17a45088235db354b070a6e/frameset.htm
    We activated all the business functions. But indeed, the oData Service /IWPGW/TASKPROCESSING is missing (or at least not activated yet).
    When I try to add this Service via /IWFND/MAINT_SERVICE, there is no search result:
    How can we add / activate this service?
    Thanks in advance!

    Please advise if you are using this on portal or NWBC?
    Looks of it you are using the portal, did you assign the correct portal and backend UI5 role?
    did you check the ping to the BPM webservice ? does it work?
    * note 1859438 Launchpad service generates relative URLs
    * note 1864001 Resolving of system alias for launchpad service
                   (Help for error analysis)
    * note 1875366 resolution of sm59 destinations in UI2-RunTime
    Follow these steps:
    Run Transaction SPRO
    Run activity  Manage SAP System Aliases  under ODATA channel
    Change system alias software version to /IWPGW/BWF
    Now the service should run ,
    Check in transaction /iwfnd/gw_client
    Do GET on url -  /sap/opu/odata/IWPGW/TASKPROCESSING/TaskCollection
    The previous error should be gone
    then send me the response and error log if exist.
    If you see in this transaction a good response, then most likely the
    server is configured and you can continue with the rest of the
    Steps are
    To use the Tasks by Draft, Tasks by Priority, and Tasks by Time lanes, make the following settings:
    Maintain the settings in SAP NetWeaver -> -> Gateway Service Enablement  -> Content -> Workflow Settings -> Maintain Task Names and Decision Options.
    Activate the required OData services and configure the ICF nodes in your SAP NetWeaver Gateway system.
    Note
    For more information, see SAP Library for SAP ERP under SAP ERP Central Component -> Human Resources -> Personnel Management (PA) -> Personnel & Organization -> Landing Page -> Configuring the Landing Page -> Activating SAP Gateway OData Services, Configuring ICF Nodes, and Configuring the Task Gateway Service for Task Lanes.
    The information on the required OData services and ICF nodes is also available in the Administrator's Guide for HR renewal <applicable release> or in the SAP ERP Installation Guide <applicable release>.

  • OData Service Internal Server Error

    Hello,
    I developed SAP Netweaver Gateway Odata Service and I get "Internal Server Error" 500 on READ Operation. BAPI Itself does function well.
    Where could be the problem?
    Regards
    Vladislav

    Hi Vladislav,
    You will get further information about the nature of the error by checking the error logs in the server(s), tcodes /iwbep/error_log and/or /iwfnd/error_log. If you have an embedded GW server, look in the /iwfnd logs.
    You may find the list is blank until you use the 'Re-select' button and change the settings, so don't assume there are not errors to see!.
    Make sure you have full trace access settings configured in views /IWFND/V_LOGV and /IWBEP/C_LOGV. These views are normally empty, there are two possible new entries that can be made and the possible values are on the F4 lists.
    If this is a data translation error, you won't get a direct answer from the log but it can be used to pin down the nature of the exception.
    If you can get this far, I can point you on to a technique for analysing the error during runtime - but it needs an error log result to be able to relate to.
    Regards
    Ron.

  • Error while running an Odata service in Advanced Rest Client

    Hi Experts,
    We have created one simple OData model (using Integration gateway) with datasource as SOAP web service. We are able to test the SOAP Web service in STORM tool and getting desired response. But when we run the converted OData URL in Advanced REST Client we are getting the following exceptions/errors.
    Could not send message
    Also, while looking at SMP3 server log, we came across below error logs:
    +0530#ERROR#com.sap.gateway.core.ip.odata.ODataErrorCallbackImpl##anonymous#http-bio-8080-exec-1###handleError(): failed to serve request for URI http://<ip>:8080/gateway/odata/sap/REL2;v=1/GetUserDets(Applid='****',Applpwd='****',Fund='***',Userid='****.***@gmail.com',Password='***@1234'), message = Could not instantiate data provider based on class null |
    +0530#ERROR#com.sap.gateway.core.ip.runtime.PathInfoExtractor##anonymous#http-bio-8080-exec-1###null java.lang.IllegalArgumentException: null
    Any help?
    Regards,
    JK

    Jitendra Kansal
    After updating my DB and do the ODATA service after completion of that hit the server in chrome it shows error like
    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <code/> 
    <message xml:lang="en"> 
    Could not instantiate data provider based on class null
    </message>
    </error>
    expet that service i did another one it is working fine using the same server with out set the proxy

  • SL5 client accessing an secured (HTTPS) Odata service

    I have a SL5 client that is hosted on Windows Azure.
    I have some OData WCF services that work perfectly fine. Calling the odata services from the SL5 client works fine both running locally and remotely on Azure. The problem is https. I've uploaded the bought certificate and I can call the odata wcf services
    secure by using https from Fiddler2 and it gets the proper results.
    When I run the SL5 client locally in my VS2012 environment it also works fine calling the https endpoint. After deployment to Windows Azure the client stops working and the calls to the https endpoints don't work anymore :-(
    anybody has a clue?

    hi RiccardoBecker,
    Thanks for posting!
    Base on my experience, when hosted WCF service on windows azure, we could use Service Bus (http://msdn.microsoft.com/en-us/library/windowsazure/ee173579.aspx )to access
    it  on client side in intranet or internet. So if you used in intranet, I suggest you could create service bus to access it. Or if you use internet, I suggest you check your endpoint address setting. You need use your cloud address to access
    wcf service on client side. You could download those code sample (http://code.msdn.microsoft.com/windowsazure/CSAzureWCFServices-20c7d9c5 &
    http://www.codeproject.com/Articles/188464/Host-WCF-Services-in-an-Azure-Worker-Role ) and try it.
    Any question, please let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Configuring Gateway : Activate Odata Services

    Hi
    I have Netweaver 7.4 and ECC 6.0 with EHP 7
    Created trusted RFC connection between Netweaver and ECC
    Installed Application specific UI Addon to Netweaver system
    While Configuring Gateway : Activate OData Services
    Transaction : SPRO->SAP Netweaver ->Gateway->OData Channel->Administration->General Settings->Activate and Maintain Services-
    In service catalog -- I am unable to find OData services for the Launchpad designer.
    /UI2/PAGE_BUILDER_CONF
    /UI2/PAGE_BUILDER_PERS
    /UI2/PAGE_BUILDER_CUST
    /UI2/INTEROP
    /UI2/TRANSPORT
    Could you please help me out.
    Regards
    Ragavie
    Tags edited by: Michael Appleby

    Hi Ragavie,
    Have you added the odata components? We have the UIX* components and the SR* components.
    I would suggest to follow below link to get the details of app specific addons.
    SAP Fiori - Add-on quick reference for transactional apps
    Also, please follow the steps as described in the installation guide.
    regards,
    Meghna

  • Multiple clients in BI 7 - IDES

    Dear all,
    I want to ask a question regarding Multiple clients in BI 7 - IDES.
    I installed the system and plan to have multiple clients in a system with copying client 800 (IDES) to others.
    I gave tried copying from client 800 to client 200 but the process was not successful.
    I then heard opinion that this can't possibly be done because once the administrator workbench being executed it will always return to the source client (800).
    Would you mind giving me more suggestion about this?
    Thank you.
    Fausto

    Hi,
    I think, you had selected "3.x Datasource" as the type when you were replicating the Metadata from second client.
    If so, delete the datsource (in BIW) from the second client , and then replicate the datsource one more time.But this time , you need to select "As Datasource" option only.
    with rgds,
    Anil Kumar Sharma .P

  • Invoke multiple web services in single client

    hi everyone,
    Can we invoke multiple web services in a single client?.
    --web service                                                                                                                                                                           

    We can invoke..any number of services in a client.

  • Testing tools for OData services

    Hi all,
    I managed to get my oData services up and running on my local/Cloud HANA server, using Olingo libraries and JPA.
    Now I'd like to test my services. I can test the queries from the browser and from multiple clients found on the web.
    However PUT/POST requests require to type in manually the body, and this is really time-consuming.
    As a consequence, I'm looking for any tool which could generate POST/PUT request body for oData (much like XMLSpy/soapUI does for SOAP)
    There is no SAP NW Gateway in my landscape so it is not an option, I'd like a desktop tool or browser plugin
    Does anyone know whether such a tool exists?
    Thanks, Regards
    Vincenzo

    Hi Vicenzo,
    you can use the Chrome plugin Postman REST Client. There are two versions available, an extension and a packaged app. I've installed both, but only the extension is able to use the authentication cookie. Thus the packaged app is not suitable if you want to test service which require authentication.
    Regards, Mathias
    Message was edited by: Mathias Boettcher

  • SAP Fiori: Version Management for SAP Gateway Enhanced Services & SAP UI5 Application

    Hello Experts,
    Greetings!!
    I would like to check how version control is achieved for SAP Fiori app extensions. Or while enhancing the SAP UI5 applciation or enhancing a SAP netweaver gateway backend service for Fiori App.
    I would appreciate your inputs. Thanks in Advance.
    Sudhanshu ~
    Tags edited by: Michael Appleby

    For front end SAPUI5 CODE in Elipse or RIVER RDE you can use GIT which is pretty standard way of doing code management. Once you push the code to GW it is in BSP and then you dont have much control on the version management side. If there are multiple developers working on front end code then you can push to GW using ABAP Team Provider plugin in Eclipse that pushes the sapui5 code to BSP via workbench request and once 1 developer is done then he/she will submit the code. the next person then does the GET from GW into their Eclipse to get the latest version of source code. But if there are 10 changes to the sapui5 code then on front end side you should use GIT or BitBucket or MS Team Share kind of source code control tools that integrate with ECLIPSE.
    For oData Service you can do version management in ABAP stacks. you can have multiple versions for your service and then deploy to prod the one that you are sure of. Std change management can be used for backend GW service development.
    thanks
    Ashish

  • OData service

    Hi Sir,
    I am a new SAP Developer and i am able to access record form one table success using OData services but i don't know how access record form more than one table by Parameter using OData service.
    I a tried last couple of for solved this problem but till date i didn't get any proper solution some where i found with SQL script and using Calculation view but still getting some problem.
    Thanking you

    Hi Tobias,
    After adding the destination, to reflect it in Web IDE you have to refresh Web IDE.
    Given below is one of my gateway configuration (trial available through SCN). It might help you.
    Regards,Midhun
    SAP Technology RIG

  • Gateway OData Metadata Cache

    Hello,
    we're just about planning for our new OData Service. As we have a scenario where we generate structures to be used in our OData services we cannot make sure that the structures in the different clients are idetical as we will have additional customizing for this. In our use case that would mean that depending in which client the OData service is called the meta data could also be different. Entities and Entity Sets will be exactly the same as I use the same OData Service.
    When I was testing the caching meachanism I got also confused with browser cache and the backend cache. Maybe you also made your experience and can provide me more details if I call the same service in different clients if we always access the same meta data...???
    The informatio I got in SAP Help does not say anything regarding this:
    Metadata Cache - SAP NetWeaver Gateway - SAP Library
    Thanks & Regards Marco

    What I feel that you can not have different metadata for the same service in different client.
    At runtime you can not change the metadata based on different clients. OData is a kind of extension on top of Atom Pub and Atom, with the additional feature of data description which is metadata in this case.
    In Gateway Cache can be addressed/affected by ...
    1. You can clear the cache in Gateway HUB using transaction /IWFND/CACHE_CLEANUP
    2.You can clear the cache in Backend using transaction /IWBEP/CACHE_CLEANUP
    3. You can deactivate caching from SPRO -->Gateway -->OData Channel -->Administration -->Cache Setting -> Metadata ..  Also you will find some more options for Cache here
    4. Moreover Cache is one of the constraints of REST design which says something like
    Cache constraints require that the data within a response to a request be implicitly or explicitly labeled as cacheable or non-cacheable. If a response is cacheable, then a client cache is given the right to reuse that response data for later, equivalent requests.
    Now you can set no cache for the data (response) using following code in your DPC_EXT
    *   Prevent persistent caching on client
    DATA: ls_header TYPE ihttpnvp.
    ls_header-name  = 'Cache-Control' ##NO_TEXT.
    ls_header-value = 'no-cache, no-store' ##NO_TEXT.
    set_header( ls_header ).  //Or suitable method from DPC_EXT
    ls_header-name  = 'Pragma' ##NO_TEXT.
    ls_header-value = 'no-cache' ##NO_TEXT.
    set_header( ls_header ). //Or suitable method from DPC_EXT
    Regards,
    Atanu

  • Testing OData Service on SMP3

    Here's what I've done so far:
    Created an OData model in GWPA, deployed to SMP3 Integration Gateway, wide open access, I can pull up the service document on the Integration Gateway, I created an application definition in the Admin Cockpit, created a SQL Server JDBC destination, set service document URL to application connection, created a starter HTML5 hybrid application in GWPA, and exported the WAR file.
    Questions
    - Is there a way to test the JDBC destination connection that we create in the SMP Admin cockpit?
    - I'm assuming SMP3 runs on a version of Tomcat. I dropped the HTML5 war file in C:\SAP\MobilePlatform3\Server\pickup, can I view it in browser? What's the URL to it?
    I'm just trying to do an end-to-end proof of concept of creating an OData service in GWPA against a JDBC source, and consuming it with an HTML5 application.
    Thanks!
    DJ

    Hi JK,
    Thanks! I increased log level and still getting same errors:
    Search "#error" (12 hits in 1 file)
      C:\Users\dpascual\Desktop\New Text Document.txt (12 hits)
    Line 607: 2014 07 02 09:13:37#0-1000#ERROR#com.sap.gateway.core.service.dao.ServiceDAO##anonymous#http-bio-8080-exec-5###Failed to Get Service. |
    Line 608: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.service.dao.ServiceDAO##anonymous#http-bio-8080-exec-5###getSingleResult() did not retrieve any entities. javax.persistence.NoResultException: getSingleResult() did not retrieve any entities.
    Line 970: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.service.repository.api.ServiceRepositoryAPIHandler##anonymous#http-bio-8080-exec-5###Error in get Services for Destination |
    Line 970: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.service.repository.api.ServiceRepositoryAPIHandler##anonymous#http-bio-8080-exec-5###Error in get Services for Destination |
    Line 971: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.service.repository.api.ServiceRepositoryAPIHandler##anonymous#http-bio-8080-exec-5###javax.persistence.NoResultException: getSingleResult() did not retrieve any entities. com.sap.gateway.core.service.exception.ServiceRepositoryException: javax.persistence.NoResultException: getSingleResult() did not retrieve any entities.
    Line 1336: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.service.srvrepo.ServiceRepositoryProvider##anonymous#http-bio-8080-exec-5###Error in Getting the Service |
    Line 1336: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.service.srvrepo.ServiceRepositoryProvider##anonymous#http-bio-8080-exec-5###Error in Getting the Service |
    Line 1337: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.service.srvrepo.ServiceRepositoryProvider##anonymous#http-bio-8080-exec-5###Could not get the service com.sap.gateway.core.service.api.exception.ServiceRepositoryAPIException: Could not get the service
    Line 1706: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.ip.runtime.GatewayIPODataProcessor##anonymous#http-bio-8080-exec-5###Error in Getting the Service com.sap.gateway.core.api.exception.TechnicalException: Error in Getting the Service
    Line 1706: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.ip.runtime.GatewayIPODataProcessor##anonymous#http-bio-8080-exec-5###Error in Getting the Service com.sap.gateway.core.api.exception.TechnicalException: Error in Getting the Service
    Line 2063: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.ip.runtime.GatewayIPODataProcessor##anonymous#http-bio-8080-exec-5###readEntitySet() failed: service = open/ingwtest, entity set = tailboards, content type = application/atom+xml;charset=utf-8;type=feed, message = com.sap.gateway.core.api.exception.TechnicalException: Error in Getting the Service |
    Line 2064: 2014 07 02 09:13:38#0-1000#ERROR#com.sap.gateway.core.ip.odata.ODataErrorCallbackImpl##anonymous#http-bio-8080-exec-5###handleError(): failed to serve request for URI http://localhost:8080/gateway/odata/open/ingwtest;v=3/tailboards, message = Error in Getting the Service |
    Any ideas?
    You may check details about created destinations here
    C:\SAP\MobilePlatform3\Server\deployed_content
    Isn't this more for the services, not the destinations?
    Thanks for your swift responses!

Maybe you are looking for

  • Skype hangs when I login with my ID

    Hi I have two skype accounts. One for office and one personal. Till yesterday I was able to use both. Today am able to login to skype using my office ID but when I login using my personal skype ID ([Removed for privacy]) skype stops responding. I am

  • Snow Leopard and Appleworks not working well together ...

    Still a dedicated fan of Appleworks mostly because I use the vector drawing program for my design business. But, even though it works in OSX.6, it is much changed. The drag-drop images from web sites print out in dot-matrix quality. Every clicked on

  • Error: cannot read: C:\Documents; and Settings\JR\Desktop\logrand.java

    Thats the problem. Bug started happening all the sudden. Double click a java file on the desktop that just two second before was built fine. Go to build it and it says that. "error: cannot read: C:\Documents; and Settings\JR\Desktop\logrand.java" Now

  • OEM 9i - Login Once, then can't login again

    I have installed Oracle 9i, Personal installation on a Windows XP Pro machine. After setting the new password for SYSTEM and SYS during setup, I was able to log in to my database (PRACTICE) one time. I close OEM and start it again, and the login scre

  • Poltergeist in my code?... ORA-06502: PLSQL: Numeric or value error

    Hi all! I am experiencing a very strange problem, i have the following code: BEGIN INSERT INTO BD_SESSION_GROUP (CDSESION, NM_ANO, CD_CENTRO, CDGRUPO, FCSESION, ITREALIZADA) VALUES (:DATOS.CDSESION, :GLOBAL.CURSO_ACADEMICO, :GLOBAL.COD_CENTRO, :DATOS