Problem with chage leave request

Hi Experts,
                  In ESS leave request application is working fine. But the customer's requirement is that while changing leave request employee should able to change only Leave start and end dates. He should not able to change leave type . So is this requirement is possible in SAP.
Please give me suggestions ASAP.
Thanks
Sameer

Hi Sameer
Yes. It can be achieved by changing the webdynpro code.
Project: ess/lea
Component Controller: VcFormEdit
View Controller: EditView
Steps:
1. Add a Value Attribute, of type 'boolean', to EditView's Context (eg: ReadOnlyLeaveType).
2. Assign this attribute to the 'readOnly' property of 'Type of Leave' dropdown (id = awartDropDownField) on the EditView's Layout.
3. Now to change the value of the above attribute, according to the requirement needed, add relevant code inside 'wdModifyView()' method from the EditView's Implementation.
Following is a code sample added to restrict user from changing the Leave Type ONLY for the approved leaves:
String status = wdContext.currentPrepare_Ex_RequestElement().getStatus_Text();
if (status.equals("Approved")) {
     wdContext.currentContextElement().setReadOnlyLeaveType(true);
} else {
     wdContext.currentContextElement().setReadOnlyLeaveType(false);
This should answer your question.

Similar Messages

  • Problem with ESS Leave Request Workflow

    We had configured ESS Leave request, which is working fine with Leave request approval.
    1)     Cancellation of Leave Request using the workflow WS12400005.  
                                  Workflow is not getting triggered when we try to delete the leave request.
    2)     Quota Overview
    While displaying the Casual Leaves (CL) I need to deduct the Paternity leaves (PL) also.
         Remaining CLu2019s = quota CLu2019s u2013 ( used CLu2019s + used PLu2019s).

    hi kishore. how did you resolve the issue of workflow not being triggered?

  • Problem using workflow with ess leave requests

    Hello, I have been experiencing some problems using wf for approval with leave request in ess.
    I customized ws12300111 for request approval and it is working fine. But when we try to cancel a request in ess, there are strange things happening:
    - If the request is in status sent: the workflow gets in error.
    - If the request is already in db: it starts a new workflow (ws12300111).
    We don't want this because we have customized ws12300111 only for new requests. I have tried to customize absences in SPRO so that onlu new requests start the WS12300111, Onlu new requests have the workflow field filled with 12300111, but even like that, the WS12300111 starts whenever that is a cancelling or modification of a request.
    I have also tried using a different workflow for canceliing (WS12400007), but in this case there is an error in ess when we try to submit.
    This is really annoying, I have tried everything...

    Hello,
    "If the request is in status sent: the workflow gets in error."
    Please always say what the error is.
    " If the request is already in db: it starts a new workflow (ws12300111"
    You first have to find out how this is done. Look in SWEL, it's probably via some sort of CHANGED event.
    regards
    Rick Bakker
    hanabi technology

  • Problem in navigating Leave request.

    HI All,
    My leave request application is working fine after approving leave ,The page is shouing me a link that says "Approve another leave" when I click the link its not taking me anywhere.
    Please help me on this as quickly as possible.
    NOTE: My JCOs  both metadata JCOs and simple once are having connection type as SSO.
    I think meta data JCOs shld be of user/ID password type or the other way around.
    Please help me to figure out the problem.
    Point will be awarded accordingly.

    Hey sid,
    I dont have any development environment like NWDS and all where I can make the changes and upload it.....
    Is thare any other way......
    One more interesting observation when I click on the link " Approve another leave " though it doesnt take me back to approve another link, but when I right clivk on the portal page and take the link from properties(Normal windows right click and properties) I get a URL link ,when I post this link in explorer guess what its giving me that page to approve another leave so can we solve the problem without getting into touch the codes as I dont have development environment.
    Look fwd to ur reply.
    Thanks in adv.

  • Problem with Non JSF Request to JSF Page

    Hi All,
    I am working on dynamic controls generation based on the request come from non jsf page
    For the first request, pageworks perfectly. but when we go for second request, it is not rendering and I am getting same old page.
    What I have identified is if I have 2 pages as JSF, application is not giving any problem.
    For this I have written small test application contains both JSF pages only.
    page1 contains 3 submit buttons.
    When submit buttons are clicked based on the request, I get, am able to see the dynamic controls.
    SO there is no problem with JSF PAGE to JSF Page Communication
    Now I have done some changes in First JSF page. Instead of submitting directly I am submitting the page through JavaScript which is nonb JSF request. There I am facing the problem and based on requested qaction I am not able to see correct rendered page based on the requested action.
    Any Idea why it is giving problem for non JSF requests??
    Thanks
    Sudhakar

    For Your Convenience in understanding the problem
    I am pasting entire test code
    Page 1 -- (here page2 is Page1 and Page1 is page2 - some naming convention errors :) )
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <jsp:text><![CDATA[
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ]]></jsp:text>
        <f:view>
            <html lang="en-US" xml:lang="en-US">
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>Page2 Title</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                    <h:form binding="#{Page2.form1}" id="form1">
    <!-- Non JSF REquests -->
                        <h:commandButton action="#{Page2.button1_action}" binding="#{Page2.button1}" id="button1" style="left: 48px; top: 48px; position: absolute" value="Submit" onclick="document.forms['form1'].action='faces/Page2.jsp?id=1'; document.forms['form1'].submit(); return false;"/>
                        <h:commandButton action="#{Page2.button2_action}" binding="#{Page2.button2}" id="button2" style="left: 48px; top: 96px; position: absolute" value="Submit" onclick="document.forms['form1'].action='faces/Page2.jsp?id=2'; document.forms['form1'].submit(); return false;"/>
                        <h:commandButton action="#{Page2.button3_action}" binding="#{Page2.button3}" id="button3" style="left: 48px; top: 144px; position: absolute" value="Submit" onclick="document.forms['form1'].action='faces/Page2.jsp?id=3'; document.forms['form1'].submit(); return false;"/>
    <!-- this  is JSF request -->
                        <!--
                        <h:commandButton action="#{Page2.button1_action}" binding="#{Page2.button1}" id="button1" style="left: 48px; top: 48px; position: absolute" value="Submit" />
                        <h:commandButton action="#{Page2.button2_action}" binding="#{Page2.button2}" id="button2" style="left: 48px; top: 96px; position: absolute" value="Submit" />
                        <h:commandButton action="#{Page2.button3_action}" binding="#{Page2.button3}" id="button3" style="left: 48px; top: 144px; position: absolute" value="Submit" />-->
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>Page1 Bean
    * Page2.java
    * Created on June 25, 2005, 11:08 AM
    * Copyright user
    package webapplication8;
    import javax.faces.*;
    import com.sun.jsfcl.app.*;
    import javax.faces.component.html.*;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    public class Page2 extends AbstractPageBean {
        // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
        private int __placeholder;
        private HtmlForm form1 = new HtmlForm();
        public HtmlForm getForm1() {
            return form1;
        public void setForm1(HtmlForm hf) {
            this.form1 = hf;
        private HtmlCommandButton button1 = new HtmlCommandButton();
        public HtmlCommandButton getButton1() {
            return button1;
        public void setButton1(HtmlCommandButton hcb) {
            this.button1 = hcb;
        private HtmlCommandButton button2 = new HtmlCommandButton();
        public HtmlCommandButton getButton2() {
            return button2;
        public void setButton2(HtmlCommandButton hcb) {
            this.button2 = hcb;
        private HtmlCommandButton button3 = new HtmlCommandButton();
        public HtmlCommandButton getButton3() {
            return button3;
        public void setButton3(HtmlCommandButton hcb) {
            this.button3 = hcb;
        // </editor-fold>
        public Page2() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
            } catch (Exception e) {
                log("Page2 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
        protected webapplication8.ApplicationBean1 getApplicationBean1() {
            return (webapplication8.ApplicationBean1)getBean("ApplicationBean1");
        protected webapplication8.SessionBean1 getSessionBean1() {
            return (webapplication8.SessionBean1)getBean("SessionBean1");
         * Bean cleanup.
        protected void afterRenderResponse() {
        public String button1_action()  throws Exception{
            // TODO Following code was replaced by static navigation
           getSessionBean1().setId(1);       
          /* ExternalContext ctx=(ExternalContext)FacesContext.getCurrentInstance().getExternalContext();
           HttpServletRequest req=(HttpServletRequest)ctx.getRequest();
           HttpServletResponse res=(HttpServletResponse)ctx.getResponse();
           res.sendRedirect("http://localhost:18080/webapplication8/faces/Page2.jsp");
           return null;*/
            return "case1";
        public String button2_action()  throws Exception{
            // TODO Following code was replaced by static navigation
                getSessionBean1().setId(2);
          /*  ExternalContext ctx=(ExternalContext)FacesContext.getCurrentInstance().getExternalContext();
           HttpServletRequest req=(HttpServletRequest)ctx.getRequest();
           HttpServletResponse res=(HttpServletResponse)ctx.getResponse();
           res.sendRedirect("http://localhost:18080/webapplication8/faces/Page2.jsp");
           return null;*/
            return "case2";
        public String button3_action() throws Exception{
            // TODO Following code was replaced by static navigation
                getSessionBean1().setId(3);
            /*    ExternalContext ctx=(ExternalContext)FacesContext.getCurrentInstance().getExternalContext();
           HttpServletRequest req=(HttpServletRequest)ctx.getRequest();
           HttpServletResponse res=(HttpServletResponse)ctx.getResponse();
           res.sendRedirect("http://localhost:18080/webapplication8/faces/Page2.jsp");
            return null;*/
            return "case3";
    }page 2
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <jsp:text><![CDATA[
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ]]></jsp:text>
        <f:view>
            <html lang="en-US" xml:lang="en-US">
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>Page1 Title</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                    <h:form binding="#{Page1.form1}" id="form1">
                        <h:panelGrid binding="#{Page1.gridPanel1}" id="gridPanel1" style="left: 96px; top: 48px; position: absolute"/>
                        <f:selectItems binding="#{Page1.radioButtonList1SelectItems1}" id="radioButtonList1SelectItems1"/>
                        <h:commandButton action="#{Page1.button1_action}" binding="#{Page1.button1}" id="button1"
                            style="left: 384px; top: 120px; position: absolute" value="Submit"/>
                        <h:commandButton action="#{Page1.button1_action}" binding="#{Page1.button1}" id="button1" style="left: 384px; top: 72px; position: absolute" value="Submit"/>
                        <h:outputLink binding="#{Page1.hyperlink1}" id="hyperlink1" style="left: 480px; top: 216px; position: absolute" value="http://www.sun.com/jscreator">
                            <h:outputText binding="#{Page1.hyperlink1Text}" id="hyperlink1Text" value="Hyperlink"/>
                        </h:outputLink>
                        <h:commandLink binding="#{Page1.linkAction1}" id="linkAction1" style="left: 456px; top: 264px; position: absolute">
                            <h:outputText binding="#{Page1.linkAction1Text}" id="linkAction1Text" value="Link Action"/>
                        </h:commandLink>
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>page2 bean
    * Page1.java
    * Created on June 25, 2005, 10:52 AM
    * Copyright user
    package webapplication8;
    import javax.faces.*;
    import com.sun.jsfcl.app.*;
    import com.sun.jsfcl.data.DefaultSelectItemsArray;
    import java.util.Vector;
    import javax.faces.component.UIComponent;
    import javax.faces.component.UISelectItems;
    import javax.faces.component.html.*;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import javax.faces.el.ValueBinding;
    import javax.faces.model.SelectItem;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class Page1 extends AbstractPageBean {
        // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
        private int __placeholder;
        private HtmlForm form1 = new HtmlForm();
        public HtmlForm getForm1() {
            return form1;
        public void setForm1(HtmlForm hf) {
            this.form1 = hf;
        private HtmlPanelGrid gridPanel1 = new HtmlPanelGrid();
        public HtmlPanelGrid getGridPanel1() {
            return gridPanel1;
        public void setGridPanel1(HtmlPanelGrid hpg) {
            this.gridPanel1 = hpg;
        private HtmlCommandButton button1 = new HtmlCommandButton();
        public HtmlCommandButton getButton1() {
            return button1;
        public void setButton1(HtmlCommandButton hcb) {
            this.button1 = hcb;
        private HtmlOutputLink hyperlink1 = new HtmlOutputLink();
        public HtmlOutputLink getHyperlink1() {
            return hyperlink1;
        public void setHyperlink1(HtmlOutputLink hol) {
            this.hyperlink1 = hol;
        private HtmlOutputText hyperlink1Text = new HtmlOutputText();
        public HtmlOutputText getHyperlink1Text() {
            return hyperlink1Text;
        public void setHyperlink1Text(HtmlOutputText hot) {
            this.hyperlink1Text = hot;
        private HtmlCommandLink linkAction1 = new HtmlCommandLink();
        public HtmlCommandLink getLinkAction1() {
            return linkAction1;
        public void setLinkAction1(HtmlCommandLink hcl) {
            this.linkAction1 = hcl;
        private HtmlOutputText linkAction1Text = new HtmlOutputText();
        public HtmlOutputText getLinkAction1Text() {
            return linkAction1Text;
        public void setLinkAction1Text(HtmlOutputText hot) {
            this.linkAction1Text = hot;
        // </editor-fold>
        public Page1() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
                ExternalContext ctx=(ExternalContext)FacesContext.getCurrentInstance().getExternalContext();
                HttpServletRequest req=(HttpServletRequest)ctx.getRequest();
                HttpServletResponse res=(HttpServletResponse)ctx.getResponse();
                String id=req.getParameter("id");
                if(id!=null)
                    getSessionBean1().setId(Integer.parseInt(id));
                if (getSessionBean1().getId()==1) {
                    addTextBox();
                else if (getSessionBean1().getId()==2) {
                    addCheckBox();
                    addRadio();
                else if (getSessionBean1().getId()==3) {
                    addRadio();
                   // addCheckBox();
            } catch (Exception e) {
                log("Page1 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
        protected webapplication8.ApplicationBean1 getApplicationBean1() {
            return (webapplication8.ApplicationBean1)getBean("ApplicationBean1");
        protected webapplication8.SessionBean1 getSessionBean1() {
            return (webapplication8.SessionBean1)getBean("SessionBean1");
         * Bean cleanup.
        protected void afterRenderResponse() {
        private void addRadio() {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue("Some Desc");
            outputText.setId("somedesc2");
            HtmlSelectOneRadio checkBox = new HtmlSelectOneRadio();
            checkBox.setBorder(0);
            checkBox.setLayout("pageDirection");
            checkBox.setId("a3");
            UISelectItems items = new UISelectItems();
            DefaultSelectItemsArray objArray =new DefaultSelectItemsArray();
            vectDefaultSelectItemsArray.add(objArray);
            arrays=(DefaultSelectItemsArray[])vectDefaultSelectItemsArray.toArray(new DefaultSelectItemsArray[vectDefaultSelectItemsArray.size()]);
            int size =arrays.length;
            arrays[size - 1].clear();
            for (int i =0;i<10;i++) {
                arrays[size - 1].add(new SelectItem(""+i+"",""+i));
            // array.setItems(new String[] {"Yes","No" });
            items.setValueBinding("value",getValueBinding("#{Page1.arrays["+(size-1)+"]}"));
            checkBox.getChildren().add(items);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(checkBox);
            parent.getChildren().add(gridPanel);
        private void addCheckBox() {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue("Some Desc");
            outputText.setId("somedesc1");
            HtmlSelectManyCheckbox checkBox = new HtmlSelectManyCheckbox();
            checkBox.setBorder(0);
            checkBox.setLayout("pageDirection");
            checkBox.setId("a2");
            UISelectItems items = new UISelectItems();
            DefaultSelectItemsArray objArray =new DefaultSelectItemsArray();
            vectDefaultSelectItemsArray.add(objArray);
            arrays=(DefaultSelectItemsArray[])vectDefaultSelectItemsArray.toArray(new DefaultSelectItemsArray[vectDefaultSelectItemsArray.size()]);
            int size =arrays.length;
            arrays[size - 1].clear();
            for (int i =0;i<10;i++) {
                arrays[size - 1].add(new SelectItem(""+i+"",""+i));
            // array.setItems(new String[] {"Yes","No" });
            items.setValueBinding("value",getValueBinding("#{Page1.arrays["+(size-1)+"]}"));
            checkBox.getChildren().add(items);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(checkBox);
            parent.getChildren().add(gridPanel);
        private void addTextBox() {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue("Some Description for Control Text Box");
            outputText.setId("somedesc");
            HtmlInputText textField = new HtmlInputText();
            //  textField.setId("textField_"+control.getId());
            textField.setId("a1");
            HtmlOutputText outputText1 = new HtmlOutputText();
            hyperlink1Text.setValue(" ");
            hyperlink1Text.setStyleClass("bodyText");
            textField.setStyleClass("frmObjects");
            gridPanel.setColumns(3);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(hyperlink1Text);
            gridPanel.getChildren().add(textField);
            parent.getChildren().add(gridPanel);
        private DefaultSelectItemsArray array = new DefaultSelectItemsArray();
        public DefaultSelectItemsArray getArray() {
            return array;
        public void setArray(DefaultSelectItemsArray dsia) {
            this.array = dsia;
        private Vector vectDefaultSelectItemsArray = new Vector();
        private DefaultSelectItemsArray[] arrays = new DefaultSelectItemsArray[10];
        public DefaultSelectItemsArray[] getArrays() {
            return arrays;
        public void setArrays(DefaultSelectItemsArray[]dsia) {
            this.arrays = dsia;
        private UISelectItems radioButtonList1SelectItems1 = new UISelectItems();
        public UISelectItems getRadioButtonList1SelectItems1() {
            return radioButtonList1SelectItems1;
        public void setRadioButtonList1SelectItems1(UISelectItems uisi) {
            this.radioButtonList1SelectItems1 = uisi;
        private ValueBinding getValueBinding(String expression) {
            return     FacesContext.getCurrentInstance().getApplication().createValueBinding(expression);
        public String button1_action() {
            // TODO Replace with your code
            return "case1";
    }my navigation.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
                                  "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
        <navigation-rule>
            <from-view-id>/Page2.jsp</from-view-id>
            <navigation-case>
                <from-outcome>case1</from-outcome>
                <to-view-id>/Page1.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-outcome>case2</from-outcome>
                <to-view-id>/Page1.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-outcome>case3</from-outcome>
                <to-view-id>/Page1.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>
        <navigation-rule>
            <from-view-id>/Page1.jsp</from-view-id>
            <navigation-case>
                <from-outcome>case1</from-outcome>
                <to-view-id>/Page2.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>
    </faces-config>my managed beans xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
                                  "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
        <managed-bean>
            <managed-bean-name>Page1</managed-bean-name>
            <managed-bean-class>webapplication8.Page1</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <managed-bean>
            <managed-bean-name>SessionBean1</managed-bean-name>
            <managed-bean-class>webapplication8.SessionBean1</managed-bean-class>
            <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>
        <managed-bean>
            <managed-bean-name>ApplicationBean1</managed-bean-name>
            <managed-bean-class>webapplication8.ApplicationBean1</managed-bean-class>
            <managed-bean-scope>application</managed-bean-scope>
        </managed-bean>
        <managed-bean>
            <managed-bean-name>Page2</managed-bean-name>
            <managed-bean-class>webapplication8.Page2</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <managed-bean>
    </faces-config>

  • Issue with ESS Leave request workflow - Deleting a leave request

    Hi friends,
      This is my scenario: An employee has created a leave request from ESS - Leave Request Workflow(Copy of  WS12300111) gets triggered and work item gets created in manager's UWL. After that the employee realizes he has created a wrong leave request so he deletes that leave request from ESS. In this case the workflow instance which got triggered when he created the leave request is under process and the work item stays in the Manager's UWL( there is no terminating event or wait for event step in the approval step of workflow WS12300111), when the Manger opens that work item it shows a blank column, ideally speaking when the leave request is deleted by the employee the work item in the manger's UWL should be logically deleted and the workflow should complete, but this part is not handled in the standard workflow WS12300111as well. How to handle this case. I can put a wait for event or a condition to complete a work item at the approval step but i would like to know how the standard ESS leave request framework works in this case. Please advice.

    Hi sapient
      This is not handled in std. You have clear the next processor in your in method then only the work item will get vanished from the UWL.  For clearting the next processor either you can create a method in your BOR and get the request id. For the request id get the max version and clear the next processor or in the BADI you have wirte your own logic when the change happens what you have to do. This logic has to be written in you BADI.  I thing BADI will start with PT_ check with that name in se18
       You cannot use wait for event or terminating event since its not R/3 workflow its ESS workflow you cannot use ternminating event or wait step.
    Regards
    vijay

  • Blackberry Tour Facebook problem with confirming "Friend requests"

    Until yesterday, my Facebook app worked perfectly on my Blackberry Tour.  As of yesterday, I get an error when I try to "confirm" a "Friend request."  I took out my battery and restarted, but the problem persists.  Any advice is appreciated.  Thanks in advance.
    Solved!
    Go to Solution.

    Likely server problems, not a problem with your FB app or device.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problems with delete overlapping requests from InfoCube in PC

    Hi guys,
    Iu2019m using delete overlapping requests from InfoCube in Process Chains, but Iu2019m not being able to adjust it to my specific requirement.
    For example:
    I execute DTP to load InfoCube XPTO with Fiscal Year 2008 and 2009. After this I have to load again, but only for 2009.
    In this specific example I want my process chain to delete the 2009 data from my first load, because it is overlapped, and leave 2008 data.
    Is this possible? If yes how?
    Thanks in advance
    Jão Arvanas

    It will not work that way.
    It will look if the selections are same then it wil delete if not then it will not do that activity.
    Overlapping settings which you might chosen is based on the delete overlapping for the same selections..
    So in this case the selections are different and hence its not possible.
    Thanks
    Murali

  • Problem with the transport request

    A request was released to Prod.
    In D and Q the request is success but in P it shows one error..
    so, we tried to create a new request and copy the objects from the old one.
    but v r gettiing the objects not below the task(in req) but below the req..
    so it is not possible for me to release it.
    I also tried to edit the code , but when i saved it it is not asking for a new request. is it bcoz old req is released to P?

    Hi,
    In production system, it is showing an error in the logs while transporting : Generation of Programs and Screen and return an error code 8. there are no repositary objects to transport. this is just simple code modification. In Quality and Dev system, transportation was done successfully with out causing any problem.
    So, we tried to create a new transport request by editing the code in development.however it is not asking for the new transport request number while saving or activating.
    Also, we tried to create a new TR manually using SE09 and placing the modified objects under the task. but, transport request and task number are getting created at a time and while assigning the objects, the objects are under the request not under the task.the objects should be under the task only.
    this is the problem what exactly we are getting. Please clarify..
    Thansk!!!

  • Problem with "Create Transport Request"

    Hi all,
    Iu2019m working with Solution Manager and Charm. I have a problem when I create a transport request.
    After that I put regular correction into status u201CIn developmentu201D I choose u201CCreate Transport Requestu201D from the menu but the system display the message u201CThe last action triggered is locked in the task listu201D  . Is it a problem of authorization in satellite system? The user that I use to create a transport request have sap_all profile in the satellite system. What settings do I have to use in satellite system and in solution manager?
    Thank in advance
    giovanni

    Make sure that the profile S_TMW_IMPORT and S_TMW_CREATE has the correction authorizations assigned and that it is assigned to the user TMSADM of client 000 of your satellite system.
    Note 807228 can be useful.
    Hope this helps,
    Roel

  • Problem with Profile-Update-Request

    I have a problem when I Try to use the profile update request.
    First, I can use the "User-Data-Request" without problems. I use this sentences:
    ->String docSel="sh://sip:[email protected]/IMSPublicIdentity/";
    ->Document doc = psvc.getDocument(docSel);
    But, when I Try to add a new line to modify the document (I send the same document witohout changes it):
    ->psvc.putDocument(docSel, doc)
    I receive this exception:
    java.lang.IllegalArgumentException: Access key invalid for request at com.bea.wcp.diameter.sh.ShSession.createRequest(ShSession.java:40)
    at com.bea.wcp.diameter.sh.ShSession.createPUR (ShSession.java:26)
    at com.bea.wcp.diameter.sh.ShApplication.putDocument(ShApplication.java:147)
    at com.bea.wcp.diameter.sh.WlssShApplication.putDocument(WlssShApplication.java:79)
    at com.bea.wcp.profile.ShProviderDirect.putDocument(ShProviderDirect.java:63)
    at com.bea.wcp.profile.ShProviderCached.putDocument(ShProviderCached.java:65)
    at com.bea.wcp.sip.engine.WlssProfileService.putDocument(WlssProfileService.java:320)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3217)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1984)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1891)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181).
    Whats it's the problem?I think that I´m using the correct sentences to
    send the profile, and I don´t know why receive this exception.
    ´Thanks, david.

    I try to use RepositoryData and I obtain an exception too, but it´s different. In this case is:
    ####<13-feb-2008 16H09' CET> <Error> <Kernel> <CANASD-HP> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1202915357551> <BEA-000802> <ExecuteRequest failed
    java.lang.NullPointerException: .
    java.lang.NullPointerException:
         at com.bea.wcp.diameter.Request.sendAnswer(Request.java:197)
         at com.bea.wcp.diameter.Answer.commit(Answer.java:125)
         at com.bea.wcp.diameter.Session.sndMessage(Session.java:232)
         at com.bea.wcp.diameter.Answer.send(Answer.java:118)
         at com.bea.wcp.diameter.Transaction$1.run(Transaction.java:165)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181).
    For the HSS I´m using a simulator called FHoSS. Do you know that this simulator work well with WLSS?
    Thanks.

  • SOAP Receiver: Problem with SOAP Multipart Request (wsdl:part)

    Dear PI experts,
    our partner provided a WSDL with the following definition (I modified it to keep it simple and showing the principles)
       <wsdl:message name="nameOfMessage">
          <wsdl:part element="part1" name="header" />
          <wsdl:part element="part2" name="parameters" />
          <wsdl:part element="part3" name="attachment" />
       </wsdl:message>
    After importing this WSDL in ESR, I found the following definition on tab 'WSDL':
             <xsd:complexType name="nameOfMessage">
                <xsd:sequence>
                   <xsd:element name="header" type="authentication" />
                   <xsd:element name="parameters" type="businessDatal" />
                   <xsd:element name="attachment" type="Binary" />
                </xsd:sequence>
             </xsd:complexType>
    When creating the request message in PI it looks as follows:
    <nameOfMessage>
    <header/>
    <parameters/>
    <attachment/>
    </nameOfMessage>
    However our WebService provider expects the following:
    <soap:env>
    <authentication/>
    <parameters/>
    <attachment/>
    </soap:env>
    When using SoapUI and importing the WSDL the request message looks as expected by the web service provider and the part names are resolved.
    I could try to convert the request using XSLT but this does not seem to be a best practice approach.
    Do you have any advice on how to handle this issue?
    Thank you very much.

    Hi Florian,
    I modified some WS to be handled by another systems, and sometimes, when the SOAP adapter is involved, you send a Request to PI (that has NOT the same structure, than the declared in the MM) but it takes the req. anyway.
    Did you try sending a request?
      Juan.

  • Problem with rescheduled meeting request from a LotusNotes user. How can I get it to process on my iPad/iCloud account?

    When I receive an original meeting request from a LotusNotes user, I can select the .ics attachment and it gives me an option to "add to calendar" which will place it on my calendar. However, when I receive a rescheduled meeting notification, I get an email with the .ics attachment but it does nothing when I try to select it from the email. There is no "add to calendar" or anything. How can I get the reschedule information to make the appropriate changes in my iPad/iCloud calendar?
    I have tried from my iPad email and from my online iCloud interface and neither seems to work.

    iBooks only syncs purchased books. Others must be synced in iTunes.

  • Is there a problem with too many request attributes

    I am fairly new to jsps and this is a best practices question
    I find that adding request attributes to my jsp is easy way to get data referenced in the jsp. Is this a bad practice and what is the ideal way to pass data to the jsp?
    Thanks.

    Putting attributes into the request scope if perfectly fine.
    If there are a lot of attributes though, grouping them into beans and just setting one bean in the request scope would be better.
    eg if you wanted to display a users details on screen, you COULD do
    request.setAttribute("username", user.getUserName());
    request.setAttribute("usercountry", user.getCountry());
    OR
    request.setAttribute("user", user);
    and on your JSP page
    <jsp:useBean id="user" ... />
    <%= user.getUserName() %>
    or with EL ${user.userName}
    Cheers,
    evnafets

  • Problem in Multiple Leave Requests in UWL

    Hi Experts,
         Please give your valuable comments on the following scenario :
         If an employee has applied for a leave for a day in ESS, say 11/06/2014 To 11/06/2014 then it is getting reflected in his approver's work list for approval. Now the employee has applied for another leave say 12/06/2014 To 12/06/2014 then this is getting reflected on his approver's work list on the top of the list. When the approver clicks on the leave applied first (ie. 11/06/2014 To 11/06/2014) the pop-up opens to either approve or reject the leave and on pressing the next button on top of this pop-up the second leave applied is getting reflected. Everything was fine uptill now.
         Now if the approver clicks on the second leave (ie. 12/06/2014 To 12/06/2014) which was on the top of the list, the leave which was applied earlier is displayed in the pop-up instead of the leave on which the approver has clicked. Now he has to click on the next button, which is on the top of the pop-up to look for the leave (ie. 12/06/2014 To 12/06/2014) on which he has clicked.
         Please advice what should be done to bring that leave onto the pop-up (for approval) on which the approver clicks, instead of the oldest leave pending for approval.
    Thanks in advance.

    implement the notes
    1600953
    1773641
    1946640

Maybe you are looking for

  • IPod Video; how to use it...

    I have absolutely no idea how to put videos on my iPod. What format is needed? Then do I just add a file to my library? etc.etc.

  • Sharing files between users - GETTING STRESSED!!!!

    Hi guys, I'm getting REALLY annoyed with Leopard - I have two users on the same iMac, all I want to do is share EVERYTHING without any passwords getting in the way. Now when I empty the trash on my OWN desktop it asks for a password, when I add photo

  • IWork Updates - What Is Apple's History?

    I purchased iWork '06 too late to be eligible for any of Apple's upgrades before iWork '08 was released. Has the company historically issued updates in response to concerns such as those appearing in this discussion? Or does it wait a couple of years

  • 'network connection error' in NSU

    Hello all! when im trying to update my n80`s firmware using nsu i receive an error 'network connection interrupted,check your connection or firewall' (maybe inaccurate translation, sorry for my english ), but i have fast and stable internet connectio

  • Aperture support for RAW Nikon D600.

    Just bought the latest Nikon D600 and when loading RAW images, I'm getting a "Format not supported" error.  It reads the JPEG just fine but not the RAW.  I also have a Nikon D3S and it reads the RAW images just fine.  I'm currently on Aperture V3.2.