SAP Portal UWL - User decision note not showing up...

I have configured the UWL to force a rejection note. However, this is not working. i.e. Rejecting works successfully (without the note).
UWL configuration is as below.
  <ItemType executionMode="default" defaultAction="viewDetail" defaultView="PurchaseOrdersView" connector="WebFlowConnector" name="uwl.task.webflow.decision.TS99900008">
      <ItemTypeCriteria connector="WebFlowConnector" externalType="TS99900008" />
      <Actions>
        <Action name="approved" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
          <Properties>
            <Property name="UserDecisionNote" value="true" />
            <Property name="decisionKey" value="0001" />
            <Property name="UserDecisionTitle" value="Enter a Rejection Reason" />
          </Properties>
          <Descriptions default="Approved" />
        </Action>
        <Action name="rejected" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
          <Properties>
            <Property name="UserDecisionNote" value="mandatory" />
            <Property name="decisionKey" value="0002" />
          </Properties>
          <Descriptions default="Rejected" />
        </Action>
      </Actions>
    </ItemType>
The UWL support information indicates that the correct view and itemtype (and configuration) is being used. However, one concern is that the "Supported actions for this item" does not show the - approved, rejected - actions from the above custom UWL XML.
Any pointers would be greatly appreciated. We are on version 7.0.
The complete UWL XML custom configuration file is as below.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
  >
<UWLConfiguration version="1.0">
  <ItemTypes>
    <ItemType executionMode="default" defaultAction="viewDetail" defaultView="PurchaseOrdersView" connector="WebFlowConnector" name="uwl.task.webflow.decision.TS99900008">
      <ItemTypeCriteria connector="WebFlowConnector" externalType="TS99900008" />
      <Actions>
        <Action name="approved" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
          <Properties>
            <Property name="UserDecisionNote" value="true" />
            <Property name="decisionKey" value="0001" />
            <Property name="UserDecisionTitle" value="Enter a Rejection Reason" />
          </Properties>
          <Descriptions default="Approved" />
        </Action>
        <Action name="rejected" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
          <Properties>
            <Property name="UserDecisionNote" value="mandatory" />
            <Property name="decisionKey" value="0002" />
          </Properties>
          <Descriptions default="Rejected" />
        </Action>
      </Actions>
    </ItemType>
    <ItemType executionMode="default" defaultAction="viewDetail" defaultView="PurchaseOrdersView" connector="WebFlowConnector" name="uwl.task.webflow.decision.TS99900011">
      <ItemTypeCriteria connector="WebFlowConnector" externalType="TS99900011" />
    </ItemType>
    <ItemType executionMode="default" defaultAction="viewDetail" defaultView="PurchaseOrdersView" connector="WebFlowConnector" name="uwl.task.webflow.decision.TS99900013">
      <ItemTypeCriteria connector="WebFlowConnector" externalType="TS99900013" />
    </ItemType>
  </ItemTypes>
  <Views>
    <View name="PurchaseOrdersView" referenceBundle="tasks" actionRef="" actionPosition="bottom" dynamicCreationAllowed="yes" displayOnlyDefinedAttributes="yes" emphasizedItems="new" dueDateWarning="259200000" dueDateSevere="86400000" refresh="300" tableNavigationType="CUSTOMNAV" tableNavigationFooterVisible="yes" queryRange="undefined" headerVisible="no" visibleRowCount="10" tableDesign="STANDARD" sortby="priority:descend, dueDate:ascend, createdDate:descend" columnOrder="subject, isEscalated, creatorId, createdDate, priority, attachmentCount, dueDate, status" supportedItemTypes="uwl.task.webflow.decision.TS99900008,uwl.task.webflow.decision.TS99900011,uwl.task.webflow.decision.TS99900013" width="98%" selectionMode="SINGLESELECT">
      <DisplayAttributes>
        <DisplayAttribute name="priority" referenceBundle="priority" headerVisible="yes" width="10" maxTextWidth="0" vAlign="BASELINE" hAlign="LEFT" format="default" sortable="yes" type="string">
          <Menu>
            <MenuItem name="Low" referenceBundle="menu_priority_low" actionRef="priorityLow" />
            <MenuItem name="Normal" referenceBundle="menu_priority_normal" actionRef="priorityNormal" />
            <MenuItem name="High" referenceBundle="menu_priority_high" actionRef="priorityHigh" />
            <MenuItem name="VeryHigh" referenceBundle="menu_priority_v_high" actionRef="priorityVeryHigh" />
          </Menu>
        </DisplayAttribute>
      </DisplayAttributes>
    </View>
  </Views>
  <NavigationNode name="root" view="" referenceGroup="" visible="yes" keepItemCountUpdated="no">
    <NavigationNode name="Main" view="" referenceGroup="" visible="yes" keepItemCountUpdated="no">
      <NavigationNode name="PurchaseOrder" view="PurchaseOrdersView" referenceGroup="" visible="yes" keepItemCountUpdated="no" referenceBundle="tasks">
        <Descriptions default="PurchaseOrder">
          <ShortDescriptions>
            <Description Language="en" Description="Purchase Order" />
          </ShortDescriptions>
        </Descriptions>
      </NavigationNode>
    </NavigationNode>
  </NavigationNode>
