Guided Procedures - Runtime "Create Time-off Request"

Hi Everyone,
I’ve created a Time-Off Process using the tutorial downloaded from SDN site.
When I try to start the Runtime project (Employee side) I find the “Processors Table” in "Create Time-off Request" screen.
The Approver name is not correct… is not what I expected!
1) How can I change (in the Design Time project/area) the Approver and HR Consultant parameters?
2) How can I hide (in the Runtime area) the “Processors Table”? 
Furthermore, I would like to have more information about the “Parameters Consolidation” meaning. Could you help me to catch this meaning?
Thanks in advance,
Enrico

Hi David,
thanks for you useful answer! You gave me an answer of 80%!
Now I try to explain you my problem for the other 20%!
Now, ... I can't modify the Time-Off exemple, right?! But I would just like to start from this example and modify it!!!
Can I do it starting from the project code?!
Can I see the code lines which describe the Time-Off behaviour, so that I can customize it???? ... enfact, if I could do it, I wouldn't have to rewrite the whole code, and I also could understand the logic of TimeOff project structure.
Do you understand me? Was I clear?

Similar Messages

  • Source of Time-off Request Project

    Hi,
    I am new to CAF guided procedures, I am trying to implement the Callableobject in webdynpro(java) same as time-off request. in gallery>examples>Time-offrequset, will clear my doubts. so how can i get the DCs
                 com.sap.caf.eu.gp.example.timeoff.wd.create.CCreate
                 com.sap.caf.eu.gp.example.timeoff.wd.approve.CApprove
                  com.sap.caf.eu.gp.example.timeoff.wd.complete.CComplete
                  com.sap.caf.eu.gp.example.timeoff.wd.display.CDisplay
    Regards,
    Naga

    Hi Chandan,
    Thanks For your reply.
    todo These  things, i needed from the source.
    1. When we open the time-off process , its opening webdynpro view directly, without clicking execute button. how can we achive it?, i tried the example "Designing a process from the scratch" , but didnt get it.(its directly opening webdynpro screen when i click the initiate the process, how can i acieve this?)
    2.How can we allocate the action to processors in run time?
    3.when we initiating a process its not not asking the stepsfill input, edit roles ? how can we achive this?
    Regards,
    Naga

  • Guided Procedures Runtime showing internal process steps in UWL

    Hi
    We have created a Guided Procedures Workflow which is working fine most of the time. However, sometimes, Guided Procedures runtime behaviour is rather strangely, it 's showing internal process steps as clickable workitems in the UWL. Clicking on the workitem causes a Null Pointer Exception.
    Example:
    Let's say, the workflows is as follows:
    - Execute Callable Object "start"
    - Decision "myDecision"
    - If Decsion returns true
    - Then execute Callable Object "A"
    - Ese execute Callable Object "B"
    Normally "myDecision" wouldn't appear in the UWL. But sometimes, it is showing up there. When we click on it, there is the following exception. After a while, everything is normal again (no internal workitems, no exceptions). Does anyone know what is happing here and what can be done to prevent it?
    Kind regards
    Bettina Hepp
    application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error. The error is: java.lang.NullPointerException
    at com.sap.workflow.wdgp.task.detail.TaskDetailBodyView.seedNotesContainer(TaskDetailBodyView.java:497)
    at com.sap.workflow.wdgp.task.detail.TaskDetailBodyView.wdDoModifyView(TaskDetailBodyView.java:275)
    at com.sap.workflow.wdgp.task.detail.wdp.InternalTaskDetailBodyView.wdDoModifyView(InternalTaskDetailBodyView.java:582)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
    at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    Hi
    You mean the entry in the UWL list? No, we don't modify this. It is exactly the title we have assigned to in the Guided Procedures Design time environment.
    How else can a  title be changed? And what kind of problems can occur?
    Regards
    Bettina

  • Infopath Time Off Request For on Sharepoint Coding in C#

    So I have created a Time Off Request form to put up on our internal company intranet sharepoint site. 
    I am trying to get this form to do several things.
    First of all, after the user fills out the form they can click the submit button and it will email it to their manager.  That part is working fine.
    The other button is the one that I am having trouble with.
    Once the Manager receives the request I want them to be able to click a 2nd "approve" button and make the following happen:
    A calendar entry is automatically created in the managers calendar for the day/days requested off.  It needs to be created as an All Day Event and Marked Private.
    An appointment invitation needs to be sent to the requester so they can accept and the day/days will be added to their calendar as well.
    An email needs to be sent to the Requester telling them their request has been approved.
    Here is the code I have so far.  It is in C#
    using Microsoft.Office.InfoPath;
    using System;
    using System.Windows.Forms;
    using System.Xml;
    using System.Xml.XPath;
    using mshtml;
    using Outlook = Microsoft.Office.Interop.Outlook;
    using System.Reflection;
    using System.Net;
    using System.Net.Mail;
    namespace ITTimeOffRequest
        public partial class FormCode
            public void InternalStartup()
                ((ButtonEvent)EventManager.ControlEvents["CTRL10_2"]).Clicked += new            ClickedEventHandler(CTRL10_2_Clicked);
            public void CTRL10_2_Clicked(object sender, ClickedEventArgs e)
                // Get a reference to the Main datasource
                XPathNavigator root = MainDataSource.CreateNavigator();
                // Create an Outlook application
                Outlook.Application outlookApp = new Outlook.Application();
                // Get NameSpace and Logon
                Outlook.NameSpace outlookNS = outlookApp.GetNamespace("mapi");
                outlookNS.Logon("arochelle", Missing.Value, false, true);
                // Create a new AppointmentItem
                Outlook.AppointmentItem appointmentItem =
              (Outlook.AppointmentItem)outlookApp.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olAppointmentItem);
                appointmentItem.Sensitivity = Microsoft.Office.Interop.Outlook.OlSensitivity.olPrivate;
                appointmentItem.AllDayEvent = true;
                appointmentItem.ReminderSet = true;
                appointmentItem.ReminderMinutesBeforeStart = 5;
                appointmentItem.BusyStatus = Outlook.OlBusyStatus.olBusy;
                appointmentItem.IsOnlineMeeting = false;
                appointmentItem.OptionalAttendees = root.SelectSingleNode("//my:field2", NamespaceManager).Value;
                appointmentItem.Subject = ("Time Off Request");
                appointmentItem.Body = ("Date of request") + root.SelectSingleNode("//my:field4", NamespaceManager).Value;
                appointmentItem.Location = root.SelectSingleNode("//my:field13", NamespaceManager).Value;
                //appointmentItem.Start.Day.ToString = root.SelectSingleNode("//my:field10", NamespaceManager).Value;
                //appointmentItem.End.Day.ToString = root.SelectSingleNode("//my:field10", NamespaceManager).Value;
                //appointmentItem.Start = DateTimePicker.("//my:field10");
                //appointmentItem.End = DateTimePicker("//my:field10");
                appointmentItem.Start = DateTime.Parse("//my:field10");
                // Save to Calendar
                appointmentItem.Save();
                // Logoff
                outlookNS.Logoff();
                // Clean up
                appointmentItem = null;
                outlookNS = null;
                outlookApp = null;
                // Send Email Confirmation.
                SmtpClient client = new SmtpClient();
                client.Port = 25;
                client.Host = "sw-exchange";
                client.EnableSsl = false;
                client.Timeout = 10000;
                client.DeliveryMethod = SmtpDeliveryMethod.Network;
                client.UseDefaultCredentials = false;
                MailMessage mm = new MailMessage("<manager email address here", "//my:field2", "Your Time Off Has Been
                    Approved", "Your Time Off Has Been Approved");
                mm.DeliveryNotificationOptions = DeliveryNotificationOptions.OnFailure;
                client.Send(mm);
    Obviously i'm trying to get the code to pull in a lot of the information from the fields people have filled on on the form.  For example in the send email confirmation section Field 2 is the choose emplayee email drop down box on the form.  CTRL10_2
    is the approve button.  Field 10 is the day requested off.  The form has five lines to request days off on it and each line has a date picker to choose the day.  A text field for number of hours requested off, a Time field for Start Time, a
    Time field for End Time and a Drop down box to pick Sick Leave or Annual Leave.
    I'm having a problem with creating the appointment on the appropriate day in the managers calendar and then sending the appointment request to the requester.  That is where the code errors out.  This is only the coding for the first line of time
    off requests as well, i'm not sure how to change the code so that it will include all 5 request lines unless I have to use some kind of Matrix or something.
    I'm trying to get the appointmentitem.start and .end to pull from the date(s) that have been requested off but what happens so far is that when the approve button is clicked it just crates a private all day calendar entry for the current day on the managers
    calendar and doesn't generate the appointment request for the requester or send the confirmation email.
    Any help would be greatly greatly appreciated.

    for the electronic form:
    since you're on Standard edition, I wouldn't recommend InfoPath... I'd start with standard SharePoint list (using attachments for scanned images)... if it needs to be customized, I'd use web dev approaches (HTML+JavaScript), since we've found this approach
    to be VERY upgradable.
    For the process:
    Assuming the process is LINEAR, I'd use SharePoint Designer with an approval process activity and a task activity (for AP). If the process is NOT linear, I'd look into a third party component like Nintex or K2 (you may find some people who say "just build
    it with Visual Studio"... don't. You'll regret it later, and the business will too).
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Deleting running processes from Guided Procedure runtime

    Dear all,
    Does anybody know how to delete running process i.e. incomplete process from Guided Procedure runtime dashboards.  The administration workset contains archiving & deleting sections but they can only delete if a process is completed or Erronous or Terminated. 
    In need to delete a running process or incomplete process as some process instances are kicked off and left alone.
    Thanks
    -Bharath

    Hi Ramien,
    I suppose you have acces to the executionContext of GP...
    You can use the following method to get the process Id:
    String processId = executionContext.getProcessId();
    Regards
    Sundeep

  • Embedding Guided Procedures Runtime into Non-SAP-Portal

    Hello,
    I'm developing a workflow using the Visual Composer and the Guided Procedures.
    Unfortunately, the workflow should be accessible from a non-SAP-Portal. The users of this portal and the workflow should not be aware that they are actually using SAP-Portal content.
    This only concerns the GUI.
    Is it (and how) possible to embed the Guided Procedures Runtime GUI into a non-SAP-Portal?
    Best regards
    Alexander

    Thanks a lot for your quick response.
    Based on the information provided in your answer, I found the following document:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0975397-8e0a-2b10-4daa-bafd3a83e2a8
    Best regards
    Alexander

  • Guided Procedures runtime  via Parallels windows on a macintosh

    I am trying to run GP through a virtual XP machine on my macintosh - I have all relative VPN connections established and I have checked the internet access and connection through my alternative IBM machine to ensure access issues are not the problem - If anyone has any suggestions they would be very appreciated - The issues are that I am able to connect and log in to GP runtime but the workcenter/application view does not appear in my browser???? Any ideas would be great
    thnx in advance

    Hi
    You mean the entry in the UWL list? No, we don't modify this. It is exactly the title we have assigned to in the Guided Procedures Design time environment.
    How else can a  title be changed? And what kind of problems can occur?
    Regards
    Bettina

  • Guided Procedures runtime view custom

    Hello everybody,
    is possible modify standard guided procerdure RUNTIME iview...
    i need remove "OVERVIEW" view and "YOU CAN" vied from runtime GP view.
    how can do this ?
    than you
    Stefan

    thank's everybody

  • PCUI frame work please guide procedure to create field group varient

    hi ,
    I am eagerly waiting for the steps to create field group varient.
    i will appreciate a small help also.
                                                                   With Regard's,
                                                              Sunil Kumar.Bethinedi

    can any one give sumirized steps for calling an url by clicking a custom button on pcuiframe work.
    When i click a custom button in one of the application that call the url (webdynpro ) application .
    please give some summarized steps.
    i will appreaciate that help
    Edited by: sunil kumar on Jan 30, 2008 10:49 AM

  • ESS Guided Procedures EXIT

    Hi,
    we are using ESS Travel Management Scenario with EP70 and Web dynpro with a ERP2005 HR Backend. (Create Travel Request/Expense etc)
    We are using a layout with detailed navigation on the left side.
    Our Problem is: Once a WD Guided Procedure (like Create Travel request) is started by the user, he cannot exit anymore. There is no BACK option or EXIT button or so.
    If the user clicks on the left side in the detailed navigation link, the portal starts another screen in a separate new window, as long as the guided procedure is there and active. But in the new window, the personal number is locked, of course.
    The only way to exit a guided procedure that is not finished, is to log off or to close the window.
    How can I give the user the option to exit the guided procedure properly?

    Hi Holger,
      This is because the GP is not releasing locks properly. There was a work around suggested, where in the forced lockproperty  is set to true in the GP iview that is used in the ESS.
    Regards,
    Sharadha

  • Location of the attachments in Guided Procedures

    Hi,
    does anybody know the location where the attachments from the Guided Procedure Runtime are stored?
    Are they stored somewhere in the KM or in the database/filesystem directly?
    In the Guided Procedure Monitoring i can see the attached documents, but i need an overview over all attached documents in the gp process instances for one Guided procedure.
    Thank you in Advance - Regards
    Martin
    Edited by: Martin Fister on May 6, 2009 5:14 PM
    Edited by: Martin Fister on May 6, 2009 5:15 PM

    Hi Martin,
    the standar "Attachment" functionality in GP stores the file in the database, may be you can get the table names asking here in the forums, anyway you can create your own attachments page using UI Patters and integrating it with the KM so the attached files will be stored there.
    This tutorial will help you:
    [Integrating KM with CAF UI Patterns|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/dabdb3ea-0c01-0010-df8f-ffd2755c74c5]
    Regards,
    Marco.

  • Personalize E-mail Templates in Guided Procedures

    Dear All,
    I need an E-mail template which will fetch me the context parameter value like defined in the the block of a Process through Guided Procedures as follows:
            Context Parameter> Input Parameters (of type Structure)->Business Manager (String)
    I need to get the value of "Business Manager" in the E-mail thats sent to all the context processsors.
    I used "ctxt.personalData.lastName" where ctxt is the prefix of Context Parameters, personalData is the structure and lastName is the field to retrieve the value. But this is not working for me.
    Please suggest the possible solution to this.
    Regards,
    Poornima.
    Edited by: Poornima H.G on Mar 18, 2009 2:17 PM

    Hi Poornima,
    Check the following thread:
    Personalizing E-mail Templates in Guided Procedures
    And next time it will be great if you don't create 2 posts for the same problem.
    Regards,
    Yordan

  • Error in UWL --Guided Procedure initiated by Webdynpro

    Hi All,
    I have initiated a guided procedure process from webdynpro for java code. This is creating a item in UWL inbox. When I am clicking on this item it is showing following error:
    Could not retrieve process instance: contact your system administrator
    Same initated process can be opend from guided procedure runtime.
    Please help.
    Thanks
    Raktim

    hi ,
    the following blog explains how to  do the customization of UWL for guided procedures
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/904ca240-63bc-2a10-1c98-de81b6a045bf
    have you done all these?
    Thanks and Regards
    shanto aloor

  • New to Guided Procedures

    Hi,
    I ma new to GP and trying to find the scope of GP in our business.I have a few queries
    1) Should the initiation always start from GP runtime ? Like, cant I have an WD application (Time-Off Approval) on the portal, which employee's will use it to send Time off requests.
    2) In runtime, we assign Roles to UME Users. Its like almost hardcoding. Cant I pick up the approvers dynamically from SAP PA Tables. In an Organization, there are many project groups. Each employee would tyr to access the Time-Off Approval WebDynpro App from the portal any time. Now the system must be able to forward the request to the approver at that point of time for the particular employee. Is this possible in GP.
    Kindly clarify me on the above.
    Regards,
    Murali.

    Hi
    Thanks for ur inputs Andre.
    Yes, right now, I am having a custome BAPI which is comsumed by a webDynpro Application and is used by my employee & administrator. The logic of directing the request to the administrator , soon after an employee requests, is encoded in this BAPI. We have put this WD application in ESS framework. The workflow triggering part is also done within the BAPI.
    So the cycle begins like this. Employee goes to ESS and opens the Time-Off approval application and submits it. BAPI triggers a workflow. Administrator finds a task in his UWL in portal. When he clicks on it, it opens up another WD application and when he submits it, the cycle gets completed.
    I am just thinking in this lines and trying to simulate this with GP. And yes, portal id = ERP id. We are running on NW04s.
    So is this cycle very much possible for me to do using GP and avoiding workflows.
    Reagrds,
    Murali.

  • Wf-XML with Guided Procedures to start other workflows e.g BusinessWorkflow

    HI!
    Is it possible with Guided Procedures to create a Wf-XML file and send it to an other Workflow engine, to start a process with the parameter defined in the XML file ? This would be required to start an webflow in R/3 Business Workflow. This Webflow accepts 3 different kinds of Wf-XML standards or SOAP. But i cannot find this in GP. Are there callable object that are able to create this XML files and sent it over HTTP or are there any work-around? Thanks a lot.
    Regards,
    Dominik Vogelbacher

    Hi,
    I hope this link will use for SAP Workflows in defferent systems but nothing about connecting Workflow with GP.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60559952-ff62-2910-49a5-b4fb8e94f167
    Thanks and Regards,
    Prabhakar Dharmala

