User Decision step- Upon reject, auto-popup text for reason

In a user decision step, when the user clicks the reject button, open text for rejection reason within the workitem.
i have done the following
1) Create a new step
2) Create a task based on SOFM.CREATE
3) Binded  WIOBJECT_ID => (append table) ADHOCOBJECTS
It works fine, when the user clicks the reject button a new work item with the reason for rejection lands in the user inbox, which when clicked brings up the doc.
I want to make it seamless for the user where as soon as the reject button is clicked, the document <b>should open right away</b> without a new work item in the inbox
Any help will be greatly appreciated

Hi
If you are using the portal/UWL then search the blogs for a solution otherwise give this a try, in your step definition for the 2 steps, go to the Details tab and tick 'Advance with dialog', this will work if you execute from the business workplace.
Good Luck!
Ravi

Similar Messages

  • Solutions for User Decision step- Upon reject, auto-popup text for reason

    Execute user Decision workitem, when user click reject button, open text for rejection reason within the workitem.
    Ideally, for the auto-pop text , we need a descriptive header and user can enter reject reason. Text must be added before the workitem can be saved.
    Any thoughts.
    Thanks a lot.

    yes, on the SOFM.Create-Task use a dataflow from the WIOBJECT_ID => (append table) ADHOCOBJECTS
    This will popuplate this rejection to the hyperlink-section of the workflow.
    You may also activate the outcome-even "user-cancelled" in the workflow definition (or by copying the coding to your own method that could do it) and loop around back to the user decision if he cancels the document create (which I found out is sometimes a problem for the users).
    I also have made the experience that it is quite the same effort and more convenient if you design a complete user-driven screen. Then you have full control of that issue. I always use a small dialog box with a textEdit-Control where the users have to enter their rejection reason.
    I then create my own ZWFNOTE-Object and append this to the ADHOCOBJECT. This usually works very fine.
    with kind regards,
       Florin

  • User Decision step in BPM

    Hi,
    I have requirement.PI is reading data from source and after transformation sending one mail to approver .If Approver approves it then messgae will be sent to target system.For approval and rejection ,I am using user decision step in BPM.
    My question is if approver approves reqest in 15 days ,then what will happen in SXMB_MONI,Will the message got failed?

    PI should not be used for such scenarios.
    The User Decision step in BPM is merely thought for PI admins, if a message should retried or skipped. Not for end-users.
    Create a Wokflow in ECC or similar.

  • User decision step execution from UWL

    Hi,
         I copied the standard user decision step and added my own text in that task. My requirement is i have to  execute that step from UWL . i need to configure this task in SWFVISU, so that it will appear in UWL.  My question is what  are the parameters i need to maintain in swfvisu TXn . because this is not a webdynpro application or Bsp Application.

    Please check this SAP help [document|http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/b7047434d91578e10000000a114a6b/content.htm]
    In SWFVISU the two mandatory parameters that you need to consider are
    APPLICATION -
    >  <application name>
    PAGE_ID     -
    > page1.htm/ default.htm.
    <ItemType name="uwl.task.webflow.TS<XXXXXXXX>.SAP_ECC" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchBSP" executionMode="default">
          <ItemTypeCriteria systemId="SAP_ECC" externalType="<XXXXXXXX>." connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchBSP" groupAction="" handler="SAPBSPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="CustomerNamespace" value="sap"/>
                <Property name="Namespace" value="sap"/>
                <Property name="Application" value="<app_name>"/>
                <Property name="PageId" value="page1.htm"/>  " case senitive
                <Property name="System" value="${item.systemId}"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>

  • Tcode in user decision step

    Dear experts,
    I have a user decision step. Before the approver can approve or reject the workitem i need to show a tocde screen to him. Say for example CN25. My workitem will be generated only after initiator makes changes in that tcode. I want approver who gets the workitem to see CN25 tcode screen and then only make decision. Is there any possibility to attach or bring a tcode screen in user decision step.

    Dear Hemalatha,
    Thanks a lot for your reply.
    You can direct;y use the Object which is used to trigger the workflow. Then you can bind this object to get that tcode as
    attachment in decision task.
    This is exactly my requirement. In my BO i have a standard method "display" to display the Tcode. I want to know how should i do the binding from BO's method to user decision task so that i can display a link as attachment of user decision step, by clicking which user can see the display screen.

  • Attachment in WORKFLOW user decision step

    Hi all,
    My requirement is to display a link in user decision step.
    When link is clicked, control should navigate to MM02 transaction.
    Also in following user decision step i need to provide link for smart form in user decision.
    Can anybody please guide in detail .
    Thanks.
    Edited by: Sanjay_lnt on Sep 26, 2010 1:14 PM
    Edited by: Sanjay_lnt on Sep 26, 2010 1:15 PM

    Closed.

  • Note in user decision step

    Dear Experts,
    I have requirement to add a note in user decision step to allow the user to enter comments while approving or rejecting workitem in UWL. I have enabled the note using XML file. I read that this comments will be captured in workflow container element attachobjects. My requirement is to send the comments entered by approver to initiator via mail. Please let me know how to capture the comments from UWL note to send mail step.
    Br,
    Bharath

    Hi Rick,
    Thanks for your reply.
    I have got the attachments in container element attachobjects. Can you please tell me how to get the text entered by the user from this step because currently I have SOFM instance in hand. I am not sure how to convert this to some form and extract the user comments alone. Are there any FM that can help to do this.
    Br,
    Bharath

  • Can we display custom error message in user decision step screen.

    Hi,
    My requirement is to display error message when approver selects reject button in user decision step.
    based on some condition i need to display error message in user decision screen when approver tries to
    reject .
    Please help
    Thanks,
    Phani

    Hi ibrahim,
    Thanks for your Replay.
    steps
    1. cretae global class with interface  IF_SWF_IFS_WORKITEM_EXIT.
    2. cretae Event with importing parameter.
    where i need to call EVENT_RAISED method ,do inned to call that method in
    IF_SWF_IFS_WORKITEM_EXIT ?
    how  SWRCO_EVENT_AFTER_EXECUTION value is passed to method EVENT_RAISED ?
    Thanks,
    phani

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

  • SOFM in user decision step - provide reason in UWL

    Hello Everyone,
    I'm working with a customer who wants to use a user decision step and add a reason for the rejection only.  This step will be executed in UWL - since UWL doesn't support syncrhonous dialog chains, it can't be implemented by adding another step with SOFM.  I have seen the 'template with attachment' in the user decision step, and have tried binding SOFM to the Reference in the container, but the user doesn't have the option.
    Perhaps this could be implemented with a secondard amodal method - which checks the user decision code and only implements if the decision was rejected.  I'd like to be able to put a condition on the secondary methods.
    If you've done something like this, please let me know!
    Regards
    Ginger

    Hi Ginger,
    Unfortunately it is not only synchronous dialog chains, but also secondary methods that are not supported in the UWL, so you're stuck both ways.
    Though, I have been told that the latest SP does support some kind of advance with dialog functionality (SP15 I think?).
    At one customer we used a custom ABAP-based decision step which executed in a wingui session - thus synchronous dialog chains worked as long as every subsequent step was wingui based (which SOFM.CREATE obviously is) - worked quite well.
    Let me know if you need more info.
    Cheers,
    Mike

  • Error Handling in workitem---user decision step

    HI Experts,
    I have created work item through user decision step. In that decision i have given Approve & Reject Option
    now when user click on Approve that i need to do some validation based on this i need to give error also at same time i dont want to complete that workflow...i want that after getting error user must recity that error and than come back again to inbox and execute that workitem... I tried it but i am not able to do this...can anybody pls provide the hint for this requirement.
    Thanks & Regards,
    Taran

    Hi Pavan,
    I am confused i your third point.
    . In the Approved branch of the Decision step check for the condition , if it fails then raise the exception.that you have define in the Point 1. in the exception branch insert the logic so that the condition becomes true, after that step insert one more decision step.
    how i 'll raise the raise the exception do i need to create and task or any other step.
    also can you please explain below point in detail.
    in the exception branch insert the logic so that the condition becomes true, after that step insert one more decision step.
    also i am working into SAP CRM 2007 web UI environment.
    Please advice.
    Thanks,
    Taran

  • "You can also" link in UWL work item when using user decision step in workflow

    Hi,
    Just want to check if anybody has tried adding links to this section in the UWL when using user decision step? I need to pass some custom links which will be calling some webdynpro applications and backend transactions. I have read somewhere that Ineed to modify the XML file but don' t know how the next steps once I have defined (i.e. how to handle those links).
    Thanks in advance.
    Rammel

    Hi Rammel
    I hope you are keeping well and many thanks for using the SAP Discussion Forums .
    Based upon your scenario you mentioned that:
    You want to add links to the "You Can Also" section in the UWL with user decision steps
    In an effort to pass custom links (calling web dynpro) applications.
    You wish to know how to modify the XML
    Ok now based upon the scenario there are two key points regarding XML files and efforts to change them.
    Remember that XML in terms of the UWL follow the notion of precedence. Now that means that once you make a change to an XML file you need to re-upload it to realize changes. To re-upload an XML file and realized changes you need to do so with a "High" or "Very High" priority and also ensure that the UWL Cache has been cleared of the UWL Service restarted so changes can be realized.
    The second key point is to ensure that you backup all current XML files before making any changes so you can easily revert those changes if required.
    Now reverting back to your query, the XML files and the "You Can Also" section. Kindly see the documentation outlined below as here you are going to make changes to the I-View configuration:
    Configuring the UWL
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45?overridelayout=t…
    UWL Content Configuration
    UWL Content Configuration - Configuring the Universal Worklist - SAP Library
    Kindly update me as per your findings.
    Kind Regards & All The Best
    Troy - Enterprise Portal Support Engineer

  • User Decision step type

    Hi,
    I have developed a WF for 'Notification of Absence'. In this, a leave request is sent for approval.
    When the leave request is Rejected, the creator has to make a decision (User Decision step type used) as to 'Withdraw' or 'Update' the request. But in the inbox of the creator, there is no option for "Withdraw' and 'Update'. What could be the reason for this? Am i missing something?
    Thank you for your time.
    Ajay

    Hi AD,
    are you trying to process anything else after the Decision Step in your WF definition ?
    If yes, then what are you trying to process after it
    If no, then try what JMB said, GUI problem, I doubt that but you can try as you need to resolve it.
    Did you try removing the buffer ?
    Hope it helps.
    Aditya

  • User Decision step in UWL

    Hi,
    I have a 3 user decision steps in my Customised workflow which uses the task TS00008267. Each task has different decison text and outcome. When this is executed through UWl the outcome does not appear as they are in SBWP.
    Does this need and Portal Configuration?
    Thanks & Regards

    Hi,
    There are two thing you need to do.
    First, you need to configure the SWFVISU.
    Run Tcode SWFVISU.
    here, select "Task Visualization' and maintain your standard task ( TS ) with ABAP web dynpro option.
    Now selct your entry and click on Visualization Parameters as mentopn below.
    APPLICATION ( WD application name )
    DYNPARAM
    NAMESPACE
    SYSTEM_ALIAS
    Second, ask Portal team to chagne the XML code for the above standard task and application ( i.e. WD appilcation which will be launced on clicking the task ).
    From the next run of the workflow, WD applcitoon will be lauched from the protal.
    for the old workitem this will not work.
    Note : If u do not configure SWFVISU then WD application will not lauch but user will get SAP gui screen for processing it.
    xlm code must be changed corresponding task for both case.
    Thanks and ragards,
    SNJY

  • Description changes not reflecting in User Decision step

    Hi,
    I am displaying the ECM (cc01) description in the workflow user decision step. In this user decision step I do have three options
        1. Changes completed (to move the ECM to next level)
        2. Edit ECM (Calls ECM n change mode CC02)
        3. Cance (standard)
    If I choose Edit ECM, and change the description in the ECM and come back to the user decision step, it still shows the older description some cases. In some cases I am getting the updated description in user decision step. In Edit ECM step I am using Z method which is the copy the standard BO method Edit_synchron of ECM to call the transaction CC02.
    Z method does not contain any importing or exporting parameters. Also in the workflow<->Task binding I bound ECM <-> _WF_Object_ID.
    Thanks,
    Muruganantham

    2 case:
    1.) Description not changing: How the description get populated in user decision step ? Is it some varibale get populated based on select query ?
    2.) Description get changed: Please check the new workflow instance get created and you can only see changed text in new instance. Already triggered workflow will not show the changed value.
    Please check the worklow design, whether its creating new workflow instance on every change in ECM ?
    BR,
    Prakash

Maybe you are looking for

  • SGA/PGA best practice

    With an XE limitation of 1GB for the PGA and SGA, how would one best preserve this limitation? In other words, how would one minimise the PGA and SGA usage via ones interface with Oracle? For instance, in a SQL query I was building I could either (Th

  • Release Stratergy in PR

    hi, Even though the PR is not approved the user want to create RFQ for that PR.But SAP wouldn't allow to do it. an error message was displayed. Is there any user exit to process the RFQ with out the approval of PR. Thanks!

  • Submenu in jsp ...urgent!!!pls help

    hi all i want to create a submenu called "AddPosition" under the Position tab .i.e tab3 . can any pls give me exact code . below is my code.Its urgent . Thanks. <% String tab = (String)request.getAttribute("t"); String subTab = (String)request.getAtt

  • Firefox cannot establish connection to server 127.0.0.1:1234

    I want to open my bank's security and it says that firefox cannot establish connection to server 127.0.0.1:1234

  • B2B/JMS Performance Tuning

    Hello All, We have a use-case in which an SOAP message will be received by OSB proxy service. The 3 step process is described below: 1. OSB will extract EDIFACT message from request and write it to the SOA JMS queue IE012_IN_Queue. 2. B2B listeneing