Newbie: how to get account firstname and lastname in SIM

I have the following xpres code that retrieves all the account ids in SIM - this is working. However, how can i get the firstname and lastname of all of the returned account Ids. Some code example will be appreciated:
<invoke name='getUsers' class='com.waveset.ui.FormUtil'>
<ref>:display.session</ref>
</invoke>

Is this in a form or a workflow? If a form, you'll probably want to use the getObject FormUtil method. Also, there's a bunch of useful methods on the actual LocalSession object represented by display.session - look in the javadocs to see what you can do...
Not hugely useful I know, but pretty hard to suggest options with (a lot) more context...
This is an example of using getObject from a UserForm - you would replace the <select> statement with the accountId of your target users returned from getUsers (probably using a dolist to iterate the result set), and replace fullname with firstname and lastname:
              <block>
                <defvar name="requestorObj">
                  <invoke name='getObject' class='com.waveset.ui.FormUtil'>
                    <ref>:display.session</ref>
                    <s>User</s>
                    <select>
                      <ref>requester</ref>
                      <ref>WF_CASE_OWNER</ref>
                    </select>
                  </invoke>
                </defvar>
                <concat>
                  <invoke name="getAttribute">
                    <ref>requestorObj</ref>
                    <s>fullname</s>
                  </invoke>
                  <s> [</s>
                  <get>
                    <ref>requestorObj</ref>
                    <s>accountId</s>
                  </get>
                  <s>]</s>
                </concat>
              </block>

