No Mapping posibilities - but SAP_GWFND SP011
SAPUI5 program consuming gateway service
Hi,
I have Netweaver Gateway Server set-up. I have Eclipse Kepler installed on my machine with SAPUI5 plugin added to it.
Now I want to write a small SAPUI5 program which can consume the service created in Netweaver Gateway server.
Can someone please let me know any websites/SDN sites which can help me get trained on this and create my own demo application.
I am a java developer and know JQuery & javascript. But I have no knowledge of ABAP programming. So please let me know if I need to have ABAP programming knowledge also if I have a to create a service in Netweaver Gateway sever.
My objectives are :
1) Create a service in Netweaver Gateway Server
2) Write SAPUI5 program in Eclipse to consume the service created in Netweaver Gateway Server. (One doubt I have is,..once I create a SAPUI5 program, will I have to deploy it in Netweaver Gateway server? ..If not then where will this SAPUI5 program will reside?)
3) Run the SAPUI5 program.
Thanks.
SAP Demo Gateway - ES1
Is ES1 system available? I am trying to access demo gateway system from last few weeks but it is not available. Please let me know the status.
Thanks.
Association/Navigation without key properties
Hi Experts,
I'm trying to make an association/navigation to another Entity, but this for a property without being marked as a key.
Example the EPM test service from http://scn.sap.com/docs/DOC-31221
The model: http://scn.sap.com/servlet/JiveServlet/showImage/102-44073-2-246387/Relationen.png
I already builded the SalesOrder association/navigation to the SalesOrderItem.
But I cannot seem to create the association/navigation from SalesOrderItem to the Product, in SEGW I always have to define the referential constraint with the key of the Entity. In SalesOrderItem, the productId property is not a key, and I can't imagine that I have to set it as a key.
Thanks in advance
Regards,
Wouter
deep entity - Odata using SEGW
Hi Guys,
I was trying to create deep entity, I have done with all the steps like associations and navigations and even association sets using segw, but I am able to create associations using manually like creating MPC and DPC classes externally.
But when I tried through SEGW, I am able to see metadata, but when I am using JSON object as request body, It is not recognizing Item entityset type as entity, it is simply taking as property.
Please do provide me some input on this.I have gone through blogs too.
Thanks
The argument ' date value ' cannot be interpreted as a number
Hi Friends,
I want to redefine a GW service for adding new fields. Followed SAP help documents and was able to do that but after redefining the service Date fields in Entity Types are changed to Packed (15,0), Packed(21,7). In our parent service all date fields are assigned with Internal Type Date(8,0).
Not able to post xml with date fileds(with null and data) as it is throwing the error "The argument ' date value ' cannot be interpreted as a number".
Attaching below date field types both in parent service and child service.
Please suggest a solution for the same.
Regards,
Priyanka
Replace Service Standar Create Sales Order Fiori
Hi,
My issue is , I created a extension project and replace service odata of standard
/sap/opu/odata/SAP/SRA017_SALESORDER_CREATE_SRV of SR017_SALESORDER_CREATE
for
/sap/opu/odata/SAP/ZZSRA017_SALESORDER_CREATE_SRV of ZZSR017_SALESORDER_CREATE
but, i run the application and not refresh the called service, and continue call standard class and methods of CL_SRA017_SALESORDER_C_DPC_EXT
i need call class ZZCL_SRA017_SALESORDER_C_DPC_EXT or my project
the process i am doing is in
Extend a Fiori Application with SAP Web IDE Part 3
Thanks in advance, for your help
Why Helper Class Is Used In DPC_EXT To Call FM's
Hi Experts,
I have doubt related implementation of gateway, Why people suggest that don't write your code directly in DPC_EXT class. They suggest to create one helper class and then write your code in that method. I want to know the exact reason behind this.
Thanks & Regards,
Amit
Can an OData Service save the value of a selection?
Hello Experts,
My current question is more like a conceptual question. SAPGateway delivers an OData service with an entity type containing the following Properties:
- ATNAM
- ATWRT
- ATWTB
The values of this entityset do never change and are as follows:
ATNAM | ATWRT | ATWTB |
FIORI_PRG | BA | Barcelona |
FIORI_PRG | BE | Berlin |
FIORI_PRG | HA | Havanna |
FIORI_TYP | SE | Sessel |
FIORI_TYP | ZW | Zweisitzer |
FIORI_TYP | DR | Dreisitzer |
FIORI_FARBE | BL | Blau |
FIORI_FARBE | BR | Braun |
FIORI_FARBE | GR | Grün |
FIORI_FARBE | SW | Schwarz |
FIORI_BEZUGSSTOFF | ST | Stoff |
FIORI_BEZUGSSTOFF | KL | Kunstleder |
FIORI_BEZUGSSTOFF | NL | Naturleder |
In UI5-Frontend, the data is consumed in different lists that filter the values of the property ATNAM and display accordingly the values of ATWTB just like you can see it in here: JS Bin - Collaborative JavaScript Debugging
Now the question: is it possible for this OData service to “be informed” of the selected value from any of these lists? (assuming that UI5 can send a value).
Clarification: the service has only the get and getentityset methods redefined. Or same question formulated differently: can the OData service save the result of a selection of a filtered list?
If someone wants to take a look at the metadata, the file can be seen in: https://goo.gl/pAE4qz
Thank you very much for your support,
Gabriel
Error Handling through SAP Gateway
Hi,
We have few Update and Create Services being called, once these services are called and the record is updated or created, is there a way to get the success of error messages posted to the front end?
Thank you in Advance.
How to access request object in Model Provider Class?
Dear specialists,
as my previous post is located in the wrong area (
),I repost my question here:
I want to define the data model of my OData service dynamically depending on an URI paramter of my HTTP request. But so far I did not find any possibility to access the request object in the model provider class.
Does anybody has a hint for me?
Many thanks in advance.
Best regards,
Juergen
Can't seem to register
Hi all,
I'm rather new to this site and SAP ... as a developer I would like to have access, but the "SAP Netweaver Gateway Service Consumption Sign-Up Form" ( https://supsignformssapicl.hana.ondemand.com/SUPSignForms/ ) always returns:
The system is not accessible please have a look at the Operations Document for the system status or check back later.
Thank you for your understanding
The linked operations document doesn't say anything about an outage. Is this procedure outdated or am I doing something wrong??
Thanks for your help & support
Patrick
SEGW - Method 'X_GET_ENTITYSET' not implemented in data provider class
Dear All,
My server environment is IWBEP IWFND in the SAP ECC server, I create a gateway project by importing Login RFC interface with the following parameters:
Input parameters
Username (text)
Password (text)
Ztype (text)
Export Parameters
EsTechnDetail (structure)
EsMsg (text)
I tried to request the LoginCollection EntitySet on Gateway Client occurs the error as display on the below;
URL on Gateway Client : /sap/opu/odata/SAP/ZTEST3_SRV/LoginCollection
Error :
<?xml version="1.0" encoding="utf-8" ?>
</Error_Resolution>
</errordetail>
</errordetails>
</innererror>
</error>
Please help.
Regards
Choong
Need advise on SAP Netweaver gateway/Odata/Eclipse
Hi All,
I am bit confused with all these terminology. Could you please advise me how do I make app for mobile using SAP netweaver gateway/Odata/Eclipse ..?I think that Eclipse is the way forward .....
I have SAP netweaver gateway system 2.0 installed and have Eclipse Kepler. Recently I have seen GWPA ..how and where can I get that ? and I am not able to install SAP Netweaver Gateway Plugin for Eclipse..can you please advise..
Kind Regards
Rama
How to access request object in Model Provider Class?
Dear specialists,
as my previous post is located in the wrong area (
),I repost my question here:
I want to define the data model of my OData service dynamically depending on an URI paramter of my HTTP request. But so far I did not find any possibility to access the request object in the model provider class.
Does anybody has a hint for me?
Many thanks in advance.
Best regards,
Juergen
getting error Internal server error when calling gateway service
hi,
I am getting error Internal server error when I calling customer_creating_entity method from gateway and i am getting data from get method.
I write following ajax code in sapui5.
jQuery.ajax({
beforeSend: function(xhrObj){
xhrObj.setRequestHeader("X-Requested-With","XMLHttpRequest");
xhrObj.setRequestHeader("Content-Type","application/json");
xhrObj.setRequestHeader("Accept","application/json");
},
type: "POST",
contentType: "application/json",
url: url,
dataType: "json",
data: {
"CoID": 20241,
"CoName": "krishna",
"ContactNo": "12345678990"
},
success: function(xml) {
//oModel.setData(data);
alert("success to post");
},
error: function(xml) {
//oModel.setData(data);
alert("fail to post");
alert(xml);
}
});
SAP Gateway and Simple Field Extensibility - does it work with append views?
I read about the Gateway's Simple Field Extensibility and set up a small example with:
- a database view on an existing table
- a new OData Service based on the view with a single Entity Type and its Collection Type - i.e. the entity type is linked to the view structure
- I implemented the get_entityset method in the data provider extension class with a simple SELECT * statement
- when I execute a query on the Collection I get back the view data, as expected
So far, so good. Then I created an append structure for the underlying transparent table with a single field and a view append for the view I use as data source. When I then execute a query on the Collection I get back exactly the same view data as before, i.e. without the appended field.
The SAP help documentation (like above) tells us that:
At runtime SAP NetWeaver Gateway classes (model provider class and data provider class) consider the fields in the extension includes in ABAP Dictionary structures. That means that entity sets that are technically based on ABAP Dictionary structures for which SAP provides the option to extend them via append structures will automatically show new properties if the underlying ABAP Dictionary structure has been enhanced by the customer. This process is called Simple Field Extensibility (SFE). Properties that have been created by using SFE contain the annotation sap:is-extension-field="true".
I supposed that this works with append views as well, and am a bit astonished that it doesn't seem to work with my example.
Does anyone have some experience with using the Simple Field Extensibility feature?
SAP gateway
HI,
I using some Standard SAP Services for Fiori App, i want to find weather services are using
Generic Channel used (NEGW_GENERIC)? &
Push Flow scenario used (NWGW_PFLOW)? &
Web Services used? (NWGW_WS)?
components or not .how to determine the same. Thanks in advance
CustomCross-Application Basic Settings Field in SRM 7.1 contract item - no value in context
Hi , i have add a custom field ( checkbox ) on item contract in SRM . I have add the field in SPRO: SRM Server--> Cross application basic settings --> Extensions and field Control ( Personalization) ---> Configure customer fields --> Define customer fields on item level
Then i have used this link to configure the isibility of the field :
SRM Server-->Cross application basic settings-->Extensions and field Control ( Personalization) --> Configure field control--> configure control for fields on item level
I have add the new field in context of view of /SAPSRM/WDC_CTR_DOTC_IT, into view V_CTR_DODC_ITEMS . I have add the new field in layout and binding it to context. The field is visible but when i select it, ( is a checkbox ) i haven' the value in context.
Any suggest?
Thanks in advance.
M.
Getting data from SAP backend into Gateway Hub
Dear all,
I am new to Netweaver Gateway. In my landscape the IWBEP component has been installed in the Gateway Hub system. In my custom OData service i want to get the data from my backend SAP ERP system using a BAPI.
I have created my custom OData service with the relevant components and have implemented the service using the BAPI method. While implementing the service i referred to the BAPI method from the SAP ERP backend system using the RFC destination (ABAP connection i.e. connection type 3) to the SAP ERP system created in my Gateway hub.
Now when i test the service, the service document and metadata XML are generated correctly. However when i test the entity set, i find that the data is NOT being extracted from the SAP ERP backend system.
What configuration/settings need to be maintained in the custom OData service so that the service refers to the correct SAP backend system? How does the gateway service determine from which system it should extract the data?
regards
Nitesh