JSViews to create Fiori Apps

Hi Guys,
From past some months i have been working on SAPUI5 and have developed some application for desktops only.
In order to create these application i used to create jsview this was just my choice as i feel quite comfortable with Javascript and jsviews.
Now i decided to create some small Fiori apps for my desktop applications but where ever i tried looking for  all the examples are  in XMLViews and it is quite some pain to code the xmlviews.
I was wondering if it is possible to create fiori apps using jsview..? As far as i think it is possible but i couldn't find anywhere the controls created using jsview all i find is controls in xmlviews .
As of now i was referring to SAPUI5 Explored to check out controls for sap.m library but all the examples seems to have been created using xmlviews.
I was just wondering when all controls for desktop applications are created using jsview as shown here SAPUI5 SDK - Demo Kit
in the demokit ... then why a sudden change in the way it was developed..?
Can you tell me where can i find all sap.m controls created in jsview..???
Thanks in advance,
Vishesh.

Yeah... I'm sad with this too...
I'm having too much pain to convert the TDG to JScript...

Similar Messages

  • Order cannot be placed using "Create sales order" fiori app

    We have setup "create sales order" fiori app and tried to place a order. We encountered with the error saying "In the context of Data Services an unknown internal server error occured" whilst clicking "Checkout" button.
    We looked up Error log and found the detailed error "Invalid format (return table): Row Number 1, Property Name 'SalesOrderSimulation', Property Value". Full error log xml is as follows,
    <?xml version="1.0" ?>
    - <ERROR_CONTEXT> 
    <ERROR_INFO>Invalid format (return table): Row Number 1, Property Name 'SalesOrderSimulation', Property Value ''</ERROR_INFO>  
    - <ERROR_RESOLUTION> 
    <SAP_NOTE>See SAP Note 1797736 for error analysis</SAP_NOTE>  
    <LINK_TO_SAP_NOTE>https://service.sap.com/sap/support/notes/1797736</LINK_TO_SAP_NOTE>  
    </ERROR_RESOLUTION>
    <_-IWCOR_-CX_DS_INTERNAL_ERROR />  
    - <_-IWCOR_-CX_DS_EP_ENTITY_ERROR> 
    <INDEX>1</INDEX>  
    <PROPERTY>SalesOrderSimulation</PROPERTY>  
    </_-IWCOR_-CX_DS_EP_ENTITY_ERROR>
    - <_-IWCOR_-CX_DS_EP_PROPERTY_ERROR> 
    <PROPERTY>SalesOrderSimulation</PROPERTY>  
    <VALUE />  
    <TYPE>\TYPE=STRING</TYPE>  
    <OFFSET>0</OFFSET>  
    </_-IWCOR_-CX_DS_EP_PROPERTY_ERROR>
    - <CX_PARAMETER_INVALID_TYPE> 
    <TYPE>\TYPE=STRING</TYPE>  
    </CX_PARAMETER_INVALID_TYPE>
    - <SERVICE_INFO> 
    <NAMESPACE>/SAP/</NAMESPACE>  
    <SERVICE_NAME>***Hide_due_to_secure_log_level***</SERVICE_NAME>  
    <VERSION>0001</VERSION>  
    <SYSTEM_ALIAS>LOCAL</SYSTEM_ALIAS>  
    <DESTINATION>NONE</DESTINATION>  
    </SERVICE_INFO>
    - <SYSTEM_INFO> 
    <REQUEST_URI>/sap/opu/odata/sap/***Hide_due_to_secure_log_level***</REQUEST_URI>  
    <REMOTE_ADDRESS>xxx.xx.x.xx</REMOTE_ADDRESS>  
    <APPLICATION_SERVER>eccdev_ECD_10</APPLICATION_SERVER>  
    <HUB_VERSION_INFO>System ECD/200, NW Release 7.40, SAP_GWFND SP10, Internal GWFND Version 011</HUB_VERSION_INFO>  
    </SYSTEM_INFO>
    </ERROR_CONTEXT>
    Please look at the screenshot for more details on request.
    Do you have any idea how to fix this bug or do we have a mistake in our configuration?
    Thanks for any hints.

    Have you been able to solve this issue without resorting to a core mod described by Gopichand above? In our system the notes referenced by Masa in another post are not applicable because of the SP-level of the components involved. We've got:
    SAP_GWFND
    740
    0010
    SAP Gateway Foundation 7.40
    SAP_UI
    740
    0011
    User Interface Technology 7.40
    SRA017
    600
    0006
    Create Purchase Order OData Integration
    UIEAAP01
    100
    0005
    UI for ERP Central Applications
    UIX01CA1
    100
    0004
    UI for Cross-Applications
    UIX01EAP
    100
    0005
    UI for ERP Central Applications
    Based on the fact that the error seems to be caused by the mismatching types of the SalesOrderSimulation property, the component at fault is SRA017 or possibly the GWFND component itself. In another system we're on SRA017 SP5 and SAP_GWFND SP9 and the app works without an issue. Since both those SP's are 1 level lower, it further confirms that it must be SRA017 SP6 or SAP_GWFND SP10 that cause the issue.
    I have not been able to find any recent OSS notes that would address the issue and will be opening an OSS incident for it. If you happen to already have a solution, then please let me know. If not, I'll provide an update once I've heard from OSS folks.
    Lukasz

  • Is there create PR Fiori app?

    Hello Friends,
    I just need to understand, do we have any app for Create Purchase Requisition. When I was going through help.sap.com, I found out the app called Purchase Requisition Item.
    Is Purchase Requisition item is different from Create PR.
    Can you please let me know on the above.
    Can we also use One login id being used by multiple people at same time for any Create app. Is there any license fee for User id.
    Regards,
    S.Srikanth
    Tags edited by: Michael Appleby

    Hi Krishna,
    Yes, I am talking about Purchase Requisition and what I went through in help.sap.com for Purchase Requisition Item is mentioned below link.
    Purchase Requisition Item - SAP Fiori Apps - SAP Library
    I wanted to know whether Create Purchase Requisition & Purchase Requisition Item are same or different.
    And, also with regard to one user used by multiple people. What I wanted to ask is, if One common user id created for a team and if they access parallely at same time, then what will happen. Will it get locked ?
    Srikanth

  • Error in "Display G/L account balances" Fiori app

    Hi experts,
    I am getting below error while configuring the "Display G/L account balances" SAP Fiori app in our demo landscape. I am getting the similar error for all other 6 Finance apps that I am trying to configure.
    Cannot call "Service"
    GW error log says that this is an authorization error
    The app was configured according to the standard SAP Fiori app configuration process, all services have been activated, roles have been created and assigned correctly to my user etc.
    Here is also a su53 screenshot from backend SAP system
    Below are the system details:
    Gateway - SAP NW 7.4 SP10, UI for sFIN UIAPFI70 release 200(latest), SAP_UI SP11(latest)
    Backend - SAP ECC 6.0 EhP 7 SP07, SAP_FIN 720(latest)
    Do you have any pointers or ideas? Any help will be much appreciated!
    Cheers,
    Abhinav

    Abhinav,
    How did you activate the Gateway service? (FAC*ENTITIES)
    There seems to be some problems with Service registration. (/IWFND/MAINT_SERVICE)
    In addition there seems to be problem with RFC authorization.

  • Passing parameter to the i18n text from xml view in fiori app

    Hi,
    Could somebody let me know how to pass parameter to get the i18n text inside xml view of a Fiori app.
    For e.g. inside my i18n properties file i have a entry like:
    PEC_ISSUE={0}issues of total{1}
    inside xml i use it like {i18n>PEC_ISSUE}
    but now how do i pass those 2 parameters to this ??
    i know in javascript it works with , (comma) but does not work in xml. Any help...
    Thanks,
    Ashish

    Hi Michele,
    I found it. Below is the example from my coding.
    <Text      text="{parts: [{path: 'i18n>PEC_to'}, {path: 'promoprocsteps>RetailPromotionSalesFromDate_E'},
                                                           {path:'promoprocsteps>RetailPromotionSalesToDate_E'}],
                                                           formatter: 'retail.promn.promotioncockpit.utils.Formatter.formatDatesString'}"  />
    So you have to create a formatter and pass all the strings to the formatter and then do it inside JS.
    In JS you do it in this way:
    i18n.getText(i18String, [newString, string2]);
    i hope this helps.
    Regards,
    Ashish

  • Indexing product data for embedded search for my shopping cart fiori app

    Hello Experts
    I'm doing indexing of product data records for SRM embedded search for My Shopping Cart Fiori app.
    however the job being created by the system to accomplish the task is, as error message displayed, not defined properly.
    any idea how to resolve this?
    i have no idea what program is this, and job details cannot be displayed/changed because of incomplete job definition.
    Appreciate any assistance pls.

    Hi Dex,
    Please check if there was a dump recorded in ST22. Also perform an authorization check SU53 for the background user that submits the job.
    Thanks,
    Vipin

  • Extend/Change the Standard Fiori App code

    Hi,
    We have implemented FIORI App in our SAP landscape.After implementation app is running fine.I want the change the standard FIORI App code for a specific app like change the label,change the Background Image,Change the Font style etc.I googled and made changes according to the article provided.
    Steps done to change the Standard app code.
    1)Downloaded the source code and uploaded in eclipse.
    2)Created a Extension Project and replaced the entire view with my new view.
    3)Shared the project and submitted the changes in gateway system.
    4)Created semantic object and other things required to show the custom app on launch pad.
    5)But when I click on custom app developed on the Launch pad it is navigating to a blank screen with no UI elements.But standard app is working fine.
    So please tell me the correct procedure to change the app and show it on Launch pad.
    Tags edited by: Michael Appleby

    Hi Ritesh,
    Following are the steps I followed in extending a Fiori App.
    I am trying to extend HCM_LR_APV(Approve Leave request ) app.
    So I downloaded HCM_LR_APV BSP Application.
    I uploaded in Eclipse IDE .I created an Extension Project(ZHCM_LR_APV) for this.
    For testing I tried to change the Icon in one of the view.
    So I replaced the S3 view by placing the Original Code same and changing the Icon only.
    In Component.js file I gave the path to the parent application in Load function.See the below code for your reference.
    jQuery.sap.declare("hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.Component");
    sap.ui.component.load({
      name: "hcm.mgr.approve.leaverequests",
      url:"/sap/bc/ui5_ui5/sap/hcm_lr_apv",
    hcm.mgr.approve.leaverequests.Component.extend("hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.Component", {
      metadata: {
      version : "1.0",
      config : {
      "sap.ca.i18Nconfigs": {
      "bundleName":"hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.i18n.i18n"
      customizing: {
      "sap.ui.viewReplacements": {
      "hcm.mgr.approve.leaverequests.view.S3": {
      viewName: "hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.view.S3Custom",
      type: "XML",
    Then I submitted the changes and tested the Custom BSP Application.But I am getting the error as below
    Error Message:
    Failed to load resource: the server responded with a status of 404 (NOT FOUND) http://sapfiorisrvr.domain.com:portno/sap/bc/ui5_ui5/sap/zhcm_lr_apv_ext/Component-preload.js
    Thanks&Regards,
    Akhil Das

  • Copy std. Fiori app into Z

    Hi,
    I want to copy std. Fiori app (Create sales order - SD_SO_CRE) into my new Z (I don't want to modify the standard one), but I realized that there is no starting point, because Fiori app is started from Launchpad, so what I need to add? I think I need Index.html + App.controller.js + App.view.js...does anyone have these files prepared for std. Fiori applications to get them worked without Launchpad?
    Many thanks Jiri
    Tags edited by: Michael Appleby

    Hi Jili,
    The standalone parameter is available from UI Add-on SP09 with SAPUI5 library 1.22.3.
    It hides some of buttons.
    You can start your extended app by changing application alias in the target mapping.
    Understanding launchpad object relationship with screenshots
    The URL is same but extended app is launched.
    <server>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=800#SalesOrder-create
    Regards, Masa
    SAP Customer Experience Group - CEG

  • How to access Fiori App Content (consuming HANA Live models) directly from XS in HANA?!

    Hi,
    Can someone please provide more information on how to use the Fiori Content directly on HANA?!
    Is there any Delivery unit which bundles the Fiori content, importing and deploying of which allows to create a Fiori App?! If no,
    Then could you please provide the guidelines for adding ABAP front end server on HANA to run the UI part?!
    And for the latter case, will the requirement of the UI be rendered by ABAP front end server with the  XSODATA service provided by XS layer and the business logic computation taken care  by Indexserver?!
    Thanks a lot in advance,
    Poorna

    Hi Poorna,
    Please look at Installation of SAP Smart Business Products on SAP HANA Server - SAP Fiori for SAP Business Suite - SAP Library.
    Regards, Masa
    SAP Customer Experience Group - CEG

  • Problem in enhancing "Sales Order Tracking" Fiori App

    Hi,
    I need to enhance Sales Order Tracking Fiori App. My scenario is to add Sales Order Count to Customer EntitySet/List.
    In package P_SRA018_ODATA, which refers to this app, I can not see any standard enhancement possibility where I can add enhancement for my Model and Data Provider classes.
    So I am now trying class based enhancements for my model and data provider classes.
    a) When I try to enhance MPC_EXT, I can not because methods are inherited not redefined ones and I can enhance only redefined methods.
    b) When I try to enhance my MPC class I am not able to create a post exit. I get following error when adding a post exit:
    The class has not yet been converted to the new class-local types
    When I try to do so from utilities->Convert class-local types, system asks for an object key.
    c) As opposed to this, I am able to add a post exit in DPC_EXT class sucessfully!
    Whats the best way to enhance this app?
    Tags edited by: Michael Appleby

    Hi Saumil,
    This is help document.
    http://help.sap.com/saphelp_fiori_erp_100/helpdata/en/38/265c5273066f2de10000000a44176d/content.htm?frameset=/en/fb/b34f52f10a5c64e10000000a423f68/frameset.htm
    Regards,
    Masa
    SAP Customer Experience Group - CEG

  • Download/upload a Fiori App

    Hi,
    We are downloaded  the fiori app ca_all_apv using the report /UI5/UI5_REPOSITORY_LOAD. And then imported the files into the WebContent folder of a new SAPUI5 project. Ideally i expected that if a build project and then run the application using Run As->Web App Preview and open it in Chrome, it would work. But it does not load. I can see the background image but not the split app.
    Am i missing something?
    Best Regards,
    Varun

    Hi Masayuki,
    I took my time to go through all the links you provided. I setup the proxy servlet for running the application from eclipse and made the changes. However, it did not work.
    So i started review all the application objects and i realized that the application script was missing in index.html. I checked the BSP application CA_ALL_APV in SE80 and noticed that there is no standard index.html. Is this normal for fiori apps?
    When i created the SAPUI5 project in eclipse, it is then when the index.html was created. So, i added the application script as shown below.
    <script>
                   new sap.ui.core.ComponentContainer({
                           name : "cross.fnd.approve.requests"
                   }).placeAt("content");
        </script>
    However, it still does not work. The console log now shows an error. For some reason, the application is trying to find the component.js under resources folder.
    I also added the following line to the bootstrap to ensure it refers to the root directory.
    data-sap-ui-resourceroots='{
          "cross.fnd.approve.requests" : "./"
    Masayuki Sekihara and Ashish Singh: What do you think?

  • Fiori App-Customer Invoice Error

    Hi,
    We are unable to get invoices created after the month of February on the fiori app for customer invoice.There are multiple invoices created yet none of these appear on our Fiori app.Could you help me with this?PFB the screenshot for the same.
    Regards,
    Ann

    Hi Naresh,
    Please take a look troubleshooting steps and test the OData URI in Gateway client.
    Make sure the OData service is registered in the transaction /iwfnd/maint_service.
    SAP Fiori LL11 - Consultants should know about OData troubleshooting
    Regards, Masa
    SAP Customer Experience Group - CEG

  • FIORI APP for SAP FLM not visible in Launchpad

    Hello All,
    We are trying to implementing SAP Fiori app for SAP File Lifecycle Management. We are on SAP UI Version 1.22.6
    The problem I am facing is that the tile realted to SAP File lifecycle management doesn't show up in my launchpad.
    Could someone please assist me regarding displaying App's in Launchpad?
    Thank you
    OmPrakash

    Hi Gordan and Christoph,
    thanks for your help. Now the CCM-Link is visible but there are no categories and items visible. I have already assigned the items to the relevant view and the view is assigned to the relevant role. The only thing is that the view has only a description in the original language. If this could be the problem can you please tell me where I could maintain the description of the view? I see only the option to create a new one or to delete the old one.
    BR,
    Bernd
    Message was edited by: Bernd Korder

  • Unable to create web app with PowerShell - An update conflict has occurred

    I am trying to create a new Web Application using PowerShell. I need to use PowerShell because I need to create the Web App using classic authentication and not Claims authentication. the first time I created the Web App, everything went great. Ever since
    the first time, I get an error and the web app creation does not complete. Just as an FYI, I can create a new Web App using Central Admin, but that creates it with Claims authentication which I cannot use.
    Here is my PowerShell script
    New-SPWebApplication -Name "SharePoint2013 (82)" -ApplicationPool "SharePoint2013-82" -AuthenticationMethod "NTLM" -ApplicationPoolAccount (Get-SPManagedAccount "GLOBAL\SP_AppPool") -Port 82 -URL "http://sharepoint2013"
    Here is the error I get in PowerShell
    New-SPWebApplication : An update conflict has occurred, and you must re-try this action. The object SPWebApplication
    Name=SharePoint2013 (82) was updated by DOMAIN\SP_Administrator, in the powershell (13020) process, on machine SPWEB01.
     View the tracing log for more information about the conflict.
    At line:1 char:1
    + New-SPWebApplication -Name "SharePoint2013 (82)" -ApplicationPool "SharePoint201 ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidData: (Microsoft.Share...PWebApplication:SPCmdletNewSPWebApplication) [New-SPWebA
       pplication], SPUpdatedConcurrencyException
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPWebApplicationUnknown SQL Exception 547 occurred. Additional error information from SQL Server is included below.
    The DELETE statement conflicted with the REFERENCE constraint "FK_Dependencies1_Objects". The conflict occurred in database "SP_Config", table "dbo.Dependencies", column 'ObjectId'.
    The statement has been terminated.
    I also get  this error from the trace
    Unknown SQL Exception 547 occurred. Additional error information from SQL Server is included below.
    The DELETE statement conflicted with the REFERENCE constraint "FK_Dependencies1_Objects". The conflict occurred in database "SP_Config", table "dbo.Dependencies", column 'ObjectId'.
    The statement has been terminated.
    I have tried to resolve the issue by performing the following:
    Delete the partially created web app using Central Admin or PowerShell
    Clear the file system cache on all servers in the farm (Stopping wss timer job, Saving Copy of the
    cache.ini file from C:\Documents and Settings\All Users\application data\Microsoft\SharePoint\Config folder. Clearing all the .xml files from the location except cache.ini but Edit the cache.ini to have value 1. Starting the timer job)
    Use Products Configuration Wizard (no detach, just 'upgrade') - People have said to select the option to disconnect the server from server farm and revert back again at next step (so you actually do not disconnect), but there is no next step that I have
    encountered. You select 'disconnect', hit next, and the server disconnects.
    Restart all the servers in the farm
    Run the PowerShell script again...still get the same error
    I have tried it on multiple servers in the farm too.

    Hi Michael,
    I found a similar thread for you reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9ccef7bf-87a9-4849-b086-4db2d898f1d7/cannot-create-new-web-application-wss-30?forum=sharepointadminlegacy 
    If it doesn’t work, sometimes the issue might be caused by long time keep powershell opening and generating some cache files. So please try re-opening the powershell and test the issue again.
    http://blogs.msdn.com/b/ronalg/archive/2011/06/24/mount-spcontentdatabase-errors-on-2nd-and-subsequent-attempts-of-same-database.aspx?Redirected=true 
    http://www.oakwoodinsights.com/sharepoint-powershell-surprise/
    In addition, here is an article which explains the possible reason of the SQL error:
    http://technet.microsoft.com/en-us/library/ee513056(v=office.14).aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Unable to create web app items if Proximity Search is Enabled.

    I am using BC API to create web app items because I am getting the data from a third party website and wanted to save the data into web app by using BC API. I have a web app ( Name: "Map Overview" ) and the proximity search is enabled. When I test my script I got 404 bad request error but if I disabled the Proximity Search the item is created.
    Can someone help me on this?
    Thanks

    Let me know the page you are running the API call on, I'll have a look and see what gives.
    Thanks,
    Mihai

Maybe you are looking for

  • Can I use Dell printer cable with a HP printer?

    Hi all I'm a newbie here. I'm thinking of getting a HP Photosmart C4680 All-in-One Printer and I know that it doesn't come with a printer cable, does anyone know if I can use my Dell printer cable? It's not a permanent cable. Thanks for any help. Thi

  • Unit Selling Price Override through PROCESS_ORDER API

    Hi All, I have this below requirement to be achieved through process_order API. 1. In the Order Oganizer UI, I open the Order Entry form. 2. Open the Lines tab 3. For the Unit Selling Price, I change the price manually and tab out. 4. Its gives me a

  • Enque events and types

    Hi, In my statspack report I founf enque events are top most and different types of enques in order of wait time is as follows.. enque type Total wait in sec US ----- 212977956 HW ----- 49579586 SQ ----- 24081760 TX ----- 5438880 CF ----- 528 TM ----

  • Error configuring the Kanaka Server via Wizard in Step 2 / 4

    Testing the Kanaka Client for Mac we have an error configuring the Kanaka Server via Setup Wizard in Step 2 of 4: After selecting the context where the Kanaka Proxy Object and the Administrator Group should be created and clicking on the next button

  • Meld and /usr/local

    Meld is a visual diff merge and source control tool, I compiled but get when namcaping: [ganlu@A meld]$ namcap meld-0.9.4.1-1.pkg.tar.gz meld       W: File (usr/local/) exists in a non-standard directory. meld       W: File (usr/local/bin/) exists in