Variable in User Decision Description

I am displaying the 4 variables with their Names & values in the User Decision description. ( Copied the stnd task and played around ).
Now if the variable has value then only we need to display its corresponding decription.
For this i have done like IF &V1& IS NOT INITIAL.
                                              User Name = &v1&.
                                      ENDIF.
But i am displaying the User Name even the &V1& is not set.

Hello,
Try removing everything else (save it, of course) and just getting that one statement to work.
It could be a missing ENDIF elsewhere.
Also try:
IF NOT &V1& = ''   (no space between the single quotes)
and
IF NOT &V1& = ' '  (one space between the single quotes)
Also, in the task description there is no need for a period after the IF statement and the ENDIF. Try without.
When you get the solution, please say what it was.
regards
Rick Bakker
Hanabi Technology

Similar Messages

  • 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

  • User Decision & Form

    With a requirement, it is required to display a lot of information in the 'User Decision' ( in the area of Task Description). This means, this description will have to be displayed to help the user know the information about the document which he will require to approve.
    As there are huge amount of information to be displayed in here - so I may not be able to use the task description (may be messy, and if a new field is to be added they might have to change the task description).
    Question is? How to design a program & its module pool screen to be added to user decision in order to show the screen in the 'User Decision' description. I know by using the function module I will be able to show the logo's. (I see a program & screen option in the same tab).
    If there are some examples - please share them too. Thanks

    There are different ways you can accomplish this. One way is to create a task that displays the data you want first (for example a task to call MB01). Insert this task before the user decision task. If both tasks have the same agent, the second task will immediately be displayed if the previous task has the "confirm end of processing" flag set.

  • Workflow user decision problem

    Hi experts!
    I've got a problem on using the user decision in workflow.
    i have a workflow with a user decision that has 3 user decision options (basketball, volleyball, and badminton)
    Here is the problem:
    After i selected one of them and flagged them as finished.
    I'd like to loop again with that user decision but the decision options now will be the remaining two and the other one will not be displayed
    ex:
    BEGINNING
      options:
         basketball (selected)
         volleyball
         badminton
    AFTER LOOP
      options:
         volleyball
         badminton
    Here's the question:
    <b> how will i do that? </b>
    i would like to make a workflow with using only one user decision. Based on my thinking i would come up with so many user decisions if i randomly select the decision options.
    Thanks in advance.
    <i>Points will be given for any answers that would come up with an idea..</i>

    There is an user exit for customizing our work items but I am afraid that will it be applicable to your requirement. I tried your scenario to pass variables to the user decision, but i failed. Experts please share your views. Is it possible to pass variables to user decisions using user exits?

  • 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

  • ABAP OO & Custom made user decisions...

    Hi,
    I've been playing with ABAP OO for a little while now, but  keep encountering the following problem. I tried to look for the answer here, but could find it.
    Often I make a copy of the standard user decision task TS00008267. Then I can create my own text in there. However, normally I can use an attribute of a BOR-object as a variable here via the 'Expression' button, but I can't use the attribute of a class here!
    I get the message: "Variable &ZEMPLOYEE.GET.NUMBER& exists in description text Task description, but does not exist in the container."
    Has anyone encountered this problem too and maybe has some tips for me? The workaround I use now is by defining container elements in the task for every variable I want to use and pass the value via the binding. This is not really desirable of course.
    Any tips of help are welcome!
    Regards,
    Erik

    Hi Erik,
    Is the attribute you want to use in the text a public one? I think it needs to be if you want to use it.
    Regards,
    Martin

  • Container Operation step in User Decision

    Hi,
    I have used one set container operation step in one of the user decision task. But it seems it is not working inside the user decision step.
    I have checked the SWI1 log as well, but it is bypassing it.(screen shot attached from Workflow and SWI1).
    Please sugegst that can we use container operation step inside the user decision task.
    SWI1 log as well ( Not setting the variabl)e
    Regads,
    Priyanka

    Hi,
    check if in the workflow definition you mention if this step should be shown in the log or not. Also make sure using the technical details option in the workflow log that indeed the container operation was executed or not.
    If everything seems correct, but still in execution it skips something, then your workflow definition might be corrupt, either fix it by deleting the step in development, saving it and then recreating it. Or if it was corrupted after transport you could try your luck with function module SWD_REPLICATE_FROM_9999.
    Kind regards, Rob Dielemans

  • Issue in User decision title in Email Notification

    Hi,
    We have used extended notification to send email notifications for PR, in User decision step I have used the decision title as "Purchase Requisition Decision for &". But when we schedule the SWN_SELSEN as a background job, in SOST email subject is not same as the User decision step title it is as "New work items in your Workflow inbox".
    Could you please let me know how to get the description same as User decision step.
    Thanks,
    Sriram.

    Hi Sriram,
    Please check General settigns of SWNCONFIG. Here check eliment 'SUBJECT_WF_INBOX'. Here its default value is NASWN070, which is nothing but the message of SWN class. Chcek Message No 70 of SWN class which states that ''New work items in your Workflow inbox'' which you are getting currently. Please provide your message instead of the standard one.
    Hope this will solve your problem.
    Regards,
    Smit

  • 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

  • Display attachments in SAP work list (at user decision) from portal.

    Hi Experts,
    How can we get the uploaded attachment form portal to SAP UWl .
    We have requirement like user wants to upload the travel expenses related documents (.PDF,.Txt or .doc files) in portal that attachments needs to available in approver inbox as link at user decision level.
    We have done the binding part and we are getting the attachment from first level to next level but unable to get the attachments uploaded in portal.
    I found one link but itu2019s not working.
    How to store Multiple Attachments in Workflow.
    SAP_WAPI_GET_ATTACHMENTS by using this function module I am getting only OBJECT_ID                                SOFM
    DESCRIPT                       Office Document
    SHORTTEXT                      Office Document
    Please help....good Rewards for useful answers ....
    Edited by: RameshG on Jan 12, 2011 7:04 PM

    Dear Ramesh,
    Need your help!
    While creating travel expense request from Enterprise Portal, travelers create few attachments [pdf/doc/xms/txt] and then save the travel expense reports.
    A workflow then gets triggered and this travel expense report reached the SAP Inboxes of the checkers [in the finance department].
    The issue here is that these checkers do not have access to enterprise portal and they expect to see the attachments [that the traveler has created via the portal] via corresponding work items in their SAP Inboxes u2013 which currently is not happening!
    I checked the trip transaction that got created [in the backend / in SAP] and found the u2018attachment listu2019 menu option in GOS being disabled [may be because there is not even one attachment that has come to the backend!]
    What needs to be done so that the attachments can even be viewed from the backend / from SAP Inbox?  Does this involve coding?
    Please suggest!
    Br,
    Hari

  • USER Decision step descrition

    Hi All,
    I have below requirement.
    1) In my workflow i have a user decision step
    2) I want to change the desctition of this step only in 'JA' language
    When i tried to make changes in the description of the standard task enclosed to this step i am getting below message
    "You are not maintaining object TS 90100328 in its original langugage English"
    I even tried to change the description of user decision step but it is not editable.
    Note: This issue i am getting only in ECC6.0. i can make changes in descrition of standard task in ECC4.7.
    Can you please help me & suggest me the solution for this issue.
    Best Regards,
    Deepa Kulkarni

    Please check below link
    <Removed by moderator. Please do not attempt to post blocked content!>
    Thanks
    Sanjay
    Edited by: Mike Pokraka on Feb 22, 2010 12:07 PM

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

  • Workflow: User Decision Activity doesn't work

    friends,
    URGENT!!!
    I've created a User Decision Activity but it doesn't work.
    It sends a message to SBWP but there the user hit APROVE  OR REJECT, and instead it work, it simply show another screen with only a button labelad "Cancel and keep work item in inblox".
    It simplily doesn't folow.
    I've created an method that executes a standard function 'EDITOR_TABLE' that call a screen to the user put a description text for the rejection. It's market 'Advance with dialog'.
    thanks
    Glauco
    Abap / Workflow Consultant
    msn: [email protected]

    Hi,
    Your patch level seems to be OK.
    pls. try the declaration as 'Data: uid like syst-uname' or you could try directly assigning the sy-uname.
    Try to debug and see the content of the sy-uname, when it hits this code.
    HTH,
    Regards,
    Nataraj.

  • User decision title reads: "Decision"

    Hi all,
    I am having a weird problem. I made  a custom user decision step so I could add some container elements in the description. This all works very nicely. But when the decision is executed the title at the top of the screen reads: "Decision" instead of the title of the work item which also uses some container elements. The title is shown correctly in the BWP. Does anybody know what I did wrong here? It is working correctly for another task I created similarly.
    I am on SAP ECC 6.0.
    Thanks in advance for the help!
    Gert.

    Hi Dheepak,
    thanks for the reply. You seem to be pointing in the right direction. Even though the bindings are all correct, the title comes up correctly in the BWP, there is a problem with them.
    The decision step is called inside a parallel part of the workflow and I am using a field from the table entry that this step is looping on. In debugging I now found that it breaks on this container element: &_LT_DIFFERENCES_LINE.FIELDNAME&. The problem is that the method that builds the title only has the main workflow's container and not the elements local to the parallel part, like LTDIFFERENCES_LINE. I have been thinking about a workaround but cannot not think of one that will work.
    I'll see if I can update the thread title to add this info.
    Thanks,
    Gert.

  • Remove optinos in user decision task dinamically

    Hi all,
    I have an user decision task wich have several options. I want to remove (or deactivate) some of these options dinamically or under some conditions...
    Do you know how can i do it?
    May be it's possible to do with a program exit but i don't find any method in the class for do that.
    Thanks in advance.

    Hi,
    Finally, I had to do it. I put the steps in case anyone is interested:
    - Create a Decision Task in workflow builder. Replace the Task used in Control tab by a custom one. You need to create a copy of the standard task 00008267. In my case I've created the task 99000001.
    - The FM to get the options and texts is SWU_GET_DECISION_TEXT_TITLE. We need to create an enhancement point at the end of this FM. I've created a method in a custom class to embed all my code:
    TRY.
      CALL METHOD zcl_im_wf_dec_task=>zz_mod_decision_task
        EXPORTING
          wiid             = wiid
        changing
          ct_decision_text = decision_text[].
    CATCH cx_root.
    ENDTRY.
    - This method has the following parameters:
    WIID                     TYPE SWW_WIID
    CT_DECISION_TEXT     TYPE ANY TABLE
    With the following code you can change the description of the options you want or delete some options dinamically:
    DATA: l_wi_handle  TYPE REF TO if_swf_run_wim_internal,
          lo_wi_dialog TYPE REF TO cl_swf_run_wim_dialog,
          lo_container TYPE REF TO if_swf_cnt_container,
          ls_wi_head   TYPE sww_wihead,
          lv_key       TYPE sww_wi2obj-instid,
          lv_bstyp     TYPE ebstyp.
    FIELD-SYMBOLS: <ls> TYPE ANY.
    * Obtain the header:
    TRY.
        CALL METHOD cl_swf_run_wim_factory=>find_by_wiid
          EXPORTING
            im_wiid     = wiid
          RECEIVING
            re_instance = l_wi_handle.
        lo_wi_dialog ?= l_wi_handle.
        ls_wi_head = lo_wi_dialog->if_swf_run_wim_internal~m_sww_wihead.
      CATCH cx_swf_run_wim .
      CATCH cx_root.
    ENDTRY.
    * Read the container (if you want...):
    TRY.
        CALL METHOD lo_wi_dialog->if_swf_run_wim_wfm~get_wi_container
          RECEIVING
            re_container = lo_container.
      CATCH cx_swf_run_wim .
    ENDTRY.
    * Read the Key:
    SELECT SINGLE instid INTO lv_key
    FROM sww_wi2obj
    WHERE top_wi_id EQ ls_wi_head-top_wi_id.
    * In this example is a workflow for PO;
    SELECT SINGLE bstyp INTO lv_bstyp
    FROM ekko WHERE ebeln EQ lv_key.
    * Depending on the Task;
    CASE ls_wi_head-wi_rh_task.
    *  Authorize  
      WHEN 'TS99000001'.
        LOOP AT ct_decision_text ASSIGNING <ls>.
    *       The first 4 characters are the number of the option.
    *       The following characters are the description.
    *       Delete an option;
          IF <ls>(4) EQ '0001' AND lv_bstyp EQ 'F'.
            DELETE ct_decision_text INDEX sy-tabix.
            CONTINUE.
          ENDIF.
    *       Change the description:
          IF <ls>(4) EQ '0002'.
            IF lv_bstyp EQ 'K'.
              <ls>+4 = 'Authorize'.
            ELSE.
              <ls>+4 = 'Continue with the process'.
            ENDIF.
          ENDIF.
        ENDLOOP.
    ENDCASE.

