Dynamic member list

Can some one give me a complete sample dynamic member list for reference?

Sub EnumMemberLists()
    '|                                                                            |
    '|  This block of code defines which dimensions have lists and how many       |
    '|  lists per dimension have been created.                                    |
    '|____________________________________________________________________________|
     Dim aEntityLists (2)
        Select Case HS.Dimension
          Case "Entity"
               aEntityLists(1) = "US"
               aEntityLists(2) = "NonUS"
               HS.SetMemberLists aEntityLists
     End Select
End Sub 'EnumMemberLists
Sub EnumMembersInList()
    Select Case HS.Dimension
    '|                                                                            |
    '|  This block of code specifies the criteria for each of the entity lists.   |
    '|                                                                            |
    '|  They may be revised as needed. Note that these are dynamic lists.         |
    '|____________________________________________________________________________|
             Case "Entity"
               Select Case HS.MemberListID
                    Case 1
                        US_list = HS.Entity.List("FlatOrg", "[Base]")
                             For US_loop = LBound(US_list) To UBound(US_list)
                              If HS.Entity.UD1(US_list(US_loop)) = "US" Then
                                        HS.AddEntityToList "", US_list(US_loop)
                              End If
                         Next
                    Case 2
                        NonUS_list = HS.Entity.List("FlatOrg", "[Base]")
                             For NonUS_loop = LBound(NonUS_list) To UBound(NonUS_list)
                              If HS.Entity.UD1(NonUS_list(NonUS_loop)) <> "US" Then
                                        HS.AddEntityToList "", NonUS_list(NonUS_loop)
                              End If
                         Next
               End Select 'Entity List
        End Select 'Entity
End Sub 'EnumMembersInList

