Creating a member list for Custom3 dimension

Hello gurus. I'm trying to create a member list for my custom3 dimension based on the UD1. I keep getting this error: Wrong number of arguments or invalid property assignment: HS.AddMember ToList. Here's my script. Can someone let me know what I'm doing wrong? Thanks
Sub EnumMemberLists()
Dim aCustom3Lists(2)
Select Case HS.Dimension
Case "Custom3"
     aCustom3Lists(1) = "Reporting Sector - SPS"
     aCustom3Lists(2) = "Tax Provision - US"
HS.SetMemberLists aCustom3Lists
End Select 'Dimension
End Sub 'EnumMemberLists
Case "Custom3"
Select Case HS.MemberListID
Case 1
     'Reporting Sector
     ELi=Hs.Custom3.List("","[Base]")
     For i = Lbound(ELi) to Ubound(ELi)
     If (StrComp(HS.Custom3.UD1(ELi(i)),"SPS",vbTextCompare)=0) Then
     HS.AddMemberToList (""),ELi(i)
     End If
End Select ' Case HS.MemberListID

Hi,
An obvious reason that your code throws a number of arguments error to the AddMemberToList function, is that the line should read like this:
HS.AddMemberToList ELi(i)However, in your code I see that there are also some incomplete structures, like the for-loop is not ended with a next and the whole paragraph after "End Sub 'EnumMemberLists" should be followed by a "Sub EnumMembersInList()". But I assume that you have omitted those in order to be short.
Regards,
Kostas

