Rules: How to retrieve Custom1 member value

I am trying to debug HFM rule file in order to see what values certain paramter take on.
For instance I am using below command where I am writing 3 items into a file.
WriteDebug Now(), "E#" & vEntity & "a#MASP10", "= " & HS.GetCell("A#MASP10.W#Periodic")
(1) the first one is the date/time stamp
(2) the second one a description (entity and account) and
(3) the third one the actual value.
What is the command so as to see what value Custom1 dimension has ?
I tried to include HS.Custom1.Member() but it did not give me a value for custom1.
This is what I tried:
WriteDebug Now(), "E#" & vEntity & "C1#" & HS.Custom1.member() & "a#MASP10", "= " & HS.GetCell("A#MASP10.W#Periodic")
Thx,
Silvio

There is only a current custom 1 member of you are looping through a list or data unit. Otherwise there is only current scenario, year, period, entity and value.

Similar Messages

  • How to retrieve the procedure value and pass the value to a form field

    How to retrieve the procedure value and pass the value to a form field?

    Set property for the field and the value is the actual procedure/function.
    Cheers

  • How to retrieve dynamic filter value submitted from control query to .....

    How to retrieve dynamic filter value submitted from control query to broadcast query.....
    I'm trying to change the hierarchy version determined by a userexit variable in the broadcast query.
    The Hierarchy Version should be dependent on the input filter delivered by the bursting query.
    But how do I catch the dynamic filter value which has been submitted by the bursting query,
    with other words:  where does the bursting query store it's out put while sequentially starting the broadcast query value by value?
    BTW: the filter value from the bursting query appears under "dynamic filter values" in the information of the broadcast query...
    Any thoughts are welcome!
    Edited by: Heinrich Krupp on Jun 24, 2009 1:25 PM

    Further information,
    Report is used via webi only, not Xcelsius or Dashboard.
    Report is consuming BI Web Services.
    Although we can pass in prompt values to BI Services, I couldn't find if we could pass a variable or dimension object into this field. Anyone knows?

  • How to retrieve a member set by a certain value?

    Hi everyone,
    I'm having a problem trying to retrieve a set of entity members that have a certian value in an account.
    For a UDA or an attribute there are functions that solve this very problem but I can't figure out how to check on a value.
    For example if I'm trying to allocate a value to entities that contain a '1' in account 'Flag' I cannot find a member set function that would work.
    "Plan"=@allocate("Revenue"->"Plan",@ismbr("Flag"==1)),&PriorYear->"ACT",,share)
    This code doesn't work because the @ismbr function expects a member and not a boolean.
    Alternatively would it be possible to save a member selection so that I can loop through all entites and add them to a selection one by one?
    Thanks for your help :)

    Planning, eh? :)
    I think if you took your calc and stood it on it's head, you might get the calc range you want.
    Here's my (theoretical) idea.
    You're already (I assume) creating a calc block in a calc script/HBR to do the Plan calculation in the first place.
    I wonder if this would work:
    FIX(level 0 dimension members of whatever dimension)
    "Plan"
    IF("Flag" == 1)
    "Plan" = @ALLOCATE("Revenue"->"Plan", @HIERARCHICALFUNCTION("whatever"), "Revenue"->"ACT"->&PriorYear, , share) ;
    ENDIF
    ENDFIX
    The goal is to have the IF statement trump the range in the @ALLOCATE. I'm not sure it would work but it might be worth a try.
    Your @ALLOCATE is really just child member / parent member * basis. You could just roll your own:
    FIX(level 0 dimension members of whatever dimension)
    "Plan"
    IF(@ISMBR("Flag" == 1))
    "Plan" = ("Revenue"->"ACT"->&PriorYear / @PARENTVAL(whatever dimension, "Revenue"->"ACT"->&PriorYear)) * "Revenue"->"Plan" ;
    ENDIF
    ENDFIX
    Regards,
    Cameron Lackpour

  • Newbie - How to retrieve a "Boolean" value in a jsp via jsf ?

    Is it possible to retrieve a Boolean value from a BBean from, from let's say a 'rendered' tag ?
    class BBean
    Boolean secure;
    public Boolean getSecure() {...}
    From the jsf:
    <h:outputText value="#{somebean.whatever}" rendered="#{BBean.? == false}" />
    How do I use the Boolean object in an expression like the one above ?
    Note: I've simplified the example above, but I cannot use a primitive boolean for this, the objects I use
    are generated with "Boolean"s and I have no control.
    Thanks in advance !
    Mark

    You should just use boolean instead of Boolean;
    class BBean
    boolean secure;
    public boolean getSecure() {...}
    <h:outputText value="#{somebean.whatever}" rendered="#{bBean.secure == false}" />

  • How to retrieving attributes old values from a OBJECT_CHANGED event

    Hi,
    I have installed Sun ONE Directory Server 5.2. I have registared Event Listener which implements both name space change and object change interfaces. After chaning some attribute value, i am able to get the new values of attributes using getNewBinging method. But when i call getOldBinding to get attributes, it is returning null. Can any one help me how to get the old values. This is very much urgent and we are trying to write custom connectors to synchronize the data in Sun ONE directory server with other directory servers like Oracle Internet Directory.
    I am new to Java and JNDI.
    It would be great help if any one can light me in this regard. Thanks in advance.
    Thanks & Regards
    Sreedhar

    I have been also working for the same issue. getOldBinding() does not return old attributes in case of ObjectChanged event. So far I did not find any solution. Does anyone know any solution?

  • How to Retrieve the Selected Values from selectOrderShuttle using ADF 11g

    Hi Every One,
    Does anyone has idea how to retrieve the selected Items using shuttle and Order of the items using 'SelectOrderShuttle' component ?
    Thanks

    shuttle's valuechangeevent would fire when you shuttle items back and forth.
        public void selectOrderShuttle1_valueChangeListener(ValueChangeEvent valueChangeEvent) {
            ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
            if (list != null){
                for (int i=0; i<list.size(); i++) {
                    int l = list.size()-1;
                    val = list.get(l).toString(); //returns , delimited string
                    if (val != null){
                        val = val.replaceAll("[\\[\\]]", "");
                        StringTokenizer st = new StringTokenizer (val, ",");
                        int nto = st.countTokens ();
                        for (int j = 0; j < nto; j++)
                            String token = st.nextToken ();                     
                ..........

  • How to retrieve a property value from an iview in the back-end?

    Hi,
    I am looking for a back-end function module or any other way to retrieve the property value of an iview in the portal.
    Is this possible?
    thanks,
    Bert Caryn

    Hi,
    Look at the following threads,
    For programmatically getting the iview properties,
    Programmatically getting iView Properties
    Also,
    Get Properties of IView Programmatically
    Permanent change of iView property programmatically
    Hope these threads help u.
    Regards
    Srinivasan T

  • How to retrieve the max value from a cursor in procedure

    Hi,
    In a procedure, I defined a cursor:
    cursor c_emp is select empno, ename, salary from emp where ename like 'J%';
    but in the body part, I need to retrieve the max(salary) from the cursor.
    could you please tell me how I can get the max value from the cursor in the procedure.
    Thanks,
    Paul

    Here is one sample but you should just get the max directly. Using bulk processing should be a last resort.
    DECLARE
      CURSOR c1 IS (SELECT * FROM emp where sal is not null);
      TYPE typ_tbl IS TABLE OF c1%rowtype;
      v typ_tbl;
      max_sal number;
    BEGIN
      OPEN c1;
      max_sal := -9999999999999;
      LOOP                                                 --Loop added
        FETCH c1 BULK COLLECT INTO v LIMIT 3; -- process 3 records at a time
            -- process the records
           DBMS_OUTPUT.PUT_LINE('Processing ' || v.COUNT || ' records.');
            FOR i IN v.first..v.last LOOP
                 if v(i).sal > max_sal then
                   max_sal := v(i).sal;
                 end if;
                DBMS_OUTPUT.PUT_LINE(v(i).empno);
            END LOOP; 
        EXIT WHEN c1%NOTFOUND;
      END LOOP;
      DBMS_OUTPUT.PUT_LINE('Max salary was: ' || max_sal);
    END;
    Processing 3 records.
    7369
    7499
    7521
    Processing 3 records.
    7566
    7654
    7698
    Processing 3 records.
    7782
    7788
    7839
    Processing 3 records.
    7844
    7876
    7900
    Processing 2 records.
    7902
    7934
    Max salary was: 5000

  • Embedded Java Code - How to retrieve multivalue payload value

    I'm working in my SOA-Composite which is used with OIM and our approval process. Here is an example of the payload data:
    >
    <ns2:RequesterDetails>
    <ns2:FirstName>System</ns2:FirstName>
    <ns2:MiddleName/>
    <ns2:LastName>Administrator</ns2:LastName>
    <ns2:Login>XELSYSADM</ns2:Login>
    <ns2:DisplayName>System Administrator</ns2:DisplayName>
    <ns2:ManagerLogin/>
    <ns2:OrganizationName>Xellerate Users</ns2:OrganizationName>
    <ns2:Email>[email protected]</ns2:Email>
    <ns2:StartDate/>
    <ns2:EndDate/>
    <ns2:Status>Active</ns2:Status>
    <ns2:XellerateType>End-User Administrator</ns2:XellerateType>
    <ns2:UserType>Full-Time</ns2:UserType>
    <ns2:Role>SYSTEM ADMINISTRATORS</ns2:Role>
    <ns2:Role>Test Role 1</ns2:Role>
    <ns2:Role>Test Role 2</ns2:Role>
    </ns2:RequesterDetails>
    >
    I am able to retrieve single values with code like this:
    >
    //Retrieve Requester Login
    Object requesterXMLElem = getVariableData("inputVariable", "payload","/ns3:process/ns4:RequesterDetails/ns4:Login");
    String requesterLogin = ((oracle.xml.parser.v2.XMLElement)requesterXMLElem).getText();
    >
    How do i retrieve the multivalue Role values and not just a single entry?
    Thanks,
    Kevin

    I see what i missed with the doube slash, i thought you had a typo and assumed i used it. If i use the following:
    //Retrieve Requester Roles
    Object requesterRolesXMLElem = getVariableData("inputVariable", "payload","/ns3:process/ns4:RequesterDetails//ns4:Role");
    System.out.println("Requester Roles Type[" + requesterRolesXMLElem.getClass() + "]");
    int requesterRolesCount = ((oracle.xml.parser.v2.XMLElement)requesterRolesXMLElem).getAttributes().getLength();
    System.out.println("Requester Roles Length[" + requesterRolesCount + "]");
    String requesterRole = ((oracle.xml.parser.v2.XMLElement)requesterRolesXMLElem).getText();
    System.out.println("Requester Roles[" + requesterRole + "]");
    I get the following output:
    Requester Roles Type[class oracle.xml.parser.v2.XMLElement]
    Requester Roles Length[0]
    Requester Roles[SYSTEM ADMINISTRATORS]
    I am not seeing how to loop through each if the type is class oracle.xml.parser.v2.XMLElement
    Thanks,
    Kevin

  • How to retrieve 3 max values

    Hi ,
    can anyone let me know how to retrive the max 3 values from a table...
    I want to get the top 3 values of salary from emp table
    Thanks,
    Praveen

    Praveen,
    Consider the following example:
    SQL> set pagesize 9999
    SQL> select empno, ename, sal
      2  from scott.emp;
         EMPNO ENAME             SAL
          7369 SMITH             800
          7499 ALLEN            1600
          7521 WARD             1250
          7566 JONES            2975
          7654 MARTIN           1250
          7698 BLAKE            2850
          7782 CLARK            2450
          7788 SCOTT            3000
          7839 KING             5000
          7844 TURNER           1500
          7876 ADAMS            1100
          7900 JAMES             950
          7902 FORD             3000
          7934 MILLER           1300If you want to get the top three salaries, you can use this query
    SQL> select sal
      2  from
      3     (select distinct sal
      4       from scott.emp
      5     order by sal desc)
      6  where  rownum<=3;
           SAL
          5000
          3000
          2975If you want to see all the employees having any of top-3 salaries you can use the following one:
    SQL> select empno, ename, sal
      2  from
      3     (select empno, ename, sal, dense_rank() over (order by sal desc) dr
      4      from scott.emp
      5     )
      6  where dr<=3;
         EMPNO ENAME             SAL
          7839 KING             5000
          7788 SCOTT            3000
          7902 FORD             3000
          7566 JONES            2975If you want to get the first 3 employees with the highest salaries. You can use the following one.
    But, be aware, there might be more employees having $3000,00 salary.
    SQL>  select empno, ename, sal
      2  from
      3     (select empno, ename, sal
      4      from scott.emp
      5     order by sal desc)
      6* where rownum<=3
    SQL> /
         EMPNO ENAME             SAL
          7839 KING             5000
          7788 SCOTT            3000
          7902 FORD             3000
    SQL>

  • How to retrieve query string value from the URL in my portlet

    Hi,
    When user clicks on "Advance Search", i am redirecting to page in the community. At the same i am adding some more values to the query string (to the URL).
    My URL will look like this.
    http://ctp-mc0149/portal/server.pt?space=CommunityPage&parentname=CommunityPage&parentid=0&in_hi_userid=200&cached=true&control=SetCommunity&PageID=202&CommunityID=200&searchType=2
    Now in one of my portlet in that page, i want to retrieve the query string values from the URL.
    Please help me regarding this.
    Thanks in advance.
    Thanks,
    sreekanth.

    Hi,
    Look at the following threads,
    For programmatically getting the iview properties,
    Programmatically getting iView Properties
    Also,
    Get Properties of IView Programmatically
    Permanent change of iView property programmatically
    Hope these threads help u.
    Regards
    Srinivasan T

  • How to retrieve the selected value in f4if_int_table_value_request

    hi guys,
    I have created a search help using fm f4if_int_table_value_request,my value table contains several fields including vbeln. When i am selecting a record the return table is capturing the last column of the record but i want to select the vbeln which is in the first column.
    Plz help...

    MODULE F4_ON_VALUE_REQUEST INPUT.
       TYPES : BEGIN OF TYP,
               G_VBELN TYPE VBELN,
               FKDAT TYPE ZCHEQUEIT-FKDAT,
               BASEAMNT TYPE ZCHEQUEIT-AGRV,
               SERVTAX TYPE ZCHEQUEIT-SERVT,
               BALAMNT TYPE ZCHEQUEIT-BALA,
                END OF TYP.
       DATA :  IT_VAL TYPE TABLE OF TYP,
               WA_VAL TYPE TYP,
               IT_RET TYPE TABLE OF DDSHRETVAL,
               WA_RET TYPE DDSHRETVAL,
               IT_DYN TYPE TABLE OF DYNPREAD,
               WA_DYN TYPE DYNPREAD,
               IT_FIELDTAB TYPE TABLE OF DSELC,
               WA_FIELDTAB TYPE DSELC,
               LV_VKORG TYPE VKORG,
               LV_KUNNR TYPE KUNNR,
               INDEX TYPE SY-INDEX.
       TYPES : BEGIN OF TY_VBRK,
                VBELN TYPE VBRK-VBELN,
                KNUMV TYPE VBRK-KNUMV,
                FKDAT TYPE VBRK-FKDAT,
                NETWR TYPE VBRK-NETWR,
                END OF TY_VBRK.
       TYPES : BEGIN OF TY_KONV,
               KNUMV TYPE KONV-KNUMV,
               KSCHL TYPE KONV-KSCHL,
               KWERT TYPE KONV-KWERT,
               END OF TY_KONV.
       DATA : IT_VBRK TYPE STANDARD TABLE OF TY_VBRK,
              WA_VBRK TYPE TY_VBRK,
              IT_KONV TYPE STANDARD TABLE OF TY_KONV,
              WA_KONV TYPE TY_KONV,
              G_BASEAMNT TYPE KWERT,
              G_SERVTAX TYPE KWERT.
       MOVE 'VKORG' TO WA_DYN-FIELDNAME.
       APPEND WA_DYN TO IT_DYN.
       MOVE 'KUNNR' TO WA_DYN-FIELDNAME.
       APPEND WA_DYN TO IT_DYN.
       CALL FUNCTION 'DYNP_VALUES_READ'
         EXPORTING
           DYNAME                               = SY-REPID
           DYNUMB                               = SY-DYNNR
         TABLES
           DYNPFIELDS                           = IT_DYN
       IF SY-SUBRC <> 0.
    * Implement suitable error handling here
       ENDIF.
       CLEAR WA_DYN.
       READ TABLE IT_DYN INTO WA_DYN WITH KEY FIELDNAME = 'VKORG' .
       LV_VKORG = WA_DYN-FIELDVALUE .
       READ TABLE IT_DYN INTO WA_DYN WITH KEY FIELDNAME = 'KUNNR' .
       LV_KUNNR = WA_DYN-FIELDVALUE.
       SELECT XBLNR FROM BSID INTO TABLE IT_VAL WHERE
         BUKRS = LV_VKORG AND KUNNR = LV_KUNNR AND BLART = 'RV'."
       SELECT VBELN KNUMV FKDAT NETWR FROM VBRK INTO TABLE IT_VBRK
         FOR ALL ENTRIES IN IT_VAL WHERE VBELN = IT_VAL-G_VBELN.
       SELECT KNUMV KSCHL KWERT FROM KONV INTO TABLE IT_KONV
         FOR ALL ENTRIES IN IT_VBRK WHERE KNUMV = IT_VBRK-KNUMV.
       CLEAR : WA_KONV.
       LOOP AT IT_VAL INTO WA_VAL.
         READ TABLE IT_VBRK INTO WA_VBRK WITH KEY VBELN = WA_VAL-G_VBELN.
         IF SY-SUBRC = 0.
           WA_VAL-FKDAT  = WA_VBRK-FKDAT.
           WA_VAL-BALAMNT = WA_VBRK-NETWR.
         ENDIF.
         LOOP AT IT_KONV INTO WA_KONV WHERE KNUMV = WA_VBRK-KNUMV.
           IF WA_KONV-KSCHL = 'ZAGV'.
             WA_VAL-BASEAMNT = WA_VAL-BASEAMNT + WA_KONV-KWERT.
           ELSEIF WA_KONV-KSCHL = 'JSRT' OR WA_KONV-KSCHL = 'JEC3' OR WA_KONV-KSCHL = 'JES3'.
             WA_VAL-SERVTAX = WA_VAL-SERVTAX + WA_KONV-KWERT.
           ENDIF.
         ENDLOOP.
         MODIFY IT_VAL FROM WA_VAL TRANSPORTING FKDAT  BALAMNT. "BASEAMNT SERVTAX
         CLEAR : WA_KONV,WA_VBRK,WA_VAL.
       ENDLOOP.
       CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
         EXPORTING
    *       DDIC_STRUCTURE         = 'TYP'
           RETFIELD               = 'VBELN'
    *       PVALKEY                = ' '
          DYNPPROG               = SY-REPID
          DYNPNR                 = SY-DYNNR
          DYNPROFIELD            = 'Invoice No.'
    *     DYNPROFIELD            = 'WA_ZCHEQUEIT-VBELN'
          VALUE_ORG              = 'S'
         TABLES
          VALUE_TAB              = IT_VAL
    *     FIELD_TAB              = IT_FIELDTAB
          RETURN_TAB             = IT_RET
    *     DYNPFLD_MAPPING        = it_fieldtab.
       IF SY-SUBRC <> 0.
    * Implement suitable error handling here
       ENDIF.
    CLEAR : WA_DYN,LV_VKORG,LV_KUNNR.
       REFRESH : IT_DYN,IT_VAL,IT_RET.
    ENDMODULE.                 " F4_ON_VALUE_REQUEST  INPUT

  • How to retrieve line Item values from an object using groovy

    def RevenueObject = nvl(ChildRevenue,0);
    println('revenueItems==='+revenueItems.size());
    while(RevenueObject.hasNext())
    def revenueLine = RevenueObject.next();
    revenueLine.setAttribute('Test_c', 'Hello');
    } Groovy Scripting
    Error : Getting null value for Revenue object
    Exception in expression "OpportunityEO" trigger "getRevenueItems" : groovy.lang.MissingMethodException : No signature of method: oracle.jbo.server.ViewRowSetIteratorImpl.size() is applicable for argument types: () values: [] Possible solutions: is(java.lang.Object), find(), use([Ljava.lang.Object;), with(groovy.lang.Closure), sleep(long), find(groovy.lang.Closure)
    at "OpportunityEO" trigger "getRevenueItems" line 7
    No signature of method: oracle.jbo.server.ViewRowSetIteratorImpl.size() is applicable for argument types: () values: [] Possible solutions: is(java.lang.Object), find(), use([Ljava.lang.Object;), with(groovy.lang.Closure), sleep(long), find(groovy.lang.Closure)

    Depending on the message the line number might be in one of the fields:
    MESSAGE_V1
    MESSAGE_V2
    MESSAGE_V3
    MESSAGE_V4
    Although if the message simply is not meant to include the line number, it won't be there. That's the way it is. If there is a user exit available, you may add your custom messages with the line number. In some user exits (in sales order for sure) there is a special variable (flag), which is set when the BAPI runs the transaction.

  • How to retrieve a string value from a PHP function call

    Should this string be the return value of the PHP function?
    Or should it be embedded in the response HTML? Any examples?

    This is what I got so far:
    footer.mxml in Flex Builder 3:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="ts_request()">
    <mx:Script>
    <![CDATA[
    public function ts_request():void {
    timestampRequest.send();
    ]]>
    </mx:Script>
    <mx:Canvas width="836" height="36"
    backgroundColor="#05075C">
    <mx:Label id="timestamp"
    text="{timestampRequest.lastResult.timestamp}" color="#FEFEFE"
    height="20" y="10" textAlign="left" width="221" x="10"/>
    </mx:Canvas>
    <mx:HTTPService id="timestampRequest" url="
    http://www.ABC.com/timestamp.php"
    useProxy="false" method="POST" />
    </mx:Application>
    Here is the timestamp.php on the www.ABC.com web server. I
    have tested the php by directly access it with
    "www.ABC.com/timestamp.php" and it shows the timestamp correctly:
    <?php
    putenv($timezone);
    $Return = "<timestamp>".date("m/d/Y H:i:s", time())."
    CST"."</timestamp>";
    print($Return);
    ?>
    When I run footer.mxml in Flex 3 Builder, I got an error:
    This file cannot be launched.
    Where did I do wrong?

Maybe you are looking for

  • Dropdown buttons not working in Portal (UWL, ESS & MSS)

    Hi, I am having this problem in the portal. When a user clicks on any dropdown button in Webdynpro applications such as UWL, ESS & MSS in the portal, an error message 'Error: Access is Denied' appears in the left bottom corner of Internet Explorer 6.

  • Odd iBook question - g4 board in a g3 case?

    After dealing with another logic board failure on my iBook g3, I have reached the point of wondering if I should avoid the g3 boards entirely and go with an iBook g4 board this time. Does anyone know if the logic board from a 12" iBook g4 will physic

  • Material to consumption

    Hi I want to transfer material to consuptiom account and move through different storage locations/ plants ... so how to go forward for it Thank you

  • How to set as default Users folder the one on the second Hard Disk?

    I recently upgrade my macbook pro with a second hard drive, an SSD, so I placed the old one were the super drive used to be. Yesterday I upgraded to Mac OS X 10.8 Mountain Lion via clean install on the SSD. So now I want to keep system files and apps

  • Parsing superscripts

    Hi all, I'm parsing XML files and every so often one of the tokens happens to have a superscript in it, like cm� or ml�. My parser bombs out when it reads in these characters. Does anyone know why it won't handle the superscripts, and can anyone tell