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

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

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

  • 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

  • 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

  • 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

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

  • Travel Expense workflow ?

    Hi ,
    We start on MySAP ERP2004, what are the standard worklfow and workflow object for :
    - Travel Expense ? Bor Object to use and WF Template .
    - Travel Approval ? Bor Object to use and WF Template .
    Thank you .

    Sudha,
    I see you are realting this to your earlier thread...
    Switch of the SAP workflow and activate your custom workflow.....not sure if I understand correctly...
    Cheers,
    Uthams

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

  • Travel Expense workflow status configuration

    Hi,
    A customized WF is used for Travel Expenses with two level of approval after WF request created by Employee.
    The problem faced is when first level approver approves the request the status visible to employee is "Trip on Hold"
    Where are it should be "trip approved".
    Where can i check the configuration for assigning the status for Travel Expenses.
    Also guide should this be handled from HR or WF end.
    Regards,
    SAP Portal Dev.

    it should be from WF end
    check the WF using SWDD and see using SWIA

  • Fiori Approve Travel request

    Hello Friends,
    We are having a demo with the client and I am working on approve travel request. I have installed the app and it is working fine, but I have a clarification.
    1. What is requester history
    2. Will the app show all the services employee has opted or in requester history it will show.
    Please let me know at the earliest and we are having a demo on monday and need your opinion at the earliest.
    Thanks.
    S.Srikanth
    Tags edited by: Michael Appleby

    Hi Srikanth,
    Requester history will show all the past travel request created along with the status for that specific user.
    Say Employee (user id who has created travel request) is a Requester.
    When you click on the Requester history ,following details will be shown :
    Requester id
    Estimated cost of travel request,
    Status of the travel request
    Dates of travel
    Information.
    may be for you its blank, because there is no history. Just create 2 3 request with same id and approve/reject. Then it should show the history.
    Regards,
    Tejas

  • 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

  • Attachments in Travel Expense approval not displayed in UWL

    Hi guys,
    We here have implemented the travel expense workflow WS20000040. According to the current std functionality, when the requestor creates a travel expense request, he is able to attach any attachments along with the request. But when the request moves to the approver in his UWL, he is not able to see the attachments. (except a default one which on clicking, opens the PR05 txn)
    Is there any config or note which needs to be applied for these attachments to be visible under the UWL's attachments?
    Please help.
    Regards,
    Pranita
    Please refer attached screenshots of requestor's and approver's screens..

    Hi Pranita,
    as far as I know, there is no standard functionality that implements the GOS-Links into the UWL. I've had the same problem as you and implemented a workaround that works as follows:
    I wrote a class that implements the Interface IF_SWF_IFS_WORKITEM_EXIT and within the only method it contains I read the GOS-Documents which I then attach as normal workflow attachments to the Workflow API. The Class is used within the programming exit of my Workflow's decision task (it's then, by definition, automatically executed). This approach has one major disadvantage: The attachments are only passed to the WF upon sending the TRIP for approval, i.e. only when the workflow is executed, naturally. This means if the TRIP is sent for approval and then the employee creates attachments afterwards (which is possible even if the trip itself can not be changed due to authorization etc.), the manager will not receive these retroactively attached documents.
    Beforehand: I'll not share the coding for this because I based it on the coding of an external colleague; but the description above should give you a design-technical idea of how to achieve your requirement.
    One more thing. To get rid of that nasty process object that links to the PR05, you can use SWFVISU. I didn't know how to do this myself until 4 months ago or so. Ibrahim Ansari explained me how to do it in one of my threads over here: Hide/Remove process Object from Workitem that is shown as attachment in UWL possible?
    Hope it helps.
    Cheers, Lukas

  • 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

  • Displaying Travel Expense form as attachment to UWL workitem

    Hi experts,
    We have customized the travel expense workflow that is WS20000040.
    When the requestor raises a travel expense request it goes to the manager for approval in his UWL.
    There by default, according to the standard functionality, when approver clicks the particular work item, he can see an attachment attached to the work item, which on clicking, leads to transaction PR05.
    Within that transaction when he clicks 'Travel Details' only then he can see the PDF for travel expense form.
    Our requirement is, instead of opening the transaction, the PDF should open directly as soon as the approver clicks the link.
    Please help.
    Regards,
    Pranita

    Dear Pranita
    I hope you are well and many thanks for using the SAP Discussion Forums .
    In relation to the scenario that you have described you mentioned the following:
    You have customized the travel expense workflow that is WS20000040.
    When the requestor raises a travel expense request it goes to the manager for approval in his UWL.
    Your requirement is, instead of opening the transaction, the PDF should open directly as soon as the approver clicks the link.
    Ok firstly a point to highlight here is have you attempted to reproduce this issue in more than one browser type? Also is compability mode currently enabled on the web browser platform that you are utlizing.
    Ok in terms of background functionality and the underlying operations of this scenario the predefined actions which occurs once a workitem is clicked in the UWL depends on XML configuration or via the SWFVISU transaction.  By default, the item type configuration for the corresponding work items is set to launch the expense report form.
    If you analyze the UWL configuration file and the travel expense XML e.g. com.sap.pct.erp.ESS/MSS - from UWL administration page, you should be presented with the following:
    ** SAMPLE **
    WS20000040
    <ItemType name="uwl.task.webflow.decision.TS20000131.ECCCLNT100" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.tra.view.TripApprovalView" defaultAction="com.sap.pct.erp.mss.tra.action.DisplayExpenseForm" executionMode="default">
    <ItemTypeCriteria systemId="ECTCLNT140" externalType="TS20000131" connector="WebFlowConnector"/> <CustomAttributes>
    You should be able to set the predefined open action here.
    Also there are two key points to remember when you are working with XML files.
    XML files and the UWL follow the notion of precedence. Therefore once you make a change in the UWL XML the file needs to be reuploaded with a new priority of high in order for changes to come into effect and the UWL Cache needs to be cleared.
    XML files should be backed up and copied so changes can be reverted easily if required.
    Kindly update me as per your findings.
    Kind Regards & All The Best
    Troy Cronin - Enteprise Portal Support Engineer

Maybe you are looking for

  • Getting error while running jnlp file

    Hello, I have generated jnlp file succesffully, but when I run the jnlp file I got this error: WARNING: com.sun.javafx.css.StyleHelper lookup caught: java.lang.IllegalArgumentException: No enum constant javafx.geometry.Pos.center_right               

  • Airport Express no longer joins network

    Greetings, I have a cable modem internet connection; I use an older Airport Extreme (802.11n, without Time Capsule) to make a local wifi network with WPA2 Personal security, and an older Airport Express (802.11 b/g, firmware 6.3) to connect a laser p

  • Has anyone else had any problems with their phone over heating and shutting down?

    I've had my phone for less a month and I've already had issues with my iphone 4. On several occassions it has overheated and shut down. On one occasion I put the phone in the side pocket of my purse where, I also had a charger for my camera. When I r

  • Redolog01,02,03 size

    Dear Team , My redolog01,redolog02,redolog03 size is 50mb . Can I resize to 250 or 500 mb and its not affact anything on my database .. and restart databse required or not . Thanks Abu shahd

  • Counting Nodes

    Noob question. This statement: var nTableLength = TableKM.nodes.length; is intended to count the child objects (rows) of a table which in my case should be a value of 3. But the value in the debugger indicates that it is counting the children of the