Configuration of Fiori app Approve Travel Expenses

Hi gurus,
I'm new on SAPUI5 technology, I need to do a simple configuration on standard Fiori app Travel expenses Approval (bsp ui5_fi_trex_apv).
I need to hide ui elements and change text translation of some labels.
I followed the guide 'Extending and testing SAP Fiori Apps', but I have some difficulty in the implementation of file component.js.
For example I need to hide the table TEA_LIST_COSTASSIGNMENTS in view details.Home.
I copied the example code excerpted from the guide, but I do not know how to retrieve the following values from standard app:
jQuery.sap.registerModulePath
jQuery.sap.declare
jQuery.sap.require
My Code :
Another question: after custom implementation, how can I test it ?
Thanks
Massimo
Tags edited by: Michael Appleby

Hi Massimo,
Please use UI extension points.
App Implementation: Approve Travel Expenses - SAP Fiori for SAP ERP 1.0 - SAP Library
Please use new SAP Fiori Launchpad
Extensibility
Regards,
Masa
SAP Customer Experience Group - CEG

Similar Messages

  • Fiori Approve Travel Expenses Accept / Reject error

    Hello,
    I have installed the Approve Travel Expenses app and it looks to be working okay appart from the approve / reject buttons.
    I have setup the scenarios using transaction SIMGH.
    These are the only configuration changes i could find i need to make. In the guide for approve travel expenses it mentions to make sure tables SRA008_T_CONFIG and SRA008_T_TASKTYP are maintained and that the Travel Management module is installed and configured.
    I cant find the paths in IMG to check the tables and also don't know how to check that the Travel Management module is installed and configured correctly. I will mention though that the client uses a custom workflow for travel expense approvals which is why I have defined the approval workflow task as TS90100025.
    The error I get in the Fiori app is:
    "{\"error\":{\"code\":\"SY/530\",\"message\":{\"lang\":\"en\",\"value\":\"Decision 0003 cannot be perfomed on workitem 000011503389.\"},\"innererror\":{\"transactionid\":\"1D25B0E3BE78F1EF8561005056B07C8E\",\"timestamp\":\"\",\"Error_Resolution\":{\"SAP_Transaction\":\"\",\"SAP_Note\":\"\"},\"errordetails\":[{\"code\":\"/IWBEP/CX_MGW_BUSI_EXCEPTION\",\"message\":\"Decision 0003 cannot be perfomed on workitem 000011503389.\",\"propertyref\":\"\",\"severity\":\"error\"}]}}}"
    Any help will be greatly appreciated.
    Kind Regards
    Jared

    Hi Masa,
    My colleague pointed out that the task needs a user decision for the app to run and the approve/reject task is set as an activity.
    I will ask the workflow consultants to update the workflow. Ill test the app again and post back here with the results.
    Kind Regards
    Jared

  • Approve Travel Expenses FIORI Application

    Hi,
    I have a problem in Approve Travel Expenses FIORI Application. The application was configured and implemented as shown in the SAP documentation platform :
    http://help.sap.com/fiori_bs2013/helpdata/en/be/2c66528841745fe10000000a441470/content.htm
    My problem is the application doesn't import any travel expenses that was created in PR05 TCODE. I can approve any expenses in SAP. The Odata message service returned OK code in /IWFND/MAINT_SERVICE. The Employee Master Record Creation was assigned to my s-user. I Have all roles and Manager Statut.
    Should I maintain both tables :
    SRA008_T_CONFIG
    SRA008_T_TASKTYP
    if i won't want  to use a specific work-flow ?
    Should i use a work-flow ?
    Are there any SAP customization to do with my s-user ?
    Any SAP Tcode to create / Approve travel expenses ?
    All packages are updated. 
    I thank you in advance.
    Tags edited by: Michael Appleby

    Hi Majbar,
    Your issue is in HR workflow configuration. If workitem is in inbox, Fiori app can read it.
    For SAP Business Workflow troubleshooting, you should look at event trace and workflow log.
    SAP Note 1098805 Troubleshooting Tips & Tricks for workflow issues
    SAP Note 547601 FAQ workflow, runtime environment and troubleshooting
    SAP Business Workflow FAQ
    Regards, Masa
    SAP Customer Experience Group - CEG

  • Fiori Approve travel expense with POWL?

    Hello - and a special hello and thanks to Masayuki Sekihara which helps us daily with our Fiori questions.
    One customer wants to implement the approve travel expense application and told us he uses an POWL for that - is that possible?
    Many thanks for your help!

    Hello Masa,
    our customer uses "POWL" to approve the travel expenses. I think they use the approve FITV_POWL_APPROVER for that.
    My questions was, if the Fiori Travel expense approval app can use this?

  • Self approving travel expense on ESS/MSS

    Hi ,
    I am implementing travel expense module. We are also implementing ESS and MSS for TE. Workflows are being used to send aprovel request to managers.
    I want to know if some one has implemented a check for self approval. i.e do any one know how to check and restrict self approval?
    If a manager creates a expense claim and it comes on his universal work list because of some wrong work flow or substitution then how can we restrict him from approving?
    Can this be done by authorisations? or by using a badi or user exit?
    Regards,
    Amit.

    You can handle this thing in two ways.....................
    1> We can always check that if the employee and approver are same then ...workflow should not allow person to approve travel expenses.We can use the exculded agents function while specfying our agent in workflow task.
    i.e if travel expense approver is person having sap id
    test01
    and employee who creates trip is also
    test01
    .Then above functionality won't allow person to approve his own trip.
    2. In case of substitutions we have to use badi to restrict this stuff.
    As per standard SAP UWL functionality you can delegate/substitute anyone in Organization. If you want using BADI WF_SUBSTITUTE can restrict user which can come in search for delegation/substitution as per your requirement.
    Please refer SAP Note 977069 - Substitute API: Providing the BAdI WF_SUBSTITUTE.

  • Fiori - Approval Travel Expenses Workflow Reject

    Hi Guru,
    we have configured the Approval Travel Exepense into SAP Fiori. We have a question regarding the reject of travel expenses report.
    When the user reject, a pop up appear and the user write the reason of reject and click to reject:
    So, now the standard Workflow (WS20000040) restart with the decison task reject. All work fine.
    The question is: The text written in a pop up where it is saved? Can I intercept this text in a standard workflow?
    Thanks in advance.
    Regards.
    Lorenzo

    The comments that are saved while REJECT should be saved in the workflow container under a container element named "ACTION_COMMENTS". can you check the workflow log in swi1 Or swi2 and inspect the workflow log?
    >>>>>Can I intercept this? the question is what do u want to do with this and what and where do u want to intercept?
    if your objective is to show these comments next time on the same work item when it comes to the user's inbox in Fiori then yes you can do it but you would have to enhance the oData service for Travel Expense Approval and then check the workflow container for these user comments. it can be done but depends on what u want to do. technically things are possible
    Best regards
    Ashish

  • MSS: approve travel expenses of managers

    Hello Experts,
    could you please give me advices for standard-process within MSS (on NWBC for html; using POWL - no WF) for managers who shall be allowed to approve their own travel expenses. I was thinking of following opportunities:
    1. Save travel expense in approved status -> nothing to do more for approval
    2. Save travel expense in unapproved status -> daily report sets those in approved status
    3. Approve their own travel expenses in MSS
    Or do you know other/more practical opportunities?
    Please also give me tips on how to set up the process.
    Thanks a lot!
    Best regards
    Raphael

    You can use this to get the approval by managers running. http://wiki.scn.sap.com/wiki/display/ERPHCM/Workflow+Customizings+in+Travel+Management http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=235799439
    FPB_MAINTAIN_PERS_M Personalization Dialog DIA_CO_CCA_TR User Name Update Input Data only checked Hit 'execute' On the next screen enter P for Selection by field If you choose 'P' (Selection Using List of Personnel Numbers), then you also need to select the Personnel Numbers. - Hit button 'Multiple Selection for Personnel Number' - Hit button 'Multiple Selection' - Use wildcards in 'Last Name' (eg: a*) to get a list of Personnel numbers. - Use the button 'Select all' and then hit the green tick to confirm - Hit F8 to copy the selection to the pers. dialog - Save the personalization dialog.

  • Approving travel expenses problem

    Hello all,
    We have a travel request which, although already approved, still stands in the user's buisness worklflow INBOX.
    If we try to go into this trip to u201Capproveu201D it again, we get a message that the "work item has already been deleted or ended, unable to execute again".
    Does anyone have an idea how to handle this problem?
    Thanks in advance for your help,
    Soumaya

    Hi Soumaya,
    maybe you can try this, just delete the workflow if you sure that is already approve.
    1. you can check your flow of workflow in tcode SWIA.
    2. get the number of work item ID (about user decision/approval that still appear in inbox)
    3. go to SWWL, choose type and status with "*" and put the date of creation date of workflow
    4. choose work ID
    5. delete
    hope it helps

  • Error in Approve Requisitions Fiori App

    Hi All,
    I am configuring the fiori app "Approve Requisitions", and when clicking the tile in the launchpad, I am getting the error: "Could not start the app due to a configuration problem".
    The strange thing is that I have configured the app "Approve Travel Request" without problems, and it's working great. I can approve and reject the travels.
    I think that the error I am getting with the "Approve Requisitions" app, is due to the workflow is a custom one, and the approval task is different from the one that the standard workflow for approve requisitions have.
    Does anyone have any idea which is the reason of the error?
    Thanks in advance,
    Emanuel

    Finally, the error was due to a lack of configuration.
    I was missing the activation of some services in transaction SICF.
    Front-End Server: Activate SAP UI5 Application
    Component
    Technical Name
    SAP UI5 Application
    MM_PO_APV
    Best Regards,
    Emanuel

  • Fiori Approve Travel Enpense Custom Workflow

    Dear experts,
    Regarding Fiori wave 1 application: Approve Travel Expenses, customer is using a custom workflow.
    The SAP standard workflow step for this app is a task decision type step.
    But the custom workflow step is an activity type step.
    Can we also map the workflow step outcome with user decision?(I think by implementing BADI)
    Is there any affect on the Fiori app implementation?
    Masayuki Sekihara
    Thanks and regards,
    Chloe

    Hi Masayuki Sekihara and experts,
    I'm facing a similar scenario with PO approval.
    The client uses Portal UWL to read their inbox and wants to replace SAPGUI PO approval UI with Fiori PO approval UI.
    What would I have to change in the workflows' task in order to make it fit for Fiori?
    I'm trying to put all pieces together but I can't make it work.
    I changed the WF and task (replace the task that calls BOR BUS2012 by a dummy task type activity that calls a redefinition of BOR, ZBUS2012, with an extra dummy method and events for Approve and Reject actions.
    Implemented Badi for enh.spot /IWWRK/ES_WF_WI_BEFORE_UP_IB method before_update to send data back from fiori to backend WF.
    I assume I have to change some config for Fiori PO approval app to map it to my new task and do the same in Portal 7.4 for UWL configuration?
    But, where or how do you set the text that will be displayed in UWL for this Fiori task?
    I'm executing the custom WF in the backend and get stuck trying to determine the agent (it comes empty). In the step in Control tab under Agents section I'm using a custom rule that calls a FM that pastes a custom value in EKKO then in the task in tab Default Rules I'm calling the standard rule 'Agent (default Rule)' = 20000027 biding PurchaseOrder and ReleaseCode.
    And I don't get to see the workitem in the approver's inbox (SBWP tcode) after creating the PO either. As far as I know this is something that should always occur (seeing the workitem in the approver's inbox regardless of what we use in the end: UWL and/or Fiori).
    Any pointers?
    Thanks,
    Laura

  • Fiori - Generic Approval App

    Hi everybody,
    today my boss asked me if there is a generic approval app in Fiori.
    I replied that there are several apps available to approve different requests:
    Approve Leave Requests
    Approve Travel Requests
    Approve Travel Expenses
    Approve Timesheets
    So my boss argued that he wants a single app for all approval tasks. In the SAP Portal we have the UWL (Universal Work List) that meets this requirement (using NWBC an Inbox POWL can be used for the same purpose).
    Is there a Fiori app that can be used for all kind of approval tasks? Will such an app be available in future?
    TIA,
    Thomas
    Tags edited by: Michael Appleby

    Hi Thomas, not going to be a definite answer to your question but my understanding is that Fiori provides a solution for some 'common processes' which have been identified by SAP working closely with some of their clients. As such, I don't think it is there to provide a generic solution for approval - we are talking more about a custom UI5 application which replicates approval functionality available in UWL and which can be embedded into NWBC.
    Having said that, I recall seeing a Fiori presentation where it mentioned that Fiori can be enhanced to deal with any custom workflow - maybe a workflow needs to be defined with all the approval steps required and this mapped to fiori?
    See below:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ab2463-4e16-3110-b08e-d93918e513a1?QuickLink=index&overridelayout=true&58789512365087
    Hope this is a good starting point.

  • Fiori App Modification Best Practices?

    Hi all,
    We are implementing the Approve Travel Expense Fiori app and have encountered the following situation:
    The business workflow requires that a rejected expense report have a comment associated with it. In looking at the code the confirmation dialog defaults to allowing the note to be optional. We can address this by setting the noteMandatory property to TRUE (the default is FALSE). But I'm not sure that this is the best solution. When SAP releases an update for the app the modification will be overwritten and someone has to remember to add that property again.
    How do other organizations handle situations like this? Is there a best practice recommendation for when a minor code change is needed? Or is there a better way to implement this functionality that I'm not aware of?
    Thanks,
    Dave

    Hi Dave,
    SAP provide extensions points for these Fiori Apps, that may be useful to you http://help.sap.com/fiori_bs2013/helpdata/en/a1/611653f5bbef28e10000000a4450e5/content.htm
    If you can't use one of the extension points then I think you will need to do what you've already done.
    Hth,
    Simon

  • Time, Travel Expense in cProjects 4.0 TRANSFER

    Working on cProjects 4.0, I have a few issues with regard to Time and Travel Expense in CATS:
    1. How can the approved travel expense be seen in cProjects front end?
    2. Which table contains the travel expense data?
    3. Can approved expenses per resource be viewed in cProjects front end?
    4. Assigned to more than one project simultaneously each corresponding to an internal order, how can a use make out (in CATS), which one to capture effort in - if they are all in the same confirmation period.
    Thanks.

    2)All cProjects tables start with DPR. In transaction se11, check by giving dpr*.
    4) Configuration should be done to your HR profile in such a way that it allows time conirmation for tasks. The tasks to which the resource has been alloted to appear in the worklist in cat2 transaction. Just click on the project for which you want to confirm the times in the worklist and copy that to the data entry area. Ensure that the receiving internal order is specified.
    Use the program DPR_CATS_CPR_TRANSF for transferring the time to the corresponding cProjects

  • How to capture Non Travel Expenses in Travel Management

    Hi,
    My client have a requirement wherein we have to capture non travel expenses petty cash like team lunch , client entertainment expenses , telephone bills etc which are not associated with a travel request .
    I have read in IMG, sap says we can capture non travel expenses also. Here is the path for same
    IMG >>Financial Accounting >> Travel management >>Travel Expenses >>Dialog and Travel expenses control >>Dialog control >> Restrict Travel Expense Types for Trip Schemas
    How we can achieve same. Please suggest.
    Regards,
    Madhvika

    Hi,
    FITV_FPM Web dynpro component is the main component where configurations in done for both Travel Expenses and Travel Request.
    But when the user is in Create Expense Report, after submit, it wont approve automatically. It will route to the Workflow and then in the final stage only calling the Business Object BUS2089, method APPROVE.
    And also as i said, in the Class CL_FITV_POWL_FEEDER_TRIPS, under IF_POWL_FEEDER~GET_ACTIONS, you can find whether it is CREATE_NEW_TRAVEL_REQUEST or CREATE_NEW_EXPENSE_REPORT.
    There is already a below coding in the above method. you can use Post-Exit or Pre-Exit enhancement, to do your own validations.
    new travel Request
            if lv_request_active = 'X'.
              ls_action-actionid = gc_action_create_tr.
              ls_action-cardinality = 'I'. "single
              ls_action-placementindx = 5.
              ls_action-text = cl_wd_utilities=>get_otr_text_by_alias( 'PTRM_WEB_POWL/CREATE_NEW_TRAVEL_REQUEST' ).
              ls_action-tooltip = ls_action-text.
              if i_type = gc_powltype_trips_tr and l_exit_op is not initial.
                ls_action-add_separator = 'X'.
              endif.
              insert ls_action into table c_action_defs.
              clear ls_action-add_separator.
            endif.
    new expense report
            if lv_expense_active = 'X'.
              ls_action-actionid = gc_action_create_exp.
              ls_action-cardinality = 'I'. "single
              ls_action-placementindx = 5.
              ls_action-text = cl_wd_utilities=>get_otr_text_by_alias( 'PTRM_WEB_POWL/CREATE_NEW_EXPENSE_REPORT' ).
              ls_action-tooltip = ls_action-text.
              if i_type = gc_powltype_trips_exp and l_exit_op is not initial.
                ls_action-add_separator = 'X'.
              endif.
              insert ls_action into table c_action_defs.
              clear ls_action-add_separator.
            endif.
    Regards,
    Ani

  • Problem in opening Travel expense form

    Hi All,
    We are using standard workflow (task ID : TS20000118 )for Approve Trip,Approve Travel Request and
    Approve Travel Expense.
    User (Manager) get all the task related to travel request and travel expense in MSS through work flow.
    When user click on Travel request task, the travel request PDF form is open correctly, but when user click on travel expense task , the travel expense PDF form have to open but here also travel request PDF form is open.
    How can i open the Travel expense PDF form when user click on travel expense task.
    can anyone help...?
    Regards,
    Priya.

    Hi,
    Did you get solution for this problem? I am facing same problem.
    Regards,
    Amit

