Set dynamic Property Value

Hi Expert,
Can we set Property values dynamicly from BPC excel.
eg/ Let say we have Dimension called Project which has a ID Proj1 with property FM_AMT.
Can we set this FM_AMT from the BPC excel ? do we have any Function ?
Regards
Gayu

Hi Gayu,
You can use EVPRO to get this property in BPC excel. The syntax is =evpro(appname, Member, property). In your case, it is
=evpro("App","Proj1","FM_AMT")
Hope this helps.
Regards,
Shoba

Similar Messages

  • Setting dynamic profile values in R3.0

    Hi
    Using the SDK can we set up profile values dynamically for use with Bursting. Currently it seems I have to define the profile values manually for each user and group or can use only the username, email or fullname for dynamic purposes.
    What i want to do is have a table, report or file which has a listing like
    user1   USA   blankets
    user2   USA   pillows
    user1   CAN   pillows
    user1   IND     shirts
    using this I want to setup a dynamic profile such that user1 = SELECT country FROM table WHERE uname = '%SI%TITLE%'
    or any similar mechanism....
    thanks for your help!
    Asim

    Profiles are fairly static things, so I don't think altering them via the SDK would be amenable to dynamically changing profile values or targets on-the-fly.
    Sincerely,
    Ted Ueda

  • Setting default property value in custom componenty

    I'm a Flash newbie trying to build a custom component using
    Flash MX 2004. basically it's an enhanced version of the standard
    label component. Everything seems to work fine except when trying
    to set default text or assigning a text value in the "properties"
    window (the field displays in the properties window, but any value
    typed into it does not appear during movie playback). Currently,
    the text can be seen only in authoring mode, not when the movie
    plays. The only way for the text to displayed during playback is to
    set it up through code. Does anybody know what I'm doing wrong? .as
    file content follows.
    class CustomComponents.FormFields.lblFieldLabel extends
    MovieClip {
    private var objFieldLabel:MovieClip;
    private var strText:String = "";
    function lblFieldLabel() {
    init();
    public function init():Void {
    public function get displaytext():String {
    return strText;
    [Inspectable(defaultValue="display text", type="String")]
    public function set displaytext(val:String):Void {
    strText = val;
    objFieldLabel.text = strText + ":";
    }

    I have posted a response to your duplicate post here Set a default value in Custom.pll

  • To call a bean function to set a property value with hx:ajaxRefreshRequest

    I have an input box
    I need to output some text onto an output box,When the input box value changes
    I am using Ibm jsf implementation and RSA 7.0,JSF 1.1 implementation
    I know how to call a bean property's setter method using this hx:refresh submit and associated behaviours and target actions.
    As explained in this tutorial
    http://www.ibm.com/developerworks/rational/library/06/1205_kats_rad2/
    But my aim is to call a bean function other than the setter method,because i could do some business logic there and give output.This is possible via setters too,but i believe thats a poor programming practice.
    Hope ppl have got a clear picture of my problem.
    Help me in this.

    You can use any jsf implementation you want, I suggested you only the steps to accomplish the task but I don't know the components you are using...
    You can also accomplish the task without Ajax at all using "classic" http requests but it will be very frustrating for your users...
    Catch client side event (input value change) -> fire an action that update the model -> update presentation layer with up to date model values

  • Metadata Extention for Dynamic Property Values

    We need to get dynamic values on XML Form based on the logged in user.  Implemented a Metadata Extension class for this purpose.  Followed the link in SDN to create the service and required classes : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/645d4357-0701-0010-07bd-a2ea8c4d0aaf
    Used the following code to get the user id:
    IResourceContext rc = metaContext.getResourceContext();
    com.sapportals.portal.security.usermanagement.IUser usr =  rc.getUser();
    portalUID = usr.getUMEUser().getUniqueName();
    However, portalUID is coming as "CMADMIN_SERVICE"  instead of logged-in userid.  Please note that the property created for this purpose is a Multi-value allowed and displaying the values in a Combo box.
    Questions:
    How do we get the logged-in user ID
    Noticed that this class is getting executed when clicked on Save of XML Form (during runtime); Is there a way to avoid it?
    All together, is there any other approach to get dynamic values to be displayed in XML Form?
    Any help is greatly appreciated...
    Thanks

    Hi Ranganath,
    I see...
    In that case, I can only suggest the direction I would take, since I didn't do it myself:
    The above example uses the property renderer 'multi_dependence'.
    I would try to find its implementing class, decompile it, and see if it gives any clues rergarding to how to implement your case.
    Hope that helps,
    Yoav.

  • Setting dynamic default values in a list/menu

    To save problems with inserting dates into a Mysql database, I have split the input fields on the file insert form into three drop down lists containing the day, month and year.
    In order to make it easy for users, I wish to take the current date, split it into day (dd) month (mm) and year (yyyy), and use one of these values as the default option for each of the three fields.
    In html you would use :
    <option value="2012" selected>2012</option> for the default, but this is a fixed default.
    I want it to change depending on the actual year., so that if today is 21-02-2012, (thats how we use dates in the UK)  the three fields default to 21 (dd) 02 (mm)  2012 (yyyy).
    I can re-format them into MySql date format mmddyyyy no problem later to insert them into the database
    Any ideas?
    Or is there a better way to do this?

    <option value="2012" <?php if (date('Y') == '2012') echo 'selected'; ?>>2012</option>
    The above solution works well for that item.
    I now have another one which may help others.
    I populate a drop down list with the values 1 to 12, with the default being set to 6 and insert a record.
    This represents the number of months that the record will be displayed until it is deleted.
    When I pull the record back from the database to update it, I need to show the current value of the field, which is stored in $row_eventset['event_expiry'] ready for it to be updated.
    Code as follows:
    <select name="event_expiry" size="1" tabindex="5" title="select from the list">
    <?php for ($i = 1; $i <= 12; $i++) { // loop through the months
              echo "<option value= '$i' " ;
          if ($i == $row_eventset['event_expiry']) {                               //check if this is the same as the record being edited
           echo 'selected="selected" ' ;                                                 // if so select it
                echo ">$i</option <br>";                                                  // the <br> is essential in a browser, though it works without it in live view.
    ?>
    </select>
    I hope that it saves someone some time.
    When I first tried this, it worked fine in live view. However in a browser, all the months appeared on the same line. I had to insert the <br> command to make it work properly.

  • How to set Bean property

    I have JSF input <h:inputtext> and JSF Button
    on click i want to set bean property value = user whatever enter in text box how acn i do that?

    well,
    You have to create backing bean with property setter and getter.
    Then:
    <h:inputtext value="#{beanName.propertyName}"/>Now when page is loaded getter is used and when submited setter goes in action
    I would recomend http://www.coreservlets.com/
    Message was edited by:
    m00dy

  • How to set dynamic parameter in list of values in parameter property

    Hi,
    I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
    Regards,
    amol

    Hi,
    I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
    Regards,
    amol

  • How to get Document Set property values in a SharePoint library in to a CSV file using Powershell

    Hi,
    How to get Document Set property values in a SharePoint library into a CSV file using Powershell?
    Any help would be greatly appreciated.
    Thank you.
    AA.

    Hi,
    According to your description, my understanding is that you want to you want to get document set property value in a SharePoint library and then export into a CSV file using PowerShell.
    I suggest you can get the document sets properties like the PowerShell Command below:
    [system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
    $siteurl="http://sp2013sps/sites/test"
    $listname="Documents"
    $mysite=new-object microsoft.sharepoint.spsite($siteurl)
    $myweb=$mysite.openweb()
    $list=$myweb.lists[$listname]
    foreach($item in $list.items)
    if($item.contenttype.name -eq "Document Set")
    if($item.folder.itemcount -eq 0)
    write-host $item.title
    Then you can use Export-Csv PowerShell Command to export to a CSV file.
    More information:
    Powershell for document sets
    How to export data to CSV in PowerShell?
    Using the Export-Csv Cmdlet
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to Change Value set Dynamically for a Parameter in Apps?

    Hi All,
    I have a requirement where i need to change the value set dynamically for a given Parameter. This goes as, I have a Concurrent Program with 4 parameters. First Parameter is mandatory Business group.Second Parameter is Warehouse. Based up on the First parameter the second parameters LoV's are displayed, the third and fourth parameters value sets are dependent up on the Second parameter value. Parameter 2,3,4 Value sets are Table type. So i Used .$FLEX$.Value_setname to retrive the LOV's
    The Requirment now is that if the User doesn't enter the Parameter 2 than the Third Parameter field must be Open and he must be able to enter the Free text. In my case it is an Order Number. If the User enters the paramter 2 value than LOV's for ORder number pertaining to that Warehouse must get displayed. I've figured that this can be possible only if i change the Valuesets Dyanamically. I'm not sure if that is possible or not.
    I have tried :
    Using a Dummy Parameter with a new valueset(Transactable Independent) and giving Y and N based up on Warehouse parameter input.
    SELECT (DECODE ( :$FLEX$.WAREHOUSE_NAMES,NULL,'Y','N')) from dual;
    The default type was SQL.
    Then in the 3rd Parameter i have used Case function to differentiate Y or N. The third parameter being ORder number, is a table type and derived from Oe_order_headers_all.
    In the Query section i tried using dummy parameter value set to retreive the values. I was terribly Unsuccessful in doing so.
    Does the above Case exists or is Doable? Please, Help me out if somone had worked on Similar thing or have any idea of standard report/program using it in Oracle.
    Thanks alot for the Help!

    You will probably have better luck on the eBusinesSuite forum. This is more of a setup issue when defining your LOV and program parameters than it is a SQL or PL/SQL issue.
    http://forums.oracle.com/forums/category.jspa?categoryID=3
    Good luck - this is an aggravating issue to work with and I wish I did have the answer for you!

  • How to set a default value to a transaction property?

    Hi All,
    I have a table in which one of the columns is production_date. I need to retrieve and display the data corresponding to the month as selected by the user in the front end. But prior to the selection, the user should see the data of the current month. I am able to show the data of the user selected month, but am unable to show the data of the current month. Instead of the current month, the transaction returns the data of the month of January by default. Can anybody help?
    Thanks and Regards,
    Lipsa.

    Jeremy,
    I am not at all bothered about the selected month. I think, you too did not get my question. Let me explain you the scenario once again.
    In the left hand side of the user's dashboard, there is a link to view current status. Once the user clicks the link, he should see two things.
    1. a chart to display the data of the current month.
    2. a drop down list to select a month of his choice.
    The data is available in the database table. This table is having a column called Production_Date. Once the user selects a month from the list, the selected item is set to an applet parameter. I have designed a BLS which calls the query template having this parameter. The QT queries for all the data from the database. The BLS is having a transaction property called 'month'. The parameter value is assigned to this property. Now, this property has the month selected by the user. Finally, I have the logic where I repeat the column Production_Date, get the month out of the date, compare the month with the property value in a conditional block, and get the data once the condition is true. Using these steps, I can get the data of the month selected by the user.
    My issue is, the user should see the data of the current month prior to selection from the drop down list which I am unable to do. Any suggestions as to how can I achieve this?
    Regards,
    Lipsa.

  • "Message from Webpage (error) There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."

    I created a site column at the root of my site and I have publishing turned on.  I selected the Hyperlink with formatting and constraints for publishing.
    I went to my subsite and added the column.  The request was to have "Open in new tab" for their hyperlinks.  I was able to get the column to be added and yesterday we added items without a problem. 
    The problem arose when, today, a user told me that he could not edit the hyperlink.  He has modify / delete permissions on this list.
    He would edit the item, in a custom list, and click on the address "click to add a new hyperlink" and then he would get the error below after succesfully putting in the Selected URL (http://www.xxxxxx.com), Open
    Link in New Window checkbox, the Display Text, and Tooltip:
    "Message from Webpage  There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."
    We are on IE 9.0.8.1112 x86, Windows 7 SP1 Enterprise Edition x64
    The farm is running SharePoint 2010 SP2 Enterprise Edition August 2013 CU Mark 2, 14.0.7106.5002
    and I saw in another post, below with someone who had a similar problem and the IISreset fixed it, as did this problem.  I wonder if this is resolved in the latest updated CU of SharePoint, the April 2014 CU?
    Summary from this link below: Comment out, below, in AssetPickers.js
    //callbackThis.VerifyAnchorElement(HtmlElement, Config);
    perform IISReset
    This is referenced in the item below:
    http://social.technet.microsoft.com/Forums/en-US/d51a3899-e8ea-475e-89e9-770db550c06e/message-from-webpage-error-there-was-an-error-in-the-browser-while-setting?forum=sharepointgeneralprevious
    TThThis is possibly the same information that I saw, possibly from the above link as reference.
    http://seanshares.com/post/69022029652/having-problems-with-sharepoint-publishing-links-after
    Again, if I update my SharePoint 2010 farm to April 2014 CU is this going to resolve the issue I have?
    I don't mind changing the JS file, however I'd like to know / see if there is anything official regarding this instead of my having to change files.
    Thank you!
    Matt

    We had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
    I blog about this issue and having the office reference.
    Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
    So if you apply the April CU then you will be fine.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Unable to set a new value in an extended property from within a For Each Loop

    Setting a new value in an extented property fails when the property is dereferenced within a For Each loop usin the item  iterator. However, if you use the First or Last Iterators from the Find Targets activity works fine.
    The error message is : "Setting a value for this object type is not allowed"
    I believe this is a defect, can you please confirm

    Looks like a bug that needs to be reported.
    While we are figuring out the issue you can work around the bug.
    Add another "Find Targets" inside the loop, and use the ID of the current item in the loop to find the target (again) by ID.
    And then use Set Variable on the target that was just found...
    I know... Not an ideal workaround, so please open a Severity 4 bug for this.

  • Exception setting property value with CGLIB ( in hibernate)

    My hbm.xml file is:
    <hibernate-mapping>
    <class name="com.dst.fourx.model.codeModel.CodeGroupDisplay" table="CODE_GROUP_DISPAY1">
    <composite-id name="codeGroupDisplayKey" class="com.dst.fourx.model.codeModel.CodeGroupDisplayKey">
    <key-property name="nlsLanguage" type="java.lang.String" column="LANG_CD" />
    <key-many-to-one name="codeGroupCode" class="com.dst.fourx.model.codeModel.CodesGroup" column="CD_GRP_CD" />
    </composite-id>
    <property name="createDate" column="CREATE_DT" type="java.util.Date" not-null="true"/>
    <property name="createUserCode" column="CREATE_USER_CD" type="java.lang.String" not-null="true"/>
    <property name="updateDate" column="LAST_MOD_DT" type="java.util.Date"/>
    <property name="updateUserCode" column="LAST_MOD_USER_CD" type="java.lang.String"/>
    <property name="displayText" column="DISPLAY_TXT" type="java.lang.String" not-null="true"/>
    </class>
    <query name="findAllEditableCodeGroups">
    <![CDATA[from CodeGroupDisplay]]>
         </query>
    </hibernate-mapping>
    I m getting the following error while running the above query:
    org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.dst.fourx.model.codeModel.CodeGroupDisplayKey.setCodeGroupCode
         at org.hibernate.tuple.PojoComponentTuplizer.setPropertyValues(PojoComponentTuplizer.java:63)
         at org.hibernate.type.ComponentType.setPropertyValues(ComponentType.java:262)
         at org.hibernate.type.ComponentType.resolve(ComponentType.java:447)
         at org.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:182)
         at org.hibernate.loader.Loader.getKeyFromResultSet(Loader.java:759)
         at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:292)
         at org.hibernate.loader.Loader.doQuery(Loader.java:412)
         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
         at org.hibernate.loader.Loader.doList(Loader.java:1593)
         at org.hibernate.loader.Loader.list(Loader.java:1577)
         at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
         at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
         at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
         at com.dst.fourx.core.impl.ao.dao.actions.HibernateNamedQueryAction.execute(HibernateNamedQueryAction.java:79)
         at com.dst.fourx.core.impl.ao.dao.BaseDAOHibernate.execute(BaseDAOHibernate.java:129)
         at com.dst.fourx.core.impl.ao.dao.AddEditCodeDAO.getAllFundingTypes(AddEditCodeDAO.java:47)
         at com.dst.fourx.core.impl.ao.dao.AddEditDAOTest.testGetCreditBankAccts(AddEditDAOTest.java:29)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Caused by: net.sf.cglib.beans.BulkBeanException: com.dst.fourx.model.codeModel.CodesGroup$$EnhancerByCGLIB$$fd9c7e4e
         at com.dst.fourx.model.codeModel.CodeGroupDisplayKey$$BulkBeanByCGLIB$$ae2c0401_2.setPropertyValues(<generated>)
         at org.hibernate.tuple.PojoComponentTuplizer.setPropertyValues(PojoComponentTuplizer.java:59)
         ... 32 more
    Caused by: java.lang.ClassCastException: com.dst.fourx.model.codeModel.CodesGroup$$EnhancerByCGLIB$$fd9c7e4e
         ... 34 more

    check the setter method for the property LANG_CD in com.dst.fourx.model.codeModel.CodeGroupDisplay.
    it must be like -
    setNlsLanguage(CodesGroup xyz) { ... }
    The paremeters must be objects, not the type of the database column. We can specify the actual field in CodesGroup which acts as the foreign key in CodeGroupDisplay in the "property-ref" attribute of <many-to-one> element in the mapping file for CodeGroupDisplay.
    This worked for me. Hope it works for you too.

  • Item Values Not Set - Dynamic SQL Fails to Parse.

    ** Think I've fixed this **
    (By simply defining some page computations I was able to set the item values to some default. Please don't feel the need to reply :-))
    I have a page consisting of 5 report parameters and a report, all in one region, 4 parameters are LOVs and one is a text field which in the query are all compared to table column values. The report region type is SQL Query(PL/SQL function body returning SQL Query).
    If I load the page in a new session with default values for the LOVs as '%' and a null text field, I get the following error message:-
    failed to parse SQL query:
    ORA-00936: missing expression
    If I examine the session state, I see that none of the parameter values are set, which is probably why the dynamic sql is failing.
    If I set one of the parameters to something, eg. choose another value in an LOV or type some text in the text field, and re-run the report, it executes without error.
    What's the easiest way to fix this, is it to set the page items to some specific values when the page is first loaded? If so how do I do that? I'm not having much luck creating some process to do it.
    All help appreciated.
    Ian
    Message was edited by:
    Ian_F

    Hi Ian,
    Did you already try to put a default value for that lov?
    Or try to do a computation before header?
    Thanks,
    Dimitri
    -- http://dgielis.blogspot.com
    -- http://apex-evangelists.com

Maybe you are looking for

  • Print directly to the printer option in the Windows registry

    I need to find the location for the option to "Print directly to the printer" in the Windows registry.  I am trying to create a GPO to enable this option at login and I can't find the location for it.  Is this possible to do?  If not, is there anothe

  • Possible to block document when someone read it?

    Hi everyone, my client want a specific pdf file in the portal km to be blocked once someone read it, and unblocked when the person close the opened file. I did not found any pertinent infos on this, and I don't think it can be made without creating a

  • Itunes was unable to load data provider from sync services! Please help!

    Whenever I try to sync my ipod to my computer it always says "itunes was unable to load data provider for sync services" and I have no idea what to do. People have said that you change the sync services folder to sync services_old but I dont have a s

  • ITunes won't respond

    I got a new hard drive and downloaded my DVD music backup from the old drive. Went fine for the 1st DVD ( backup on 2 DVD's) Later on when I went to download the 2nd I find iTunes won't open now. When I go to force quit it says iTunes not responding.

  • Buckets

    Hi - I am trying to extend our fiscal calendar using some analytical sql as it does not fall into some of the standard built-in date functions. below is the code for what i need, any other suggestions for producing this is appreciated (I seem to have