UWL refresh problem for ABAP BOR custom attributes

Hi all,
we are facing an issue with an UWL iView. We wanted to display custom attributes from an ABAP Business Object (ABAP_BOR).
The feature is working but when an end-user receives a new task in his UWL view, he needs to click on the refresh button in order to have all the custom attributes correctly displayed.
We have only the problem with custom attributes, for the columns containing standard workflow decision task attributes, the data are displayed directly without the need to push the refresh button.
We are on EP 7 SPS11 and the back-end is an ECC6 version.
We have followed the methodology described in the How to configure and customize the Universal Worklist pdf document:
ABAP BOR
<CustomAttributeSource id="ABAP_BOR"
objectIdHolder="externalObjectId"
objectType="FORMABSENC"
cacheValidity="final">
<Attribute name="COSTCENTER" type="string"
displayName="Cost Center"></Attribute>
<Attribute name="FIRSTDAYOFABSENCE" type="date"
displayName="First day of absence"></Attribute>
<Attribute name="LASTDAYOFABSENCE" type="date"
displayName="Last day of absence"></Attribute>
</CustomAttributeSource>
Do you have an idea where this problem come from and how it could be solved?
Thanks in advance and regards,
Sébastien BODSON

Hi Chintan,
This parameter has no impact on the problem we face. I found an exact description of our problem on SAP Help portal, in the UWL pages:
CustomAttributes, CustomAttributeSource and Attribute
Extract from SAP Help portal:
Every item type can have custom attributes defined, which can be filled from Business Object or Provider Data Containers like the Business Workflow Container or the Alert Container. These attribute sources are defined within the CustomAttributeSourcetag, which contains information on which attribute connector brings the custom attributes, how to identify these custom attributes in the provider system and how long the cache is valid.
Note that once an item arrives, these custom attributes are retrieved in additional calls to the backend. For performance reasons, in order to minimize responses times to the end user, this may happen while the item is displayed to the end user - causing such attributes to be empty initially and only to appear in subsequent requests.
The display names of the attributes for column headers and labels are defined in the display attributes of the default view of the item type.
Does anyone know a workaround in order to have directly the complete information displayed?
Sébastien BODSON

