Start a workflow when a trip/travel request is created

Hi all ,
I wanted my workflows to start whenever a trip or travel request(Tcode: TRIP/PR05) is created .
Can anybody suggest me any settings to do it ???
Thanks ,
Sonu.

Hi Sonu,
Please let us know whether it is a standard workflow or customised one. Because both has different steps to follow.
If it is a standard then Implementation is quite easy. Broadly you have to configure event and do agent assignment in standard workflows.
I am not sure but I think Business Object related to travel management is BUS2035 and event is created.
Regards,
Deepak

Similar Messages

  • How to start a workflow when a value in specific column is changed?

    HI !! 
    I would like that  my workflow will run only if a value on a specific colunm will change.
    is there a way to do it without using a third colunm ?
    thank you !
    nikita.

    Hi,
    According to your post, my understanding is that you wanted to start a workflow when a value in specific column is changed.
    When you create workflow, if you check the “start the workflow automatically when an item is changed”, the workflow will be started automatically once the item is edited.
    In the other word, no matter which column we changed, the the workflow will be started automatically.
    As a workaround, we can add condition or action to make the workflow excute the next step only if the value in specific column is changed.
    There are two options to achieve it.
    Use the “Wait for Field Change in Current Item" action”. If you add the action at the first,  the workflow will excute the next step until the column is chaned to the specific value.
       2. User the “If any value equals to value” condition. If you add the condition at the first, the workflow will excute the next step if the condition is satisfied.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Travel request is created for multiple employee or multiple trip request

    Hi Experts,
    In our current application for creating Travel Request in offline scenario we are using function module  'FITP_CREATE_TRIP_FROM_REQUEST' to create the travel header data and 'FITP_UPDATE_REQUEST' to generate the line data.
    We are calling these two function modules from a report which is executed in background.
    The function modules are working fine single employee Id with single Trip request , but in case of single employee id having multiple Trip request or Multiple employee id ,each having  single trip request  , only the first trip is created properly and for all the successive trip we are getting an exception
    ' No trip data could be found for selected criteria'.
    What is the way to overcome the issue?
    please help.
    Thanks and Regards,
    Anirban B

    Hello,
    I am getting similar kind of issue please help me how you have solved this issue
    I will be really helpful if you respond
    Thanks and Regards
    Sarthak Arora

  • Error  "An error occurred on starting the workflow" when creating Timesheet

    Hi..I have copied a standard task for Timesheet approval...and have assigned to profile..but when creating timesheet i'm getting error as "An error occurred on starting the workflow" .. could anyone help me out from this issue..
    Thanks
    shankar

    HI Shankar,
    I have the same error you listed here for a few employees. Could you please tell me how you resolved this? 
    I've searched other posted messages and look like we've set up the timeshee approval correctly, but still have this error.
    Any information provided is appreciated.
    Thanks,
    Tam

  • Start a workflow for a list item that was created by someone else

    What settings do I need to change so that I can start a workflow for a list item created by another user?
    I have a SharePoint 2013 workflow (let's call it LSR Status Workflow) that is associated with a list (called
    LSR List). When a user creates an item in the LSR List, it automatically starts the
    LSR Status Workflow. That is what I wanted, but sometimes I make changes to the workflow (via SharePoint designer) and then I would want to terminate the existing workflows that are running and restart them.
    When I try to start a workflow for anyone other than a list item that I created, I get the following error:
    Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP NotFound to https://publishing.web.company.com/sites/mysite/_vti_bin/client.svc/web/lists/getbyid(guid'1f844b8f-19aa-4587-bcc2-dfb7085f36b5')/Items(31)
    Correlation Id: 8efc5304-f0a3-90f6-8ece-6875bf811869 Instance Id:
    60c83aae-5c25-4ee8-9c85-c64958ba701e
    Then when the workflow is finally suspended after it keeps retrying, it reports the following error:
    RequestorId: 8efc5304-f0a3-90f6-0000-000000000000. Details: An unhandled
    exception occurred during the execution of the workflow instance.
    Exception details: System.ApplicationException: HTTP 404
    {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["36"],"SPRequestGuid":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"request-id":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4551"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue,
    10 Feb 2015 22:36:44
    GMT"],"Set-Cookie":["BIGipServerpublishing-blv-80-pool=2825582466.20480.0000;
    path=/"],"Server":["Microsoft-IIS/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    at
    Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
    context) at
    System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at
    System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
    executor, BookmarkManager bookmarkManager, Location resultLocation)
    If I created the list item, I can stop it and restart it without any problems, but this is not the case for list items created by someone else.
    What settings do I need to change so that I can start a workflow for a list item created by another user? I am the owner of the SharePoint site and am able to make changes to permissions if needed.

    You don't need to re-do the fields. If you create a new version of the PDF
    file just open the old one and use the Replace Pages command to insert the
    pages from the new version over the old ones. This will give you a new
    version of the file, with the existing form fields still in tact. Of
    course, you might need to adjust their location and/or size, but at least
    you won't have to start all over again...
    On Thu, Jan 22, 2015 at 11:59 PM, Laura Holancin <[email protected]>

  • Error when initially calling Travel Trip Form Web Dynpro application

    Hello all,
    we are facing a problem when calling for the first time the Travel Trip Form Web Dynpro application.
    In the trace file we get the following error message:
    application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.services.sal.core.DispatcherException: Wrong Web Dynpro URL: "../WebDynpro/Servlet/<deployableObject>/<application>/xx?..". xx is not allowed without exchange key. Retrieved URI path: /sap.com/esstratri/TripForm/~wd_key890_1246626831816/background.gif.
    Exception id: [001E680CB1CE0078000002A600007B4A00046DCCEE3F358A]
    This appears when a trip has been initially created and if the user wants to display a travel trip form.
    However, this does not appear anymore, if you click on the travel trip form again.
    Best Regards
    Philipp

    Hello Philipp,
    We are having same problem. Please let me know solution....
    Som

  • Start workflow when pressing save button

    Hello community,
    can anybody explain me how I can start a workflow when somebody clicks on 'save' in transaction me22n?
    Thanks a lot for your help!
    Christoph
    Edited by: Christoph Schle on Jan 9, 2008 7:48 AM

    Hi,
    It looks like an interesting requirement and
    1. As per your problem, we are not able to distiniuish between the Changed event whether it is really came because of decreasing value or is it because of change in release indicator at header level.
    2. Check this BADI IF_EX_ME_TRIGGER_ATP for ME22n - if you look at TRIGGER_ATP method of this BADI you have access to PO header old and new, and also PO line item old and new.  Since you have access to old and new header values and also lineitem values,
    when <old header-relindicator> = <new header- relindicator> and <old line item value> is lessthan  <new line item value> rasie a new custom event on BUS2012. Say ZBUS2012.SPECIALCASE ( for this create ZBUS2012 and delegate it to BUS2012)
    Before doing the real code in the BADI, just implement the BADI with out any code and put a breakpoint in this methid. Put ME22n in debug and see whether the contorl is coming to this BADI or not and also check whether you are able to access header/linitem values old and new. if you are able to then we are done with it.
    3. Associate BUS2012.SPECIALCASE also as triggering event ( apart from standard RELEASETEPCREATED) of your workflow and in the workflow create a parallel fork ( parallel to your approval process ) and create a step for 'Wait for BUS2012.SPECIALCASE) and connect this branch to End of workflow ( this will take care of terminating the existing workflow before decreasing value)
    i am bit creative here in suggesting above , give it a try and see !!. However general way to handle sceanrio's like this to handle them in Check Function Modules, but for your case its bit tough as you will not have access to old header and old line item values.
    Just try above and update me if it works
    Regards
    Krishna Mohan
    Edited by: Dubbaka Krishna Mohan on Jan 9, 2008 11:37 AM
    Edited by: Dubbaka Krishna Mohan on Jan 9, 2008 11:37 AM

  • How to avoid starting of workflow ?

    hi there,
    i have a problem:
    on BO BUS2089 (Travel) i have a event 'CREATED'
    on that event i have a workflow. everytime the event is raised the workflow starts. so far so good, BUT:
    i ONLY want to start the workflow when the travel-request is created in portal (ESS).
    But there is a direct way in backup where traveling-requests are entered by administration.
    how can i handle this to avoid starting the workflow when it is done in backend system (HR) ?
    reg, Martin

    Martin,
    You should be able to identify the program that is triggering the event. Take a look into the SY-CPROG. I am not absolutely sure, if this is the correct field, but check/compare all the fields in SY structure. There should be a difference between creating/changing the trip in ESS (with the web dynpro application) and creating/changing the trip in backend transaction.
    If you can find the difference, it should be an easy task to prepare a check function module for the CREATED event to prevent the workflow starting in the specific circumstances.
    There are probably also other alternatives, but this is something you should definately check.
    Regards,
    Karri

  • Creation of Travel Request

    Hi,
    Can anyone tell me the name of BAPI/RFC for creating travel request with input options for advance,request,cost distribution,etc.
    Thanks in Advance
    Shruti

    Hi,
    Try to trigger standard workflow when a trip is created. The PDF document will be sent to approver.
    activate any one of these workflows.
    Approve Travel Request  - WS 20000050
    Approve Trip                       WS 20000040
    Thanks and Regards,
    Shilpa

  • Processing Status in Travel Request ESS

    Dear all Gurus,
    I am implementing travel request approval process on ESS/MSS. After employee submits an travel request via ESS the processing status is set to have 'Released for Approval' status. Once manager approves the travel requests via MSS processing status gets 'Approved' status.
    The problem I am having is when manager rejects Travel Requests. The processing status is changing to 'In Processing' instead of 'Rejected'.  Do you know what needs to be done so that the status  is set to be 'rejected' once the manager rejects the Travel Requests.
    Regards,
    Namsheed

    You can change the text as indicated below ie 1411965 has steps in it http://wiki.scn.sap.com/wiki/display/ERPHCM/Adding+Reject+or+Cancel+Step+to+Workflow+Template SAP NOTE # 1411965 - Status after action in FITV_POWL_APPROVER, provides more information on this limitation and the configuration steps. Status comes from Table PTRV_PERIO Field ANTRG (Travel Request or Trip Approved (Indicator)) ABREC (Open / To be Settled / Settled (Indicator)) i.e. we have only request status from 1 - 6 and settlement status from 0 - 4. See the domain fixed values. BAPI_TRIP_CANCEL can be used to enhance the statuses. Please check the class CL_FITV_POWL_UTIL and method GET_STATUS_AFTER_REJECT

  • FITE_EXPENSES  -- Available Travel Requests / Plans

    Hi Experts,
    I've got a question concerning the creation of travel expenses and the data acquisition of the respective travel request. Let's say I've sent a Travel Request and it has been approved by the respective approver, i.e. status of the process is "approval" and status of approval is "approved". Now, in the scenario "All my Trips" the user can choose the tabs for travel requests and click on the link "Create" in Tab "Travel Expenses", so the travel request is used as a data template for the travel expense sheet. All is good.
    Alternatively, for some requests posted, at the 'entry screen' of the scenario FITE_EXPENSES, there's a list "Available Travel Requests / Plans" which apparently shows some, but not all travel requests available.
    Now my question is: Where does the generic alv-grid "Available Travel Requests / Plans" get its items from? I've plunged deep into FITV_FPM to find some clues but couldn't fin anything out, it's just too generically programmed...
    The way it is now, there is a redundancy/inconsistency between all my trips --> travel requests, and FITE_EXPENSES --> Available Travel Requests / Plans. This bothers me, because it will be annoying for the end user...
    I hope somebody can clear this up ;-/
    Cheers, Lukas

    I had a look at this and couldnt find anything very useful to be honest!
    Are you kidding? This is exactly the information I was looking for!
    IF sy-subrc = 0.                                                                        "MAWH1494578
        CASE cl_fitv_assistance=>get_req_plan_future( <ls_emp_info>-trip_provision_variant ). "MAWH1494578
          WHEN '0'.                                                                           "MAWH1494578
    *       Remove trips in the future or with existing expense report.                       "MAWH1494578
            DELETE rt_trips WHERE expenses IS NOT INITIAL OR datedep > sy-datum.              "MAWH1494578
          WHEN '1'.                                                                           "MAWH1494578
    *       show all requests and plans!                                                      "MAWH1494578
            DELETE rt_trips WHERE expenses IS NOT INITIAL.                                    "MAWH1494578
          WHEN OTHERS.                                                                        "MAWH1494578
    *       use default -> delete...                                                          "MAWH1494578
    *       Remove trips in the future or with existing expense report.                       "MAWH1494578
            DELETE rt_trips WHERE expenses IS NOT INITIAL OR datedep > sy-datum.              "MAWH1494578
        ENDCASE.                                                                              "MAWH1494578
      ELSE.                                                                                "MAWH1494578
        "Remove trips in the future or with existing expense report.
        DELETE rt_trips WHERE expenses IS NOT INITIAL OR datedep > sy-datum.                  "MAWH1494578
      ENDIF.
    Thanks a lot Sally!
    Cheers, Lukas

  • UWL and WS20000050 - Approvate Travel Request

    Hi community,
    in UWL on SAP EP 6.0 Sp14
    we display incorrect StartDate & EndDate of Workitem but in SAP System these are correct.
    The UWL display the previous day
    (Example: Workitem Day 06.02.2006 --> UWL Day 05.02.2006)
    We have some Idea?
    Best Regard's
    Antonello

    Hi,
    You can 1) either modify the workflow and add there a mail sending step. Then each time a travel request is created, a mail is sent to the manager. Or 2) you can start using extended notifications (refer to SAP Library).
    I am not sure if you already have some sort of an application, which you can use in Portal to approve travel requests. If not, then you'll have some more job to do...
    Regards,
    Karri

  • Portal runtime error on creating Travel Request

    I have copied the standard ESS Role and created my own ESS Role. I then assigned this to my portal user.
    Then when I log into the portal as the user and click on "Create Travel Request" or "Create Expense Report" URLs, I get the following error:
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 04:53_02/02/10_0021_23623650
    Refer to the log file for details about this exception.
    Is there any portal/IMG setup that is missing? Or any authorization missing?

    Thanks I made changes to Resources node in IMG.
    Before making these changes I was getting the following error:
    Portal Runtime error. An exception occured while processing your request... Exception ID:.... Refer to log for details....
    I just changed the URL of PCD page in the Resources node.
    Note:
    (1) In Portal I have made my own folder structure:
    -> Portant Content
    -->My Travel Setup
    --->Employee Self-Service
    >Roles
    >MyTravelESS (role copy of the original Portal ESS role, Delta link. i.e. ESS role under End User Content-->Employee Self-Service)
    (2) I have not copied the iviews, pages worksets etc. under my new folder structure.
    But Now I am getting another error:
    500 Internal Server Error...
    Root Cause
    The initial exception that caused the request to fail, was:
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Failed in WD JNDI lookup. javax.naming.NameNotFoundException: No child found in WebDynproContext with name base

  • Startring Workflow when Organisation structure changed in PPOM_OLD

    Hello,
    I want to start a workflow when I use the command 'MOVE' in Transaction PPOM_OLD TO change the structure of the organisation. In the event trace no event is produced when I perform this action and I can't find a user exit in the function group, to start a workflow or produce an event. Do you have any Idea how to solve this problem?
    Thanks.
    Regards, Lars.

    Dear Azury Liran,
    Really thanks for your quick reply, I've checked PPOME I'm unable to view OM structure. below is screen of PPOME
    Ur's
    Mohan

  • InfoPath 2013 start a workflow

    In a new InfoPath 2013 form that uses a custom list, I would like to add a custom button and/or something to click on for the user to eventually 'start a workflow when item changes'.
    Right now since I am in the early phase of the process, and it would be fine to 'start the process manually' also. Basically I would like directions on what a user can click to they could start the workflow.
    I found the following link and it shows how to start a workflow from the documents library:
    https://www.youtube.com/watch?v=afttEV61kQI
    I would like to know how to have this same process occur from an InfoPath 2013 form where the user clicks my 'button/item' and does not click on the 'auto generated' save button.

    assuming that the workflow should not necessarily start ANY time ANY file changes (which is a default option, and requires no custom dev effort)... what I've seen a few times, is for the form to include a checkbox ("start workflow")... the workflow
    starts, and checks for the condition... and stops if the checkbox is not checked.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

