Approve Request Fiori app - UI Extensions not working

We have configured the standard Approve Requests app to show Customer Invoice approval and it works fine. And there are 3 requirements I am trying to achieve in our sandbox on top of the Approve Requests (CA_ALL_APV) app.
1. Add a custom UI field in the info tab of the details page.
2. Enable to show the attachment and notes tab (standard app has these 2 not visible)
3. Enable multiple approval(I think i'll start another discussion for this requirement since standard doesn't support mass approval-which is such a negative for this app)
After downloading the application and adding it to an SAPUI5 project in eclipse, I made the following changes:
For requirement 1, I created  InfoFields.fragment.xml where i have the below code:
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
    <Label  text="Vendor ID"/>
      <Text  text="1234"/>
    <Label  text="Custom Field 2"/>
      <Text text="Custom Text 2"/>
</core:FragmentDefinition>
Additionally for requirement 1 along with requirement 2, i created a customizing object under the metadata object with the below code in Component.js:
customizing : {
  "sap.ui.viewModifications": {
  "cross.fnd.approve.requests.view.S3": {
  "ARAttachmentIconTabFilter": {
  "visible": true,
  "cross.fnd.approve.requests.view.S3": {
  "ARNoteIconTabFilter": {
  "visible": true,
  "sap.ui.viewExtensions" : {
  "cross.fnd.approve.requests.view.S3":{
  "CustomerExtensionForInfoTabContent": {
  className: "sap.ui.core.Fragment",
  fragmentName: "cross.fnd.approve.requests.view.InfoFields",
  type : "XML"
After making the changes, I uploaded the WebContent folder of the project back to the backend with the report /UI5/UI5_REPOSITORY_LOAD.
I named the new BSP application ZVCA_ALL_APV5.
How i tested? I tested it in 2 ways:
1. From SE80, Right Click and test. This does not load anything. A blank page is shown. The console in the IE developer tools shows no errors.
2. Change the URL in LPD_CUST to point to the new BSP. The run the fiori launchpad. this will show the tile for Approve Requests with the correct number of workitems as 2. But once you click on the tile, an error popup is shown which reads 'Failure - Unable to start App'. The console in IE has an error: "TypeError - Object doesn't support property or method '_createRequestUrl' Approve Requests".
I made the changes to Component.js and did not touch Component-dbg.js or Component-preload.js. Do i need to change these 2 files too each time i change Component.js?
We are in process to decide if we really want to use Fiori or go with Kony. So I would want to get Fiori working in sandbox with our custom requirement to give it a chance.
@Fiori Gurus: What do you think the problem is? Am i making any silly mistake here?
Best Regards,
Varun

I'm sorry , here below is the correct version.
jQuery.sap.declare("cross.fnd.approve.requests.Component");
jQuery.sap.require("sap.ui.core.UIComponent");
jQuery.sap.require("sap.ca.scfld.md.ConfigurationBase");
jQuery.sap.require("cross.fnd.approve.requests.Configuration");
jQuery.sap.require("sap.ui.core.routing.Router");
jQuery.sap.require("sap.ca.scfld.md.ComponentBase");
// new Component
sap.ca.scfld.md.ComponentBase.extend("cross.fnd.approve.requests.Component", {
  metadata : sap.ca.scfld.md.ComponentBase.createMetaData("MD", {
  "name": "Approve Requests", // F0392
  "version" : "1.2.9",
  "library" : "cross.fnd.approve.requests",
  "includes" : [
  "dependencies" : {
  "libs" : [
  "sap.m",
  "sap.me"
  "components" : [
  "config" : {
  "resourceBundle" : "i18n/i18n.properties",
  "titleResource" : "SHELL_TITLE",
  "icon" : "sap-icon://approvals",
  "favIcon" : "./resources/sap/ca/ui/themes/base/img/favicon/Approve_Requests.ico", //FIXME: should use F0392, but resource is not like that for W1s
  "homeScreenIconPhone" : "./resources/sap/ca/ui/themes/base/img/launchicon/Approve_Requests/57_iPhone_Desktop_Launch.png", //FIXME: should use F0392, but resource is not like that for
  "homeScreenIconPhone@2" : "./resources/sap/ca/ui/themes/base/img/launchicon/Approve_Requests/114_iPhone-Retina_Web_Clip.png", //FIXME: should use F0392, but resource is not like that for
  "homeScreenIconTablet" : "./resources/sap/ca/ui/themes/base/img/launchicon/Approve_Requests/72_iPad_Desktop_Launch.png", //FIXME: should use F0392, but resource is not like that for
  "homeScreenIconTablet@2" : "./resources/sap/ca/ui/themes/base/img/launchicon/Approve_Requests/144_iPad_Retina_Web_Clip.png", //FIXME: should use F0392, but resource is not like that for
  "startupImage320x460" : "./resources/sap/ca/ui/themes/base/img/splashscreen/320_x_460.png",
  "startupImage640x920" : "./resources/sap/ca/ui/themes/base/img/splashscreen/640_x_920.png",
  "startupImage640x1096" : "./resources/sap/ca/ui/themes/base/img/splashscreen/640_x_1096.png",
  "startupImage768x1004" : "./resources/sap/ca/ui/themes/base/img/splashscreen/768_x_1004.png",
  "startupImage748x1024" : "./resources/sap/ca/ui/themes/base/img/splashscreen/748_x_1024.png",
  "startupImage1536x2008" : "./resources/sap/ca/ui/themes/base/img/splashscreen/1536_x_2008.png",
  "startupImage1496x2048" : "./resources/sap/ca/ui/themes/base/img/splashscreen/1496_x_2048.png"
  // Navigation related properties
  viewPath : "cross.fnd.approve.requests.view",
  detailPageRoutes : {
  "detail" : {
                "pattern" : "detail/{SAP__Origin}/{InstanceID}/{contextPath}",
                "view" : "S3",
  fullScreenPageRoutes : {
            "detail_deep" : {
               "pattern" : "detail_deep/{SAP__Origin}/{InstanceID}/{contextPath}",
               "view" : "S3",
customizing : {
"sap.ui.viewExtensions" : {
"cross.fnd.approve.requests.view.S3":{
"CustomerExtensionForInfoTabContent": {
className: "sap.ui.core.Fragment",
fragmentName: "cross.fnd.approve.requests.view.CustomFrag1",
type : "XML"
  * Initialize the application
  * @returns {sap.ui.core.Control} the content
  createContent : function() {
        var oViewData = {component: this};
  return sap.ui.view({
  viewName : "cross.fnd.approve.requests.Main",
  type : sap.ui.core.mvc.ViewType.XML,
  viewData : oViewData
  setDataManager : function(oDataManager) {
  this.oDataManager = oDataManager;
  getDataManager : function() {
  return this.oDataManager;

Similar Messages

  • Export option in Apps menu is not working

    Hi all
    Since yesterday,it seems our export on Oracle apps is not workin.
    Both exports on Application and export when doing File-Export from Concurrent Request are not working.
    The action seems initiated but no error and no popup window is displayed.
    Usually a popup window should tell us to open or save file.But this is not the case.
    Thanks for your help,

    hi
    check
    Export the Form Data to Excel File using FILE > EXPORT
    and
    Export option in Apps menu is not working in Windows-XP OS
    fadi

  • Why app store is not working without card details

    My app store is not working without entering card details , I lost my olf apple id .
    i MADE a new one .

    What do you mean by 'not working' ? Unless the instructions on this page are followed when creating an account : http://support.apple.com/kb/HT2534
    then credit card details will need to be entered before the account can be used to download any item from the store.
    If you mean that you are being prompted to review your account then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054#24303054
    If not then you will either need to enter credit card details (you should be able to delete the card after entering it) or create a new account, and use the instructions on that HT2534 page when creating it.
    How did you lose your old account ? If you can't remember its details then try the following :
    Recovering a forgotten iTunes Store account name
    Apple ID: How to find your Apple ID

  • I just updated to the new software and now my app Store is not working It is just a white blank page

    I just updated the new software and now my app store will not work I have shut it down and opened up again and nothing just a blank white page ?

    I'm having a similar problem.
    New iPad with iOS6 just downloaded.
    I cannot purchase any new items from the new Apple Store now!
    It keeps asking me to fill in CC details, asking for security number, but stays red when i fill in the 3 numerals and when I click done I get a Time Out message.
    This is not good Apple!!
    Looks as if I will have to use my iPad One to purchase from the Apple Store.

  • Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    I guess I will wrap this up. I have abandoned iPhoto and viewing my Photo Streams using it and moved to Adobe products (Bridge + PS). So that's that.

  • My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    Hmmmm... would appear that you need to be actually logged in to enable the additional menu features.
    Have you tried deletting the plists for MAS?
    This page might help you out...
    http://www.macobserver.com/tmo/answers/how_to_identify_and_fix_problems_with_the _mac_app_store
    Failing that, I will have to throw this back to the forum to see if anyone else can advise further.
    Let me know how you get on?
    Thanks.

  • I am trying to open a service request and the site does not work.

    I am trying to open a service request and the site does not work with ANY browser. I get the page https://getsupport.apple.com/GetParts.action which says "Send in for service. We just need a little more information." The continue button does not work. I've seen this problem before trying to file support requests. It's as if Apple simply does not want you to create requests.

    I just went through several screens and had no problems.  Try clearing your browser's cache and/or history.

  • In app purchase is not working in testing environment in sandbox for the past 5 days. Please anyone know about this issue.

    in app purchase is not working in testing environment in sandbox for the past 5 days. Please anyone know about this issue.
    What i did
      1 . Added three products more to the existing in-app
      2 . Tested with sanbox
    i am getting the error "cannot connect to itunes store" with error code "0" when trying to purchase product in sandbox.
    Is sandbox is down?Please help guys..

    Apple's sandbox has been down practically all month. You can check the status here:
    http://sandbox.itunes.apple.com

  • How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?, How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?

    How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?, How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?

    App Store Failure / Updates White Screen
    Tap Settings > General > Date and Time > Set Automatically > Off. Set the date one year ahead. Then try to access the App Store.
    It may be a connection issue. Try changing your DNS settings to Google’s open DNS by tapping Settings > Wi-Fi >, tap the blue arrow next to your current Wi-Fi network, and then tap the “DNS” field and enter the DNS servers; 8.8.8.8 (Google’s Public DNS, 8.8.4.4 also alternate).

  • My Pokerist app sound does not work, only with headphones....can anyone help me? Thank you

    My Pokerist app sound does not work.  It will only work if I have head phones on.  All other sound works, songs, video etc.  I deleted the app, then installed again still no sound.  It is not the app because I also have a IPhone and the sound works on Pokerist.  If anyone can help me I would appreciate it.
    Thank you
    Smartypants0

    Check out this link - http://support.apple.com/kb/HT4085.  There have been instances where settings have accidentally changed. Double click on the Home button, swipe all the way to the right to reveal the leftmost icon and alternate settings if necessary.

  • My iPhone app store is not  working becuae of my security code

    My iPhone app store is not  working becuae of my security code

    Are you trying to articulate "I forgot my passcode"?  If so: 
    http://support.apple.com/kb/ht1212
    If that doesn't answer your question, please be more specific about your problem.

  • TS2446 my app store is not working, i tired signing in but showing me "An unknown error has occurred" my password is not wrong, please and someone help, because i need to update my macbook air. thank you

    my app store is not working, i tired signing in but showing me "An unknown error has occurred" my password is not wrong, please and someone help, because i need to update my macbook air. thank you... how can i make it work?

    I cannot sign out. When I go to the iTunes & App Stores in settings, The Apple ID field shows my id but it is faded and I cannot select the field.

  • My App Store is not working after my iPhone did a software update

    I have just updated my iPhone with the iOS  6 software and now my App Store is not working it will let me view apps but won't let me download anything? Please help

    Hmmmm... would appear that you need to be actually logged in to enable the additional menu features.
    Have you tried deletting the plists for MAS?
    This page might help you out...
    http://www.macobserver.com/tmo/answers/how_to_identify_and_fix_problems_with_the _mac_app_store
    Failing that, I will have to throw this back to the forum to see if anyone else can advise further.
    Let me know how you get on?
    Thanks.

  • MY APP STORE IS NOT WORKING.HOW TO ACTIVATE IT?

    MY APP STORE IS NOT WORKING.HOW TO ACTIVATE IT?

    Hi sahaabhijeet,
    The resource below explains how to use the App Store on your iPhone:
    App Store Frequently Asked Questions (FAQ) - Apple Support
    http://support.apple.com/en-us/HT2001
    The App Store is a place where you can download new applications for your iPhone or iPod touch. You can browse the App Store on your computer with iTunes, or by tapping App Store on your iPhone, iPad, or iPod touch.
    Do I need to sign up for a new account to shop the App Store?
    If you already have an iTunes Store account, you can shop the App Store. If you do not have an iTunes Store account, you can create one using iTunes. Verify that the country flag at the bottom of the iTunes Store home page displays your country, then choose Store > Create Account. Click here for a way to set up an iTunes App Store account without a credit card. You can also create an iTunes Store account directly from your iPhone, iPad, or iPod touch by following these instructions.
    Accepted payment types
    Shopping the App Store requires an iTunes Store account. When you create an iTunes Store account, you must provide a payment method for your purchase. The available payment methods vary by country, but typically you can use credit cards, gift cards, store credit, or PayPal. 
    In countries where the iTunes Store only sells applications, the accepted payment methods are Visa, MasterCard, and American Express. Other payment types such as gift cards, store credit, monthly allowances, and PayPal are not accepted. Depending on your App Store country, prices are listed in either US Dollars or Euros.
    What can I purchase from the App Store?
    At the App Store, you can browse and download applications for your iPhone, iPad, or iPod touch. Applications from the App Store can be downloaded to, but not used on, your computer. To use an application from the App Store, simply sync it to your iPhone, iPad, or iPod touch. The App Store is also available on iPhone, iPad, or iPod touch1 and works over mobile phone networks and Wi-Fi, so you can download applications wirelessly and start using them instantly.
    To use applications or the App Store with iPhone, iPad, or iPod touch, you must have iOS 2.0  or later installed on your iPhone or iPod touch, and iOS 3.2 or later on iPad.
    Some applications are not available in all countries. Application availability and pricing are subject to change.
    Cheers,
    Judy

  • My App Store is not working.a bingo blitz bar is being displayed and not going away.what is to be done to make App Store work again

    My App Store is not working.a bingo blitz bar is being displayed and not going away.what is to be done to make App Store work again.

    Hey Charyasmin,
    Thanks for the question, and great troubleshooting so far. You’ve definitely taken the proper first steps. To continue to troubleshoot, the following articles may help:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Thanks,
    Matt M.

Maybe you are looking for

  • Hdmi to tv not working ios6

    help? how can I stream content on my tv using ios6 on my ipad?

  • Fonts from cs3 to latest version

    I just downloaded a trial of the latest version. (I have been using CS3) there are a bunch of fonts that are nor showing up now. I assumed the fonts were linked to my system, not Illustrator, Any suggestions? Many thanks! Anna

  • HELP PLZ!!!! there was only a spot for windows 8.1 i only have 8.0

    I have know way of recovering a forgotten admin pass word and i don't want to spend hours reformatting the entire computer. my notebook is only is running on windows 8.0 because my dad forgot the admin password and nether of us want to reformat it an

  • JFileChooser for selecting a directory !!

    Hi, here's a question for u. I am using a JFileChooser with an "Open" dialog for choosing a directory by JFileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY). Now it works fine, except when i double click on a directory, which sets the di

  • Vista 64 and Appleworks: compat and dictionary

    We have Appleworks 6 on Vista laptops. Figured out that each user needed to right click the app and make it XP SPack2 compatible. AW will run. However, can't find the dictionary. I see the file in the dictionary folder, but when I try to select it as