Similar Messages

  • How to create a Unique Member List for PlugAccounts ?

    Hello everybody,
    Does anyone knows or did it in the past how to create a Unique Member List for Plug Accts? If anyone does could you please paste some scripting for reference?
    Thank you very much, JB

                             Dim arrPlugs(100)
                             j = 1     
                                       Plug_Acct_List = HS.Account.List("","")
                                       For Plug_Acct_loop = LBound(Plug_Acct_List) To UBound(Plug_Acct_List)
                                  If Hs.Account.PlugAcct(Plug_Acct_List(Plug_Acct_Loop)) <> "" then
                                       strPlug = Hs.Account.PlugAcct(Plug_Acct_List(Plug_Acct_Loop))
                                       blnFound = False
                                       For i = LBound(arrPlugs) to UBound(arrPlugs)
                                            If arrPlugs(i) = strPlug then blnFound = True
                                       Next
                                       If blnFound = False then
                                            HS.AddMemberToList strPlug
                                            arrPlugs(j) = strPlug
                                            j = j + 1
                                       End If
                                  End If
                             Next

  • 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

  • How do I create different contacts lists for two iphone/users?

    How do I create different contacts lists for two iphone/users?

    Sorry. This doesn't make a lot of sense. Each iPhone user should have their own cloud accounts with which to sync contacts.
    The iPhone is not a multi-user device.

  • How to create a content list for sections and chapters etc

    just started with Pages on iPad 2 and really like is BUT where is the control for creating a content list for a long document for chapetrs etc?
    thanks guys

    Hi,
    Thank you for posting the screen shots I have been unsuccessful in determining exactly where the problem is coming from. Would it be possible for you to post the actual VI so that I can work with it so see if I can reproduce this issue using your code? In regard to your questions:
    1.    You are correct 1000 samples read should write 1000 samples to the table
    2.    I believe the discrepancy is due to amount of manipulation done between the read and the file write but I cannot be certain, without the code to work with.
    3.     I am unclear as to exactly what is happening. If you are reading empty channels then you may receive erroneous readings this is to be expected. When you connected your accelerometer did you connect in RSE or differential? You can also manipulate the signal range with will affect the gain setting, how off are the readings?
    JaceD
    Signal Sources Product Support Engineer
    National Instruments

  • How to Create Interactive report lists for the gross sales, credit ....

    How to Create Interactive report lists for the gross sales, credit returns, and gross weight for the               customer for the current year and comparing the same with that of the previous year for the same period.....
    plz tell me steps to accomplish this....plz ...give me the detail description..plz......many many thnx in advance...

    Hi raja,
    Display a checkbox , customer number on the basic list and also set a GUI STATUS  on the basic list.....
    Select the customer by checking the checkbox and click on the button you create in the GUI status....
    Write the desired code to be displayed in
    AT USER-COMMAND even checking the sy-ucomm....
    so this would make you to into interactive list...
    Hope this would help you.
    Regards
    Narin Nandivada

  • Creating a Distribution list for iPhone using Outlook

    I use Microsoft outlook for contacts and have multiple "Distribution lists" that I send information to. The DL's are not syncing with my iPhone. I need to send group emails and am having to put each name in individually. Is there a way, using Outlook that I can create a "Distribution list", have it sync with the phone, select that group and send an email to all the contacts on the DL

    My address book groups in the Address Book on my Mac are synced and available on my iPhone, but addressing an email or an SMS to an address book group or distribution list is not supported - at the present time anyway.

  • Problem when creating standard recipient list for all documents

    Dear All,
    I am facing 'NO_RELATION_EXIST' dump issue. So i am following note 509191 provided by SAP. At the moment i am trying 2nd  option i.e. for automatic document distribution, i am trying to create one standard recipient list for all documents to be released. However when i try creating a recipient list it does not allow me to create for a particular document type. As i can see there are 2 important key fields Document no and Document type. But i want to create only for a document type. The reason for that is this document type is for a PR attachment. So as soon as a PR gets released by the final approver this distribution should happen, irrespective of document number.
    Please let me know if this is possible. I would like to apologize if it's too simple of a question as i am an ABAP person and have no knowledge in DMS. And there is no DMS consultant whom i can approach.
    Thanking in advance.
    Regards,
    Saud

    ...distribution should happen, irrespective of document number...
    This wouldn't be feasible because documents are identified in the recipient list by both,the document number and document type and hence are mandatory inputs.
    Regards,
    Pradeepkumar Haragoldavar

  • Creating time source table for time dimension?

    hi exports
    can any one helps to create time source table or view_ for time dimension for awm_ mapping ?
    thanks
    Edited by: 1008794 on May 30, 2013 12:21 AM

    No. Thank you very much for reply.I have solved my problem
    Edited by: 1008794 on Jun 3, 2013 6:30 AM

  • Not able to create a Task List for Charm Retrofit

    Hi All,
    we are trying to implement retrofit for our client. Created two projects one for implementation and one id maintenance and defined the system landscape for both.
    I have checked the RFC connection for all the systems involved and all works fine. IMG projects are created successfully for both.
    Problem comes when we are creating a maintanance cycle or task list after activating the change request management. We always get a logon screen after giving the name of task list and press ok. First we thought it could be the trusted RFC issue but trusted RFC for the current user is working fine.
    Could anyone know what is the problem and if you faced the same issue pls share your experience what all did you try to rectify it.
    Thanks
    Tripti

    Hi,
    BC sets are active. I have already checked, it ended up in warning but its general we can avoid it. One thing which we found out was thi error when I am checking the application log for the project
    System cancel RFC destination SM_GTDCLNT020_TMW, Call TMW_SET_PROJECT_SWITCHES: No authorization to change file /usr/sap/gttrans/a ctlog/GTDZP000XX.GTD
    I don't understand what exactly is this error about but informed the authorization team regarding this.
    Any idea?
    Thanks,
    Tripti

  • To create a mailing list for a specific ou

    Dear all,
    I am trying to define an emailing list for a specific ou members! using dynamic ldap search filters!
    I have already working lists for all domain, and for static lists! but not a restricted dynamic ldap :(
    i used many queries and all result with:
    Your message cannot be delivered to the following recipients:
    Recipient address: [email protected]
    Reason: no addressees: [email protected]
    The queris i used are many:
    ldap:///dc=ju,dc=edu,dc=jo??sub?(&(objectclass=inetMailUser)(ou=eman ou))
    or
    ldap:///dc=ju,dc=edu,dc=jo??sub?(&(|(objectclass=person)(objectclass=groupofuniquenames))(ou=eman ou))
    in the provisioning guide there is a paragraph that i didn't understand!
    NOTE iPlanet Messaging Server also supports dynamic lists based on the attribute memberURL from the objectclass groupofurls. Netscape
    Directory Server 4.x allows creating of dynamic groups using this attribute and messaging server can take advantage of any groups that may have already been defined using memberURL.
    version of our messaging server and we don't have delegated administrator installed yet?!!:
    iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)
    libimta.so 5.2 HotFix 1.21 (built 18:35:22, Sep 8 2003)

    You do not need to have iDA installed to use dynamic groups. In fact, iDA does not deal with dynamic groups.
    There is a whole series of pages in the Admin guide:
    http://docs.sun.com/source/816-6009-10/users.htm#15141
    about creating dynamic groups. Let's give that a try, please.

  • Can BC create classified ad listing for public use?

    Can Business Catalsyt creat public classified ad listings as a web app?

    Thank you for posting.
    Yes, you can create classified ad listing through webapp in business catalyst. Please refer to the following article : http://kb.worldsecuresystems.com/242/bc_2428.html. This article has the steps to create a real estate site. You can use the similar kind of set up for creating classified ads.
    Hope this helps.
    Cheers,
    Aish

  • Is there a way to create a safe list for some of my cookies?

    I would like to create a safe list of cookies so I can clear all the rest at one shot without searching through the whole list. Can this be done in Firefox?

    I have the same problem

  • Creating sublevels under levels for a dimension in AWM Oracle 10g

    In Analytic Workspace Manager Oracle 10g, How can I create more sublevels under a particular level in a dimension?
    for eg. Year is a dimension.It has 2 levels , Quarter and Month.
    Under Quarter level I want to have Qtr1 and Qtr2 as sublevels.
    Under Month level I want to have Jan,Feb,Mar,Apr,May,June as sublevels.
    so that Qtr1 has Jan,Feb,Mar, and Qtr2 has Apr,May,June

    You need to do this in your source table.
    The source table can look something like this
    qtr_id, qtr_name, month_id, month_name
    1 , Qtr1 , 101 , january
    1 , Qtr1 , 102 , febuary
    1 , Qtr1 , 103 , march
    2 , Qtr2 , 104 , april
    2 , Qtr2 , 105 , may
    2 , Qtr2 , 106 , june
    Then map it to the dimension, and maintain it.
    Keep in mind that the member(id) fields need to be unique. I.E january 2007 and january 2006 cannot have the same id.
    Ragnar

  • Help needed to create drop down list for a field.

    Hi,
    I have to create a parameter/select-options on the selection screen having  drop down values and also having multiple selections allowed.
    Please help me to attain this functionality.Its urgent.
    Thanks,
    Sandeep.

    Hi,
    Here is the exampel Program, i am sending the code for a Paramter, If you want this for the Select-options, then you need to have the paramer name as PS_PARM-LOW and you need to write the smae logic again for PS_PARM-HIGH to get the List box for the select-option
    REPORT ZLIST.
    TYPE-POOLS: VRM.
    DATA: NAME  TYPE VRM_ID,
          LIST  TYPE VRM_VALUES,
          VALUE LIKE LINE OF LIST.
    PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.
    AT SELECTION-SCREEN OUTPUT.
    NAME = 'PS_PARM'.
    VALUE-KEY = '1'.
    VALUE-TEXT = 'LINE 1'.
    APPEND VALUE TO LIST. VALUE-KEY = '2'.
    VALUE-TEXT = 'LINE 2'.
    APPEND VALUE TO LIST.
    CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    START-OF-SELECTION.
    WRITE: / 'PARAMETER:', PS_PARM.

