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

Similar Messages

  • 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

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

  • Custom workflow for Fiori Approve Timesheets

    Hello All,
    I am investigating complexity of adding custom workflow to Approve Timesheets.
    There is BADI SRA010_BADI_TIMESHEET_APV.
    Any experiences/advices  ?

    Hi Lukasz,
    How do you change approver using data from Ztable in the current system?
    If you are talking about workflow approver determination logic, it is a job for Workflow Engine and not for Fiori.
    Regards, Masa
    SAP Customer Experience Group - CEG

  • 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

  • Issue in a custom workflow with Approval Type Notification. Urgent

    Hi
    I have created a custom workflow which contains an approval notification.
    If the user approves/rejects the notification I need to update a table column as Approved or Rejected.
    I have created a function activity,say X, which calls a PL/SQL procedure.
    The issue is,
    when the user approves or rejects the notification, the function X errors out even without entering the PL/SQL procedure.
    Following is the error message
    An Error occurred in the following Workflow.
    Item Type = XXYH_UMX
    Item Key = 55
    User Key =USERKEY:55
    Error Name = -6502
    Error Message = ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error Stack =
    Wf_Engine_Util.Function_Call(XXYH_UMX_WF_PKG.is_resp_assigned, XXYH_UMX, 55, 242407, RUN)
    Activity ID = 242407
    Activity Label = XXYH_UMX_ASSIGN_RESPONSIBILITY:XXYH_UMX_RESP_ASSIGNED
    Result Code = #EXCEPTION
    Notification ID =
    Assigned User =
    If I go the function from any other function,say Y, (bypassing approval notification) it works fine.
    Can you please help me what could be the issue?
    Thanks,
    Kamath.

    The danger in putting in one activity is that if there is any scope longer-term to expand the process to multiple activities, then it may be better to break it out into a sub-process early in the design phase.
    Generally, you get the feeling from the client fairly early on about whether they have a final design and how likely they are to complicate the process later on :)
    I wouldn't include it as a post notification function myself - it saves a tiny amount of processing time and database space, but at the cost of making it less clear what is happening. Plus you'd need to check the result in the PNF manually - putting it on a conditional branch ensures that you always know what the value is. If the lookup type changes at any stage, you would need to check a PNF to ensure that the code still remains valid; if it's on a branch then the only thing to change would be to change the label on the branch.
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How to use position hierarchy for approval in custom workflow ?

    Dear All,
    I have created a custom workflow which fires when ever a new supplier site is created.
    Now I want to add approval hierarchy in this flow. For that I want to use Position Hierarchy.
    I have not find useful resources for doing that. Can you please help me?
    Regards,
    Rubayat

    Hi;
    Please review:
    How to Create a New Position Hierarchy [ID 437489.1]
    Adding Positions to a Hierarchy from Another Business Group [ID 356127.1]
    How To Determine Position Controlled Organizations In The Hierarchy? [ID 549628.1]
    How Does One Create and/or Update Position and Position Hierarchy in HR Using an API? [ID 736443.1]
    Using AME, How To Create Approval Routing To a Certain Position In HR Position Hierarchy [ID 1501433.1]
    Regard
    Helios

  • Custom Workflow Approval Table

    What are some of critical fields that I would need if I were designing my workflow approvals to be based on a custom table?  I have a fairly limited understanding of the major data components that are being used for workflow so any input from the experts would be appreciated.

    Hi,
    I would need if I were designing my workflow approvals to be based on a custom table
    You want to maintain approver in the Custom Table and pick it at the runtime right.
    You can pick via Expression or Rule,... it depends on your requirement.
    For rule see this [link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d053fe48-6513-2b10-a59f-871923ff99d8].
    Regards,
    Surjith

  • Determining second level approver for travel expense claim workflow

    Hi Experts...
    In Travel Expense claim workflow,we are using two level Approval.The employee has to enter his data for expense claim through ESS..Then expense claim is submitted and sent via workflow to the Travel department. Travel Dept verifies the expenses against the bill and approves the claim by selecting the next level approver and attaching the scanned copies of the bill.
    I made copy from the standard workflow WS20000040.
    How can i select the next level appover in first level approval step???
    Is there any FM or BAPI or BADI???
    Please help me ...
    Thanks in Advance
    Regards,
    Hemalatha.

    Hi Hemalatha,
    I have small tricky workaround to find out the second level of approver.The Standard Rule available can reused again by passing manager's Position.i.e
    After first level completed , store manager position in container variable and pass it to the same task rule so the task is sent to the manager's approver .
    Message me if needed more details.
    **Award Points if useful

  • How to approve or release a Custom workflow release strategy using a prog.

    Hi There,
                  I am working with a custom transaction with release strategy using custom workflow. I am done with the module pool and workflow templates. And also I can able to start workflow using the FM SAP_WAPI_CREATE_EVENT.
                  My actual Issue is I have set of buttons in the module pool screen with names Approve (1 to 5) and Reject (1 to 5). When I press the "Approve 1" release strategy of the first person need to approved. Is there any Function Module or Classes for approving the workflow release strategy using buttons in screen.
    Thanks in advance,
    Viruman

    Hi
    Make use of the function module SAP_WAPI_DECISION_COMPLETE. To this function moduel pass the workitem ID and pass decision parameter value as 0001 for approve and 0002 for rejection action. You can check in this forum with this function module you will find lot of threads.
    If its not a decision step then you can make use of SAP_WAPI_EXECUTE_WORKITEM or SAP_WAPI_WORKITEM_COMPLETE.
    Regards
    Pavan
    Edited by: Pavan Bhamidipati on May 26, 2011 11:43 AM

  • N Level approval custom workflow

    Hi, I have a requirement to implement N-Level approval custom workflow.
    I am aware that there is standard SRM N-Level approval but I need a customized one.
    Could you please provide any documentation/inputs on this.
    Regards,
    Prasad

    Hello,
    Documentation on how to implement an N-level approval workflow? That's very generic; just what are you expecting?
    What have you tried?
    Make a workflow with a loop that checks if any further approval is needed.
    regards
    Rick Bakker
    hanabi technology

  • Custom Workflow approval

    Hello,
    In Duet Enterprise 1.0 out of box scenarios.
    1. Can we configure Custom workflows
    2. can we approve from Outlook 2010
    Regards,
    Shashank

    Hi,
    I would need if I were designing my workflow approvals to be based on a custom table
    You want to maintain approver in the Custom Table and pick it at the runtime right.
    You can pick via Expression or Rule,... it depends on your requirement.
    For rule see this [link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d053fe48-6513-2b10-a59f-871923ff99d8].
    Regards,
    Surjith

