Apps using Netweaver Gateway

Hi,
we are trying to build Restful services using  using netweaver Gateway, and have just going through the documentation and blogs in sdn being beginners .
In our landscape,
Gateway addons are installed on SAp bacjend system from where i need to pull the data say System A.
Gate way server is installed on different machine say System B.
Now Should i create GW data models on backend system System A and  GW consumption model on Gateway system System B?
Most of the blogs are written ,wherein both of them aer running on same system?
Any pointers will be appreciated.
Regards
chandra

Hi chandra,
NetWeaver Gateway system needs 2 data model definition.
One is for provider side (SAP side) and the other is consumer side.
Regarding provider side SAP system discloses meta data such way as WSDL, so we can generate data model automatically by using NWGW proxy generator.
On the other hand consumer side data model should be defined by hand.
And of cocourse we should map-program between provider side and consumer side.
Regards

Similar Messages

  • Minimum version required to upload and download files using Netweaver Gateway

    What is the minimum service pack required to use the feature of Upload and download files using netweaver gateway. I already have a SP05

    Hi,
    as per this blog How to Read Photo from SAP system using SAP Gateway this should be possible with SP05.
    also refer How To Upload and Download Files Using SAP NW Gateway SP06
    Regards,
    Chandra

  • RESTful Web service in ECC without using netweaver gateway

    Can anyone explain how to create RESTful Web service in ECC without using netweaver gateway?

    Hi,
    Follow this link.
    Mobilize ALV Reports - Part 1 Create RESTful service

  • SAP NetWeaver Gateway and JSON Error Handling

    Hello All,
    I am developing a small test application using Netweaver Gateway to understand the error handling.  I am using Postman to test the Gateway service.  I have developed small RFC FM to read return list of deliveries for a shipment.  The RFC reads in a shipment number and returns the list of deliveries.  The RFC also has Return parameter of type BAPIRET2 that stores the error message if shipment is not found.  We want to use only JSON format for the application.  So, I have set the 'Accept' parameter at request header to 'content/json'.  I am also aware of the exception /IWBEP/CX_MGW_BUSI_EXCEPTION that allows to throw an error message from backend suite.  I have that by having a Return parameter of type BAPIRET2, the generated method automatically handles the error message and sets the correct HTTP status.
    Now the Problem:
    As mentioned earlier, we want to use JSON format.  When I set the header parameter or specify $format=json in the URI the HTTP status code is always set to 500 when there is an error.  The error message about invalid shipment also is not returned.
    When I remove the JSON format parameters, the XML format is returned and HTTP status is set to 400 with appropriate error message.
    How can we get the Gateway to set the HTTP status code to 400 along with error message in the event of an error in RFC.  I have tried with the exception /IWBEP/CX_MGW_BUSI_EXCEPTION and BAPIRET2 return parameter but still does not work.  Is this a known issue in Gateway/JSON?
    Please see attached screenshots.
    Thanks,
    Rutul Thakkar

    Anyone have encountered this issue?  Any suggestions?
    Thanks,
    Rutul Thakkar

  • Consume SAP Netweaver Gateway Web service in Windows Mobile 6.5

    Hi All,
    I am using Netweaver Gateway Webservice in Windows Mobile 6.5 platform. I know if need to make POST request, first i need to make GET for fetching CSRF token and then passing the CSRF token again with POST request to do the create operation. So i have used the below syntax. But it is always saying as 403 forbidden status while making POST request. I had successfully fetched CSRF token in my get request. Is there any help available for the below syntax?
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri("http://hostname:8040/sap/opu/odata/APLX/ST_GRRF_TS_01/Headers"));
                request.Credentials = new NetworkCredential("ddsdsdsd", "sdsdsdsdsds");
                request.Method = "GET";
                request.ContentType = "application/atom+xml";
                request.Accept = "application/xml,application/atom+xml";
                request.AllowWriteStreamBuffering = true;
                request.Headers.Add("X-CSRF-Token", "Fetch");
                request.KeepAlive = true;
                WebResponse response = request.GetResponse();
                string strcsrf = response.Headers["X-CSRF-Token"];
                string strcookie = response.Headers["Set-Cookie"];
                string pXml = @"<?xml version=""1.0"" encoding=""UTF-8"" ?> <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:I_MBLNR>004</d:I_MBLNR>" +
                       "<d:I_MJAHR>2011</d:I_MJAHR>" +
                       "<d:I_SELECT>1</d:I_SELECT>" +
                       "<d:I_REFDOC>4500000001</d:I_REFDOC>" +
                       "<d:I_MATNR />" +
                       "<d:I_SLOC>0001</d:I_SLOC>" +
                       "<d:I_DELNOTE />" +
                       "<d:I_GR_GI />" +
                       "<d:I_PLANT>R303</d:I_PLANT>" +
                       "<d:I_VENDOR>R3000</d:I_VENDOR>" +
                       "<d:I_DATE>2013-09-08T00:00:00</d:I_DATE>" +
                       "</m:properties>" +
                       "</atom:content>" +
                     @"<atom:link rel=""http://schemas.microsoft.com/ado/2007/08/dataservices/related/Items"" type=""application/atom+xml;type=feed"" title=""APLX/ST_GRRF_TS_01.Header_Items"">" +
                     "<m:inline>" +
                     "<atom:feed>" +
                     "<atom:entry>" +
                     @"<atom:content type=""application/xml"">" +
                     "<m:properties>" +
                       "<d:I_MBLNR>003</d:I_MBLNR>" +
                       "<d:I_MJAHR>0000</d:I_MJAHR>" +
                       "<d:ITEMNO>000001</d:ITEMNO>" +
                       "<d:MATNR>R100000</d:MATNR>" +
                       "<d:QUANTITY>1</d:QUANTITY>" +
                       "</m:properties>" +
                       "</atom:content>" +
                       "</atom:entry>" +
                       "</atom:feed>" +
                       "</m:inline>" +
                       "</atom:link>" +
                       "</atom:entry>";
                request =(HttpWebRequest)HttpWebRequest.Create(new Uri("http://hostname:8040/sap/opu/odata/APLX/ST_GRRF_TS_01/Headers"));
                request.Credentials = new NetworkCredential("ddsdsdsd", "sdsdsdsdsds");
                request.Method = "POST";
                request.ContentType = "application/atom+xml";
                request.Accept = "application/xml,application/atom+xml";
                request.AllowWriteStreamBuffering = true;
                request.Headers.Add("x-csrf-token", strcsrf);
                request.Headers.Add("set-cookie", strcookie);
                request.KeepAlive = true;
                request.AllowAutoRedirect = false;
                request.ClientCertificates = cn;
                //request.Headers.Add("content-type", @"application/atom+xml");
                //request.Headers.Add("content-length", pXml.Length+"");
                byte[] bytes = Encoding.UTF8.GetBytes(pXml);
                request.ContentLength = bytes.Length;
                using (Stream putStream = request.GetRequestStream())            {
                    putStream.Write(bytes, 0, bytes.Length);
                    putStream.Close();
                response = request.GetResponse();
    Here the response in the last line always shows 403 forbidden status.

    Hi Mohanasundaram,
    This is the wrong forum for Gateway questions - sorry. Please try the following forum:
    http://scn.sap.com/community/netweaver-gateway
    Best regards,
    Jon

  • SAP Business Workflow and SAP Netweaver Gateway - Missing extensible elements

    Hello,
    For a mobile project we use SAP Netweaver Gateway in order to retrieve information from workflows stored into SAP Business Workflow.
    We are able to retrieve standard informations for a workflow but custom fields added into "Extensible Elements" section are lost when exit SAP NG.
    We have checked the configuration of SAP NG (by 4 differents person) and it seems to be OK.
    Do you have an idea why the custom fields are lost during SAP NG processing ?
    Thanks in advance
    Best regards,
    Dominique

    Hi Dominique,
    FYI. SAP Fiori Approve Requests uses task processing service. This may help.
    How to display application data in SAP Fiori Approve Requests app
    Regards, Masa
    SAP Customer Experience Group - CEG

  • Netweaver Gateway Architecture

    Hello All,
    I am looking for architecture of Netweaver Gateway. We are planning to implement Netweaver Gateway 2.0 in Standalone mode. The main objective to implement Netweaver Gateway is to consume apps based on UI5/HTML5 and probably Fiori Apps in future.
    I have following question around this requirement:
    1) Do we need to place Netweaver Gateway in DMZ zone?
    2) Is it possible to design architecture in such a way that all mobile applications should connect to Netweaver Gateway system via Web Dispatcher? Obviously, we don't want to expose Netweaver Gateway to internet.
    3) If we route all communications via Web Dispatcher to Netweaver Gateway which I think should be possible, what will be the complexity or disadvantages?
    I found couple of documents but none of them clearly explains architecture in this area. Please provide your valuable suggestions.
    Thanks,
    Sunny

    Hi Neeta,
    You would need to consider additional factors to make that decision. Primary of which is what is the landscape being used by your customer. You have to consider things like how the users will access the app? What would be the security and authentication mechanism? Would you need reverse proxies or load balancing? Does the customer already have an existing infrastructure for web based applications which you should plug into?
    First off, I will assume you have a NW Gateway system in place for the services that are being used by the SAPUI5 app. If that is the case, then you can certainly deploy the UI app on the same server. The process described in the blog above would end up creating a BSP application, which can then be captured in a transport and moved to QA/Production.
    On the other hand, if your customer has already has an existing infrastructure for hosting and serving up Web based applications, you may want to leverage that existing infrastructure instead.
    You can get in touch with me if you would like to discuss further.
    thanks,
    Nitin

  • [URGENT] Get Inbound Message in EBS Using XML Gateway + SOAP

    Hi experts,
    I want to ask you about how to process the inbound message using XML Gateway and SOAP protocol.
    I have 2 EBS instances, let's called it A (source) and B (destination).
    FYI, I'm following this ebook: "Oracle E-Business Suite Development and Extensibility Handbook" in chapter 12 regarding Oracle XML Gateway.
    So I don't use BPEL PM to do this.
    I'm just using EBS with XML Gateway and Integrated SOA Gateway responsibilities.
    When I tried to send the XML from A to B using OXTA, it's success, the data can be processed in B and could store in the database.
    But when I tried to use SOAP, the XML message that has been sent from A is success, and when I check it on B (Integrated SOA Gateway -> SOA Monitor), the message is in there and I can see the SOAP request and response as well.
    SOAP request:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://xmlns.oracle.com/apps/fnd/XMLGateway" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    - <env:Header>
    - <ns0:XMLGateway_Header>
    <ns0:MESSAGE_TYPE>XML</ns0:MESSAGE_TYPE>
    <ns0:MESSAGE_STANDARD>OAG</ns0:MESSAGE_STANDARD>
    <ns0:TRANSACTION_TYPE>XKLB</ns0:TRANSACTION_TYPE>
    <ns0:TRANSACTION_SUBTYPE>ORDER_DETAILS_XO</ns0:TRANSACTION_SUBTYPE>
    <ns0:DOCUMENT_NUMBER>9282</ns0:DOCUMENT_NUMBER>
    <ns0:PARTY_SITE_ID>142</ns0:PARTY_SITE_ID>
    <ns0:USERNAME>cons.ade</ns0:USERNAME>
    <ns0:PASSWORD>cons.ade</ns0:PASSWORD>
    </ns0:XMLGateway_Header>
    </env:Header>
    - <env:Body>
    <ns0:ReceiveDocument xsi:type="xsd:string"><ORDER_DETAILS_XO xmlns=""> <ORDER> <ORDNO>100002</ORDNO> <ORDWT>100002</ORDWT> <RDATE/> <CITY>JAKARTA</CITY> <ZIP>17121</ZIP> </ORDER> </ORDER_DETAILS_XO></ns0:ReceiveDocument>
    </env:Body>
    </env:Envelope>
    SOAP response:
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header />
    - <env:Body>
    - <ReceiveDocument_Response xmlns="http://xmlns.oracle.com/apps/fnd/XMLGateway">
    <ResponseCode xmlns="http://xmlns.oracle.com/apps/fnd/XMLGateway">200</ResponseCode>
    <ResponseMsgId xmlns="http://xmlns.oracle.com/apps/fnd/XMLGateway">BD4EAD91E76051D5E0440021287448DA</ResponseMsgId>
    <ResponseInfo xmlns="http://xmlns.oracle.com/apps/fnd/XMLGateway">Document received and pushed into queue for asynchronous processing. Enqueued message id is 'BD4EAD91E76051D5E0440021287448DA'.</ResponseInfo>
    </ReceiveDocument_Response>
    </env:Body>
    </env:Envelope>
    But the problem is the message that has been got in B can't store into the database yet.
    I had already changed the Queue in the XML Gateway -> Define Transaction, from APPLSYS.ECX_IN_OAG_Q (this is for OXTA) to APPLSYS.WF_WS_JMS_IN.
    After I invoke the webservice and the SOAP message has been got in B, I checked APPLSYS.WF_WS_JMS_IN in database and there is 1 record, the value of USER_DATA column is:
    ((, , , , , , ((BES_EVENT_NAME, 100, oracle.apps.fnd.wf.ws.inbound.xmltx.receive, , 27), (BES_EVENT_KEY, 100, 796550960, , 27), (BES_PRIORITY, 200, , 1, 23), (BES_FROM_AGENT, 100, [email protected], , 27), (BES_TO_AGENT, 100, [email protected], , 27), (MSG_ID, 100, 1334117503435, , 27), (ECX_MESSAGE_TYPE, 100, XML, , 27), (ECX_MESSAGE_STANDARD, 100, OAG, , 27), (ECX_PARTY_SITE_ID, 100, 142, , 27), (WS_PORT_OPERATION, 100, ReceiveDocument, , 27), (ECX_TRIGGER_ID, 100, 7101, , 27), (UserId, 100, 3020, , 27), (ECX_USERNAME, 100, CONS.ADE, , 27), (ECX_TRANSACTION_SUBTYPE, 100, ORDER_DETAILS_XO, , 27), (ECX_PASSWORD, 100, CONS.ADE, , 27), (ECX_DOCUMENT_NUMBER, 100, 9285, , 27), (BES_PAYLOAD_OBJECT, 100, false, , 27), (ECX_ATTACHMENTS, 100, , , 27), (ECX_TRANSACTION_TYPE, 100, XKLB, , 27), , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , )), 0, , )
    When I tried to select APPLSYS.WF_WS_JMS_IN for the 2nd time, there is no result, which means the business event has been triggered, right?
    So in this point I still don't have any idea why the process is (likely) ended after enter the Queue and the message can't store into B's database yet.
    Do I miss any setup when changing from OXTA into SOAP protocol to send XML message?
    Any urgent help most appreciated.
    Best Regards,
    Rheza

    Hi,
    Did you ever get any answers to this? We are thinking about the same thing.
    Thanks
    Darma
    [email protected]

  • Issue while installing sap netweaver gateway

    Hi Experts,
    I am trying to install Netweaver Gateway  on SAP netweaver 7.3.
    Once the *.SAR files are placed in EPS inbox folder of the server, we are unable to find these add-on packages in transaction: SAINT.
    Tried to install this on Client 000 and 001
    Kindly provide your inputs on this.

    Hi Komal,
    Please try to extract .SAR file contents using SAPCAR.exe utility?
    You can find the tool at D:\usr\sap\<SID>\DVEBMGS00\exe location, use -xvf option to extract content to EPS\in folder. Then load the extracted packages from Application server using SAINT again.
    Regards,
    Binson

  • Difference between SAP NetWeaver Gateway 2.0 and SAP NetWeaver Gateway productivity accelerator for Microsoft

    Hi Experts ,
    Can anyone tell me the difference between SAP NetWeaver Gateway 2.0 and SAP NetWeaver Gateway productivity accelerator for Microsoft ?
    Best Regards,
    SK

    SAP  Netweaver Gateway 2.0 is a product for Exposing ERP data as OData for external consumption which is independent of any Microsoft product. Using this you can model OData services and Expose them for light weight consumption. You can use this in use cases where  you just want to consume the OData in some client or so, and you do not want any kind of accelerators to help you in development or in your integration.
    GWPAM is an interoperability framework from SAP that leverages SAP NetWeaver Gateway and Microsoft technologies enabling customers and partners to easily and quickly compose solutions that consume and extend SAP throughout Microsoft technologies for on premise and on demand deployment. With GWPAM you get components like
    GWPAM Visual Studio Add-On,GWPAM Template,GWPAM Project,GWPAM Outlook Add-In which are very much Microsoft specific.

  • SAP NetWeaver Gateway Trial Version of Duet Enterprise

    SAP NetWeaver Gateway Trail version Part 1 is not available for down load. I was successfully able to download Part 2 and Part 3 but Part 1 is not available. Can you someone help me with Part 1?
    THanks.
    Farhan.

    There lies another problem..
    I tried downloading 7.01 from sdn.sap.com
    The link for part2 of the file broke as many as three times
    So I switched to ftp link.
    But it happens to be 7.0
    can I use any download manager with sdn.sap.com
    If not, any alternate links..
    Quick Reply appreciated

  • Netweaver gateway in three tier landscape

    Hi experts,
    Can You please explain what are the best practices when using SAP Netweaver gateway central HUB deployment in three tier landscape. Is it sufficient/possible to use one gateway system for all (DEV, QAS PRD) systems, or there is a must that every backend system has its own dedicated gateway system?
    Thank You and best regards,
    Igor

    Hi Igor,
    I would not support having one gateway system for all three (not even two) landscapes.
    For each landscape, it is a standard to have their of set of systems. Rather, any kind of communication between cross landscape systems is usually strictly prohibited.
    Still, let us think on what might be the consequences.
    Each service will have three system aliases one each for each of Dev, QA and Prod.
    What if a production service by mistake starts pointing to a Dev's system alias and starts showing products from Dev landscape? disastrous for the company!!!
    If you are worried about having to maintain one extra system for Gateway you can consider 'Embedded Deployment', which I have seen many clients have adopted successfully. (be aware of limitations though)
    regards
    Krishna

  • Feedback Form for SAP NetWeaver Gateway development tools

    Hi all, if you wish to send your feedback (bug, new feature, and general feedback) to SAP NetWeaver Gateway development tools u2013 Xcode, Visual Studio, Blackberry, Search console, please use the attached feedback forms:
    For Xcode and Visual Studio tools please use Feedback form XC&VS.rtf
    For Eclipse, Blackberry and Search console please use Feedback form BB&SC.rtf

    Hi Michal,
      While installing the Netweaver gateway plugin for eclipse Juno version through the following link
    https://tools.hana.ondemand.com/juno   under Help -> Install New Software... I have encountered below error.
    Can you please help me in resolving it.
    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    Unknown Host: https://tools.hana.ondemand.com/juno/features/com.sap.core.editor.feature_1.0.6.jar
    tools.hana.ondemand.com
    Many thanks in advance.
    Regards,
    Parthi

  • How to consume HANA xsodata into Netweaver gateway as odata

    Hello all,
    I am  trying to consume XSODATA from HANA system into Netweaver gateway  system using OSCI method.But I am  getting error '
    error while fetching the source metadata'.Kindly let me know where am going wrong.
    Regards,
    Imra

    Hi ,
    Please check the RFC configuration as mentioned in the blog. Also have a look at the comment section for more on RFC config. 
    Could you please check what is the URL being called. You can check it in class /IWFND/CL_OCI_HTTP_PROCESSOR method /IWFND/IF_OCI_HTTP_WRAPPER~GET.
    Hopefully here you can get a hint or the error.
    Regards,
    Atanu  

  • Netweaver Gateway user creation and self registration Procedure

    Dear All,
    Can you please provide the complete step by stpe by process for creating netweaver gateway user creation and self registration process
    by useing templates.
    Thanks & Regards.
          aYYaPPa.

    Hi Sriram
    Thanks for immediate response.
    I went throgh that link whcih is posted by you.
    But i need some more explosure to undesrtand user creation by using that templates
    Thanks,
    Ayyappa.

Maybe you are looking for

  • External hd not recognized after 8.1 upgrade

    my 3 tb seagate external is not being recognized after 8.1 upgrade. plugged in bothe sides of usb ports still no response. lights up when plugged but thats about it. Please help, thanks.

  • Payment terms- F110

    Dear gurus, please advise in this issue I have a vendor with 2%10 specified in the vendor master and also on the invoice- pmt method is check. I checked to see if 2%10 is defined as 2% discount if paid within 10 days else due net by 30 days.And this

  • Black and white printing using Gutenprint

    My HP printer has no drivers in SL, but I can print using Gutenprint. The Gutenprint FAQ says For most users, the work-around is to set the Color Model setting to Grayscale. This is not the same as printing in black and white only, but it may give yo

  • ICal Alarm for birthdays

    I am unable to set an alarm for birthdays. I cannot believe that this is not possible to do, anyone got any ideas?

  • My new PC keeps restarting

    Hi I hope someone can help; When I shut my pc down it starts by it self after about 10 min. My specks here http://www.esmannoglundsteen.dk/Report.htm Thanks in advance! Kind regards Morten Lundsteen Denmark