Maybe you are looking for

  • I can't get the correct node (a real beginner)

    I have an XML file which looks like this: [code<lawyer>      <Country>Singapore</Country>      <Company>Allen & Gledhill</Company> </lawyer> <lawyer>      <Country>Singapore</Country>      <Company>Allen & Gledhill</Company> </lawyer>. </Lawyers> But

  • How to use substitution variable in case of dim build

    Hi all, Lets say I have 3 sub vars - Prevmonth, prevmonth-1, prevmonth-2. These will change every quarter. I want to build a cube which will have which will have only the above 3 months in the Fiscal dimension. This will be used once at the end of qu

  • Certified dynamic form with 3 signatures

    I've never made a certified form before and I'm having trouble understanding the process. Does anyone have a generic certified form that I can use as a guide or an indepth article explaining this type of form? What I want to happen is for the feature

  • Best practice idea;PDF forms to Oracle Database idea?

    Working on a check list type of form Most of the items are "Compliant," "Non Compliant," "Not applicable." So with three check boxes all labeled "item2" I get the behavior that I want. Specifically there are three options but only one is allowed. Pre

  • Adding to the play count number

    Is there a way to add to the playcount without: playing the song and clicking the end of the timeline bar and repeating? I like to keep the playcount, espcially when getting rid of duplicate songs.