Maybe you are looking for

  • How can I see in which Group the workspace has been created ?

    Hi, The BeehiveOnline Tutorial on slide 7 shows that Workspaces are created within a Group. Also the Group Administration screen suggests this as I can indicate that user ABC gets the role 'Workspace Creator' in one Group but same user ABC does not g

  • 10.4.8 and Imac

    upgraded to 10.4.8 last night. my machine rebooted post install then froze on the login screen. I hard rebooted and the machine will nolonger boot from teh hard drive. I tried putting the tiger install dvd and holding c down but I don seen to be able

  • Query fails in SAP

    hello i have a query that runs file in SQL but when i copy it to SAp, it runs once, then gets an internal error[131-183] when I want to execute it again. can anyone please advice thanks janice WITH Invoices AS  --Get invoices per item (SELECT I1.[Ite

  • Proxy Error in Development

    I am trying to clear data in the forecast scenario in development under Data Tasks but got this error. How should I get around this issue please? proxy error the proxy server received an invalid response from upstream server. the proxy server could n

  • Using ASCP for supplier LT for shipping methods to different orgs

    Hi We have a requirement in which a supplier/site supplies material to org A and org B and since these 2 orgs are in different countries/locations we require different tranit times to be used while planning. ASCP supports Proc lt (which includes tran