GRAPH in Query Generator Reports

Hi Experts,
I would like know what is the logic to generate graph in Query Generator report.
you can see there is graph button in Query Generator window, if you click on this button, shows popup window with graph. i am not sure what is the logic they used to generate this graph.
Please let me know if any one have an idea.
Thanks in advnace.
Regs
kv

Hi Gordon,
Thanks for the quick reply,  let me check.
Do SAP B1 have any DIAPI or UIAPI object for create graph.
Please advise.
Thanks
kv

Similar Messages

  • How to define the PLD of a Query generator report

    Hi All,
    I want to define the PLD of a Query Report. Currently I am Convertning it to Excel format. But my client wants it in PLD format.  so please tell me the process of defining the PLD for a Query generator Report.
    Thanks & Regards
    Pankaj Sharma.

    Hi,
    When u wrote yr query at that time save yr query
    Now yr query is save in "Query Manager"
    Open Query Manager > select yr query
    There is a button "Create Report"
    Create USer Report Window is display "define yr name" and select "Base Temple"
    once u save it double click and edit yr PLD....
    Hope it a best way to create uer PLD
    Thanks
    Kevin

  • Query Generator Report

    Hi,
        Using query generator I am able to retrive the records form system table and also from user defined table. But when i click on create report button in Query manager,it gives me create user report. & one print layout window is opening. After doing some modification there i saved it. The question is how to open this user report. Is there any option in query generator to synchronize with SAP B1?

    Yes I got the ultimate answer to my query.
    GoTo Tools->Queries->Queries PrintLayout->Select the user defined query->Click Print preview......

  • Displaying logged in user when printing a query generated report.

    Hi all
    I need to know how can i show the user code of the person who printed a certain report.
    Scenario:
    When a despatch clerk reconciles driver cash they print a query genereted report , so i need his user code to show on the report... please check the query below... and make suggestions ...
    SELECT T0.DocNum, T0.CardName, T1.PymntGroup, T0.DocTotal, T0.U_ROUTEMARKTN, T0.U_RTNAME
    FROM OINV T0 INNER JOIN OCTG T1 ON T0.GroupNum = T1.GroupNum
    WHERE T0.docDate =[%0] and  T0.U_ROUTEMARKTN = [%1] GROUP BY T0.DocNum, T0.CardName, T1.PymntGroup, T0.DocTotal, T0.U_ROUTEMARKTN, T0.U_RTNAME
    ORDER BY t0.u_rtname
    i need the user be copied from the logged in user and be displayed in the header level of the report.
    Thanks

    Hi
    To display the username you need not modify your query.
    Rather, Add a Database Field in the PLD and click in Properties and select Content Tab and set following values:
    Table: Users
    Column: Username
    Preview the report and you'll get the logged in UserName

  • Difference in Query generated by OBIEE for same report

    Hi,
    I am using a a report(X) in a filter condition.
    I am seeing a peculiar issue with OBIEE server. When i am running a report(X) alone, the query generated is different. But when i am using the same report in filter condition of other report(Y), the same report is generating some other query. The first report(X) is running fine but the second(Y) is not running at all.
    Case 1(Report X) Query: The report is breaking into 3 parts for different fact tables and combining the data to give result.
    Case 2(Report Y): A single query is being formed and within it is fecthing the data from different fact tables using subqueries.
    Case2 is creating a lot of problem as the performance is totally poor.
    Any suggesstions??
    Thanks
    Tataji

    Hi, we haven't debugged the application or traced the query against the production server (it's in our customer's office) buy I think there's no difference since the query itself has been tested using sqldeveloper against both servers (XE 11.2 and Enterprise 11.1) and the behavior is consistent. By consistent I mean:
    - The query executed via sqldeveloper against Oracle XE 11.2 runs ok and so does the application.
    - The query executed via sqldeveloper against Oracle Enterprise 11.1 fails with an ORA-01790 error, and so does the application (exceptions are being logged in the Event Log).
    To sum up: the same query runs ok in Oracle XE 11.2 and fails in Oracle Enterprise 11.1.
    Additional information: we have tried explicit casting the NULL literals to the corresponding data types (in the UNION ALLs) and the query works fine in both versions. ¿Is there an option in ODAC to tell the query generator to write this explicit castings?
    Regarding the DB schema and the LINQ query, I'll be sending them asap.
    Regards,
    Ernesto.

  • Query on generating report using XMLP based on a search spec

    Hi,
    We are using XMLP reporting tool to generate reports for our application. Our requirement is to generate reports based on a search spec. Should I send this search spec as a input parameter to the FO processor? In other words, what is the exact procedure to generate reports based on a search spec? This search spec is provided at runtime.
    Thanks,
    Sudha.

    Hi Henry,
    Thank  you for your response.
    BEx query has not been created yet. we need to create accordingly and require your help in creating the same.
    Regarding reporting requirements,  User wants to have adhoc reporting  with rolling months ( 12 months or 6 months) functionality. Users want to link any KF to this rolling months dimension.
    If we can't have this, what is the alternative that we can propose to user.
    Thanks
    Akshara.

  • Generating report from Backend Query in OIM

    Hi,
    I am trying to generate a report in OIM. The requirement is to generate a query that can be executed in the database to retrieve the following:
    All the users in OIM with out the access (Not in provisioned or Enabled state) to Active Directory
    I tried generating report using the out-of-box report for Resource Access List, which provides the list of users who are having access to particular resource, but there is no out-of-box report for providing report for users who do not have access to a particular resource.
    Could any one help me write such a query. I know we need to look in to many tables before we fetch the details. A sample query would be really helpful.
    Thanks

    Users who have access to specific resource - it is based on organization level, simple query that lists organizations with resources that they have access to :
    select a.act_name, o.obj_name, ap.acp_create, ap.acp_update
    from act a, acp ap, obj o
    where a.act_key = ap.act_key
    and ap.obj_key = o.obj_key
    Relation between users and organization is simple so it would be easy to you continue on your own...
    Hope this helps!

  • Query to generate report in order

    Hi ,
    I want to generate report in below order using sql query. In this col2, col3 and col4 will have only 1 value at time remaining will be NULL. What i want is i want to group by Axx or Bxx or Cyy in a specific order based on col2, col3 and col4. please help me
    Result:
    Example
    col1 col2 col3 col4
    100 Axx <null> <null>
    200 <null> Axx <null>
    300 Axx <null> <null>
    400 <null> Bxx <null>
    500 Bxx <null> <null>
    600 <null> Cyy <null>
    .........

    Naga wrote:
    Hi ,
    I want to generate report in below order using sql query. In this col2, col3 and col4 will have only 1 value at time remaining will be NULL. What i want is i want to group by Axx or Bxx or Cyy in a specific order based on col2, col3 and col4. please help me
    Result:
    Example
    col1 col2 col3 col4
    100 Axx <null> <null>
    200 <null> Axx <null>
    300 Axx <null> <null>
    400 <null> Bxx <null>
    500 Bxx <null> <null>
    600 <null> Cyy <null>
    .........Thanks for not posting the original data or explaining clearly ({message:id=9360002})
    It sounds like you want something like...
    group by coalesce(col2,col3,col4)
    order by coalesce(col2,col3,col4), col1

  • Using XL reporter view in query generator

    is it possible to use XL report views in query generator ?

    Yes, they XLR views start with ixv.
    Jim

  • Generating report based on dynamically generated sql query

    I have to rewrite asp reports to oracle reports.
    The original application has forms in asp where reports are generated dynamically based on the options selected.
    There are many options to select.
    Some add filter criteria to where clause.
    I have no problem with this. As i can generate report using parameter form.
    whereas i don't know how to generate reports whose columns change based on the user selection.
    The front end screens are going to be in java and jsp pages. The only way i can think of is generating reports on all possible options the user may select. But, as there are more than 15 options, i think this is not the right approach.
    How can i achieve this.
    Thank you very much.
    navya.

    One method that comes to mind would be to use an after parameter form, and use lexical parameters to create dynamic statements.
    For example in your after pform:
    If :P_NAME = 'JOHN' then
    :P_SELECT = 'SELECT COL1, COL2 ';
    :P_FROM = 'FROM JOHN ';
    :P_WHERE = 'WHERE COL3 = 'JOHN';
    END IF;
    Then in your query, you could say:
    &P_SELECT
    &P_FROM
    &P_WHERE
    Something like that - If only parts of you where statement will change, you can just write that one part -
    like
    IF :P_STATE is not null then
    :P_STATE = ' and table.state = :P_STATE_IN ';
    else :P_STATE = ' and 1=1 ';
    end if;
    and in your query...
    where....
    &:P_STATE
    So IF a person enters a state, then limit the search to that state, or else do a 1=1.
    Hope this gives you a start

  • Sales report from query generator

    Hi Experts,
    Im using query generator i had given selection criteria like, Posting date from and To, Profit centre, Numbering series name,
    query:
    SELECT T0.[DocNum], T0.[VatSum], T0.[DocTotal], T1.[PrcCode], T1.[PrcName], T1.[Balance] FROM OINV T0 , OPRC T1 INNER JOIN NNM1 T2 ON T0.Series = T2.Series WHERE T0.[DocDate] > ='[%0]' AND  T0.[DocDate] < ='[%1]' AND T1.[PrcCode] ='[%2]', T2.[SeriesName] ='[%3]'
    Error:
    1.     1)(Microsoft)SQL Native client)(SQL Server)Incorrect syntax error near u2018 u2018,Microsoft(SQL Native client) (SQL Server)statement u2018User Defined Valuesu2019 (CSHS)(1) could not be prepared.
    can u give any idea to solve this problem,
    thanks in advance,
    anand.r

    Hi,
    I made a mistake in the variables:
    SELECT     T0.DocNum, T0.VatSum, T0.DocTotal, T1.PrcCode, T1.PrcName, T1.Balance
    FROM         dbo.OPRC AS T1 INNER JOIN
                          dbo.OINV AS T0 INNER JOIN
                          dbo.NNM1 AS T2 ON T0.Series = T2.Series ON T1.PrcCode = T0.Project
    WHERE     (CAST(T0.DocDate AS VarChar) <= [%1]) AND (T1.PrcCode = [%2]) AND (T2.SeriesName = [%3]) AND (CAST(T0.DocDate AS VarChar) >= [%0])
    Kind regards,
    Hendri Wessels
    EDIT: I see that the variables do work in B1UP like this, but not in SAP Query generator.
    Edited by: Hendri Wessels on Jul 27, 2009 8:58 AM

  • Generate report with chart

    Hello,
    I want to generate multiple graph on the same report.
    Is it possible ?
    thanks.

    if I should not modify the query, how to generate the graph many times? If you are using the following query, you can pass the parameter to run for one customer or for all customers:
    select name,location,sal,departement from table1 t1 and table2 t2 where Number1 = Number2 and sal < 20000 and Number1 = '100'; So modified query will look like this (see the part in bold):
    select name,location,sal,department from table1 t1 and table2 t2 where Number1 = Number2 and sal < 20000 and *(:p_customer_no is null or Number1 = :p_customer_no)*
    Hope this helps.

  • Generate report using Word Report Generation VIs error

    When I Generate report using Word Report Generation VIs  ,the error is generated.
    This is  my Vi
    can somebody  tell the error reason?
    The attaché is Vi (one is 2011,other is 8.6)
    Attachments:
    report-8.6.vi ‏16 KB
    report2.vi ‏33 KB
    template.doc ‏40 KB

    Hi Ben64
                 Thank you! The problem is solved.
       BUT when I use the Word Easy Graph vi  ,the result is
    I want the Graph (curve),like as:
    How Can I do get the picture.
    I have other problem. I want to get default name for the new word file.
    liang

  • Not able to generate Report

    hi,
    In matrix report as the Number of column field and row field are not certain how do I get to know or point to each column field value for particular row.
    Other details:-
    In simple matrix report with column field as 'Division No' and Row field as 'Account No' and cell field as 'Credit_Amt' and summary field(name F_sumCreditAmt) for Account wise.
    'AccountNo' field repeating frame is down wards and 'division no' repeating field is accross.
    If the summary for 'accountNo' is ' 0' then I am able to supress the row, but the sum can be 'zero' if the total in that row for particular row and all the columns can be (-2000) and (1000,500,500) which will amount to be zero when you add up. But my problem is how do I generate report even if the summary column value is 'zero' but it has some value in the 'Credit_Amt' Field. I need to show the row whose summary is 'zero' but it has some value in the 'Cr_Amt' field for some of the column field(ie Division_no).
    Thanks
    Ram

    if you run your query against the repository database you will get the error while the user MGMT_VIEW in the repository database doesn't have any
    privileges on dba_data_files (I'm using OEM/GC 10g - at least in this version the user MGMT_VIEW is used).
    If you want to run your query against a target database you have only these choice: create a public database link for that target database.
    select tablespace_name as tbname, sum(bytes)/1024/1024 as size_mb from dba_data_files@target_db group by tablespace_name;
    On the other hand you could use the repository of the OEM/GC to get some informations about the tablespaces of a target database.
    Please check:
    http://download.oracle.com/docs/cd/E11857_01/em.111/e12135/toc.htm => Part II Reference => 7 Management Repository Views
    For your purpose the view MGMT$DB_DATAFILES in the SYSMAN repository might be a good choice...
    HTH

  • FREC Error while Generating Reports in Quality Center

    Hi,
    We usually generate reports using Dashboard module of Quality Center . While generating reports on  a particular PC, we are getting the following error.
    The SQL Query <sheet1> has failed to run, with the following error:
    Returned Result is not valid FREC.
    We are able to generate the same report on a different PC.
    Does anyone encounter this issue earlier? Could someone help us out in solving this issue.

    Issue popped up with me a few times and seemingly uncontrolled.
    I resolved one query with replacing quotes in the string i.e. replace single with double by replace([field],chr(39),chr(34))

Maybe you are looking for