Extending Fiori oDATA service

Hi,
I'm trying to extend Fiori oDATA service SRA017.
I'm trying to add more fields to ProductAttributes Entity, there is Customer Extension Include  SRA017_S_SO_PRODATTR_INCL for sttructure SRA017_S_SO_PRODATTR, I canno edit it, it asking me for access key from OSS, am I missing something? Because std. include structures can be edited without registering object on OSS...
Thanks Jiri

Hi,
Check this note 1944931 - Extensibility for Create Sales Order Application.
also look at this SAP help document SAP Fiori Apps - SAP Library
Regards,
Chandra

Similar Messages

  • SEGW : Copy Project vs Redefine(OData Service)

    Dear Friends,
    This is regarding the differences between various modeling approaches in SEGW
    1. An Existing Project ( and Technical Service , say, Parent 1.0 ) is live
    2. A new Project ( and Technical Service , say, Child 1.0) is to be implemented.
    What is the real difference between
    (A) ... copying the existing project "Parent" to  "Child" and publishing the Technical service as "Child 1.0"
    (B) ...copying the existing project "Parent" to  "Child" and publishing the Technical service as "Parent 2.0"
    (C) ...Redefining the "Parent 1.0" in a new project "Child" and "Overwrite Base/Extend the Service" ...which publishes the Technical Service as "Parent 1.0"
    (D) ...Redefining the "Parent 1.0" in a new project "Child" ..without "Overwrite Base/Extend the Service" .. and publish the Technical Service as "Child 1.0"
    In other words, what really is the idea of "Redefine >OData Service (GW)" ...( with / without "Overwrite Base/Extend the Service" )
    Many thanks for your patience
    Suresh

    Hi Suresh,
    by copying the project you create a complete independent new project, which does not have any relation to the original project. The runtime objects (model provider classes and data provider classes) are independent from those of the first project.
    By redefining the project you can select which entities and which associations you want to use in your child project. Those redefined objects can't be changed in the child project, you only can redefine names and labels. On the other hand if you change any of the redefined object attributes in the parent project the changes will also be available in the child project.
    And the data provider class of the child project inherits from the one of the parent project.
    So you have a real parent-child relationship.
    Redefining with option "Extend" means to add objects of the parent project, which haven't been redefined before.
    Redefining with option "Overwrite" means to redo the redefinition. All redefinitions done earlier will be overwritten. Objects which had been redefined before, but are not selected in the new redefinition will be deleted from the child project.
    Hope that makes it a little bit clearer.
    Regards,
    Juergen

  • RFC Error while running the extended fiori application

    Hi experts,
                When i run extended fiori application in fiori launchpad i am getting 500 internal server error in the console. When i run the transaction in the NGW with t-code /IWFND/ERROR_LOG i am getting error as shown in the snapshot.
    please help me with this.
    Thanks & Regards,
    Lahari

    Hi Jamie,
    My Component.js file has the following contents:
    jQuery.sap.declare("zcus.sd.salesorder.create.Component");
    // use the load function for getting the optimized preload file if present
    sap.ui.component.load({
      name: "cus.sd.salesorder.create", 
      /*url: "http://igtbilsap025.igatecorp.com:8000/sap/bc/ui5_ui5/sap/sd_so_cre"*/
      url: jQuery.sap.getModulePath("zcus.sd.salesorder.create") + "/../SD_SO_CRE"
      // we use a URL relative to our own component; might be different if
      // extension app is deployed with customer namespace
      /*url:http://:port/sap/bc/ui5_ui5/sap/hcm_lr_cre"
    cus.sd.salesorder.create.Component.extend("zcus.sd.salesorder.create.Component", {
      metadata: {
      version : "1.0",
      config : {
      "sap.ca.i18Nconfigs": {
      "bundleName":"zcus.sd.salesorder.create.i18n.i18n"
      "sap.ca.serviceConfigs":[{
      name:"SRA017_SALESORDER_CREATE_SRV",
         masterCollection : "SalesOrders",
         serviceUrl :URI("/sap/opu/odata/sap/SRA017_SALESORDER_CREATE_SRV/")
         .directory(),
         isDefault :true,
         countSupported : true,
         useBatch : true,
         mockDataSource : jQuery.sap.getModulePath("zcus.sd.salesorder.create") + "/model/metadata.xml"  
      customizing: {
      "sap.ui.viewExtensions":{
      "cus.sd.salesorder.create.view.SalesOrderCreateCart":{
      "extSOCCartTableColumnHeader": {
      className: "sap.ui.core.Fragment",
      fragmentName: "zcus.sd.salesorder.create.view.extSOCCartTableColumnHeader",
      type : "XML"
      "sap.ui.controllerExtensions": {
      "cus.sd.salesorder.create.view.SalesOrderCreateCart":{
      controllerName : "zcus.sd.salesorder.create.view.extButton"
    and in view folder i have  extSOCCartTableColumnHeader.xml and extButton.controller.js files
    In extSOCCartTableColumnHeader.xml i have placed :
    <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
    <contentRight>
    <Button xmlns="sap.m" text="{i18n&gt;PLACE_ORDER}" press = "doPlace" />
    </contentRight>
    </core:FragmentDefinition>
    In extButton.controller.js i have placed:
    sap.ca.scfld.md.controller.BaseFullscreenController
    .extend(
      "zcus.sd.salesorder.create.view.extButton",{
      doPlace : function(e) {
      this.salesOrderCreate()
      salesOrderCreate : function() {
      var c = this.oApplicationFacade
      .getApplicationModel("soc_cart");
      var s = {};
      var t = this;
      if (c.getData().PurchaseOrder === undefined) {
      c.getData().PurchaseOrder = ""
      if (c.getData().NotesToReceiver === undefined) {
      c.getData().NotesToReceiver = ""
      if (c.getData().ShippingInstructions === undefined) {
      c.getData().ShippingInstructions = ""
      s.SingleShipment = c.getData().SingleShipment;
      s.SalesOrderSimulation = false;
      s.SalesOrderNumber = "0";
      s.PO = c.getData().PurchaseOrder;
      s.RequestedDate = c.getData().singleRdd;
      s.CustomerID = c.getData().CustomerNumber;
      s.SalesOrganization = c.getData().SalesOrganization;
      s.DistributionChannel = c.getData().DistributionChannel;
      s.Division = c.getData().Division;
      s.ShipmentInstruction = c.getData().ShippingInstructions;
      s.NotesToReceiver = c.getData().NotesToReceiver;
      s.ShipToPartnerID = c.getData().PartnerID;
      s.OrderItemSet = [];
      var a = c.getData().oShoppingCartItems;
      var b = sap.ui.core.format.NumberFormat
      .getIntegerInstance({
      minIntegerDigits : 6,
      maxIntegerDigits : 6
      var j = 0;
      for ( var i = 0; i < a.length; i++) {
      if (a[i].isVisible == true) {
      var C = {};
      C.Quantity = a[i].qty;
      C.UnitofMeasure = a[i].UOM;
      C.RequestedDeliveryDate = a[i].RDD;
      C.Product = a[i].Product;
      C.SalesOrderNumber = a[i].SalesOrderNumber;
      C.ItemNumber = b.format(10 * (i + 1));
      C.Currency = a[i].Currency;
      s.OrderItemSet[j] = C;
      j++
      t.oSOCartModel
      .create(
      "/SalesOrders",
      s,
      null,
      function(d, r) {
      t.salesOrderCreated(r.data.SalesOrderNumber)
      }, function fnError(e) {
      var d = t.oApplicationFacade
      .getResourceBundle()
      .getText("ERROR");
      cus.sd.salesorder.create.util.Utils
      .dialogErrorMessage(
      e.response, d)
      salesOrderCreated : function(s) {
      var t = this;
      sap.ca.ui.message.showMessageBox({
      type : sap.ca.ui.message.Type.SUCCESS,
      message : cus.sd.salesorder.create.util.Formatter
      .formatSuccessMessage(s),
      }, function() {
      cus.sd.salesorder.create.util.ModelUtils
      .resetCartKeepCustomers();
      t.onNavigateHome()
    Thanks & Regards,
    Lahari

  • Getting Error while accessing the data using odata service

    Hi All,
    Iam new to SAP FIORI. 
    Iam getting the below error while accessing the data using odata service.
    "Failed to load resource: the server responded with a status of 404 (Not found)"
    "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin "
    i have tried all the solutions like changing the url pattern "proxy/htttp".
    and disabled - security in chrome (Chrome is Updated version).
    i tried with IE still got the same problem.
    And installed all the required software in eclipse
    While installing GWPA plugin i got the following error.
    let me know if any one have idea.
    Thanks in advance.

    > Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
    >
    > so in that way :
    > bot the options are fine what ever take less time.
    Sorry mate, but YOU have to know what you want here.
    I gave you an easy to follow set of steps.
    As you don't seam to mind the outcome, just might just use them...
    > I wanted to know weathe i can use the  loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
    We had this discussion before...
    >
    > For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
    >
    > For ease of use you could also just do:
    > - logon as superdba
    > - drop user SAPR3
    > - create user SAPR3 password SOMEPW not exclusive dba
    >
    > After these steps you can easily pump the data into the database again.
    >
    > So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
    >  i already have that user SAPR3 can i use the same.
    Yes, you do have the SAPR3 user.
    But you don't seem to like to read documentation or learn about how the tools work or anything like that.
    Therefore I gave you s simple way to reach your goal.
    Of course it's possible to reuse the user.
    But then you would have to deal with already existing tables, already existing data etc.
    You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
    regards,
    Lars

  • 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

  • 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,
    Nishant

    Hi 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

  • What role needs to be assigned to the user to access existing custom OData services?

    Hi all,
    What role needs to be assigned to the user to access existing custom OData services?
    With SAP ALL its working. But cannot assign that to all users. Whats the specific role for this?
    I tried with /IWFND/RT_GW_USER. But it says the role does not exist.
    Thank you,
    Achu

    Hi,
    As usual you need to build a role by yourself based on your requirements. In case of Odata services there are two different TADIR services that needs to be added. One corresponds to authorization to execute logic on backend server and the other one to access service on front end server. You can get specific services by tracing one call using ST01. For Fiori apps from SAP you get role templates. You can use them for inspiration.
    Cheers

  • Configuring SAP Provided oData services

    Hi All,
    I saw that sap has many pre-delivered many oData services.
    SAP NetWeaver Gateway Supported OData Channel Scenarios - SAP NetWeaver Gateway - SAP Library
    Has anyone configured them and got to work?
    I have a Hub Scenario and see that IW_CNT is a requirement for each of them. Configuration guide says that this is a component to be installed on the HUB server. Does it mean that DPC and MPC are going to be in the HUB for these scenarios? What if I want MPC DPC to be in backend ?
    Any experience or comment is welcome.
    Thanks
    Krishna

    Hi Krishna,
    Atanu is right. You either need to deploy either IW_CNT on systems prior to 7.40 and IW_FNDGC on 7.40 systems in the Hub.
    The services themselves are in maintenance mode and are not developed further. That's why they have been packed in 7.40 in a separate AddOn and are not shipped as part of the 7.40 standard.
    This is because we (SAP) do not plan to ship content via SAP NetWeaver Gateway but rather are shipping services as part of complete solutions such as SAP Fiori.
    Though the customer can use the services I would recommend to develop your own services instead (the BAPI's hat have been used are listed in the SAP Online Help).
    Another option if no development is wished would be to have a look at the applications that we are shipping with SAP Fiori.
    Best Regards,
    Andre

  • 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

  • RDE: Using an external ODATA service

    Hi,
    I'm trying to use an external oData service in a RDE "SAP Fiori Start application" Project.
    I've added the service to the HCP Destinations page as well as giving it the additional property "RDEEnabled=true" but it still doesn't appear in the RDE: Data Connection screen in the catalog.
    Any tips?
    Thanks,
    Dick

    Hello Richard,
    then this environment would have to provide an OData service /IWFND/CATALOGSERVICE with a collection ServiceCollection that has the same structure as the one provided by NetWeaver Gateway, because this is what the River RDE "SAP Fiori Start application" template uses to find applicable services.
    Best regards
    Frank

  • 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

  • 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.

  • Unable to parse the OData service in JSON

    Hi,
    Need to parse the OData Service in JSON format.Able to successfully get Service and MetaData documents. After that, when try to parse OData service returning response in JSON.
    Below  code is throwing exception.
    Server Used:SMP3.0
    ODATA SDK Used:SMP3.0 ODATA SDK
    Service Used: http://services.odata.org/v2/Odata/Odata.svc/Products?$format=json
    Code Snippet:
       @try {
          ODataCollection *collc = [[self.serviceDocument getSchema] getCollectionByName:_srvcInfo.serviceEntityName];
          ODataEntitySchema *schema = [collc getEntitySchema];
          //Instantiate parser for Carrier entity
         ODataDataParser *dataParser=[[ODataDataParser alloc] initWithEntitySchema:schemaandServiceDocument:self.serviceDocument];
          //Parses a feed or an entry xml or json
          [dataParser parse:entriesData];
          results = dataParser.entries;
      @catch(NSException *e) {
          NSLog(@"Exception:%@, %@", e.description, e.debugDescription);
    Exception:
    -[__NSCFArray objectForKey:]: unrecognized selector sent to instance
    However Service Used:http://services.odata.org/V3/Northwind/Northwind.svc/Products?$format=json. Not
    throwing any exception, but dataParser.entries is returning 0 objects
    Please let us know, is the same API is used for parsing JSON.
    What can be the reason of issue and what are possible resolution.
    Thanks,
    Parveen.

    My expert area is not IOS but you can check this IOS Odata development tutorial that might help you,Getting started with SMP3 Native OData iOS apps
    Midhun VP

  • 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,
    Rahul

    Is 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.

  • BPM ODATA Service to start process

    Hi,
    Can any one help how to use BPM Odata service to start process?
    Regards,
    Pavani

    Hi,
    try the following two blogs:
    The specified item was not found.
    Working with SAP NW BPM and SAPUI5: Using SAP NW BPMs OData-Services
    Best regards,
    Timo

Maybe you are looking for

  • ADMIN CAN'T UNLOCK SYSTEM PREFS!!! THIS IS A BUG, PEOPLE!

    Ever since I upgraded to Maverick, I haven't been able to change my locked system preferences. They just won't unlock, no matter what I do. Everywhere I've gone to get some clarity on this problem, all anybody asks is if I'm the Admin, like I'm some

  • How to format a calculated field using JSTL

    Hi, I have one field as following: <input type="text" class="fixedInput" name="grossRevenue<%=i%>" value="<%=((LineOfBusinessMetrics)lineOfBusinessMetricsList.get(i)).getGrossRevenue().setScale(2,BigDecimal.ROUND_HALF_UP)%>" size="16" onfocus="this.b

  • How do you add holidays to icloud

    How do you add holidays to icloud

  • Is The Intel HD Graphics 4000 And The Intel Core i3-3110M Processor Good For Premier?

    Dear Forums Members, Latley I've been looking for a laptop that can fit my video edting needs + some office work. What i need from Premier is the abilty to edit SD quality videos, my budget is not that high ( + I live in Israel where everything is mo

  • Custom made progress bar didn't work

    Take a look at mytest Why is it not behaving like it supposedly should? The progress bar didn't really show exact progression, the File size didn't show the correct filesize that is being loaded, even the image loader sometimes didn't show the pics.