Querying for group/distribution list

Hello,
Currently we are trying to query the distribution or groups list from the GWWS, but the only thing we get is a huge list of users, which are from all groups.
We are using this filter:
Code:
<getItemsRequest>
<container>GroupWiseSystemAddressBook@52</container>
<view>default members</view>
<filter>
<elements>
<op>and</op>
<element>
<op>eq</op>
<field>@type</field>
<value>Group</value>
</element>
<element>
<op>eq</op>
<field>name</field>
<value>Developers</value>
</element>
</elements>
</filter>
</getItemsRequest>
Is there someone who can provide us with the right filter ?
Thanks in advance,
Eamon Woortman
Developer at Maintainet AG

Thanks for your response.
We got it working using this filter:
Code:
<getItemsRequest>
<container>GroupWiseSystemAddressBook@52</container>
<view>default members</view>
<filter>
<elements>
<op>and</op>
<element type="FilterEntry">
<op>eq</op>
<field>@type</field>
<value>Group</value>
</element>
<element type="FilterEntry">
<op>eq</op>
<field>username</field>
<value>Developers</value>
</element>
</elements>
</filter>
</getItemsRequest>

Similar Messages

  • Is there any function module for getting distribution list name

    Hi all,
    Is there any function module for getting distribution list name when there is same description for two distribution list name.
    or
    help me how to fetch the correct distribution name when there is same description.
    In order to send mails.
    Tell me ASAP.
    thanks
    sagar.

    http://www.sapbrainsonline.com/REFERENCES/FunctionModules/SAP_function_modules_list.html
    list of Fms

  • Enabling the Export function for a distribution list in 'Private folders'

    Dears,
    Could someone please guide to the appropriate authorization that would allow the 'Export...' function for a distribution list created in a folder under 'Private folders' - Transaction : SBWP
    The option is dimmed, although the user used has the SAP_ALL profile.
    Thanks.
    Reda

    click file/publish settings/flash/actionscript settings and make sure frame 1 is set as the export frame.
    if that's already set, don't use test scene.

  • What tables store the email addresses for a distribution list?

    Can someone please tell me the table or tables used to store the email addresses for a distribution list
    I have a requirement in BW to send an email to a person who starts a process chain.   One to many people will be able to do this and the requirement is to have the email only go to the person who executes the Process chain.    I would like to dynamically maintain the distribution list in my job.

    Here is piece of code i used one of my program to fetch email address from distribution list
      if not soid-objnam is initial.
        call function 'SO_DLI_READ_API1'
          exporting
            dli_name                   = soid-objnam
            shared_dli                 = 'X'
          tables
            dli_entries                = i_distlist
          exceptions
            dli_not_exist              = 1
            operation_no_authorization = 2
            parameter_error            = 3
            x_error                    = 4
            others                     = 5.
        if sy-subrc ne 0.
        else.
          loop at i_distlist.
            if i_distlist-member_adr is initial.
              move i_distlist-member_nam to i_user-bapibname.
              call function 'BAPI_USER_GET_DETAIL'
                exporting
                  username = i_user-bapibname
                importing
                  address  = wa_address
                tables
                  return   = i_return.
              move wa_address-e_mail to wa_receiver-receiver.
              append wa_receiver to i_receiver.
            else.
              move i_distlist-member_adr to wa_receiver-receiver.
              append wa_receiver to i_receiver.
            endif.
          endloop.
        endif.

  • Address Book Groups - Distribution List problems

    Recently upgraded to 10.6 and now on 10.6.3 - 2 Problems which are probably related:
    1 - I cannot save changes to an edited Distribution List- I select the desired email address (ie it's in bold) and then click OK. When I go back to edit the list the changes have not been saved and it seems to randomly make changes to the selections.
    2 - I have a (Smart) Group in Address Book and when I use that group in Mail the wrong email is selected for some of the members of the group - ie the emails used by Mail does not always match the selections in the Distribution List
    Used to work fine in 10.5

    Oh no!
    until now I though, it was my fault, but it seems to be a bug. I have the same problem with the distribution list. In my system, the mails are allways sent to the upper emailadress, even if the lower adress is highlighted.
    Did anybody file allready a bug-report to apple?
    Regards
    Robert

  • MailTips for Dynamic Distribution Lists - wrong number of recipients

    We use Exchange 2013 and Outlook 2013. We have a Dynamic Distribution List ([email protected]) configured on Exchange. It contains 75 users, I confirmed it using below cmdlets in Exchange management shell
    $all = Get-DynamicDistributionGroup [email protected]
    Get-Recipient -RecipientPreviewFilter $all.recipientfilter
    When I use Outlook to create a new email to [email protected] there is a MailTip displayed mention about 87 of recipients, it should be 75 users. 
    Settings on our Exchange servers are as below:
    [PS] C:\Windows\system32>Get-OrganizationConfig | fl *mailtip*
    MailTipsAllTipsEnabled                : True
    MailTipsExternalRecipientsTipsEnabled : False
    MailTipsGroupMetricsEnabled           : True
    MailTipsLargeAudienceThreshold        : 25
    MailTipsMailboxSourcedTipsEnabled     : True
    Any idea how to troubleshoot it?

    In Active Directory attributes for this group are as below
    msExchGroupMemberCount =
    87msExchGroupExternalMemberCount
    = 0 
    Regarding
    files under %ExchangeInstallPath%GroupMetrics there is only cookie file modified yesterday and
    it contains as below:
    DC=domain,DC=com;12/28/2014 13:11:15;05/14/2013 20:02:24
    Just created new dynamic distribution group with the same filter as for group all (for test purpose). There is no MailTip for this new group now. Is it possible to force \ speed up group metrics generation?

  • Address List and RecipientFilter for dynamic distribution lists

    Hi guys
    I am trying to setup a Address List in exchange that contains dynamic distribution lists specified by the list name. So address List abc should contain dynamic distribution lists with list names "def" and "ghi" and "jkl"
    So far I have come up with below which displays all dynamic distribution lists. this works but how can I now filter further to specific lists?
    New-AddressList -Name abc -RecipientFilter {((Alias -ne $null) -and (ObjectClass -eq 'msexchdynamicdistributionlist'))}
    Example of what I am trying to acheive:
    New-AddressList -Name abc -RecipientFilter {((Alias -ne $null) -and ((ObjectClass -eq 'msexchdynamicdistributionlist') -and ('msexchdynamicdistributionlist' -eq 'def') -or ('msexchdynamicdistributionlist' -eq 'ghi') -or ('msexchdynamicdistributionlist' -eq
    'jkl'))}

    Hi,
    I have some tests in my environment using Exchange 2013. You can use the following cmdlet to create an address list that contains specified distribution group members.
    New-AddressList -Name test3 -RecipientFilter {((Alias -ne $null) -and (MemberOfGroup -eq 'CN=Sales,CN=Users,DC=contoso,DC=com'))}
    Note that it can't work for dynamic distribution group. In your case, I haven't found a parameter for dynamic distribution group in Exchange, your understanding will be appreciated.
    Hope my clarification can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Problem writing a sql query for a select list based on a static LOV

    Hi,
    I have the following table...
    VALIDATIONS
    ID          Number     (PK)
    APP_ID          Number     
    REQUESTED     Date          
    APPROVED     Date          
    VALID_TIL     Date
    DEPT_ID          Number     (FK)
    I have a search form with the following field item variables...
    P11_DEPT_ID (select list based on dynamic LOV from depts table)
    P11_VALID (select list based on static Yes/No LOV)
    A report on the columns of the Validations table is shown based on the values in the search form. So far, my sql query for the report is...
    SELECT v.APP_ID,
    v.REQUESTED,
    v.APPROVED,
    v.VALID_TIL,
    d.DEPT
    FROM DEPTS d, VALIDATIONS v
    WHERE d.DEPT_ID = v.DEPT_ID(+)
    AND (d.DEPT_ID = :P11_DEPT_ID OR :P11_DEPT_ID = -1)
    This query works so far. My problem is that I don't know how to do a search based on the P11_VALID item - if 'yes' is selected, then the VALID_TIL date is still valid. If 'no' is selected then the VALID_TIL date has passed.
    Can anyone help me to extend my query to include this situation?
    Thanks.

    Hello !
    Let's have a look at my example:create table test
    id        number
    ,valid_til date
    insert into test values( 1, sysdate-3 );
    insert into test values( 2, sysdate-2 );
    insert into test values( 3, sysdate-1 );
    insert into test values( 4, sysdate );
    insert into test values( 5, sysdate+1 );
    insert into test values( 6, sysdate+2 );
    commit;
    select * from test;
    def til=yes
    select *
      from test
      where decode(sign(trunc(valid_til)-trunc(sysdate)),1,1,0,1,-1)
           =decode('&til','yes',1,-1);
    def til=no
    select *                                                                               
      from test                                                                            
      where decode(sign(trunc(valid_til)-trunc(sysdate)),1,1,0,1,-1)
           =decode('&til','yes',1,-1);  
    drop table test;  It's working fine, I've tested it.
    The above changes to my first idea I did because of time portion of the DATE datatype in Oracle and therefore the wrong result for today.
    For understandings:
    1.) TRUNC removes the time part of DATE
    2.) The difference of to date-values is the number of days between.
    3.) SIGN is the mathematical function and gives -1,0 or +1 according to an negative, zero or positiv argument.
    4.) DECODE is like an IF.
    Inspect your LOV for the returning values. According to my example they shoul be 'yes' and 'no'. If your values are different, you may have to modify the DECODE.
    Good luck,
    Heinz

  • Query for Group by & order by

    Hi all,
    I have a table name as angdata77 having attributes like asigno..
    i want to retrieve data from angdata77 by using both group by & order by clauses.. for total count..
    am using the query as
    select asigno,count(*) from angdata77 group by asigno order by asigno;
    Is there any other query for retrieving the data from angdata77
    Thanks in Advance,
    Venkatesh J.

    885756 wrote:
    Ya it's good.. Performance also good while retrieving data...
    I want to know other Possibilities also sir...There will be no better alternative for this, because this is the most simple and straight forward way to get the output you are looking for..
    Go ahead without any confusion... :)

  • Report for a range, need to sent individually for a distribution list

    Hi,
    I have requirement to run a concurrent request for range of values like for e g. conc program to print for a range POs and send Emails to a distribution lists. Right now we are able to generate .pdf output and enable Emailing thru XMLP. We are achieving this by calling a java wrapper program by defining a virtual printer. But thats not the solution, we need to take individual output for each PO and send EMails to respective distribution list. To my knowledge passing distribution list as parameter is not possible as only $profile$ parameters can only be passed.
    Can anyone please give a solution on how to do this?
    Thanks and regards,
    - Rakesh Mudaliar
    Message was edited by:
    user533585

    Hi,
    I have requirement to run a concurrent request for range of values like for e g. conc program to print for a range POs and send Emails to a distribution lists. Right now we are able to generate .pdf output and enable Emailing thru XMLP. We are achieving this by calling a java wrapper program by defining a virtual printer. But thats not the solution, we need to take individual output for each PO and send EMails to respective distribution list. To my knowledge passing distribution list as parameter is not possible as only $profile$ parameters can only be passed.
    Can anyone please give a solution on how to do this?
    Thanks and regards,
    - Rakesh Mudaliar
    Message was edited by:
    user533585

  • How Do I Manage "Group"/"Distribution List" Members?

    I downloaded iCloud recently to my android smart phone.  I use Outlook 2007 as my mail program.  When I"m on my pc (MS 8.1) & check my contacts, I find my "distribution lists"/'Groups" in a new list on the left side, but I cannot open these "lists/groups" therefore,  I cannot manage membership on them.   The "groups" won't open to show me who the members are.
    How do I solve this question?

    In Contacts, you can create Groups, of course. First and best, make the Groups visible (Command-1, or click View in the menu bar, then Groups).
    You add contacts to Groups per simple drag and drop. You delete contacts from Groups by pressing backspace, or delete (if you have the extended keyboard), or -> Edit -> Remove From Group.

  • Outlook 2010 Client - "unable to connect to retrieve additional data" for some Distribution lists

    We have a mix of Outlook 2003, 2007 and 2010 clients in our organization.
    Users with an outlook 2010 client are having issues with a number (not all) of our distribution lists.
    Issues: When selecting a distribution list in the new message 'to' fiedl, a 'message tip' appears with the name of the DL and 'contains xx recipients'.
    However, when attempting to expand the DL (selecting the + sign) the following prompt appears "Cannot perfrom the requested operation. The command selected is not valid for this recipient. The operation failed"
    When selecting the DL through the outlook address book the memberlist is empty and has a mail tip "unable to connect to retrieve additional data".
    The DL's were all created in a 2003 environment.
    We are currently setting up a 2010 environment, and all DL's were created prior to any schema updates etc.
    Of note, users experience the issue, but access the list through OWA don't have the issue.

    Please also perform the following steps to troubleshoot the issue.
    1. Temporarily turn off firewall and antivirus program on the problematic machine for a test.
    2. Remove the Outlook profile completely and create a new profile.
    3. Login on the same mailbox by Outlook 2010 on another machine to check the result.
    If the issue persists, please open Event Viewer and check whether any error message exists. If so, please post it here for research.
    Thanks.
    Novak Wu-MSFT

  • How to write a query for grouping them the columns and give the sequence order to each group/

    Hi i have table that contains country columns .
    India,USA,UK like these when ever the group changed into the differt country i make a group and arrange them the sequence into those Countries
    like below
    1)India
    2)India
    1)USA
    2)USA
    like these to write a query ..........pls help me for this query

    Assuming you're using SQL Server you can ask here:
    http://www.sqlteam.com/forums/forum.asp?FORUM_ID=23
    Otherwise, please ask in the relevant forum for the type of technology you're using.
    Basically it's either:
    select *
    from [table name]
    order by country
    If you want to do something with groups do something like:
    select (max) income, country
    from [table name]
    group by country
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Need sql query for all employees list which are having lessthan maximum salary of manager in same departmnet;

    HI
    I want a sql query i.e., all employees list which are having lessthan maximum salary of manager in same departmnet;
    my table is like this
    employees
    EMPLOYEE_ID                               NOT NULL NUMBER(6)
    FIRST_NAME                                                   VARCHAR2(20)
    LAST_NAME                                 NOT NULL    VARCHAR2(25)
    EMAIL                                     NOT NULL          VARCHAR2(25)
    PHONE_NUMBER                                              VARCHAR2(20)
    HIRE_DATE                                 NOT NULL        DATE
    JOB_ID                                    NOT NULL           VARCHAR2(10)
    SALARY                                                           NUMBER(8,2)
    COMMISSION_PCT                                          NUMBER(2,2)
    MANAGER_ID                                                  NUMBER(6)
    DEPARTMENT_ID                                             NUMBER(4)
    if need the department table
    departments:
    DEPARTMENT_ID                        
    NOT NULL NUMBER(4)
    DEPARTMENT_NAME                      
    NOT NULL VARCHAR2(30)
    MANAGER_ID                                    
    NUMBER(6)
    LOCATION_ID                                   
    NUMBER(4)

    Try this:
    select
       employees.last_name || ', ' || employees.first_name “Employee”,
       employees.salary “Emp Salary”,
       sub.salary “Mgr Salary”,
       employees.department_id  “Department” 
    from
       employees,
       (  select
          mgr.department_id dept,
          max(mgr.salary) salary     
       from
          employees,
          employees mgr      
       where
          employees.mgr = mgr.employee_id      
       group by
          mgr.department_id) sub   
    where
       employees.department_id = sub.dept      
       and employees.salary < sub.salary
    Jeff

  • Query for package distribution settings

    Is there a query to see what the "Package distribution Settings" are set to?  For example how could I find out which packages are set to "Download
    only content changes to the distribution point" or "Manually copy the content in this package to the distribution point"
    without manually checking each individual package?

    Hi,
    The PkgFlags stored in decimal format. You need to convert to hexadecimal format, then the last two digits of PkgFlags will show as below:
    Automatically download content when packages are assigned to distribution points: 0x......00
    Download only content changes to the distribution point: 0x......10
    Manually copy the content in this package to the distribution point: 0x......20
    When we check "Distribute the content for this package to prefered distribution points", the first digit of PkgFlags will be 0x4.......
    Hope the data above (I observed from database) could help you.
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Using a single NetConnection instance to dispatch multiple calls to backend

    I have a scenario where calls to backend have to be dispatched in parallel because the calls are independent and dispatching them serially would cost performance. If I use a single instance of NetConnection to send multiple requests to backend -  one

  • What do I do if a download is incomplete due to loss of internet connection?

    I bought a song and it started to download, but then my interenet conncetion went out and it won't finish the download. What do i do? Do I have to buy it again?

  • Synching with library on external drive

    I had my ipod running well with all files on an external hard drive. I just had to install a new internal hard drive and I am having the following problems. 1st, when I plu in the ipod I get a message saying that I am synched to another itunes librar

  • Reg sap supporeted languages

    Hi All, I have a very basic question regarding sap supporing languages we know that sap supports around 43 languages what does that mean exactly?Does that mean that we can do the coding in these languages also?for examp if we have done coding in engl

  • HT1539 What does erro= 9006 mean?

    I'm trying to download a digital copy of a movie and it gives me this error and freezes every time.