</UWLConfiguration>

Attaching the UWL XML file
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
  >
<UWLConfiguration version="1.0">
  <ItemTypes>
    <ItemType executionMode="default" defaultAction="viewDetail" defaultView="PurchaseOrdersView" connector="WebFlowConnector" name="uwl.task.webflow.decision.TS99900008">
      <ItemTypeCriteria connector="WebFlowConnector" externalType="TS99900008" />
      <Actions>
        <Action name="approved" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
          <Properties>
            <Property name="UserDecisionNote" value="true" />
            <Property name="decisionKey" value="0001" />
            <Property name="UserDecisionTitle" value="Enter a Rejection Reason" />
          </Properties>
          <Descriptions default="Approved" />
        </Action>
        <Action name="rejected" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
          <Properties>
            <Property name="UserDecisionNote" value="mandatory" />
            <Property name="decisionKey" value="0002" />
          </Properties>
          <Descriptions default="Rejected" />
        </Action>
      </Actions>
    </ItemType>
    <ItemType executionMode="default" defaultAction="viewDetail" defaultView="PurchaseOrdersView" connector="WebFlowConnector" name="uwl.task.webflow.decision.TS99900011">
      <ItemTypeCriteria connector="WebFlowConnector" externalType="TS99900011" />
    </ItemType>
    <ItemType executionMode="default" defaultAction="viewDetail" defaultView="PurchaseOrdersView" connector="WebFlowConnector" name="uwl.task.webflow.decision.TS99900013">
      <ItemTypeCriteria connector="WebFlowConnector" externalType="TS99900013" />
    </ItemType>
  </ItemTypes>
  <Views>
    <View name="PurchaseOrdersView" referenceBundle="tasks" actionRef="" actionPosition="bottom" dynamicCreationAllowed="yes" displayOnlyDefinedAttributes="yes" emphasizedItems="new" dueDateWarning="259200000" dueDateSevere="86400000" refresh="300" tableNavigationType="CUSTOMNAV" tableNavigationFooterVisible="yes" queryRange="undefined" headerVisible="no" visibleRowCount="10" tableDesign="STANDARD" sortby="priority:descend, dueDate:ascend, createdDate:descend" columnOrder="subject, isEscalated, creatorId, createdDate, priority, attachmentCount, dueDate, status" supportedItemTypes="uwl.task.webflow.decision.TS99900008,uwl.task.webflow.decision.TS99900011,uwl.task.webflow.decision.TS99900013" width="98%" selectionMode="SINGLESELECT">
      <DisplayAttributes>
        <DisplayAttribute name="priority" referenceBundle="priority" headerVisible="yes" width="10" maxTextWidth="0" vAlign="BASELINE" hAlign="LEFT" format="default" sortable="yes" type="string">
          <Menu>
            <MenuItem name="Low" referenceBundle="menu_priority_low" actionRef="priorityLow" />
            <MenuItem name="Normal" referenceBundle="menu_priority_normal" actionRef="priorityNormal" />
            <MenuItem name="High" referenceBundle="menu_priority_high" actionRef="priorityHigh" />
            <MenuItem name="VeryHigh" referenceBundle="menu_priority_v_high" actionRef="priorityVeryHigh" />
          </Menu>
        </DisplayAttribute>
      </DisplayAttributes>
    </View>
  </Views>
  <NavigationNode name="root" view="" referenceGroup="" visible="yes" keepItemCountUpdated="no">
    <NavigationNode name="Main" view="" referenceGroup="" visible="yes" keepItemCountUpdated="no">
      <NavigationNode name="PurchaseOrder" view="PurchaseOrdersView" referenceGroup="" visible="yes" keepItemCountUpdated="no" referenceBundle="tasks">
        <Descriptions default="PurchaseOrder">
          <ShortDescriptions>
            <Description Language="en" Description="Purchase Order" />
          </ShortDescriptions>
        </Descriptions>
      </NavigationNode>
    </NavigationNode>
  </NavigationNode>