Similar Messages

  • How do I switch Firstname and Lastname in the adressbook on an iMac?

    How do I switch firstname and lastname in the adressbook on my iMac?
    Thanks, for helping me. Monika

    Go to Address Book>Preferences and on the General tab select from the drop down menu 'Sort by: Last name'.

  • In XML Show Form display Creator FirstName and LastName ?

    Hi all,
    In XML Form Builder i want to display the creator FirstName and LastName ( Diamond Admin) in the Show Form.
    For egs:
    Logon ID: diamond_admin
    Last Name: Admin
    First Name: Diamond
    In the EDIT Form By using $sap_user and also createdBy property i'm getting the creator name as diamond_admin but i want to display the FirstName and LastName (Diamond Admin).
    2)In the EDIT Form i used the Label for Time Based Publishing(TBP)
    Opening Date = TimeStamp control
    Closing Date = TimeStamp control
    In the RenderList Form i'm showing the Closing Date label its display the date and time.
    Closing Date= 05/12/08 08:00:00 PM
    But i requirement is to show the closing date only not time(Closing Date= 05/12/08) in the RenderListItem Form..
    How to do this?Please help me...
    Regards
    Thillai J

    When you are editing the Show Form, select the correct label in the form and in the property list area (bottom right) you have a property named "Display As". Select "Display Name" for the value.
    Make sure that in your Data Model your property has the data type "user"
    The "Display As" parameter should also work for your date problem as you can select "Short" to only display the date.

  • UCM Search using firstname and lastname

    Hi,
    One of our requirement is to enable the search using firstname and lastname. We store users, groups, roles, and accounts in Oracle Internet Directory and integrated with UCM. I would like to know the ways to show firstname and lastname fields in the search so that users can search with those properties instead of author metadata .
    Thanks,
    Raj

    If I got the question, first name and last name refer to first and last names of document authors, right? Otherwise, I miss the link between search for documents and people identities in an identity pool.
    Note that search dialogs support "wild-characters" - that is, you can enter "Jiri Mac*" instead of "Jiri Machotka" - alternatively, use "Contains" rather than "Equals To" criteria.
    Furthermore, I'm wondering how you intend to use first and last names in GUI - do you prefer to have two names that you somehow construct together? Do you want to display the names to users? (How many names will be in first names? How many in last names?)

  • ActiveSync not updating firstname and lastname

    Hi All,
    i am using FlatFileActiveSync. Using that i am able to create the accounts with details specified in .csv file. but if i change the first name annd lastname value in the .csv file and run the ActiveSync, Updation is not happening only for these attributes. The rest all the attributes are updating properly. Please check my below code for updating the firstname and lastname.
            <set name='global.firstname'>
              <ref>activeSync.firstname</ref>
            </set>
            <set name='global.lastname'>
              <ref>activeSync.lastname</ref>
            </set>Please help on this, it is really eating my time.
    Regards,
    Sabareeswaren.

    Hello,
    Did you check workflow trace ? Does it show, value assigned to firstname variable, when IDM starts execution of workflow ? check the variable name, and its case. If you get value for last name then first name should not be problem.

  • Incomplete profile page: Where are firstname and lastName?

    Hi,
    How to retrieve the firstname lastname in Webcenter Portal (11.1.1.8) UserProfile object, we used all the expressions but firstname lastname always comes blank/empty.
    First Name: #{webCenterProfile[securityContext.userName].firstName} <br>
    Middle Name: #{webCenterProfile[securityContext.userName].middleName}<br>
    Last Name: #{webCenterProfile[securityContext.userName].lastName}<br>
    I use Open DS as the LDAP and the first attribute in LDAP is cn and the lastname attribute is sn, we want to get the values of these when we call #{webCenterProfile[securityContext.userName].firstName}.
    I found one archived thread where the same question is asked but without any solution documented.
    Incomplete profile page: Where are firstname and lastName?
    Thanks,
    Anshuman

    Hi,
    Add an "HTML Markup" Layout Component to a page.
    Edit the "HTML Markup" Layout Component.
    In the Display options Tab, click the Edit Icon (v) next to the Value Property and select "Expression Builder...".
    Select "Type a value or expression" and enter the following:
    User Profile Information:
    <br><br>
    Name: #{webCenterProfile[securityContext.userName].name}<br>
    Display Name: #{webCenterProfile[securityContext.userName].displayName}<br>
    First Name: #{webCenterProfile[securityContext.userName].firstName} <br>
    Middle Name: #{webCenterProfile[securityContext.userName].middleName}<br>
    Last Name: #{webCenterProfile[securityContext.userName].lastName}<br>
    Maiden Name: #{webCenterProfile[securityContext.userName].maidenName}<br>
    Name Suffix: #{webCenterProfile[securityContext.userName].nameSuffix}<br>
    Initials: #{webCenterProfile[securityContext.userName].initials}<br>
    <br><br>
    Description: #{webCenterProfile[securityContext.userName].description}<br>
    Date of Birth: #{webCenterProfile[securityContext.userName].dateofBirth}<br>
    Home Address: #{webCenterProfile[securityContext.userName].homeAddress}<br><br>
    Home Phone: #{webCenterProfile[securityContext.userName].homePhone}<br>
    Wireless Acct Number: #{webCenterProfile[securityContext.userName].wirelessAcctNumber}<br>
    <br><br>
    Time Zone: #{webCenterProfile[securityContext.userName].timeZone}<br>
    Default Group: #{webCenterProfile[securityContext.userName].defaultGroup}<br>
    Preferred Language: #{webCenterProfile[securityContext.userName].preferredLanguage}<br>
    Update Date: #{webCenterProfile[securityContext.userName].updateDate}<br>
    <br><br>
    Employee Number: #{webCenterProfile[securityContext.userName].employeeNumber}<br>
    Title: #{webCenterProfile[securityContext.userName].title}<br>
    Department: #{webCenterProfile[securityContext.userName].department}<br>
    Organization: #{webCenterProfile[securityContext.userName].organization}<br>
    <br><br>
    Date of Hire: #{webCenterProfile[securityContext.userName].dateofHire}<br>
    Employee Type: #{webCenterProfile[securityContext.userName].employeeType}<br>
    Expertise: #{webCenterProfile[securityContext.userName].expertise}<br>
    Organizational Unit: #{webCenterProfile[securityContext.userName].organizationalUnit}<br>
    Manager Display Name: #{webCenterProfile[securityContext.userName].managerDisplayName}<br>
    <br><br>
    Business Email: #{webCenterProfile[securityContext.userName].businessEmail}<br>
    Business Phone: #{webCenterProfile[securityContext.userName].businessPhone}<br>
    Business Mobile: #{webCenterProfile[securityContext.userName].businessMobile}<br>
    Business Pager: #{webCenterProfile[securityContext.userName].businessPager}<br>
    Business Fax: #{webCenterProfile[securityContext.userName].businessFax}<br>
    Business Street: #{webCenterProfile[securityContext.userName].businessStreet}<br>
    Business City: #{webCenterProfile[securityContext.userName].businessCity}<br>
    Business State: #{webCenterProfile[securityContext.userName].businessState}<br>
    Business Postal Code: #{webCenterProfile[securityContext.userName].businessPostalCode}<br>
    Business Country: #{webCenterProfile[securityContext.userName].businessCountry}<br>
    Business PO Box: #{webCenterProfile[securityContext.userName].businessPOBox}<br>
    <br><br>
    Click Test and confirm there are no errors.
    Click OK to Exit the Expression Builder.
    Click OK to exit Edit of the HTML Markup Layout Component.
    This should display the user profile information as displayed on the user profile in WebCenter Spaces.

  • How to get Accounting document number from billing document number

    Hi,
    How to get Accounting document number from billing document number i.e. from VBAK- VBELN.
    Cheta Pant

    Hi,
    VBAK is the Sale Order header table, Billing document table is VBRK.
    Sales tables (VBAK,VBAP,VBRP,VBRK) do not store accounting document numbers.
    You do other way around. Just go to SE16 and enter the Billing document number in field Billing document VBELN in BSEG or BSID or BSAD table and execute, you will find the accounting document number.
    If you just want collect this information once then you can use table BSEG, but if you think to develope a report then use table BSID and BSAD.
    Regards,
    Chintan Joshi

  • How to get current month and last month dynamically??

    how to get current month and last month dynamically
    like
    month = getCurrentMonth();
    lastmonth = getcurrentMonth() -1;
    please help
    thanks

    hi :-)
    /* depracated but can be still useful */
    java.util.Date dtCurrent = new java.util.Date();
    int month = dtCurrent.getMonth();
    int lastmonth = dtCurrent.getMonth() - 1;
    System.out.println("* " + month);
    System.out.println("* " + lastmonth);
    /* better to use this one */
    Calendar cal = new GregorianCalendar();     
    int imonth = cal.get(Calendar.MONTH);
    int ilastmonth = cal.get(Calendar.MONTH) - 1;
    System.out.println("*** " + imonth);
    System.out.println("*** " + ilastmonth);
    regards,

  • How to get automatic plant and shipping point and storage location

    hi,
    sap gurus,
    how to get automatic plant and shipping point and storage location automatically into the sales order
    i have done all the config settings for that
    but its not appearing automatically.
    regards,
    balaji.t

    Hi
    Balaji...
    U can get the plant in sales order,  by doing the default the same in customer master or in  material master. In customer master -- sales are data--shipping tab delivering plant there u can assign and get the same in order for that customer. it is better to do in customer master rather than in material master.
    Shipping point is getting determine in sales order and u can not make it default like plant. Shipping point is determine in the basis of Shipping condition of customer ( ship to party)+ loading group of material + Deliverying plant there u have to assing the shipping point and it will flow in the sales order. Tcode OVL2
    For S loc u have to enter manually in the sales order u can not get it automatically.
    Hope this will help you.
    Thx.

  • How to get count,index and compare to arraylists

    hi
    how to get count,index and comparing of 2 arraylist.... plz suggest me asap...

    How is your question related to JDBC? And what have you done so far with your code?

  • How to get system status and user status ?

    how to get system status and user status for the given production order?
    In which PP table we can
    find these?
    Thanks&Regards
    Satish

    Hi Ram,
    Use the FM "STATUS_READ" to read both the system and user statuses for an Order.
    Alternatively, the following tables store the user and system status info:
    JSTO- Status object information
    JEST- Individual Object Status
    Hope this helps.
    Let me know if u need further information.
    Regards,
    Sonal

  • How to get customer number and name from the SD document

    Hi All,
    Can you please let me know how to get Customer Number and Name from the SD Document?
    Thanks a lot....
    Anil

    Hi,
    It will be displayed in the SD (BIlling document) itself,  you clikc on the VF03. The customer name and number will also appear in the SO document also Tcode VA03
    regards,
    radhika
    Edited by: kolipara radhika on Jul 10, 2009 5:32 AM

  • How to get total numbers and total price in query reports

    Hi,
    how to get total numbers and total price in query reports.for example:
    particular item is issued 3 times a week...I need total quantity of item issued
    my query...
    SELECT T0.[DocNum], T1.[ItemCode], T1.[Quantity], T1.[Price] FROM OIGE T0  INNER JOIN IGE1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[ItemCode]  Like '%%[%1]%%'  and  T1.[U_WOType]='[%0]'

    Hi,
    Try this:
    SELECT T1.[ItemCode], SUM (T1.[Quantity]) as [Total Quantity], SUM (T1.[Quantity] * T1.[Price]) as [Total Price] FROM OIGE T0  INNER JOIN IGE1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[ItemCode]  Like '%%[%1]%%'  and  T1.[U_WOType]='[%0]'
    Group By T1.[ItemCode]
    Beni.

  • How to get current time and date??

    How to get current time and date from my PC time and date to the java application??
    i use java.util.* package but got error, that is:
    - java.util.* and java.sql.* class are match
    - abstract class cannot be instantiated
    so what can i do, pls guide...thanks...

    There is a method in the System class that will return the current system time. You could also instantiate a Date, Time, Timestamp, or Calendar object, all of which get created with the system time by default.
    Don't import *. Import the specific classes you need.
    Next time, post the actual text of the exceptions/compile errors. If you make people guess, most just won't bother.

  • How to get system date and time?

    Can someone show me a code on how to get system date and time.
    Thanks!

    there is one really easy way to get system time, the api gives a great example of code on this. use gregorian calendar, which you'll find in the api under GregorianCalendar. You only need to create one instance of GC, ie Calendar time = new GregorianCalendar();
    you save seconds, minute and hours into int values, so you don't have to access the system time every second, you can create a thread which adds one to the int second value, if oyu see what i mean, for example, i have saved the hours, minutes and seconds as int values;
    int hour, minute, second;
    i can then create a thread (Thread thread = new Thread(this) and run it like:
    Calendar time;
    int hour, minute, second;
    Thread thread = null;
    public MyTime() {
    hour= time.get(Calendar.HOUR_OF_DAY);
    minute = time.get(Calendar.MINUTE);
    second = time.get(Calendar.SECOND);
    if(thread == null) {
    thread = new Thread(this);
    thread.start();
    public void run() {
    Thread t = Thread.currentThread();
    while(thread == t) {
    thread.sleep(1000);
    second++;
    if(second > 59)
    minute++;
    if(minute>59)
    hour++;
    formatTime();
    public void formatTime() {
    second = (second > 59? 0 : second);
    minute = (minute > 59? 0 : minute);
    hour = (hour > 23? 0 : hour);
    System.out.println(hour+":"+minute+":"+second);
    public static void main(String[] args) {
    new MyTime();
    I know this looks like gibberish but it should work. If not, try to fix the problem, i have written from memory really but i guarantee you, this gets the time then every second, simply adds one to the second and then formats time. You can also access the day, month and year then format them using the above code. I don't like giving code since you should really do these things yourself but it is 2:04am, i have nothing better to do and i am not tired so i did you a favour - i have become what i always did not want to, someone ho stays upall night writing code.

Maybe you are looking for

  • Finding of fixed vendor while creation of the sales order

    i want to find the fixed vendor (FLIEF) from EBAN ,<b>before saving the sales order</b>, for that i need to pass BANFN( purchase request no) BNFPO(purchase request item no), into EBAN ,which i got from VBEP table  .    i used user-exit (userexit_save

  • Mac Mini mid.2011 8GB to 16GB RAM,is it possible?

    Hello everybody, could you please assist to resolve my question. (sorry for my bad english) ok, lets try)) - i have mac mini mid.2011,i5 2.3GHz,8RAM,IntelHD3000-256MB,Mavericks. i want to upgrade my RAM 1333Mhz DDR3 from 8 GM to 16GB. will it work? B

  • Moving and renaming newly imported assets

    I work at a small college tv studio and am trying to deploy a Final Cut Server setup. One of the requirements of our setup is to have an actual file structure for our footage so that it is not all thrown into one folder by FCS. I'm very new to FCS, b

  • How i start printing report from 2nd page

    When Press on Print button to print report, then it start from 1 page. Is it possible that report start printing from the 2nd page.... Plz help if possible... Thanks alot..

  • Scedular Task

    All, I am creating a KM Scedular task to run at some interval. The task is running fine. Now want to configure the task with certain custom properties. The javadoc on the run method is not explanatory and it doesn't explain anything. If you have some