How does BR get current date, user, and associate member with Attribute Dim

I need use Business rules or Calc script to implement following functions:
1. Get current date and the name of user who is running the BR and save the information to cube.
I don't find any functions to get current date and users.
Also, since text and date is store in relational database and essbase cube only stores the index, it looks that the value can't be changed or stored by using "==" directly, is there any function to change value of members with Text or Date types in BR/Calc script?
2. End users select attribute value (via smart list) of products or projects(Sparse dimensions) in data form, run BR to update the association of these members with attribute dimension.
I don't find any functions to change the attribute association in BR/Calc, is there any CDF (Custom Defined Function) that can do it?
Thanks!

Hi,
For the date functionality, check out the post below.
Re: Days behaviour between two dates
As for the username, there is a little tricky way that requires an unused or a new dimension along with a smart list of user names. It's also possible to capture the user name from the cookies and pass it on to the form. The latter is possible through validatedata.js however requires hefty coding here and there.
As for the attributes, it's not possible to update metadata through business rule. So no luck in there.
Cheers,
Alp

Similar Messages

  • HT4993 how do i get my data recovered and pictures if i rebooted my phone

    I lost all pictures and data when I reb ooted my phone how can i get it back

    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414

  • HT5824 I've lost my iphone, it has iCloud back up, how can I get the data restored and on to my laptop without a new iphone

    I've lost my iPhone and have not got the finances to buy a new one, investigating insurance options but only 6 months left on contract so may not bother, however I want to get all my info off iCloud but can't work out how to get it, I'm not very computer savvy to be honest.

    You can only restore the backup to another iOS device.  Also, Apple will delete an iCloud backup after 180 days of inactivity so it won't be there forever.

  • How do i get rid of crawler and replace it with google as my firefox start page

    somehow (probably my error, in haste) a thing called crawler has grabbed control and i cannot go back to using google as my startup page in firefox.

    yuppers you are misunderstanding it totally...
    ever use iphoto
    on the sidebar  you have
    library
    recent
    web
    the web will only allow me to use my old defunct mobileme account ..
    i can't see how to delete it
    or how to replace it with icloud
    from another thread about the expensive aperature it seems maybe iphoto doesn't work with icloud...
    i'll phone it in ,in a few days and let everyone know what happens..i have unlimited talk time when they are open
    unless  UNLESS!!!!!
    somehere knows what to do

  • Get  current date and time

    hello.
    How can I get current date and time in JAVA?
    Thanks.

    Sorry, I mean:
    how can I get the value of DATE, MONTH, and YEAR of the
    current date?
         Date date = new Date();
         System.out.println(date);

  • My battery died and then when i charged the phone it is asking me to connect to itunes and restore. if i restore how can i get my data back

    My iphone battery died and on charging the phone it asked me to connect to itunes and restore the phone.
    If i restore the phone how can i get my data back and how can i check when i last backed up my phone

    If you have been syncing regularly as the iphone is designed, then you can sync the data back.
    Regardless you will have to restore the iphone.

  • How do i get current dateTime in xsl1.0

    Hi,
    I came to know that current-dateTime() function is working fine with xsl version 2.0 but not in xsl version 1.0
    Can anyone suggest me how to get current date time which works fine with xsl version 1.0 and BPEL process manager (OracleApplicationServer 10.1.3).

    Make sure that the History is enabled:
    *Firefox/Tools > Options > Privacy > Firefox will: "Use custom settings for history" > Remember my browsing history
    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.com/kb/Private+Browsing
    To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Deselect: [ ] "Always use private browsing mode"
    Another possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • Get current date style

    Hi
    How I can get current date adn time style?
    Thank you.

    Well, what do you need it for? If you just want to use the default locale when parsing/formatting a date, you just use DateFormat or SimpleDateFormat. You don't need to worry about the pattern.
    If you want to check what the pattern is with the default locale, you can try this:
    SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getInstance();
    System.out.println(sdf.toPattern());There is also a distinction between short, medium and long format, and you can get the time or date pattern only if you want. Check the API.

  • I need to know how do i get a date on the printed paper it always did but then i had my pc upgraded

    Please can you tell me how does one get a date printed will printing a document

    Please read this post then provide some details.  What printer model? What operating system? What program are you printing from?
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How do I get a data plan for iPad

    How do I get a data plan for my ipad

    Check with your wireless carrier to see if they offer a MiFi device.
    http://en.wikipedia.org/wiki/MiFi

  • Every time I hit the app store I get the message "loading".   How can I get out of this and get the app "qrreader" that I want to load???

    I'm getting a little frustrated trying to get the "APP "  "qrreader".  Everytime I tap on the APP icon it is "loading".  How can I get out of this and start over with the
    APP I want???

    Try a reset: hold down the home button along with the power button until you see the Apple, then let go.

  • How to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input

    Hi all,
    I need your help how to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input.
    in my query info object is 0CALQUARTER and variable is ZFIS_QTR.
    in 0CALQUARTER fiscal quarter stored in 201301,201302,201303,201304 and 201401 format, for current fiscal quarter 201401 and (current fiscal quarter - 1 ) would be 201304.
    please replay ASAP to deliver the report to client.
    thanks in advance.
    -- Rakesh Nagpure

    I am Getting the same error for both the codes that i have written...
    Do i Need to write sth else in the code...
    Code:
    WHEN 'ZVLIVELEASES'.
      IF I_STEP = 2.
            L_DATE = SY-DATUM.
            SELECT * FROM "DSO_ACTIVE_TABLE"
                INTO TABLE ITAB_LL where "EXPIRY_DATE" > L_DATE.
            LOOP AT ITAB_LL INTO WA_LL.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            l_s_range-low = WA_LL-"EXPIRY_DATE".
           APPEND L_S_RANGE TO E_T_RANGE.
            ENDLOOP.
       ENDIF.
    Error: Error for variable in customer enhancement ZLIVELEASES

  • My iPhone says "o death" where the date should be on the lock screen, why is it doing this and how do I get the date back?

    My iPhone says "o death" where the date should be on the lock screen, why is it doing this and how do I get the date back?

    I tried powering off and on and it went away, but I can't tell if it's been broken into since everything works fine (I'm using it now) is there a test to see if it's been broken into?
    Thanks for all your replies!

  • HT204053 My daughter and me use the same cloud ID and to buy songs and now all her contacts ended up on my new iphone 5  and I manually erased all from my phone and now they are gone from her phone.  How does she get back her contacts?

    My daughter and me use the same cloud and apple id to buy songs in the past.  I got first iphone 5 and after trying to set up itunes to phone I ended up with all my daughters contacts from her iphone on my iphone.  I then deleted them from my phone one by one and now they are gone from her phone as well.  How does she get them back on hers and what happen????  Help with cloud!

    That's what happens when you share the same iCloud account.  First, migrate his phone to a different iCloud account using a different ID (you can continue to share the same ID for other services such as iTunes if you want).  To do this, on his phone save any photo stream photos that he wants to keep to his camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If he are syncing notes with iCloud that he wants to keep, you'll need to open each of your notes and email them to him so he can later copy and paste the text into new notes created in his new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud; this won't effect your phone), provide the password to turn off Find My iPhone and choose Keep on My iPhone when prompted.  Then sign back in with a different Apple ID to create his new account and choose Merge to upload the data.  After doing this, he can go to icloud.com and safely delete your data from his new account.
    Then, if your contacts were on your phone when you last backed it up to iCloud, you can restore them by following Winston Churchill's user tip here: https://discussions.apple.com/docs/DOC-4841.  This involves turning off your wifi after your phone restarts during the restore process, then saving the contacts on your phone and deleting them from iCloud prior to turning your wifi back on and allowing the restore process to finish.  You can turn off your wifi either by pulling the cord out of the WAN port in your wifi router, or by simply unplugging it.

  • How does one delete previous data on iphone as user has changed

    how does one delete previous data on iphone 4s as user has changed

    I would do these things
    To wipe phone
    Turn off imessage in settings/messages
    Turn off Facetime in settings/Facetime
    Delete icloud account in settings/icloud
    Erase all data and settings in settings/general/reset
    Get the previous owner to delete the phone from their profile in  https://supportprofile.apple.com if they registered the phone there

Maybe you are looking for