</UWLConfiguration>

Similar Messages

  • UWL - Default buttons on User decision with note

    Hello!!
    I have configured a decision item from a decision task to set the user decision with note.
    My decision task has 2 decision options (accept is"Validar gasto" and reject is "Devolver gasto para correccion"), but when an item for this task comes, only is displayed two buttons with the text "Decision".
    This is the configuration file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
      >
    <UWLConfiguration version="1.0">
      <ItemTypes>
        <ItemType name="uwl.task.webflow.decision.TS99701053.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
          <ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType="TS99701053" connector="WebFlowConnector"/>
           <Actions>
            <Action name="accept" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" referenceBundle="Validar_gasto">
              <Properties>
                <Property name="decisionKey" value="1"/>
                <Property name="UserDecisionNote" value="true"/>
              </Properties>
              <Descriptions default="Aceptar"/>     
             </Action>
            <Action name="reject" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" referenceBundle="Devolver_gasto_para_correccion">
              <Properties>     
                <Property name="decisionKey" value="2"/>
                <Property name="UserDecisionNote" value="mandatory"/>
              </Properties>
              <Descriptions default="Rechazar"/>
             </Action>
           </Actions>
        </ItemType>
      </ItemTypes>
    </UWLConfiguration>
    Somebody knows how can I change the text of the buttons?
    Is very urgent, please.
    Helpful answers will be rewarded.
    Thanks and regards,
    Manuel.

    I think what Karri means (or should mean ,-) is that there could be a translation issue here - and I agree with that. The texts are most likely generated in the language of the user who creates the work item. If this is not Spanish (I assume that's your logon and development language) you will not get the correct texts. So you will either need to change the logon language of the user, or translate the workflow's texts. I would recommend translation, because you never know when someone might log on in a different language than the system default. It has been known to happen.

  • How to access Sap portal login user in ejb web service

    Hi,
    I wnt to access SAP Portal login user in my ejb application which resides on the same server.
    I am using following code
    try {
         IUser user =null;                         IWDClientUser wdUser = WDClientUser.getCurrentUser();
                                  user = wdUser.getSAPUser();
                             } catch (WDUMException e) {
                                  // TODO Auto-generated catch block
                                  e.printStackTrace();
    Some additional jar files are required for this?
    The same code works fine with webDynpro but not with ejb.
    Thanks in advance     
    Best regards,
    Nilesh

    Thanks for reply.
    I have already added com.sap.security.api in my EJB module project classpath. How to add the same in EJB application Project (application-j2ee-engine.xml)?
    Best regards,
    Nilesh

  • Link in User Decision step not showing correctly in UWL

    Hi SAP Experts,
    I have a requirement to add a link in a user decision step, this link triggers a custom webdynpro for additional input. When I access the workitem from Business Workplace, the link is showing fine. But when I execute the workitem in UWL, the link is not displayed, instead the code is shown (<a>...</a>). Please advise on what I should do to have the link working. Thanks in advance.

    Hi,
    This same thing was just recently discussed. I just cannot find the thread anymore (well, in that thread there was not really any solution). Basically the hyperlinks in work item do not seem to work in UWL as they should. I don't know if there are any way to make them work. My suggestion is to not use the hyperlink at all and replace that with an action (=button) to the task in the UWL. This can be achieve quite easily by simple XML configuration in portal. If you have worked with UWL this should be quite straightforward for you, or if there is a consultant at the site, who is familiar with UWL, this should be simple for him/her.
    Regards,
    Karri

  • HREF in user decision task not working in UWL?

    Hi All,
    We're on ECC6 and portal version 7.01 SP4.
    My problem is that I have defined a link in the body of a user decision task like so..
    <A HREF="http://www.google.ie/" target=_blank> GOOGLE </A>
    and while in appears as a link in the task in the UWL, clicking it does nothing. When I check the properties of the link, I see that it's actually javascript:void(0);, so hence it doing nothing.
    Can anyone give me any guidance on how to get a link working in a user decision task in the UWL?
    Thanks in advance,
    Liz.

    Hi Patrick,
    Thanks for the respnse, I've since figured out that what I was trying to do was not possible.  I have impleneted a workaround myself, where I just added an extra button action in the UWL.
    Many thanks,
    Liz.

  • User decision activity not going to the agents(Position Maintained).

    Hi All,
    I assigned a specific Position in the agent field of  the user decision activity. But after assigning, the decisiion step is not going to the expected agent but it getting executed by the WF-BATCH user.
    I have checked the same in the Tcode : PO13 and the corresponding user is the only one maintained for that position.
    Kindly guide what can be the possible reasons. Is there any thing i am missing.
    Thanks,
    Neslin.

    Thanks.Yes.Latest start and latest end are already maintained and there is a Rule when the latest start missed also.  kindly let me know how i can avoid this also..
    How to check whether the position is maintained to the SAP user id?.I have seen the user maintained under the position in Tcode PO13..
    The deadline is calculated 4 days after sydatum.
    One more thing the Workitem got reserved by the WF-batch and executed by WF-batch.
    Edited by: neslin on Jul 28, 2009 7:49 AM

  • User Decision with Note - Where are comments stored?

    We are interested in using the "UserDecisionNote" property in our XML file for a User Decision workitem.  (This allows a comments text box when a user clicks accept/reject for example)
    How and where are these commens stored?  As an attachment?
    Thanks,
    Matt

    Sorry, I should have stated what our goals were.  We currently capture comments with an activity step right after a user decision step.  This happens as an immediate popup/dialog because of synchronous dialog chains in SBWP.  We may then put the comments in a subsequent email step, subsequent workitem text, or custom table. 
    You cannot do synchronous dialog in Universal Worklist.  So, we were investigating UserDecisionWithNote property of XML file for task.  However, it appears the comments are stored as an attachment and not passed as text back to Task/WF (which I'm hoping someone on this forum can confirm).  If they cannot be passed back as text and are indeed stored as an attachment, then in theory we need a way to get the comments out of the attachment.   I'm not aware if anything allows us to parse attachments, etc.
    Matt

  • User decision option not seen to approver

    We have a user decision in our workflow template. We have decision option Select approver ,Sent back to AP ,Cancel . When some users execute the this task they were shown as decision decision and cancel. decision option text is not shown to them. This is happenng for few users only. not for all users. Please suggest what can be done to solve this issue

    Yaa Martin is right please check the Translations has been maintained for the Logon language in which the user is logging in. You can check the table entries of SWDSTEXT.
    Thanks
    Arghadip

  • Objects and Attachments in User Decision Step not possible

    Hi all,
    I have designed a workflow where during the 1st step(Archivelink image display) I am able to display archived image, and in the inbox for the first workitem I can see the Objects and Attachments link related to the image.
    But my second workflow step(is userdecision dialog), I would like to see the same archived image link as the in the previous workitem under Objects and Attachments.(I dont want to create a new attachement)
    Can somebody tell me how can I accomplish this task.
    Thnks
    Yogi

    Hello,
    what you need todo is to use a container binding from the single step task from the 1st step where you bind the image object to the workflow container.
    Then in the user decision task you create a container element which refers to the image object. Then use a binding to 'send' the object from the workflow container to the task container.
    Kind regards,
    Peter

  • SAP Mailbox in user decision scenario

    I am using user decision step in BPM.In BPM ,steps are receive -> user decision(first branch is having send step,scd branch triggering alert).Whenever message comes in PI,alert will goto SAP mailbox for approval via user deceiosn step.I hve created alert category in ALRTCATDEF psecified mail title and content.In sap mailbox ,title of mail is user deceiosn1 and no content in email.Please tell me how to  get content in sap mailbox mail

    You can check what are the changes that are done from Changedocument tables like CDHDR and CDPOS
    Please make sure to put filter such that the rollback change does not trigger new Workflow. You can achieve this using SWB_COND by maintaining start condition.
    Thanks
    Arghadip

  • SAP Business WORKFLOW User Decision Rejection Rollback.

    Dear SAP experts.
    Please help on below Query:
    1) In my Custom workflow , we are mailing to a user with user decision on change of some SAP data.( material master, source list, PO change).
    2) In A User Decision there are 2 Options:
    APPROVE Changes.
    REJECT     Changes.
    3) As per CLIENT's Requirment if REJECT changes is chosen then all SAP chanegs that were done to TRIGGER this WORKFLOW should be Rolled back and UNDONE.
    4) is this Possible?
    5) Please guide me with some Example or Logic to accompalish this task...
    Thanks to reply.
    (Used for SAP learning only)

    You can check what are the changes that are done from Changedocument tables like CDHDR and CDPOS
    Please make sure to put filter such that the rollback change does not trigger new Workflow. You can achieve this using SWB_COND by maintaining start condition.
    Thanks
    Arghadip

  • Sap portal new users anonymous2

    Hello everyone
    I do not know if it is the right forum
    SAP portal I want to create a new user anonymous2 and do these steps :
    User Administrator->Identtity Management ->Create User :
    Logon ID:anonymous2
    Disable password
    In Tab Assigned Groups add Everyone e Anonymous Users
    The error is when I add Anonymous Users and save me from this error:
    The user has no authorization for the allocation of entities. Launch a new search based on the amount allocated in order to display the correct status
    Help me please

    Captain,
    Could you please explain that what kind of user you want to create.
    Thanks,
    Hamendra

  • User export does not export all users....

    Hi all,
    EP60 SP2 P4 HF8. Datasource is Database.
    I'm exporting all users via the Export/Import iview in the User Administration role. However, the export file only shows part of all the users, not all. SAP Note 801393 descibes this problem exactly, but the proposed solution does not work either.
    Any ideas?
    Kind regards
    Marcel Rabe

    Hi,
    I've got the same issue.
    When using the export function from the portal, the user list is not complete.
    The stream seems to be cut off when too many users need to be exported(Length/size issue)?
    Did someone find a solution?
    Thx,
    Regards,
    Steve Rymenants

  • PO display through Portal UWL....

    Hi,
          In R3-SAP inbox User can able to approve and see the PO throught workitem attachement are working fine.
    In Portal UWL user can able to approve the PO.But not able to see the PO.The Attachments is not showing in UWL.
    Same case for PR also.
    Is any configuration is required for get the same...
    Thanks,
    Arun.

    Hi Nibedita
    I hope you are well and many thanks for using the SAP Discussion Forums .
    Regarding the scenario that you have described and the attachments not showing in the UWL.
    Is this particular issue occuring in all web browser platform types?
    ** Reference Documentation **
    SAP Note: 701641 - Problems opening Adobe acrobat .pdf file in IE browser.
    SAP Note: 1146711 - Problem opening PDF files
    This message may be relevant to Adobe settings, you can find the thread in Adobe forum. http://forums.adobe.com/thread/795375"
    To make sure whether it is a change delivered by SAP note, we need to know the settings in Adobe does not block it. "Edit > Preferences > Trust Manager > Internet Access from PDF Files outside the web browser > Change Settings". Selet the radio button "Allow PDF files to acess all websites" and please try the URL again in confirmation letter.
    Secondly could you please perform the following steps as a further means of analysis to see if you are able to open attachements:
    Access the Portal using a direct link url
    Navigate to the following -> content administration -> portal content -> content provided by SAP -> end user content -> standard portal users -> iviews -> com.sap.netweaver.bc.uwl.iviews -> Universal Worklist right click it and then choose "preview", then in newly launched IE window, please also try to open .docx / PDF file etc to see if you are able to open it? Or you will see blank page again?
    ** Reference Documentation **
    - SAP Note: 1493393 - UWL attachments need to be clicked twice to download
    - SAP Note: 1471285 - Office 2007 Attachments cannot be opened from UWL
    - SAP Note:1173659 - UWL configuration
    - SAP Note 1786312 - Attachments list not updated when cache is off
    - SAP Note 1763444 - UWL attachment update causes an SQLException
    - SAP Note 1750738 - Attachments not visible in UWL Preview area
    - SAP Note 1675969 - UWL is not displaying attachments
    - SAP Note 1786312   Attachments list not updated when cache is off
    Kindly update me as per your findings.
    I greatly appreciate your time and patience and I look forward to recieving your reply.
    Kind Regards
    Troy Cronin - Enterprise Portal Support Engineer

  • BI portal VS  SAP portal

    Hello,
    We are thinking about implementing the BI 7.0 and publishing some reports with it in Portal. Question is should we use the BI portal or SAP EP portal?  We are already having SAP EP 7.0 installed and BI portal (with BI) is also installed.
    For performance reason -- we should use the BI portal for report  and links these reports  in main SAP portal so user has one single point of to see the report from SAP EP.
    My thoughts on performance on single source of (main) portal for BI and all the other stuff on main Portal  should not be an issue because all the work for querying the reports will be done in BI server, Portal is only show the reports ? is this assumption is correct?
    If we have two portal, as system admin we have to maintain two different portals, 
    What be the best approach (pro and cons) using the BI Portal VS SAP Portal?
    Please advice.
    Fareed

    I  answered my own question ,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/a8cd1f71-0a01-0010-4783-f119b6132d25?rid=/library/uuid/a5067965-0901-0010-6f8a-bbf0b7424283#q-1
    This is very nice link and answered all my concerns.
    Thanks
    Fareed

Maybe you are looking for