Consume oData service in WebDynpro ABAP
Hi All,
Is it possible to consume a oData service from one SAP system in to another system (assume in a report program or WebDynpro application)?
If yes, can you please guide me?
Thanks in advance....
-Chandra
Hello Chandra,
Do u have a scenario/requirement where u want to consume a GW Service from WebDynpro screens ?
Is it really required ? if at all you want to consume GW service from WebDynpro screens, i think using GW is not a correct solution.
There would be some other ways to consume your Back-end business logic from WebDynpro screens.
I don not know if we can call GW Service in a WebDynpro screens. Technically if its possible also then i think its not correct to do that.
In my opinion GW has to be used in combination with UI5 for light weight applications.
Regards,
Ashwin
Similar Messages
-
Consume OData service in SUP 2.1.3
Hello,
How to consume of OData service in SUP 2.1.3 for creating MBO for HWC?
Our OData service is having mandatory filters which needs to be passed.
http://xxx:8000/sap/opu/odata/sap/Z_TEST_V2_SRV/Entity_Set_Name/?$filter=Filter1 eq 'value1'and Filter2 eq 'value2'
So, while creating XSD from XML should we need to use the above URL or http://xxx:8000/sap/opu/odata/sap/Z_TEST_V2_SRV/?$format=xml
If we are using http://xxx:8000/sap/opu/odata/sap/Z_TEST_V2_SRV/?$format=xml and convert it in XSD then we are not able to see FEED in the MBO creation.
Also, if we are using http://xxx:8000/sap/opu/odata/sap/Z_TEST_V2_SRV/Entity_Set_Name/?$filter=Filter1 eq 'value1'and Filter2 eq 'value2' and convert it into XSD then we are able to see the FEED in MBO creation but while choosing the fields it is throwing us java.lang.nullpointer exception.
Can anyone explain us the solution for the problem?
Regards,
RahulIs there a particular reason why SUP 2.1.3 is used and not the latest 2.3.4? It is recommended to move to the most recent version if possible/new project.
For HWC consuming OData service, you can connect directly from your JavaScript without using MBOs. Please take a look at this link:
Develop OData-based Hybrid Apps
Thanks,
Andrew. -
How to consume OData service in sapui5
hi,
how to consume Odata service in sapui5 (table).
If any idea please share with me.i tryed but some error comes:-
Failed to load resource: the server responded with a status of 401 (Unauthorized) https://xxxxxxxxxxxxxx.com/sap/opu/odata/sap/Z_BANK/$metadata
Failed to load resource: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:55176' is therefore not allowed access. -
Problem consuming web service created by ABAP via standalone java client
I'm trying to consume web service created by ABAP in R3 system via standalone java client. I should be getting a string reply after consumed the web service (ZSMS_INBOUND), but so far i received null. I cant find any exception or log to trace the problem. Any help would be appreciated. Is there anything wrong with my client calling the web service?
public void myMethod{
// TODO : Implement
try{
Stub stub = (Stub)new ZSMS_INBOUNDServiceImpl().getLogicalPort();
stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,"http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap- client=100&wsdl=1.1&mode=sap_wsdl");
inboundService = (ZSMS_INBOUND) stub;
BAPIRET2 str = inboundService.ZSMS_INBOUND(date, message, modemId, smsId, tel, time);
ackDeliveryArray<i> = str.toString();
}catch (Exception e) {
e.printStackTrace();
Generated following SAP help standalone proxy creation steps.
***files fr SEIs
ZSMS_INBOUND.java (interface)
ZSMS_INBOUNDService.java (interface)
ZSMS_INBOUNDServiceImpl.java
ZSMS_INBOUNDSoapBindingStub.java
***files fr Proxy classes
ZSMS_INBOUND.java
ZSMS_INBOUNDResponse.java
BAPIRET2.java
.... many more files
the wsdl is as below (generated by ABAP):
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:n0="http://www.sap.com/webas/630/soap/features/authentication/" xmlns:sap="http://www.sap.com/webas/630/wsdl/features" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
- <xsd:simpleType name="char1">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char10">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char17">
+ <xsd:restriction base="xsd:string">
<xsd:maxLength value="17" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char170">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="170" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char20">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="20" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char220">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="220" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char30">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="30" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char32">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="32" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char50">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="50" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="date">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
<xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="numeric3">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
<xsd:pattern value="\d*" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="numeric6">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="6" />
<xsd:pattern value="\d*" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="time">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="8" />
<xsd:pattern value="\d\d:\d\d:\d\d" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:complexType name="BAPIRET2">
- <xsd:sequence>
<xsd:element name="TYPE" type="tns:char1" />
<xsd:element name="ID" type="tns:char20" />
<xsd:element name="NUMBER" type="tns:numeric3" />
<xsd:element name="MESSAGE" type="tns:char220" />
<xsd:element name="LOG_NO" type="tns:char20" />
<xsd:element name="LOG_MSG_NO" type="tns:numeric6" />
<xsd:element name="MESSAGE_V1" type="tns:char50" />
<xsd:element name="MESSAGE_V2" type="tns:char50" />
<xsd:element name="MESSAGE_V3" type="tns:char50" />
<xsd:element name="MESSAGE_V4" type="tns:char50" />
<xsd:element name="PARAMETER" type="tns:char32" />
<xsd:element name="ROW" type="xsd:int" />
<xsd:element name="FIELD" type="tns:char30" />
<xsd:element name="SYSTEM" type="tns:char10" />
</xsd:sequence>
</xsd:complexType>
- <xsd:element name="ZSMS_INBOUND">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="DATE" type="tns:date" />
<xsd:element name="MESSAGE" type="tns:char170" />
<xsd:element name="MODEMID" type="tns:char10" />
<xsd:element name="SMSID" type="tns:char17" />
<xsd:element name="TEL" type="tns:char20" />
<xsd:element name="TIME" type="tns:time" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
- <xsd:element name="ZSMS_INBOUNDResponse">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="RETURN" type="tns:BAPIRET2" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="ZSMS_INBOUND">
<wsdl:part name="parameters" element="tns:ZSMS_INBOUND" />
</wsdl:message>
- <wsdl:message name="ZSMS_INBOUNDResponse">
<wsdl:part name="parameters" element="tns:ZSMS_INBOUNDResponse" />
</wsdl:message>
- <sap:Feature name="design_0" uri="http://www.sap.com/webas/630/soap/features/authentication/">
- <sap:Property qname="n0:AuthenticationLevel">
<sap:Option value="n0:None" />
</sap:Property>
</sap:Feature>
- <wsdl:portType name="ZSMS_INBOUND">
<sap:useFeature feature="tns:design_0" />
- <wsdl:operation name="ZSMS_INBOUND">
<wsdl:input message="tns:ZSMS_INBOUND" />
<wsdl:output message="tns:ZSMS_INBOUNDResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="ZSMS_INBOUNDSoapBinding" type="tns:ZSMS_INBOUND">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="ZSMS_INBOUND">
<soap:operation soapAction="" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="ZSMS_INBOUNDService">
- <wsdl:port name="ZSMS_INBOUNDSoapBinding" binding="tns:ZSMS_INBOUNDSoapBinding">
<soap:address location="http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-client=100" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>I'm now able to consume the web service, but with the error as below:
Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
Error Message is :com/sap/guid/GUIDGeneratorFactory
BAPIRET2 mappingInfo:
TYPE TYPE false false 11
ID ID false false 11
NUMBER NUMBER false false 11
MESSAGE MESSAGE false false 11
LOG_NO LOG_NO false false 11
LOG_MSG_NO LOG_MSG_NO false false 11
MESSAGE_V1 MESSAGE_V1 false false 11
MESSAGE_V2 MESSAGE_V2 false false 11
MESSAGE_V3 MESSAGE_V3 false false 11
MESSAGE_V4 MESSAGE_V4 false false 11
PARAMETER PARAMETER false false 11
ROW ROW false false 11
FIELD FIELD false false 11
SYSTEM SYSTEM false false 11
My java code is :
public class MyTest {
public static void main(String[] args){
try{
Stub stub = (Stub)new ZSMS_INBOUNDServiceImpl().getLogicalPort();
stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,"http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-client=100");
ZSMS_INBOUND inboundService = (ZSMS_INBOUND) stub;
BAPIRET2 str = inboundService.ZSMS_INBOUND(param1,param2,param3,param4,param5,param6);
System.out.println(str.toString());
}catch (Exception e) {
e.printStackTrace(); -
ESS/MSS custom services or modify standard service with WebDynpro Abap
Hi all,
what's the procedure to modify standard ESS/MSS or create new service with WebDynpro Abap.
Thanks.
MikiHi
First, The ISR Scenarios are not for iviews. They are just a part of a view. We can use webdynpro ABAP with the ISR Scenarios. We need to embed these forms into our webdynpro ABAP views and code accorsdigly to get the data. There are some standard components that are provided by SAP to handle ISR Forms with Webdynpro. Check these.
Regards,
Srikanth. -
Consuming oData service from SSIS 2008 R2
Is there possibilities to consume oData service feed from SSIS 2008-R2, any component that can be used ?
There is no such built in specific functionality, but an OData feed is typically merely a WebService which an HTTP call away that you can do using the WebServies task, download as XML and process.
Arthur My Blog -
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. -
Consume Odata Service in Eclipse HTML5
Hi Experts,
I am trying to consume SAP Odata service. But i was stuck in one problem. While creating my model object i got following message.
This code i have written in the index.html file.
var oModel = new sap.ui.model.odata.ODataModel("https://eccdemo.localhost.com:port/sap/opu/odata/sap/ZAU_GP_SRV/ZGPSet/",false, "[username]","[password]" );
when i trying to directly execute the same service using Google chrome it gives me data. But if the same service i was trying using the eclipse i got this message. Can u please tell how to create object for the oModel or is there any other thing that i have missed, One thing i was noticed here that automatically $metadata is appended in the service while calling and how we can overcome this problem.
OPTIONS https://eccdemo.Localhost.com:8001/sap/opu/odata/sap/ZAU_GP_SRV/ZGPSet/$metadata datajs.js:17
o.defaultHttpClient.requestdatajs.js:17
E2datajs.js:17
o.requestdatajs.js:17
O._loadMetadataODataMetadata.js:6
sap.ui.base.EventProvider.extend.constructorODataMetadata.js:6
M.extend.constructorODataModel.js:6
sap.ui.lazyRequire.osap-ui-core.js:116
(anonymous function)index.html:22
Please help me how to solve this problem. Initially, i am just trying to create the model object.
Regards,
NishantHi Nishant,
If you are unambe to access your service from Eclipse, we need to check few point from Gateway developer.
In the link provided, http://scn.sap.com/docs/DOC-46724
After step12, please see the note in troubleshooting, hope it should help you..
Thanks,
Vijay V -
Error consuming Web service from an ABAP Program
Hello guys,
I'm trying to consume a Web Service that is exposed in the internet. The conecction to the Web Service its via SSL.
I'm having a problem at the moment I call the web service from my abap program. But I'm able to test the same web service, from the SE80 tx with out trouble.
I have identify that there is a difference in the SOAP envelope, that its received in the Web service, when I call it from the test enviorment and when I call it from the program.
This is how it is received from the TEST tool (a succesfull call of th WS) :
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header><n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/"><TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Error</TraceLevel></n0:Trace></soap-env:Header><soap-env:Body><nr1:putXMLDocument xmlns:nr1="http://bel.bci.cl/WsBEL/services/Carga"><body><?xml version="1.0" encoding="ISO-8859-1"?><Mensaje><RutEmpresa><Numero>76555400</Numero><Digito>4</Digito></RutEmpresa><RutUsuario><Numero>12307972</Numero><Digito>8</Digito></RutUsuario><Convenio>58422</Convenio><Pin>aro79728</Pin><Archivo><Tipo>PPR</Tipo><Plantilla>2142970592</Plantilla><Nombre>cargatest174.txt</Nombre><Cuerpo><![CDATA[G126919727 JORGE CRISTIAN VARGAS ROMERO 0000VVC01600000000000000000000245FAC0000000089900032000021030000010000000000190000 2910200714082008Boletas honorarios|]]></Cuerpo></Archivo><Fecha>20080814</Fecha></Mensaje></body></nr1:putXMLDocument></soap-env:Body></soap-env:Envelope>
And this is how it is received when I consume the web service from the ABAP program.
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header><n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/"><TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Error</TraceLevel></n0:Trace></soap-env:Header><soap-env:Body><nr1:putXMLDocument xmlns:nr1="http://bel.bci.cl/WsBEL/services/Carga"><body><?xml version="1.0" encoding="utf-8" ?><nr1:putXMLDocument xmlns:nr1="http://bel.bci.cl/WsBEL/services/Carga"><body><?xml version="1.0" encoding="ISO-8859-1"?><Mensaje><RutEmpresa><Numero>76555400</Numero><Digito>4</Digito></RutEmpresa><RutUsuario><Numero>12307972</Numero><Digito>8</Digito></RutUsuario><Convenio>58422</Convenio><Pin>aro79728</Pin><Archivo><Tipo>PPR</Tipo><Plantilla>2142970592</Plantilla><Nombre>cargatest174.txt</Nombre><Cuerpo><![CDATA[G126919727 JORGE CRISTIAN VARGAS ROMERO 0000VVC01600000000000000000000245FAC0000000089900032000021030000010000000000190000 2910200714082008Boletas honorarios|]]></Cuerpo></Archivo><Fecha>20080814</Fecha></Mensaje></body></nr1:putXMLDocument></body></nr1:putXMLDocument></soap-env:Body></soap-env:Envelope>
As you can see, it is generating a nr1:putXMLDocument tag, that it should not go there.
Why do you think that this situation is happening? Please guys, this is very important, and need your help. Thanks in advance.
Samuel.BSP a Developer's Journal Part XIV - Consuming WebServices with ABAP
Calling WebServices from ABAP via HTTPS
Consuming Web Service from ABAP by Durairaj Athavan Raja
Search on SDN wiki, and you will find above mentioned links. -
Generic Object Services using WebDynpro ABAP
I am using Web Dynpro for ABAP and would like to access Generic Object Services (GOS) to view attachments or similar functionality for attachments in web dynpro ABAP. How can I access the functionality of attachments from a Web Dynpro application?
Any help is appreciated.
ThanksHi,
I assume that you wantted to have the attachements in a mail.
Please check out the Adobe Forms(ie PDF attachements) and Office Control UI elements in WDA.
Regards
Lekha -
How to consume web service in WDP ABAP ---HTTP error (return code 404, mess
Hi,
Am trying to consume a web serivce in WDP where I got error HTTP error (return code 404, message "conn failed")in sdn i came to know that it could be resloved by giving the IP address of the host but in case it is not the web services am using are the external links.
kindly help me to sort it.
Regards
Rajhi,
in addition to above thread
refer this too
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0d4aa08-beed-2a10-fab2-ad975cead04a
bvr -
How to consume Web Service in ABAP WebDynpro
Hi
I want to know the entire details about how to consume Web Service in WebDynpro application.
regards
PiyushhI piyush,
Have a look at this Blog by Thomas Jung.
/people/thomas.jung/blog/2007/12/17/consuming-services-with-abap
on consuming webservies thru webdynpro ABAP
Cheers
Mary -
SUP 2.1.3 MBO creation using ODATA service
Hi All,
I am using SUP 2.1.3 and trying to consume OData service created using SEGW transaction on gateway. following an older document i moved ahead by creating XSD files from the XML file.
But,after uploading the XSD file , i chose the root element as 'feed' .
After this , one XSLT file is generated automatically.
But , when I click the XSLT file to edit , it shows error saying 'java.lang.NullPointerException' .
I have to follow the methodology of creating MBO's using OData service and then deploying it on server.
Please help me to move ahead with ODATA service in SUP 2.1.3 version.
Appreciate your quick help and assistance on this.
Regards
RahulHi
If i ignore the Null exception error and move ahead with the XSLT format and preview the data source i receive the below error:
Execution failed: HTTP status code is [401], expected [200]; response body is [<html><head><title>Logon Error Message</title><META http-equiv="Content-Type" content="text/html;charset=UTF-8"><style type="text/css">body { font-family:tahoma,helvetica,sans-serif;color:#333333;background-color:#FFFFFF; }td { font-family:tahoma,helvetica,sans-serif;font-size:70%;color:#333333; }h1 { font-family:tahoma,helvetica,sans-serif;font-size:160%;font-weight:bold;margin-top:15px;margin-bottom:3px;color:#003366; }h2 { font-family:verdana,helvetica,sans-serif;font-size:120%;font-style:italic;font-weight:bold;margin-top:6px;margin-bottom:6px;color:#999900; }p { font-family:tahoma,helvetica,sans-serif;color:#333333;margin-top:4px;margin-bottom:4px; }ul { font-family:tahoma,helvetica,sans-serif;color:#333333;list-style-type:square;margin-top:8px;margin-bottom:8px; }li { font-family:tahoma,helvetica,sans-serif;color:#33333;margin-top:4px; }.emphasize { color:#333333;background-color:#C8E3FF;padding:5px;}.note { color:#CC6600; }a { font-family:tahoma,helvetica,sans-serif;text-decoration:underline;color:#336699; }a:visited { color:#001166; }a:hover { text-decoration:none; }</style></head><body><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><h1>Anmeldung fehlgeschlagen</h1><br><h2>Was ist passiert ?</h2><p>Der Aufruf der URL http://10.5.1.150:8000/sap/opu/odata/sap/ZCM_TEST_V5_SRV/PayrqSet/ wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.</p></td></tr><tr><td> </td></tr><tr><td class="emphasize"><strong>Hinweis</strong><br>Die Anmeldung wurde im System GWD ausgeführt. Hierbei wurden keine Anmeldedaten bereitgestellt.</td></tr><tr><td> </td></tr><tr><td><p> </p><h2>Was können Sie tun ?</h2><ul><li> Falls Sie noch über keine Benutzerkennung verfügen, so wenden Sie sich an Ihren Systemadministrator. </li></ul></br><p class="note">Fehlercode: ICF-LE-http-c:001-l:-T:-C:6-U:-P:-L:6-X:CBC8A013038D1EE486AE76E3D8B54E1D_CBC8A013038D1EE486AE76E3D3D34E1D_1-x:B77319E4C51EF1AFAE1DCBC8A013038D</p></br><p> HTTP 401 - Unauthorized</br><p> Ihr SAP Internet Communication Framework Team</p></td></tr></table></body></html>
Please let me know if anyone has worked on ODATA+MBO+SUP2.1.3. I know this is not the recommended approach but i have to follow this scenario and i know it can be achieved through this approach. JUst need your assistance experts.
Thanks & Regards
Rahul -
How to consume OData from SNWG in Windows Phone
Hi Friends,
I want to consume OData from SNWG in Windows Phone 8 app. I already have a post on this.
Please refer the 2nd last post for what I have tried finally.
Getting Started with SAP NetWeaver Gateway
Regards
SomnathHi Holger,
I have already tried this steps( http://msdn.microsoft.com/en-us/library/windowsphone/develop/gg521145(v=vs.105).aspx & OData client for Windows Phone 8 ) and are able to consume OData service from my Windows Phone 8 app with the OData service link (http://services.odata.org/Northwind/Northwind.svc/ ) provided in the example.
But when I try to use some other remote service like (http://<Gateway_Host><Gateway_Port>/>/sap/opu/sdata/iwfnd/RMTSAMPLEFLIGHT?sap-client=100 ) it doesn't work, even I don't find any service.
Could you please tell me if this is a value document and will support for my development, if then where do I get SAP NetWeaver Gateway for my dvelopment.
http://wiki.scn.sap.com/wiki/download/attachments/250646828/WP7%20-%20How%20to%20Guide.pdf?version=1&modificationDate=13…
Regards
Somnath -
Exit from Webdynpro abap application in portal environment
Hi,
I created one custom service in Webdynpro ABAP in ESS and also integrated in the portal environment
I need to put Exit button in every page ( OVERVIEW, EDIT, REVIEW). When user click on 'EXIT' button from any one of page , it should return back to PERSONAL INFORMATION in ESS Homepage.
I have used Exit plug in window , but i read in SAP Library Exit plugs will not work in portal environment.
Let me know which way i should proceed to acheive the Exit functionality.HI,
Add the following code in action of exit and also add the application parameter which gets the area page from the portal.
Apart from this, do the configuration settings in these screens ( Define resources, Define services ) in SPRO.
DATA: countrygrouping TYPE molga,
arealink TYPE rhxss_ser_linkinfo_s.
DATA:
node_settings TYPE REF TO if_wd_context_node,
elem_settings TYPE REF TO if_wd_context_element,
stru_settings TYPE if_componentcontroller=>element_settings .
navigate from <CONTEXT> to <SETTINGS> via lead selection
node_settings = wd_context->get_child_node( name = if_componentcontroller=>wdctx_settings ).
get element via lead selection
elem_settings = node_settings->get_element( ).
get all declared attributes
elem_settings->get_static_attributes(
IMPORTING
static_attributes = stru_settings ).
CALL FUNCTION 'RH_PM_GET_MOLGA_FROM_PERNR'
EXPORTING
pernr = stru_settings-personnelnumber
begda = sy-datum
endda = sy-datum
IMPORTING
molga = countrygrouping.
CALL FUNCTION 'HRXSS_SER_GETAREALINK'
EXPORTING
areagroupkey = stru_settings-home_service
areakey = stru_settings-area_service
portalcontext = 'X'
personnelnumber = stru_settings-personnelnumber
countrygrouping = countrygrouping
IMPORTING
arealink = arealink
EXCEPTIONS
areagroupkey_invalid = 1
areakey_invalid = 2.
DATA: l_portal_manager TYPE REF TO if_wd_portal_integration,
l_api type ref to IF_WD_COMPONENT.
l_api = wd_this->wd_get_api( ).
l_portal_manager = l_api->get_portal_manager( ).
l_portal_manager->navigate_absolute(
navigation_target = arealink-linkpcdpage
navigation_mode = if_wd_portal_integration=>co_show_inplace
history_mode = if_wd_portal_integration=>co_no_duplicates
Maybe you are looking for
-
After iOS 4, 3G service no longer works on my 3G
I, too, have had horrible thinhs happen to my 3G after the iOS4 "upgrade." I've tolerated most, but now 3G service is not working. Anyone have 3G no longer working on their 3G? Any fixes work for you?
-
How can i access RFC Function module in BI
Dear Experts, I have a RFC fm in BI system which will allow me to write data into BI DSO, but when i am trying to select that from BI system their is no option to select a service, but when we go to ECC or CRM we can find option Service through with
-
Is it possible to have conditional required fields. As in if a certain box is selected, certain fields will become required. Take a look at this example if this needs clarification. In this example, the left 3 text boxes are required. If I check the
-
10g/11g certification on OL6
When do you expect certification for Oracle 10g or 11g database on Oracle Linux 6 or RHEL 6? Thanks
-
I installed 4.5, got the Sheets to Go update and everything seemed fine. Then, I installed some other software and the Application Installer downgraded my Docs to Go and removed Sheets to Go. Now, when I go into Word to Go and select Check for Update