Similar Messages

  • How to change the UWL refresh rate for all portal users.

    Hi Portal Experts,
    How to change the UWL refresh rate for all portal users?
    Users can individually change the refresh rate through "Personalise View" in UWL.But we want this to set it for all users(we have 10k portal users).
    It was defaultically set to 5 mins for all users.How to change this to 20 mins.
    Thanks
    Sony.

    1.      Launch the UWL iView configuration page.
    You can access the iView from the UWL administration pages (System Administration ® System Configuration). Navigate to the property editor as follows:
          From the Universal Worklist Systems, choose the system for which you want to edit the properties.
        Choose Edit.
    may be you can get clear help from below help file
    http://help.sap.com/saphelp_nw04s/helpdata/en/eb/101fa0a53244deb955f6f91929e400/frameset.htm
    regards
    nagaraju

  • JTable Refreshing problem for continuous data from socket

    Hi there,
    I am facing table refreshing problem. My table is filled with the data received from socket . The socket is receiving live data continuously. When ever data received by client socket, it notify table model to parse and refresh the data on specific row. The logic is working fine and data is refresh some time twice or some thrice, but then it seem like java table GUI is not refreshing. The data on client socket is continuously receiving but there is no refresh on table. I am confident on logic just because when ever I stop sending data from server, then client GUI refreshing it self with the data it received previous and buffered it.
    I have applied all the available solutions:
    i.e.
         - Used DefaultTableModel Class.
         - Created my own custem model class extend by AbstractTableModel.
         - Used SwingUtilities invokeLater and invokeAndWait methods.
         - Yield Stream Reader thread so, that GUI get time to refresh.
    Please if any one has any idea/solution for this issue, help me out.
    Here is the code.
    Custom Data Model Class
    package clients.tcp;
    import java.util.*;
    import javax.swing.table.*;
    import javax.swing.*;
    public class CustomModel extends DefaultTableModel implements Observer {
    /** Creates a new instance of CustomModel */
    public CustomModel() {
    //super(columnNames,25);
    String[] columnNames = {"Sno.","Symbol","BVol","Buy","Sale",
    "SVol","Last","..","...","Total Vol...",
    "..","High","..","Low","Change","Average","..."};
    super.setColumnIdentifiers(columnNames);
    super.setRowCount(25);
    /*This method called by client socket when ever it recived data as line/record*/
    public synchronized void update(Observable o, Object arg){
    collectData(arg.toString());
    /*This method used to parse, collect and notify table for new data arrival*/
    public synchronized void collectData(String rec){              
    String validSymbol="";
    System.out.println("collectDataRecord :-"+rec);
    StringTokenizer recToken=new StringTokenizer(rec," ");
    Vector rowVector=new Vector();
    for(int i=0;i<25;i++){
    validSymbol=(String)getValueAt(0,1);
    if(rec.indexOf(validSymbol) != -1){
    for(int j=0;recToken.hasMoreTokens();j++){
    super.setValueAt(recToken.nextToken(),i,j);
    //break;
    Client Socket Class
    package clients.tcp;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.swing.*;
    public class DataReceiver extends Observable implements Runnable{
    private Socket TCPConnection = null;
    private BufferedReader br = null;
    private String serverName = "Salahuddin";
    private int serverPort = 5555;
    public DataReceiver()
    public void setServerName(String name){
    this.serverName=name;
    public void setServerPort(int port){
    this.serverPort=port;
    //03-20-04 12:30pm Method to open TCP/IP connection
    public void openTCPConnection()
    try
    TCPConnection = new Socket(serverName, serverPort);
    br = new BufferedReader(new InputStreamReader(
    TCPConnection.getInputStream()));           
    System.out.println("Connection open now....");
    //System.out.println("value is: "+br.readLine());
    }catch (UnknownHostException e){
    System.err.println("Don't know about host: ");
    }catch (IOException e){
    System.err.println("Couldn't get I/O for "
    + "the connection to: ");
    //03-20-04 12:30pm Method to receive the records
    public String receiveData(){
    String rec = null;
    try
    rec = br.readLine();          
    catch(IOException ioe)
    System.out.println("Error is: "+ioe);
    ioe.printStackTrace(System.out);
    catch(Exception ex)
    System.out.println("Exception is: "+ex);
    ex.printStackTrace(System.out);
    return rec;     
    public void run()
    while(true)
    String str=null;
    str = receiveData();
    if(str != null)
    /*try{
    final String finalstr=str;
    Runnable updateTables = new Runnable() {
    public void run() { */
    notifyAllObservers(str);
    SwingUtilities.invokeAndWait(updateTables);
    }catch(Exception ex){
    ex.printStackTrace(System.out);
    System.out.println("Observer Notified...");*/
    try{
    Thread.sleep(200);
    }catch(Exception e){
    public synchronized void notifyAllObservers(String str){
    try{
    setChanged();
    notifyObservers(str);
    }catch(Exception e){
    e.printStackTrace(System.out);
    Regards,
    Salahuddin Munshi.

    use your code to post codes more easy to read, lyke this:
    package clients.tcp;
    import java.util.*;
    import javax.swing.table.*;
    import javax.swing.*;
    public class CustomModel extends DefaultTableModel implements Observer {
    /** Creates a new instance of CustomModel */
    public CustomModel() {
    //super(columnNames,25);
    String[] columnNames = {"Sno.","Symbol","BVol","Buy","Sale",
    "SVol","Last","..","...","Total Vol...",
    "..","High","..","Low","Change","Average","..."};
    super.setColumnIdentifiers(columnNames);
    super.setRowCount(25);
    /*This method called by client socket when ever it recived data as line/record*/
    public synchronized void update(Observable o, Object arg){
    collectData(arg.toString());
    /*This method used to parse, collect and notify table for new data arrival*/
    public synchronized void collectData(String rec){
    String validSymbol="";
    System.out.println("collectDataRecord :-"+rec);
    StringTokenizer recToken=new StringTokenizer(rec," ");
    Vector rowVector=new Vector();
    for(int i=0;i<25;i++){
    validSymbol=(String)getValueAt(0,1);
    if(rec.indexOf(validSymbol) != -1){
    for(int j=0;recToken.hasMoreTokens();j++){
    super.setValueAt(recToken.nextToken(),i,j);
    //break;
    Client Socket Class

  • ALV grid Refresh problem  for one user

    Have an ALV with editable columns. Validation and save works for all columns for one user but not for the other. The user with the issue is able to modify the values and save to the database fine.The problem is it doesn't display in the ALV once refreshed. Please suggest any ideas of how to look into this issue as it works for one and not other user.

    Strange work for one user not for other.
    Once you save the data, rebind the data to table. so that new data will display. ( that use set_initial_elements as true, so that old values not display ).
    Regards
    Srinivas

  • Refresh problem for swf website

    I have a web site which is swf movies based on html.
    to be refreshed (the swfs) every time I re-ender it(not
    every 10 or 20 seconds). Think of it like a news site which needs
    to be refreshed constantly to keep up to date. What coding should I
    use?Should it be on the html page or in the swf?
    It loads the swf from the cashe of the browser even when I
    have made changes to the server files.
    Please I need some help
    Thanks

    Do you mean that the 'news' or 'updates' are actually made to
    the swf file itself?
    That would be unusual for a data driven site although its not
    impossible. There's even a reasonably 'new' data exchange format
    based on a simplified swf format that is used for loading data. But
    it doesn't sound like that's what you're doing.. it seems like you
    want to reload the original swf itself. I hope thats via some CMS
    or something that's generating the swf files. Its seems impractical
    for a 'news' type site otherwise.
    Either way I imagine you can reload the swf into the _root
    level. You might need to use the same type of anti-cacheing
    approach as before.
    _root.loadMovie("sameSwf.swf?dontCache="+getTimer());
    How often you do that... well that would depend on how often
    you think it would change. AFAIK there's no way to know if the file
    on the server has physically changed without polling the server
    separately e.g. via LoadVars .

  • Refreshing problems for an online dice

    here's the problem
    http://www.geocities.com/nsmela/java/onlinedice.html
    notice how you can't roll afterwards? how can i change this?

    ok, i tried doing a while(countIng=0) with counIng=0 in the beginning
    i got 4 errors i can't figure out.
    code:
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    public class OnlineDice extends Applet implements ActionListener
              int inputNumber;
              double resultNumber = 0;
              int numberOfTimes;
              int countIng=0;
              TextField textField = new TextField(5);
              Button button = new Button("Roll Now");
              Label label = new Label("Click the button after entering the amount of sides into the field above");
              TextField textField2 = new TextField(5);
              public void init()
                   add(textField);
                   add(textField2);
                   add(button);
                   add(label);
                   button.addActionListener(this);
              do; //attempt at trying to make this @#$#!!!! thing loop
              public void actionPerformed (ActionEvent e)
                   String textFieldText = textField.getText();
                   String textFieldText2 = textField.getText();
                   inputNumber =Integer.parseInt(textFieldText);
                   numberOfTimes =Integer.parseInt(textFieldText);
                   for (int count=1; count <=numberOfTimes; count++){
                   while (resultNumber>inputNumber || resultNumber<1)
                        resultNumber=(Math.random()*inputNumber+1);
                   label.setText(Long.toString(Math.round(resultNumber)));
    label.setText(" is your result");
    /*basicly, i'm trying to make this have 2 fields, one to enter the amounts of sides the dice will have
    the other is how many times
    and the error i get is:
    C:\java\diceroller\RollingDice\OnlineDice2.java:26: illegal start of type
              do; //attempt at trying to make this @#$#!!!! thing loop
    ^
    C:\java\diceroller\RollingDice\OnlineDice2.java:26: <identifier> expected
              do; //attempt at trying to make this @#$#!!!! thing loop
    ^
    C:\java\diceroller\RollingDice\OnlineDice2.java:28: illegal start of expression
              public void actionPerformed (ActionEvent e)
    ^
    C:\java\diceroller\RollingDice\OnlineDice2.java:6: class OnlineDice is public, should be declared in a file named OnlineDice.java
    public class OnlineDice extends Applet implements ActionListener

  • Expression problem for ABAP program

    Hi everyone,
    Once i have saw a expression in ABAP program. as follows.
    DATA:drag_object TYPE REF TO lcl_dragdrop_dataobject.
    CATCH SYSTEM-EXCEPRIONS move_cast_error = 1.
    drag_object ?= dragdrop_object->object.
    ENDCATCH.
    IF sy-subrc = 1.
    CALL METHOD dragdrop_object->abort.
    EXIT.
    ENDIF.
    I don't know what is "?=" .
    Please help me.
    Thanks Advanced !

    DATA: airplane TYPE REF TO lcl_airplane,
                cargo_airplane TYPE REF TO lcl_cargo_airplane,
                cargo_airplane2 TYPE REF TO lcl_cargo_airplane.
          CREATE OBJECT cargo_airplane.
          airplane = cargo_airplane.
          cargo_airplane2 ?= airplane.
                 The type of case described above is known as a widening cast because it changes the
                 view to one with more details. The instance assigned (a cargo plane in the above
                 example) must correspond to the object reference (cargo_airplane in the above example),
                 that is, the instance must have the details implied by the reference. This is also known as
                 a u201Cdown castu201D. The widening cast in this case does not cause an error because the
                 reference airplane actually points to an instance in the subclass lcl_cargo_airplane. The
                 dynamic type is therefore u2018REF TO lcl_cargo_airplaneu2019.
    The widening cast logically represents the opposite of the narrowing cast. The widening cast cannot be checked statically, only at runtime. The Cast Operator u201C?=u201D (or the equivalent u201CMOVE ... ?TO u2026u201D) must be used to make this visible.

  • UWL custom attributes are not retreived

    Hi all,
    We are trying to add some custom attributes to our UWL. We are able to see the new columns but they remain null. It seems that the values are not retrieved from the backend.
      We have tried defining custom attributes from workflow container, from BOR object and even UM but without success.
      We have followed this thread http://weblogs.sdn.sap.com/cs/blank/view/wlg/20379 and also other ones.
    Here is my code for my custom attributes (under "TEST" comment):
    <ItemType name="uwl.task.webflow.srm.TS00700018" connector="WebFlowConnector" defaultView="TS40008005_view" defaultAction="com.sap.pct.srm.core.action.launchWD.inv.detail" executionMode="default">
           <ItemTypeCriteria externalType="TS00700018" connector="WebFlowConnector"/>
                            <CustomAttributes>
              <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
                   <Attribute name="BOTYPE" displayName="Type of Business Object"/>
                   <Attribute name="BOID" displayName="Business Object ID"/>
                   <Attribute name="BOMODE" displayName="Business Object Mode"/>
              </CustomAttributeSource>     
              <!-- TEST -->
              <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalId" objectType="DECISION" cacheValidity="default">
                           <Attribute name="V_BE_REFOBJ" displayName="Description"/>
              </CustomAttributeSource>
              <CustomAttributeSource id="UM" objectIdHolder="creatorId" objectType="user" cacheValidity="final">
                        <Attribute name="department" type="string" displayName="Department"/>
              </CustomAttributeSource>
              <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
                   <Attribute name="W_HEADER_INV" displayName="Header"/>
              </CustomAttributeSource>                    
              <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="W_HEADER_INV" objectType="WebflowContainer" cacheValidity="final">
                   <Attribute name="GUID" displayName="MiGuid"/>
              </CustomAttributeSource>
              <!-- END TEST -->
         </CustomAttributes>
         <Actions>                    
              <Action reference="com.sap.pct.srm.core.action.inv_approve"/>
              <Action reference="com.sap.pct.srm.core.action.inv_reject"/>
              <Action reference="com.sap.pct.srm.core.action.launchWD.inv.detail"/>
              <Action reference="com.sap.pct.srm.core.action.launchWD.print"/>
         </Actions>
    </ItemType>
    I've read in this thread [UWL: Time Delay of SAP and Custom Attributes:  refresh necessary|UWL: Time Delay of SAP and Custom Attributes:  refresh necessary] that UWL cache and the delta pull mechanism must be configured for the new attributes but I don't know how to check it.
      Please, can anyone help me?
    Thanks in advance,
      Regards

    Hi all,
      I'm going to close this thread as it is duplicated.
    Regards

  • Custom Attributes in UWL - No data

    Hello,
    I am trying to add custom attributes Vendor and Currency to my UWL iview.
    I have defined custom attributes in my Item Type as follows:
    [code]<ItemType name="uwl.task.webflow.decision.TS92900044.SAP_EAQ" connector="WebFlowConnector" defaultView="InvoiceApprovalView" defaultAction="launchImage" executionMode="default">
          <ItemTypeCriteria systemId="SAP_EAQ" externalType="TS92900044" connector="WebFlowConnector"/>
          <CustomAttributes>    
      <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebFlowContainer" cacheValidity="default"> 
              <Attribute name="Currency" type="string" displayName="Currency"/>
              <Attribute name="Vendor" type="string" displayName="Vendor"/>
            </CustomAttributeSource>   
    </ItemType>
    I have also defined the display attributes in my View as follows:
    <Views>
        <View name="InvoiceApprovalView"
               selectionMode="SINGLESELECT"
               width="98%"
               supportedItemTypes="uwl.task"
               columnOrder="subject, Vendor, Currency"
               sortby="priority:desc, dueDate:asc, createdDate:desc"
               tableDesign="ALTERNATING"
               visibleRowCount="10"
               headerVisible="yes"
               queryRange="undefined"
               tableNavigationFooterVisible="yes"
               tableNavigationType="CUSTOMNAV"
               actionRef="" refresh="300"
               dueDateSevere="86400000"
               dueDateWarning="259200000"
               emphasizedItems="new"
               displayOnlyDefinedAttributes="yes"
               dynamicCreationAllowed="yes"
               actionPosition="both">
          <Descriptions default="Invoice Summary"/>
    <DisplayAttribute name="Vendor" type="string" width="30" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
              <Descriptions default="Vendor"/>
            </DisplayAttribute>
    <DisplayAttribute name="Currency" type="string" width="30" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
              <Descriptions default="Currency"/>
            </DisplayAttribute>
    I have checked the task TS92900044 in the backend from Tcode PFTC and this task has the attributes Vendor, Currency in its container
    <b>PROBLEM: The columns appear but without any data.</b>
    Any pointers?
    Thanks and Regards,
    Reena

    Hi Prabhakar,
    This is  Raji. I also need to add the custom columns in the UWL.I ahve done the same procedure as you have done in the XML code.
    I have done lot many changes in the SRM config file and the standard config file.but I feel the task can be achived with out that much of complex work.
    It would be great if you can share , how this issue got resolved for you. hence would be useful for everybody.
    Thanks in advance!!!
    Raji

  • Profile customized attribute is not working?

    Hi,
    I downloaded ‘WCSpacesExtensions’ project from Oracle because I want to add some customize attributes to Profile. I added ‘project’ to ExtendedProfileAttributes.java, and created getter and setter methods. In a jsff, this is my EL #{wcProfileCustomAttribute['securityContext.userName'].project}. The setProject() sets up the attribute, but when getProject() is invoked, ‘project’ is returned as NULL.
    Every time the jsff page references the attributes via EL, it creates a new instance ExtendedProfileAttributes obj. because you can see it calls the constructor over and over. It saves value of ‘sip’ (=> setSip():12345), but when trying to read its value, it's NULL (=> getSip():null). So, I can't read and save the attribute per user.
    Any feedback is greatly appreciated.
    .jsff page
    <mds:insert after="oliplam3" parent="olipfl1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:panelLabelAndMessage xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    label="*Sip" id="splam2">
    <af:inputText xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="sit1"
    value="#{wcProfileCustomAttribute[(pageFlowScope.userId == null ? securityContext.userName : pageFlowScope.userId)].sip}"/>
    </af:panelLabelAndMessage>
    </mds:insert>
    <mds:insert after="splam2" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:panelLabelAndMessage xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    label="*Proj" id="splam3">
    <af:inputText xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="sit2"
    value="#{wcProfileCustomAttribute[(pageFlowScope.userId == null ? securityContext.userName : pageFlowScope.userId)].project}"/>
    </af:panelLabelAndMessage>
    </mds:insert>
    ExtendedProfileAttributes.java
    package custom.webcenter.spaces;
    import oracle.adf.share.logging.ADFLogger;
    * This is a sample class for profile extension
    * Add getter (and setter if you need to save)
    * for any new custom attribute.
    * New attriutes defined here can be acessed
    * via EL like
    * #{wcProfileCustomAttribute['smith'].sip}
    * in the jspx/jsff.
    public class ExtendedProfileAttributes
    private String sip;
    private String project;
    public ExtendedProfileAttributes(String profileID)
    // Query from custom attribute source and cache them
    //project = profileID + "'s Project";
    //mSIP = profileID + "'s SIP address!!!***";
    //mStreetAddress = profileID + "'s street address";
    System.out.println("ExtendedProfileAttributes(). user:" + profileID);
    System.out.println("ExtendedProfileAttributes(). sip:" + sip + " project:" + project);
    public void setSip(String s) {
    this.sip = s;
    System.out.println("=> setSip():" + this.sip);
    public String getSip() {
    System.out.println("=> getSip():" + this.sip);
    return this.sip;
    private static String CLASS_NAME = ExtendedProfileAttributes.class.getName();
    public void setProject(String project) {
    this.project = project;
    System.out.println("=> setProject():" + this.project);
    public String getProject() {
    System.out.println("=> getProject():" + this.project);
    return project;
    DEBUGGING:
    ===========
    ExtendedProfileAttributes(). user:securityContext.userName
    ExtendedProfileAttributes(). sip:null project:null
    => setSip():12345
    ExtendedProfileAttributes(). user:weblogic
    ExtendedProfileAttributes(). sip:null project:null
    => setProject():333
    <Feb 24, 2012 11:24:57 AM EST> <Warning> <oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer> <ADF_FACES-60099> <The region component with id: T:wcCmdLinkGSSwit:spaceSwitcherComp:crtGS has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.>
    <Feb 24, 2012 11:24:57 AM EST> <Warning> <oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer> <ADF_FACES-60099> <The region component with id: T:spcNavPanel:dc_r3 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.>
    ExtendedProfileAttributes(). user:weblogic
    ExtendedProfileAttributes(). sip:null project:null
    ExtendedProfileAttributes(). user:weblogic
    ExtendedProfileAttributes(). sip:null project:null
    ExtendedProfileAttributes(). user:weblogic
    ExtendedProfileAttributes(). sip:null project:null
    => getSip():null
    Thanks a lot.

    Hi,
    if this is a WebCenter specific issue, they do have their own forum on OTN: WebCenter Portal
    Frank

  • Customs Attributes in Address List

    Hi, 
    I would like to create an Address list with data from Custom attributes. We have entered details such as Name, Designation, etc. in Arabic character in those custom attributes and would like to have an address list in Arabic. Any suggestion would be appreciated.
    Fazal Ur Rehman Shah | Senior Consultant

    Hi,
    Do you mean you want to create an address list for users whose Custom Attributes(Name, Designation etc.) are Arabic characters?
    We can configure these users with another Custom Attribute 15 value to Arabic, then use the following command to filter these users to an address list:
    New-AddressList -Name "Arabic" -RecipientFilter {(RecipientType -eq 'UserMailbox') -and (CustomAttribute15 –like Arabic)}
    Thanks,
    Winnie Liang
    TechNet Community Support

  • No Customer Attributes in UWL

    Hello,
    i need customer attributes in the uwl. I have Task-ID and i create a ItemType. But the column in my uwl view is empty.
    Can anybody help me?
    best regards
    karsten

    Hi Sudha,
    I mean i have a own workflow. I have the Task-ID with object ABAP-BOR ZPROZESS and attribute PROZESSID. I create my own view with columns. Thats ok. But my task is not shown in my own view.
    <ItemType name="uwl.task.webflow.TS90207919" connector="WebFlowConnector" defaultView="myProzessView" defaultAction="viewDetail" executionMode="pessimistic">
          <CustomAttributes>
            <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="ZPROZESS" cacheValidity="final">
              <Attribute name="PROZESSID" type="string" displayName="Prozess"/>
           <!--   <ItemTypeCriteria  externalType="TS90207919" connector="WebFlowConnector"/>  -->
            </CustomAttributeSource>
          </CustomAttributes>
    </ItemType>
    <View name="myProzessView" width="98%" supportedItemTypes="uwl.task.webflow.TS90207919" columnOrder="attachmentCount, detailIcon, subject, createdDate, PROZESSID" sortby="createdDate" visibleRowCount="10" headerVisible="yes" selectionMode="SINGLESELECT" tableDesign="STANDARD" tableNavigationFooterVisible="yes" emphasizedItems="new" displayOnlyDefinedAttributes="no">
          <DisplayAttributes>
            <DisplayAttribute name="PROZESSID" type="date" width="" sortable="yes" format="medium">
              <Descriptions default="Prozess">
                <ShortDescriptions>
                  <Description Language="de" Description="Prozess"/>
                </ShortDescriptions>
              </Descriptions>
          </DisplayAttributes>
          <Actions>
            <Action reference="refresh" />
         <Action reference="removeFromNavigation" />
            <Action reference="addToNavigation" />
            <Action reference="personalize" />
          <Action name="launchSAPAction" handler="SAPTransactionLauncher">
            </Action>
          </Actions>
    </View>
    <NavigationNode name="ProzessSicht" view="myProzessView" referenceGroup="" visible="yes">
    </NavigationNode>
    I have comment ItemTypeCriteria. Otherwise i have a error:org.xml.sax.SAXException: Parsing near (CustomAttributes), and (ItemTypeCriteria) present at wrong place
    Thank you for your help.
    best regards
    karsten

  • How to create a node with attributes at runtime in webdynpro for ABAP?

    Hi Experts,
             How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
    I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
    I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
    Please help!
    Thanks
    Gopal

    Hi
       I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
    Note
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    My code is like the following:
    TYPES: BEGIN OF t_type,
                CARRID TYPE sflight-carrid,
                CONNID TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
      dyn_node   type ref to if_wd_context_node,
      rootnode_info   type ref to if_wd_context_node_info,
      i_node_att type wdr_context_attr_info_map,
      wa_node_att type line of wdr_context_attr_info_map.
          wa_node_att-name = 'CARRID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
          insert wa_node_att into table i_node_att.
          wa_node_att-name = 'CONNID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
          insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
                                       attributes = i_node_att
                                       is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    Message was edited by: gopalkrishna baliga

  • Custom Attributes in Target Group Email Campaign Not Refreshed

    We have a campaign sending emails to a target group of BPs.  To fill our custom attributes with values  we have implemented our code in badi CRM_IM_ADD_DATA_BADI method CRM_IM_BPSELE.  We tested our code using the Test Send feature from the email form and all worked fine.
    But when we ran the campaign in the background for a Target Group with multiple BPs it would not work correctly, our attribute values were incorrect. 
    We discovered while debugging the job, that the badi gets run once for each BP, but the attribute values from the previous BP do NOT get refreshed.  In fact there are 2 entire sets of attribute records in the CT_ATT_VALUES table parameter.  Each time through it multiplies by another set of our attributes.
    I have put code in the badi as a workaround that deletes the previously filled attributes for the previous BP, but I'd like to figure out what is causing this problem.
    Any help would be appreciated.
    thanks,
    Lee

    Hi Lee,
    Is this issue resolved for you now??
    I am facing the similar problem.
    Though the BADi is not used for these two mails (it is used in some other mail forms), it is actually called in 'CRM_ERMS_MAIL_COMPOSE' Function Module and the process is same as u said. There are 2 sets of values.
    I am using a Mail Alert functionality where in a 'Mail Alert ON' is sent to field engineers (FE) and then upon FE accepting the work we will send a 'Mail Alert OFF' to FEs.
    Problem is, we get one or two fields data incorrectly sometimes. I am not able to find out the root cause yet.
    Please let me know if you have had any resolution to this!
    Thanks in advance.
    Chaitanya

  • Retriving custom attributes in uwl.task.webflow.decision

    Hello,
    I know this question is closed. I am trying  to retreive custom attributes from decisson(uwl.task.webflow.decision)uwl.task.webflow.decision.TS00008267. I am not able to do that.
    I am able to retrieve ABAP_BOR object.
    These attributes are not directly in container. Those attributes are located in structures  ADHOCOBJECTS, _WORKITEMS, _Attachments.
    How I am able to retrieve them. Can you point me to scriplets of XML.
    I really appreciate your help. 
    Regards
    Mark

    Hi,
    Thanks for your help.
    I am able to get from task. I am not able to get from Decission (ex .uwl.task.webflow.decision.TS90400017.SAP_PLM)
    my xml looks like this. I am able to get from Task object.
    Any Ideas. I really appreciate your help.  Is there any special way for decission.
    <ItemType name="uwl.task.webflow.decision.TS90400017.SAP_PLM" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
               <ItemTypeCriteria systemId="SAP_PLM" externalType="TS90400017" connector="WebFlowConnector"/>     
          <CustomAttributes>
                  <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
                    <Attribute name="BOR_OBJECT" type="string" displayName="BOR Object"/>
                  </CustomAttributeSource>
                  <CustomAttributeSource id="ABAP_BOR" objectIdHolder="BOR_OBJECT" objectType="ZBUS2078" cacheValidity="default">
                    <Attribute name="Description" type="string" displayName="Description"/>
                    <Attribute name="RequiredEndDate" type="date" displayName="Due Date"/>
                    <Attribute name="Number" type="string" displayName="Number"/>
                    <Attribute name="RESPONSIBLE" type="string" displayName="Responsible"/>
                  </CustomAttributeSource>
                </CustomAttributes>
          </ItemType>
    Following is in the view
    <DisplayAttribute name="Description" type="string" width="" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
              <Descriptions default="Description"/>
            </DisplayAttribute>

Maybe you are looking for

  • Howto to use CSCO_WEBVPN_PASSWORD in rdp:// bookmark, SSL VPN

    Hi all I got an ASA5510 (8.4.4, ASDM 6.4(7) with WEBVPN access. Now I'm facing the problem, that the customer uses an OTP authentication. I've changed the SSL portal login page with username / password (OTP) / internal password ( the AD-user password

  • Backward compatiblity between Reader 9 and PDFs created in Acrobat 6 and 7

    Older Acrobat 6 and 7 versions created a number of PDFs that are now being used in Reader 9. Originally, they were generated on a Mac using Distiller 5.0 (PDF 1.4) settings. Forms fields and security were applied in Acrobat 6 and 7 and uploaded for o

  • Separating Audio from Video

    is there any way to take a dvd and separate its audio from its video? meaning, if i wanted to take the movie "300" and i wanted to pull all of the audio tracks out separately so i could use them in final cut, how would i go about doing that? thanks

  • Ip to location ......plz help urgent

    Hi all, i need a code which finds out/tracks IP address of a machine and based on that it helps to find out which country it is.i mean based on specific IP ,i get to know country and on that basis Locale can be set.Ultimately when the page renders it

  • Target Value check not taking place

    Hey Gurus, In the MIC i have maintained the target value as 8. Now i have created an inspection plan and assigned this MIC to it. The inspection lot is getting generated at the time of GR, I am going to QA32 and recording the result for the lot gener