Maybe you are looking for

  • Can you change a group of PO's for the same Service Receipt Approver?

    When a Manager leaves/moves teams, we run a report via SQ01 to find out which PO's are still open, and manually go into each and change the Service Receipt Approver tot he new Manager's ID. This is to ensure workflow works correctly for approving the

  • New to Crystal reports and need help with formula

    Post Author: dausa CA Forum: Formula I will try to keep this short and sweet. Data comes from excel sheet and I am doing a outter left join. The need: IF the status is S or N, then i want it to sum the qty required for each part number. my formula lo

  • I can't figure out why my ipad is saying it's full but I have just purchased storage on the cloud

    Not sure what I am doing wrong here. I am not able to take pic or vids on ipad as it's saying it's full but I have purchased storage on the cloud and set it up as directed on the website Can anyone help me figure out what I need to do please Thanks

  • Default User Permissions in CCM 5.1

    It seems that CCM 5 user creation has a new step from 4.1.3 It may have been default in 4 but does not appear to be in 5.1.2. Is there any way to set the user permissions to Standard CCM End User group by default. Furthermore is there a way to set th

  • Joining of two internal tables...... urgent.

    Dear all experts, I am going to join two internal tables, one table contains some fields from mara and another table contains some fields from makt. i have to join these tables without using for all entries. below is program mentioned... I am not get