Maybe you are looking for

  • Audio is not always working, please help

    Hello, I have PE9.  I pull a video to the editing area and it will play the video for a few sec. and then I don't have audio.  It is a hit or miss if I am going to have audio to start with.  On the timeline it shows that I have audio with my video I

  • My app store, setting, music, message,... and games are gone after jailbroke

    Okay so this is my first time jailbroke with redsnow and my Ipod is 5.1 and now all my apps are gone (app stored, setting, music,...) and my games are all died! I tried to restore, update with Itunes and prayed over and over that i will never jailbro

  • Creating a simple photo gallery.. buttons not working.

    Im trying to create a photo gallery that when you click on the thumbnail image you get a blown up image on the screen. The user will then hit the little "x" button to return to the thumbnail page. I have attached pictures of what they look like. My i

  • DVD-ROM drive Code 37 error message in device manager on Satellite M30

    Hi I am new to this forum and wonder if anyone can help? I have a Satellite M 30-106 which has the CD indicated above installed. At present it will not work at all when I go to Device manager the error massage I get is as follow "Windows cannot initi

  • Can I free transform a shape?

    I'm trying to free transform a rectangle drawn within InDesign. A pretty simple task, I thought. I want to be able to pull one corner point in a certain direction and distort it a bit. But selecting the shape with the direct selection tool doesn't al