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.

Similar Messages

  • Travel Expenses through ESS Not Moving to the MSS of Immediate Boss

    Dear Gurus,
    After the travel request has been approved by the immediate boss on MSS, employee is creating the Travel expense
    report for the same request number through ESS.
    But After saving and Sending the travel expense report for Approval through ESS by the employee,
    Expense report for Approval is not Moving in the MSS of his Immediate Boss.
    Kindly suggest how to achieve this, Immediate boss should approve/Reject the Travel Expense Report through MSS.
    Any standard workflow existing for this ?? For Travel Request we are using 20000050 and it is working fine.
    For Travel Expenses through ESS:-
    We have already activated 20000040 and configured the same in T Code SWETYPV.
    Object we are using is BUS2089.
    Kindly let me know which Event and Functional module is configured in T Code SWETYPV.
    Or any other steps we are missing Or any other Workflow to be used to achieve this ???
    We need Travel Expense Approval on MSS by the immediate Boss.
    Regards,
    Edwin

    Hi,
    Try checking agent assignments of task TS 20000135:
    Tcode PFTC:
    Task type: Standard Task
    Task: 20000135
    Display
    From top menu choose: Additional data --> Agent assignment --> Maintain
    Click "Attributes..." and chooce "General Task" and then "Transfer".
    Then click Red and White ball icon (refresh index Shift+F1).
    Check also (using SWDD) that WS20000040 has agent maintained for task 20000135. I am not sure if it is there in standard. You can choose superior of the initiator rule from drop-down if it is not maintained.
    Regards,
    Saku

  • 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

  • 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

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

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

  • 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

  • Error in Travel & Expense of ESS

    Hi All,
    We have deployed a ESS package in the portal.  And we are able to view some services.
    We are getting the following error, with the Travel and Expense(All My Trips).  Actually all the services under Travel and Expenses are giving some kind of errors.  But i want to check the My Trips and Expenses one.  It is giving the following error.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: no jcoMetadata found for RFC function 'PTRM_WEB_CCNUM_MASKING'! Please verify, that your model is consistent with the ABAP backend: 'RDX'.
    Our HR SP is 34 and EPortal 7(NW 7) and ECC6 is SP 14.
    Can anybody suggest us in correcting this error.
    Thanks & Regards,
    Ravi

    Hi,
    Check all the standard JCo Connections for the standard ESS bp. Are they working properly
    http://help.sap.com/saphelp_erp2005/helpdata/en/8c/cb3042366c0521e10000000a155106/content.htm
    Deep Nain Kundra

  • Removing "User Settings"  in Travel & Expenses in ESS

    Hi All,
    In Travel and Expenses on any screen if  you "Right click" on header part  you will get "User Sttings" options  . I want to remove those options.
    is it possible from portal side or i have to do some changes in r/3.
    Thanks,
    Rameshb.

    hi,
    up to myknowledge it wll come in implisit personilazation in webdynpro for abap
    check the following thread
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b07501ec-39a7-2910-0699-f71070d2b245
    and check this
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/719f42f2ff7e5fe10000000a155106/frameset.htm
    as the process flows like this   user-role-workset-page-iview  u have to restrict the detail navigation from the  application level ...ask u r basis team to remove the  authorations to user to detail level .....
    check those mean while iwll try find out some output
    bvr
    Edited by: bvr on Dec 22, 2008 9:59 AM
    Edited by: bvr on Dec 22, 2008 10:01 AM

  • 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

  • Reg- Travel and Expense in ESS

    Hi All
    We have already implemented Travel and Expense in ESS. Now we have below issue
    When the user creates Expense Report (Self Service -> Travel & Expense in ESS portal), at Review and Send step (step-3), there is a button - "Display Reimbursement Details"
    If user clicks this button, a PDF form is opened in new window. Problem is, all the expense types (like Airfare, Employee Activities, etc) are grouped under Others and showed in Summary of Expense Reports in the PDF form
    My doubt is, how this pdf form is getting generated, is it from std. SAP or by means of config. we need to handle? Also user says, previously it was working fine (means- All the expense types were displayed correctly in Summary of Expense Reports in the PDF form)
    But now all expenses are clubbed and showed as Others with total amount. Please help me and provide your inputs
    Vinoth

    Yes you can control in customisation
    check
    V_T706S_RECEIPT and V_T706B1
    Furthermore, in FITVFELD_WEB can you check that you have the field
    'receipt date' activated, it checks the entries in V_T706S_RECEIPT
    Please also check the customising in FITVFELD_WEB to ensure corresponds
    with customising in FITVFELD etc
    One more thing to consider is the Badi "TRIP_WEB_CUSTOMIZING" as this
    makes it possible to limit the expense types for the dropdown list if
    this is a requirement but it does it before the trip schema is
    chosen. That means that the limitation will affect all the schemas, and
    not only one.
    check note 1557710
    1. T-code SPRO. Click on Financial Accounting (New) -> Travel
    Management -> Travel Expenses -> Master Data -> Travel Expense Types ->
    Create Travel Expense Types for Individual Receipts
    2. Click on new entries

  • 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

  • Workflow Self Approval

    Hi,
    We have developed a workflow to approve Travel & Expense statements. We have a requirement to
    stop self-approvals of the travel expenses.
    Right now self approvals are possible when the approver sets the intiator as the Substitute.
    Is there any way to stop self-approvals in this scenario?
    Regards,
    Bharath Mohan B

    What Kiran tells can be one option but I am not sure it will work or not. I think you can restrict this by Authorization ideally or setting up substitute using substitute profile and classification.
    Thanks
    Arghadip

  • 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

Maybe you are looking for

  • Dbms_xmldom package results in ORA-31020

    Hi, I have the following procedure which compiles correct: CREATE OR REPLACE procedure vbk_selproc_doc is queryctx dbms_xmlquery.ctxtype; result varchar2(30000); header varchar2(1000); footer varchar2(1000); body varchar2(20000); line VARCHAR2(2000);

  • Switching from Muse Business Catalyst site to register domain name.

    My domain name is registered through web.com I recently created my site through Muse and previewed it using Business Catalyst. I would like to fully publish it using Adobe as my hosting and the registered domain name I purchased through web.com How d

  • SAPScript:GRN Printing Label

    Hello Experts, I m working on SAPScript .My requirement is i want to add storage bin(MARD-LGPBE) field in SAPScript for GRN Label printing FORM:(rm07etikett).Everything else is coming from mseg, mkpf, ekko table but not from MARD Plz sugget how to pr

  • STPO Return Process

    Hi All, I am facing a small issue when i am creating return order for stock transfer order. Scenario: 1. I created stock transfer order using ME21N. 2. I created delivery for the same using VL10B, did the picking and PGI 3. I did the commercial invoi

  • Photoshop Elements 12 will not install on Win 8 - fails at "Shared Technologies"

    New Lenovo computer with Windows 8.1.  Installed Photoshop Premiere Elements 12 w/o a problem. Tried to install Photoshop Elements 12--all went well until it reached "Shared Technologies" and quit the intallation.  Troubleshooting info was usless to