Maybe you are looking for

  • How do I do Export to Text? Using JSP

    Hi All, I need your help for doing Export to Text functionality. If I hit on "Export to Text" link, the file dialog will be open and I save the data. Is this possible through response? like response.setHeader("Content-type","application/text"); If no

  • How to submit a podcast with an RSS feed to iTunes

    According to this page -- http://www.apple.com/itunes/podcasts/specs.html#submitting -- "In the left column of the Podcasts page, in the Learn More box at the bottom, click on the Submit a Podcast link." I'm not able to find the Learn More box. How d

  • Video output 'stuttering' from iDVD08

    Hi Having produced a video sequence in FCE4 - which re-played without problems in that programme - I have found that when burnt to DVD through iDVD08, the motion 'stutters' throughout and regularly (momentarily freezing every second or so). This is m

  • Oracle 9i database configuration assistant hungs

    Hi, Oracle 9i database configuration assistant hungs at a point "creating and starting oracle instance" on my solaris machine Hence I am unable to create database . Your help in solving this problem will be highly appreciated. TIA, -Amol

  • Discoverer - Exporting Incorrect Parameter Values

    Hi there I am using the &Parameters keyword in the Title of my Discoverer worksheets. If I run the worksheet, the &Parameters is replaced with the value of the parameters I am running the report for. However, if I export my worksheet to Excel, the &P