Maybe you are looking for

  • Disk Utility - Erase Free Space

    Hey Forum, I am using mac snow leopard on my macbook and I wanted to erase the free space on my hard drive, so is the zero-out free space enough, or do I need the 7-pass erase free space. I just wanted more disk space, thats it. So can anyone tell me

  • [SOLVED] Unbound refuses to start

    Hi, I've set up DNSCrypt and Unbound, as explained in the wiki. I've enabled systemd services both for DNSCrypt and Unbound and created configuration file, to have DNSCrypt started before Unbound. Here is my /etc/systemd/system/dnscrypt-proxy.service

  • Shot in 4:3 need to create in 16:9

    I've shot some material in 4:3, the client is going to buy a flat screen monitor for playback in his bakery, since most flat screens are 16:9 I would like to assemble the sequence to take advantage of the full width, an example might be putting the 4

  • Installing Oracle Forms on Linux

    Dear all, I'm trying to install Oracle Forms but stumbling upon its perquisites. My machine is Linux Slackware 13.0 64 and I've been trying to install Developer Suite but it failed since my Linux version is not supported. My question is: 1. Can I mod

  • Set max to music synchronization

    Hi, I let iTunes synchronize music to my iPhone, currently using 'automatically fill free space', because I don't want to select my music manually (it's way to much to fit it all to one iphone). Works like a charm but I would like to set a maximum to