Query Builder - Getting Universelist for one specific Group

Hi All,
           I am in need of a query string (in query builder) that will return me All the universes for a specific group.Is it possible to do and if possible what will be the way to do this?
Thanks in advance for your help,
Anirban

Hi Anirban,
What is the BusinessObjects version you are using ( i.e. BO XIR2 or BOXI 3.0)?
Regards,
Deepti Bajpai

Similar Messages

  • Is update not approved for a specific group via powershell.

    My apologies in advance for asking a similar question to the one I asked two months ago,
    is update approved for specific group via powershell? I thought I had this covered, but as I've found time to continue to work on this project I see that it does not.
    I have a script that iterates through updates and if the release date is older than 30 days and they have not already been “Approved for Install” or “Approved for Removal” for a specific group it approves them. I am currently faced with the dilemma that
    when an update is set to “Not Approved” for the specific group I’m working on it does not come across in my group’s approvals and there for I cannot detect its current state to know if I should approve it. In other words, I don’t want to approve an update
    that I set to not approved for a specific group.
    I am currently achieving all this so far by connecting to my WSUS server and getting any and all updates via $all = $wsus.GetUpdates(). I Then get my group’s approved updates via $groupApproved = $wsus.GetUpdateApprovals($GroupScope) where ApprovedStates
    = "Any" and ApprovedComputerTargetGroups.Add($current_wsus_group). While iterating through $all I grab updates that are older than 30 days and check to see if the updateID exists in my $groupApproved. If it does not, I approve the update. Like I
    said before, an explicitly unapproved update for my group does not show up in my $groupApproved. I understand it’s because of my GetUpdateApprovals($GroupScope) being just that and only getting approved for install or uninstall, but even when I try to simply
    GetUpdates($GroupScope) I am still not returned explicitly unapproved updates. Below is a screen shot of what I mean by explicitly setting an update to unapproved for a group. I’ve read up on
    ApprovedStates and possible enumerated values and it does include "NotApproved" defined as "Includes updates that have not been approved or declined.".
    Hope all that makes sense, thanks for the help.

    So, I've decided to go about this a different way. Rather than getting all updates and comparing them to approvals via a scope of updates for my specific group (which includes all actions but Not Approved), I am going to look at specific approvals for each
    update and see if there is a match for my group. A simplfied version of this is below. 
    $AnyAllUpdates = $wsus.GetUpdates()
    foreach ($udpate in $AnyAllUpdates)
    if ($update IsNOTDeclined IsNOTSuperseded LegacyNameNOTIA64 CreationDateLTDATE yada yada yada)
    # get the approvals for this udpate as they relate to my group
    $uApprovals = $update.GetUpdateApprovals() | ?{$_.ComputerTargetGroupId -eq $wsus_group.Id}
    if ($uApprovals)
    if ($uApprovals.action -eq "Install")
    # do nothing, the udpate was approved for install
    elseif ($uApprovals.action -eq "Uninstall")
    # do nothing, the update was approved for uninstall
    elseif ($uApprovals.action -eq "NotApproved")
    # do nothing, the udpate was not approved for install
    else
    # since there was no specific action then it must be an inherited not approved from teh parent group
    # approve the update!

  • Changing proposed delivery date in sales order for one specific sales org

    Hi All,
    I want to change proposed delivery date in sales order automatically for one specific sales org only without changing lead time in VOV8.
    For that can I use MV45AFZZ. But it is asking access key to make changes. Is there any other user exit for the same. And how does exactly change it.
    Thanks in advanced.
    Points will be awarded.
    Regards,

    EXIT_SAPFV45E_001 has nothing to do with this - it is meant to update the purchase order from a sales order. It might not even be triggered if the sales order has no link to a purchase order.
    USEREXIT_SAVE_DOCUMENT is not really good for this either, because the delivery date has to be changed before that. If memory serves, it also influences the schedule lines and probably the ATP check and such. I would strongly advise against it. One of the other routines in MV45AFZZ should do just fine, USEREXIT_MOVE_FIELD_TO_VBAK for example.

  • The control click and external mouse right click no longer works when copying and pasting album art within itunes. Ex. Hit get info for one song to paste to the rest, copying the artwork wont work when it used to.

    The control click and external mouse right click no longer works when copying and pasting album art within itunes. Ex. Hit get info for one song to paste to the rest, copying the artwork wont work when it used to.

    Hello there, Teworsham90.
    The following Knowledge Base article reviews the process of adding artwork to content in your iTunes Library:
    iTunes: How to add artwork to songs and videos in your library
    http://support.apple.com/kb/HT1409
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Final Cut movie gets choppy in one specific part

    I'm using the Trial version. Both in the project and exported, the video gets choppy during one specific part (maybe a minute long). The video lags and the music cuts in and out. The rest of the video is fine, so I'm not sure what could be causing this. Has anyone else experienced this? Anything helps, thanks.

    Claire W wrote: - so is this file not a regular .mov file then? Or are you saying that's the case with all .mov files?
    It is a regular .mov file. It's just that it is dependent on its Project and its Render files
    and also, just purely out of curiosity, what would have happened to that render file that's missing on the computer the movie was edited on? I haven't deleted any render files, did it somehow just disappear?? Thanks!
    I have found that Render Files seem to get lost. Whether they are deleted in some way or it's just that FCE can't find them, I don't know.
    As far as opening the FCE Project is concerned, you can easily re-render to replace any missing Render Files, but I don't like Reference QT Movies (the Dependent ones) - see my recent post at:
    http://discussions.apple.com/thread.jspa?threadID=1497598&tstart=0

  • Combining Skype Subscription for one specific coun...

    I have purchased a subscription for one specific country which I call the most. For other countries, I simply purchased some Skype credit.
    How can I make sure that my credit will not run out when I am calling that specific country that I have the subscroption for?

    NormanM wrote:
    Hello,
    The fault is almost certainly with the local Indian carrier used to terminate the call and not Skype. (All Skype calls travel via the internet and only convert to PSTN/Cellular networks at a point close to the recipient's phone). The fact that your Skype-to-Skype calls are trouble-free demonstrates the point. You can also check by placing a free call to the Skype Call Testing Service (echo123).
    First of all thanks for your reply and also you mentioned something PSTN/Cellular network etc etc how the Skype is working. But look here my problem is why this is happening, the subscription name itself India calling then Skype should be able to tieup or catch up with the local Indian carrier, isn't it? How do I know that the local carrier is supporting or not? I need a solution not the reason, yeah it is good to know the reason but what I will do with the reason here; it is beyond my doing. If this is the genuince reason for the failure then Skype is making false statement and fooling around the customers saying you can call Indian Mobile and land lines by this subscription, which is clearly not happening.
    Please let me know if there is anything can be done on this issue, yours time and effort is appreciately greatly.
    regards
    Unsatisfied Skype Customer

  • Approval Query to skip for one Vendor Group - Not working

    Dear All,
    I am trying to create an approval query wherein when a user creates a Purchase Order for a Particular Vendor Group then the approval check is not required and for other Vendor Group approval check is required. The query is as under :
    SELECT distinct 'true'  FROM OPOR T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode INNER JOIN OCRG T2 ON T1.GroupCode = T2.GroupCode WHERE T2.GroupName <> 'Supplier Own Group'
    I don't want that which vendors are in Supplier Own Group check go for an approval process. Means all vendors in this group should get skipped for approval.
    How to achieve this because this query seems not to be working in the approval process because when a user creates a PO whose Vendor group is under Supplier Own Group then also the approval checking is happening.
    Please help how to resolve this issue.
    Regards,
    Depika

    Hi,
    Try this
    SELECT distinct 'true'  FROM OPOR T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode INNER JOIN OCRG T2 ON T1.GroupCode = T2.GroupCode
    AND T2.GroupName <> 'Supplier Own Group' where T0.CardCode = $[$4.1.0]
    Hope this helps,
    Son.

  • Query to get InfoObject(ReportObject) from specific Folder

    Hi,
    I am using XI Release 2.I am having one report object in two folders with the same name.
    example: I am having one report object named TestReport that exist in folder ALL as well as folder TEMPORARY in CMS.
    Following query i am using:
    "SELECT TOP 1 * FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Report'").append(" AND SI_INSTANCE=0 AND SI_NAME='").append(TestReport ).append("'");
    but it always returns the report object from folder ALL while i want to have report Object from folder TEMPORARY
    Reporrt Path: path://InfoObjects/Root Folder/Temporary/
    Can anyone help me out with the query to get the report object from specific folder?
    Thanks
    Prakhar Paharia
    Edited by: prakhar paharia on Mar 10, 2009 3:43 PM
    Edited by: prakhar paharia on Mar 10, 2009 3:44 PM
    Edited by: prakhar paharia on Mar 10, 2009 4:17 PM

    Hello Prakhar,
    You are querying the the CI_INFOOBJECTS table for crystal reports that have the name TestReport.
    If a crystal with name TestReport exists in folder ALL and another crystal with name TestReport exists in folder TEMPORARY , you should get two INFOOBJECTs with your query!
    Look at your query : 
    SELECT TOP 1   means select one entity.
    I guess this is the reason for your problem.
    bernd
    Edited by: BerndB on Mar 12, 2009 8:42 AM

  • Approving WSUS updates for one computer group at a time

    We have a WSUS server, and four computer groups (Alpha, Beta, Production, Workstations). Our patching process has us approve all "Not Approved" patches for the Alpha group, right after they're released by Microsoft. One week later, we approve all
    of the updates from the previous week, for the Beta group. One week later, we do the same for Production. 
    I'm writing a script (which I can't test until next week), and wonder if there's a better way to get the list of updates that are approved for Alpha. Here is the code: 
    $updateScope = New-Object Microsoft.UpdateServices.Administration.UpdateScope
    $updateScope.ApprovedStates = [Microsoft.UpdateServices.Administration.ApprovedStates]::LatestRevisionApproved
    $updateScope.FromArrivalDAte = (Get-Date).AddMonths(-1)
    $wsusGroup = $wsus.GetComputerTargetGroups() | Where {$_.Name -eq "$PatchingGroup"}
    $updateScope
    $updateScope.getType()
    $updateScope.count
    $updateScope.ApprovedComputerTargetGroups.add($wsusGroup)
    $wsus.GetUpdates($updateScope)
    $Updates = $wsus.GetUpdates($updateScope)
    I assume I can take the $Updates variable and do the following for the Beta and Production groups: 
    Foreach ($update in $updates) {
    $update.Approve(“Install”,$PatchingGroup)
    Is this going to work, and is there a better way?

    For WSUS Scripts see this: http://poshwsus.codeplex.com/
    ¯\_(ツ)_/¯

  • IIS Failed Request Tracing for one specific URI only

    Hey everyone,
    I tried setting up IIS Failed Request Tracing for one and only one specific URI to debug a problem that persists with this URI. The problem about filtering it is that it's a HTTP 200 response that contains an error message from a 3rd party solution in SharePoint.
    So I set up Tracing for the URI, say /mywebsite/3rdpartyapp/_vti_bin/client.svc/ProcessQuery. That's what I entered in the custom field in the first step of the Tracing wizard. I entered code 200 as the HTTP Response Code criterion.
    Now I get many, many Trace logs for /_vti_bin/client.svc/ntlm/ProcessQuery. But this is something I didn't even want to aim my telescope at.
    I understand that it's basically possible to use wildcards in the configuration, but I didn't use any. Also, entering something like 3rdpartyapp*ProcessQuery resulted in getting many ntlm/ProcessQuery logs.
    Thus I guess that the URI filter criterion is not handled as I expect it to work.
    Can anyone tell me how IIS handles this exactly? Is only the last part of the expression ("ProcessQuery") actually evaluated or something like that?
    System: Windows SBS 2011 with IIS 7.5
    Kind regards
    Nico

    Hello,
    IIS related questions please ask in http://forums.iis.net/
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • How to specify for JVM the stack for ONE specific thread that invokes JNI

    Hello all!
    I'm 2 days now looking for a solution in several forums but even in Sun Java Forums nobody was able to come up with a solution. If you know a better forum to place it, please let me know.
    Description:
    I have an application that launches several threads of different types. One of them is quite specific and run a critical JNI C++ process. The remaining ones are just for controling of other stuff... When I call the application by the command line
    java -classpath ... -Xss20m -Djava.library.path ... pack.subpack.myApp
    the application usually crashes: My computer has 256MB RAM of memory that vanish in seconds and causes an OutOfMemoryException
    Sometimes the application works properly, but sometimes the memory usage goes up fast until a general crash.
    What I believe that is going on:
    When we declare -Xss20m, I undestand that for each thread the JVM will attemp to allocate more 20MB, and if I have 10 threads, it goes up to 200MB and so on; however I'd like to have 20MB just for my critical process (that is called in one specific thread) and not for any thread.
    If I try to reduce -Xss parameter to, let's say 10MB, my C++ process overflow the JVM stack for the thread.
    So, does any body have know how to solve it? Please... I need experts help!
    Thanks a lot,
    Calegari

    There we go...
    I have this class:
    package calegari.automata;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author Aur�lio Calegari
    * @version 1.0
    public class Native {
    * Parameters:
    * individuals --> All binary individual (AC rule)
    * indivLength --> number of infividuals
    * numEval --> number of RIs
    * generateUniform --> Uniform distribution of density
    * seed --> seed for current generation
    public native double[] AutomataIterator(int[][] individuals,
    int indvLength,
    int numEval,
    boolean generateUniform,
    long seed
    static {
    System.loadLibrary("Native");
    public Native() {
    Then, running
    javah -classpath ... calegari.automata.Native
    I'll get the following .h
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include "jni.h"
    /* Header for class calegari_automata_Native */
    #ifndef Includedcalegari_automata_Native
    #define Includedcalegari_automata_Native
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: calegari_automata_Native
    * Method: AutomataIterator
    * Signature: ([[IIIZJ)[D
    JNIEXPORT jdoubleArray JNICALL
    Java_calegari_automata_Native_AutomataIterator___3_3IIIZJ
    (JNIEnv *, jobject, jobjectArray, jint, jint, jboolean, jlong);
    #ifdef __cplusplus
    #endif
    #endif
    Next, I built my cpp file which is right bellow
    #include <stdio.h>
    #include <stdlib.h>
    #include <conio.h>
    #include "jni.h"
    #include "calegari_automata_Native.h"
    #include "util.h"
    double IndividualEvaluator(long rule[], int automataCells[][149], int numInit1s[],
    int numOfACs, int numEvaluations);
    char getNext(char simb);
    JNIEXPORT jdoubleArray JNICALL
    Java_calegari_automata_Native_AutomataIterator___3_3IIIZJ
    (JNIEnv *env, jobject jobj, jobjectArray indiv, jint length, jint numEval,
         jboolean isUniform, jlong seed)
    printf("Native JVM call for C++ critical block: Started \a[-]");
    int ACs[10000][149]; //Will be filled with 100000 Initial states of a cellular automata
    int numIndiv = length;
    int numOfACs = numEval;
    //Dencity of each Initial state of cellular automata
    int num1sRIs[10000];
    //response
    double resp[1000];
    //set seed
    srand((unsigned int) seed);
    //generate Cellular automata states
    //Uniform generation
    if(isUniform)
    for(int i=0;i<numEval;i++)
    int num1s;
    num1s=0;
    for(int j=0;j<149;j++)
    ACs[i][j] = ((rand()%numEval)<i+1?0:1);
    if(ACs[i][j]==1) num1s++;
    num1sRIs[i] = num1s;
    printf(" %d ",num1s);
    else //not uniform generation
    for(int i=0;i<numEval;i++)
    int num1s;
    num1s=0;
    for(int j=0;j<149;j++)
    ACs[i][j] = rand()%2;
    if(ACs[i][j]==1) num1s++;
    num1sRIs[i] = num1s;
    //load individuals and start the critical method
    char simb = '-';
    for(int i=0;i<numIndiv;i++)
    jintArray oneDim = (jintArray) env->GetObjectArrayElement(indiv, i);
    jint *indiv=env->GetIntArrayElements(oneDim, 0);
    simb = getNext(simb);
    printf("\b\b%c]",simb);
    resp[i] = IndividualEvaluator(indiv,ACs,num1sRIs,numOfACs,300);
    jdoubleArray retApts;
    retApts = env->NewDoubleArray(numIndiv);
    env->SetDoubleArrayRegion((jdoubleArray)retApts,(jsize)0,numIndiv,(jdouble *)resp);
    printf("\nReturning to Java plataform: Completed\a\a\n");
    return retApts;
    char getNext(char simb)
    if(simb=='-') simb = '\\';
    else if(simb=='\\') simb = '|';
    else if(simb=='|') simb = '/';
    else if(simb=='/') simb = '-';
    return simb;
    Then it works fine since we declare the size of the stack to JVM, however, if we don't... We get a crash!
    Any idea?
    Thanks

  • SQL query to get DDL for Adding PK.

    Guys,
    I'm looking for SQL query that gets me the "ALTER TABLE <TABLE_NAME> ADD CONSTRAINT <constraint_name> PRIMARY KEY (X,Y,...);" statments of all tables in my schema containing Primary Keys.
    Could someone help me with the query please?
    Regards,
    Bhagat

    You need this
    SELECT 'ALTER TABLE '||table_name||' ADD CONSTRAINT '||constraint_name||' PRIMARY KEY ('||column_name||');'
      FROM ( SELECT uc.table_name
                   ,uc.constraint_name
                   ,RTRIM (XMLAGG (XMLELEMENT (ucc, column_name || ',')).extract ('//text()'), ',')  column_name
              FROM user_constraints        uc
                  ,user_cons_columns       ucc
             WHERE uc.constraint_type      = 'P'
               AND uc.constraint_name      = ucc.constraint_name
          GROUP BY uc.table_name
                  ,uc.constraint_name
    ORDER BY table_name;   Regards
    Arun

  • How to query the opening balance for an specific account for an spec. date

    Hi all,
    for my user query I need to calculate the opening balance for an cash account for an specific date.
    Any ideas, how can I do this?
    Or may be you know a field in an SBO table that already contains information I need...
    Best Regards,
    Inna

    Hi Inna,
    to find the opening balance for an account or a business partner, please see SAP Note [1114253|https://service.sap.com/sap/support/notes/1114253] :
    Symptom
    How to find the opening balance of a business partner or G/L account.
    Other terms
    Account, customer, supplier, vendor, creditor, debitor, start, initial, first, opening balance, business partner, G/L, SAP Business One
    Reason and Prerequisites
    Consulting
    Solution
    There are several possible approaches:
    Approach 1 - Business Partner Opening Balance:
    1. Go to Business Partners -> Business Partner Master Data -> find the Business Partner
    2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
    3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
    4. Click on the button 'Refresh'.
    5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
    Approach 2 - Business Partner Opening Balance:
    1. Go to Business Partners -> Business Partner Master Data.
    2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
    3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
    4. Click on the button 'Refresh'.
    5. Double click on the column header 'Posting Date' to find the earliest transaction on the business partner account. This transaction could be opening balance, verify this with the company accountant.
    Approach 3 - G/L Account Opening Balance:
    1. Go to Financials -> Chart of Accounts -> click on the account name once.
    2. Click on the orange link arrow next to the field 'Balance'.
    3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
    4. Click on the button 'Refresh'.
    5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
    Approach 4 - Business Partner and/or G/L Account Opening Balance:
    1. If using SAP Business One 2005 SP01 or earlier, go to Reports -> Query Generator -> click on 'Execute'.
    2. If using SAP Business One 2007 or later, go to Tools -> Queries -> Query Generator -> click on 'Execute'.
    3. Ignore the red system message in the bottom of the screen.
    4. Click on the pencil icon in the top left of the window, the field with 'SELECT *' will change colour to white, then yellow when activated by clicking in the field.
    5. Copy the query below:
               SELECT T0.[TransId], T0.[Debit], T0.[Credit] , T0.[CreatedBy], T0.[TransType] FROM [dbo].[JDT1]  T0 WHERE T0.[TransType] = '-2'  and T0.[ShortName]  = '[%1]'
    6. Click on 'Save' and give the query an appropriate name and select the appropriate category.
    7. Click on 'Execute'.
    8. Click on 'Existing Values'.
    9. Select the G/L account or the Business Partner name from the list and click on 'OK'.
    10. The system message 'Records retrieved by this query #' (# = number of records) will pop up. Click on 'OK'.
    All the best,
    Kerstin

  • Calling first query to get parameters for second query

    Newbie trying to convert an Oracle Report to BI. The report has 1 parameter from the user, which is plugged into a query that returns grouped data (4 values, 1 row). This data is then used in multiple places (not just where clause) in a second query to get the data for the report. Can anyone please point me in the right direction to accomplish this?
    I have looked at using a before trigger possibly to get the first query values but am not sure how to then pass those values back to be used by the second query.
    Thank you for ANY suggestions!

    Hello,
    you use any fields in additional querys as parameters.
    If you use XML-data-template, it would look like this:
    <dataTemplate name="INVOICE_REPORT" description="Invoice Report" Version="1.0">
      <parameters>
        <parameter name="P_INVOICE_HEADER_ID" dataType="number"/>
      </parameters>
      <dataQuery>
        <sqlStatement name="QUERY_INVOICE">
          <![CDATA[
    select ivh.invoice_header_id    
         , ivh.invoice_number
         , ivh.customer_id           // here you select the field which is a parameter for next query
          -- ... additional fields ... --
      from tbl_invoices ivh
      where ivh.invoice_header_id = :P_INVOICE_HEADER_ID
        -- and additonal conditions --
    ]]>
        </sqlStatement>
        <sqlStatement name="QUERY_CUSTOMER">
          <![CDATA[
    SELECT c.account_number
         , c.customer_name
         , c.customer_city
          -- ... additional fields ... --
      FROM tbl_customers c
      where c.customer_id = :CUSTOMER_ID // here is the parameter
        -- and additonal conditions --
    ]]>
        </sqlStatement>
      </dataQuery>
      <dataStructure>
        <group name="GRP_HEADER" source="QUERY_INVOICE">
          <element name="INVOICE_HEADER_ID" value="INVOICE_HEADER_ID"/>
          <element name="INVOICE_NUMBER" value="INVOICE_NUMBER"/>
          <group name="GRP_LINE" source="QUERY_INVOICE">
            <element name="ACCOUNT_NUMBER" value="ACCOUNT_NUMBER"/>
            <element name="CUSTOMER_NAME" value="CUSTOMER_NAME"/>
            <element name="CUSTOMER_CITY" value="CUSTOMER_CITY"/>
          </group>
        </group>
      </dataStructure>
    </dataTemplate>          The behavoir is much similar to oracle report
    Regards
    Alexander
    Edited by: alexander.steinbeisz on Dec 7, 2009 12:20 PM
    Edited by: alexander.steinbeisz on Dec 7, 2009 12:21 PM

  • I want to add a music persona but don't have time to look thru 383 pages. Is there no way to search for a specific group? (ABBA)

    I want to add a specific music persona, but don't have time to browse thru 383 pages of music personas. Is there no way to simply search for a particular group (ABBA)?
    == This happened ==
    Every time Firefox opened

    How about this one?
    http://www.getpersonas.com/en-US/persona/124788
    There's a search field in the upper-right corner of the Personas Gallery pages.

Maybe you are looking for