Similar Messages

  • Display Dynamic Member List Variable value in the Header

    Hi
    In my HFR report im using a dynamic member list as DynList1(@POV) in the Entity Dimension; for HFM Application.
    For the Entity Parameter im using User Prompt for Entity.
    For the User Prompt im using a choice list of Four entity members. E1, E2,E3, E4.
    I have 4 member lists ML_E1,ML_E2, ML_E3, ML_E4 such that ML_E1 contains few of the descendants of E1.
    So wen i run the report i select E1 in the user prompt and the ML_E1 is used in the Report. This is working fine.
    Now, i want to display the MemberName and Description of E1 in the Header.
    Im not sure if it can be done. But wanted some confirmation from Hyperion Community on whther this can be done.If yes, please let me know how.
    Thanks
    Vibhuti

    I tried to recreate the problem like listed above, but after I add the Outputcollection of the Invoke as a parameter, there is no schema info (not even task:task) when editing the Assignment and Routing Policy section. At any rate, there weren't errors to speak of - the instance completed with "The state of this instance is Completed".
    In the meantime, I've used a while loop to loop through a sequence of approvers that are result of a query. I'll have to keep track of approvers and include them in each new payload I think.

  • Building a dynamic Member list in HFM

    Good day,
    I want to build a dynamic memberlist in HFM by using the function HS.GetSubmissionPhase("S#scenario.P#period.A#account.C1#custom1.C2 #custom2.C3#custom3.C4#custom4.I#icp”). For some reason it does not return the correct submission phase but always 1 (one). I need to retrieve the submission phase of a specific cell (account) because it can vary from period to period, and therefore it must be dynamic. I am using version 11.1.1.2 (not patched). Is there a way to do this?
    Please assist.
    Thanks,
    Danee

    Hi Chris,
    I understand the member lists are metadata driven and might have a problem with the submission groups per phase (data):
    But according to me the function should return me the valid phase submission for a specific account at a specific point in time. I need it on a report or web form, or need to find another way to filter.
    1. Submission groups are set on the accounts
    2. Submission groups are set per submission phase per period
    3. Want to retrieve all valid accounts for a specific submission phase at a specific point in time in a report
    4. Is there another way that I can filter these accounts dynamically?
    Regards,
    Danee

  • Creating Dynamic Member List

    I am trying to create a member list holding all the accounts that are indicated as IsICP Y. However when I select the list after loading it no members populate the data form I am creating. Please help. My script is as follows:
    Sub EnumMemberLists()
    Dim aAccountLists(1)
    If HS.Dimension = "Account" Then
         aAccountLists(1) = "ICPAccounts"
         HS.SetMemberLists aAccountLists
    End If
    End Sub
    IF HS.Dimension = "Account" Then
         If HS.MemberListID=1 Then
              ALi=HS.Account.List("","")
         For i=Lbound (ALi) to Unbound (ALi)
         If (StrComp(HS.Account.IsICP (ALi(i)),"Y",vbTextCompare)=0) Then
         HS.AddMembertoList ALi(i)
    End If
    Next
    End If
    End If

    I will test both out and see which works.
    I tried this too but it wasn't perfect...
    Sub EnumMemberLists()
    Dim aAccountLists(1)
    Select Case HS.Dimension
    Case "Account"
    aAccountLists(1)="ICPAccounts2"
    HS.SetMemberLists aAccountLists
    End Select
    End Sub 'EnumMemberLists
    Sub EnumMembersInList()
    If HS.Dimension = "Account" Then
    If HS.MemberListID = 1 Then
                   BaseAcct = HS.Account.List("","[Base]")
                        For a = LBound(BaseAcct) to UBound(BaseAcct)
                             If HS.Account.IsICP(BaseAcct (a)) Then
                                  HS.AddMemberToList BaseAcct(a)
                             End If
                        Next
              End If
         End If
    End Sub 'EnumMembersInList

  • Dynamic Entity Member Lists using UD1 and UD2

    Hello fellow HFM gurus:
    I have created dynamic member lists to get all members of the entity dimension that have a UD1 or UD2 member as specified in the script.
    THe member lists all appear in HFM, but when I try to select them, I get a run-time error. I am trying to select them in the member selection of a data form (in the same drop down with the different system member lists for entiites, like hierarchy, descendants, etc.).
    I believe this is the standard syntax. Please let me know if something is wrong with it.
    ElseIf HS.Dimension = "Entity" Then
    If HS.MemberListID = 1 Then
    ELi=Hs.Entity.List(",")
    For i = Lbound(ELi) to Ubound(ELi)
    If HS.Entity.IsBase("",ELi(i)) = TRUE Then
    If (StrComp(Hs.Entity.UD1(ELi(i)),"DD",vbTextCompare)=0) Then
    Hs.AddEntityToList "",ELi(i)     
    End If
    End If     
    Next
    End if     
    Error in HFM:
    Invalid member selection. Error executing VBScript Microsoft VBScript runtime error, Line 475:Wrong number of arguments or invalid property assignment: 'HS.Entity.List'.Error executing VBScript 0.Error Reference Number: {9A7697E2-75AE-4A06-9A34-B45D58022984};User Name: mark.d.smith@Native DirectoryNum: 0x80042fc2;Type: 1;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CHsvScriptEngine.cpp;Line: 392;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 0;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CHsvDSMemberLists.cpp;Line: 2722;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 0;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CommonMetadataInternal.cpp;Line: 461;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 0;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CHsvEntities.cpp;Line: 338;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 1;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CCommonDimension.cpp;Line: 1015;Ver: 11.1.2.1.103.3505;

    Hi Mark,
    Please check the double quotes after Entity.List. It should be "","".
    Regards,
    S

  • Rules - Reference an entity member list and then exclude some entities

    I have rules written to extract data in a specific file format.
    I am using a dynamic member list and then want to exclude some of the entities from doing the extract.
    The member list is base of a parent - it has about 500 entities. I only want to exclude 5 entities. I don't want to have to create a member list of 500 entities just becasue 5 of them are not needed.
    I can't use
    POV_ENTITY <>
    OR If Not POV_ENTITY =
    becuause it is not the POV_ENTITY it is the entity in the member list.
    How can I write that?
    Before:
    For Each Entity in HS.Entity.List("",ListName)
    After: (gives me a Syntax error):
    For Each Entity in HS.Entity.List("",ListName) AND If Entity Not "TAX_ROLLUP.TAX_DOM" Then
    Thanks!
    Full section of the rules:
    If ListOfEntity Then
    'Flag accounts have a different name than the Entity list
    'We need to include the name of the entity list in the File name
    'as well as loop through it to extract those entities
    'List Name = "Tax Entity & the right portion of the flag account beginning after "Tax_"
    UndSco=Len(ListToXtract)
    NameR = Right(ListToXtract, UndSco - 4)
    ListName="Tax Entity " & NameR
    'File Name is the concatenation below
    'Admin has to change the path in the WriteToFile routine at the bottom of this file
    FName="HFM_RIA_" & ListName & "_" & pov_period & "_" & pov_year & "_" & XView & "_" & FDate & ".txt"
    'Below is the header of the file
    Call Writetofile("*************************************************",FName)
    Call Writetofile(pov_scenario & " " & pov_period & " " & pov_year & " " & XView,FName)
    Call Writetofile("*************************************************",FName)
    Call Writetofile("Entity" & "," & "Account" & "," & "ECT" & "," & "PCT" & "," & "CAD" & "," & "CZK" & "," & "EUR" & "," & "GBP" & "," & "PLN",FName)
    'We loop through all the entities of the list related to the current flag account
    For Each Entity in HS.Entity.List("",ListName) AND If Entity Not "TAX_ROLLUP.TAX_DOM" Then
    Edited by: user2609991 on Jan 20, 2010 6:23 AM

    Sorry, yes I did it now using the greather than and less than signs.
    I am able to load the rules file but it still writes the Tax_Dom info to the file.
    I think I am going to give up and just create a big member list of all the entities less those six.
    Thanks for responding.
    Edited by: user2609991 on Jan 20, 2010 11:33 AM

  • Dynamic access to member list name from the HS.MemberListID from within Sub EnumMembersInList() routine.

    The goal is to read the member name which is equal to the desired UD and then use the member name to dynamically create the contents of the list, as the name of the list matches the parameter which I'm searching against in creating the contents of the list.

    Hi. Since you don't know how many lists you'll need you need a dynamic array for the EnumMemberLists subroutine (Google dynamic array and you'll get the explanation and code samples). The dynamic array allows you to cycle through the entities with a standard list and then create a list definition when the criteria is found. Then, in the EnumMembersInList subroutine, use the same system entity list and cycle through each entity, use the same criteria, and and then add the content to the corresponding member list (using the same system list in both subroutines should keep the list name and list content in sync - use a counter to increment the memberlistid number.
    When you use a dynamic array like this to define the number of lists you'll have, you will need to reload the list file after every metadata update, as the list file will need to reprocess to add/delete any changes made.
    What is the real need for this, as this is a lot of work when most of the time lists can be simpler than this?
    Eric

  • Need solution for dynamic pick lists in Crystal Reports

    Does anyone have a good solution for creating a dynamic pick list for a Crystal Report that is based off of a BW Query without having to use a BW user input variable? In many cases it is not practical to use a BW variable to generate a dynamic pick list due to the high number of possible member values and the highly dynamic nature of the particular characteristic (customers, materials, etc.).  In my understanding the LOV Server is not an option when dealing with SAP BW.  Anyone else running into this issue with Crystal and SAP BW?

    Hi Mike,
    we once solved this by creating LOVs in BusinessView Manager. I am not sure if you can use the BW Publisher in this scenario as we did not use it. We published the reports directly to the BOE server for some reasons.
    Creating a LOV in BusinessView manager is really easy. You can create cascading prompts, shedule refreshing of the lists, ...
    By using the cascading prompt feature you can make prompts like this:
    First enter the customer number (or pick it from a list) and then the second list, which holds the materials only has shows the ones which had been purchased by that customer. I think this is what you are looking for.
    You should give it a try!
    Thorsten

  • Flex Table Add Row Issue with Dynamic Entry Lists in Visual Composer

    All,
    Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
    When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
    Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue.  What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
    Many thanks,
    Freek

    Hi,
    you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
    I have never heard of the problem that entry lists are emptied after "insert"-event.
    Kindes Regards,
    Benni

  • How to create Exchange dynamic distribution list using multivalue extension custom attribute

    I am trying to create a dynamic distribution list using an ExtensionCustomAttribute.  I am in hybrid mode with Exchange 2013.  The syntax I have is this: 
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {(ExtensionCustomAttribute2 -eq 'NH')} 
    This works correctly on-prem.  But hosted always results in an empty list.  I can see in dirsync the attribute is in the hosted environment, but for whatever reason, the distribution group gets created but always come up null.
    If I create a group looking at the single valued attributes, such as CustomAttribute6 -eq 'Y', it works correctly on-prem and hosted.  
    If anyone has any suggestions I would appreciate it.

    I don't think I provided enough information about the problem.  Let me add some and see if it makes sense.
    I have an Exchange 2013 on-premise configured in hybrid mode with Office365.  For testing purposes, I have 2 users, Joe and Steve, one with the mailbox on-prem, and the other with the mailbox in the cloud.  Each of them has CustomAttribute6 = 'Y'
    and ExtensionCustomAttribute2 = 'NH'. Dirsync shows these users and these attributes are synced between on-prem and cloud.
    Using on-prem Exchange powershell, I run the following command:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them as follows:
    $DDG = Get-DynamicDistributionGroup DG_NH
    Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter | FT alias
    So I then delete this DG, and recreate it this time looking at the multi-value attribute ExtensionCustomAttribute2, as follows:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    Replaying the query above, I can see this also works fine and finds my two users.
    Next I open a new powershell and connect to Office 365 and repeat the process there.
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them.
    And then delete the group and recreate it using the multi-value attribute:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    When I run the query this time it produces no result.  Every test I try results in an empty group if I am using a multi-valued attribute in the search criteria in the cloud.  If I use single valued attribute, it works fine.
    I really need to be able to get multi-valued DDG's working in the cloud.  If anyone has done this and has any suggestions, I would appreciate seeing what you did.  And if this is the wrong forum to port this, if you can point me to a more suitable
    forum I will report there.
    Thanks,
    Richard

  • Extension of target group member list

    Hi,
    does anybody know a guide or something else in which way i have to define additional fields for displaying target group member list?
    Thanks in advance
    Tobias

    solved by myself!

  • Dynamic Select List Allowed Values

    Howdy Folks,
    I am trying to allow end users to select their username. The usernames are generated from a rule library, and displayed in a select form element. I am doing this by having the allowedValues call the rule that generates the possible names directly. The rule returns a list of valid names. The problem I am currently having, is that if the page reloads or refreshes, then the allowedValues calls the rule again. Some of the username choices involve random numbers, so it is possible (and very likely), that separate calls to the rule will generate different potential values. So what is now happening, is that when a user selects the value, the page reloads, and the end user sees an error that looks like this:
    ( ) - Warning: Selected value for field 'Select a Valid User Name' does not match any of the allowed values.
    The reason I am reloading the page, is that I am also trying to show the user what their email address will look like with the new value. So I have a different form element that is loading is value dynamically, and referencing the select form element. This mostly works, but the warning above is unacceptable.
    Is there a way I can load the dynamically created list only once, the first time the form is viewed, and not load it again every time the page refreshes?
    Another thing I tried to do (but didn't have luck with, so I sorta gave up on it) was to use the onChange of the select to change the value of email display field. This way the page never reloads and I don't have to deal with that issue. I'm thinking the onChange might actually work, but I would need to execute javascript or something, and not just use an express <set/> command to set the value of the field name that displays the email text.
    Does anyone have advice on how to make the values only load once? Or how to change the value on the onChange event?
    Thanks!
    Jim

    Mike,
    Thanks for the feedback. I actually did try that eventually. I created a variable in the form, and initialized that variable to the list of possible values. Then I referenced the variable in the 'allowedValues' of the select form item. At that point in time I still had the select box set as an action, so it would reload the page, hoping to reload the value in the email display field. This still did not work. Each time the action fired off, the variable was re-initializing itself. I eventually tried to put in a check, so it would not re-initialize itself if it had already been initialized. That caused a syslog error.
    I ended up solving the problem using javascript. I changed the field that reported the potential email address to an html element. Then for the html attribute I made a div with an ID. I then set a line of javascript into the onChange attribute of the select form element. This worked when ever the select form value changed. I then added the same line of javascript to the onLoad attribute of the jsp pages body element. This worked for loading the page.
    This solved the problem of the page reloading and the select getting new values. That still happens if you actually reload the page, but all the form elements work without the reload now.
    Thanks!
    Jim

  • Report Viewer Dynamic Parameter List not showing a complete list of values

    Hi, I have installed the crystal report runtime 13.0.1.220 for framework 4.0 in a 64-bit windows 7 professional server.
    I have an aplication that opens crystal reports using the crystal report viewer control for visual studio 2010, also version 13.0.1.220.
    ISSUE: The report opens fine, but it does not shows all the available values in the dynamic parameter list.
    I have tried setting the MaxRowsetRecords registry key to diferent values but it does not work.
    I do not have any crystal report stand alone version installed in my server.
    Please help me?

    Hi Ludek,
    yes i followed the instructions of the KBase you are mentioning, but it isn't working for me.
    I modified the following keys:
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    and
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    1) I had to create the LOV key under the DatabaseOptions in both keys.
    2) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
    3) I restarted my server. Still not working.
    4) Then after that i modified the following registry keys: (leaving the first 2 keys modified)
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    and
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\DatabaseOptions\LOV
    5) Also had to create the LOV key under the DatabaseOptions in both keys.
    6) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
    7) Restarted my server. still not working
    8)  Then after that i modified the following registry key: (leaving the first 4 keys modified)
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\ReportView
    Inside this key I created the DWORD PromptingLOVBatchSize and gave it a decimal value of 1000000
    9) Restarted the server. Still not working. For crying out LOUD!!

  • How to create a dynamic entry list for an input field in VC(ce 7.1)

    Hello all,
    I have an Input field, i need to create a Dynamic Entry List for it in VC(ce 7.1).
    How can this be done.
    Thanks in Advance.
    Thanks and Regards,
    Santhosh Guptha N

    Hi Santhosh,
    You can define Dynamic entry list for Drop down list and combo box but not for input field.
    [Refer this|http://help.sap.com/saphelp_nwce10/helpdata/en/2a/28249060dd4dbc872f6266f4557364/frameset.htm] for defining entry list.
    Let me know if it helped.
    Regards,
    Dharmi

  • Creating a dynamic Selection List based on a View Object

    Hello,
    I'm new to JDeveloper and I would like to create a JSP Page with dynamic Selection List based on a runtime query or based on a view object (BC4J). The selection made by an user should serve another dynamic query with the necessary parameters that I built using createViewObjectFromQueryStmt(). By now I tried this using the InputSelectLOV from the Component Palette in JDeveloper. But without success. By the way: the selection list is not very large (5 values), so it's not necessary to have a form finding the desired value.
    Maybe someone had experience about creating this already. Please give me a tip or a little example.
    Thanks.

    http://otn.oracle.com/products/jdev/howtos/jsp/renderers.html

Maybe you are looking for

  • The Web Dynpro Application 'XssMenu' has expired

    Hi, we implement an ESS Scenario, with One Enterprise Portal 6.0 SP17, a mySAP ECC 5.0 System with ERP2004 and a seperate server with a java stack, because our customer don´t want to install and use a java stack on their HR/ERP systems. They want to

  • How to include "password protection" in a report, downloaded in .pdf format

    Hi, The client need the reports to be password protected after downloading it to pdf format. i.e., If a report from the dashboard is being downloaded in pdf format, then while opening it should ask to enter the password. So this will be a secure docu

  • ALV Grid  screen limit for a long field

    Hi, i am having a problem making an ALV Grid of IDOC contents, i want to show de SDATA field of de EDIDD structure, but it is a 1000 char field, and when the ALV comes out i can only see part of the field. I think the problem is the scrollbar, becaus

  • Time duration taken for a job to complete

    Hi How do I konw what is the time duration that has taken for any job to be completed  I am looking  in RSMO and i am able to see the start time in the header tab for a job .how do i see the completed time?? Thanks Sheetal

  • I'm a little confused, please help me

    There is just sooooo soooo much I am reading through but if the answer to my question is there, I'm missing it. I have had a subscription for a while, about $3 per month to be able to call people's home phones from my computer on Skype. I just purcha