Enhancement Req (v4.0): Report Query- Output Format- Derive from Item

Brief Introduction
I have 1 major request I would like to make (and 2 lesser ones). The first, I would like to specify custom available output formats for 'Report Query' objects, as well as Reports Regions, Interactive Reports, etc. I believe that this could easily be an instance setting in the Report Server region of the internal workspace, or per workspace / application. Even if not supported on the system wide level, I would recommend that the "Derived from Item" output format "Return Value" be allowed to be returned unaltered to the Report Server. I know that the type is returned as "_xf", and for my purposes I would REALLY like to be able to get something other than the defaults.
Use Case
I am creating a custom JasperReports integration (for which I will be launching a public SaaS beta extremely soon). It uses the standard Apex reporting objects (Queries, Layouts, Print Buttons, etc). JasperReports templates are uploaded as Report Layouts and everything works fine. I am, however, wanting to implement as many output formats as are available to me in Jasper...that means Word 07, Excel 07, ODS, ODT, etc. For the items that take a print server override I can handle this in other ways (even though this appears broken [see below]), but for the standard report queries this isn't available. I would basically like the option to define the set of available output formats for the report server, and what the "_xf" returned for each one is.
Minor Requests
- Replace Uploaded Templates: If a template is used often and updated, then it has to be changed everywhere...minor irritation.
- Customize Report Server URL for the Workspace or Application: For SaaS instances, workspace developers may license or have access to reporting solutions that are not (and should not be) available to all of the Oracle instance's workspaces, or may conflict with a service that is already provided by the instance administrators.
Broken
When I use the print server override, with the "Use Headers From" option, it appears that neither my content type, nor my content disposition headers are being sent back to the client. This is the work around solution for the non-standard types issue I am requesting enhancement on, so I would like to know what I can do to get this working immediately.
Additional Info
As it stands, if the site is available, feel free to sign up for the beta. The beta keys will be exported soon to the instance and made available. Instructions on setup will also follow:
https://apex.vendelinc.com/apex/f?p=home

Hi, please did you get any solution to this issue? I am having similar challenge right now.
select     EMP.DEPTNO as DEPTNO,
     DEPT.DNAME as DNAME,
     EMP.EMPNO as EMPNO,
     EMP.ENAME as ENAME,
     EMP.JOB as JOB,
     EMP.MGR as MGR,
     EMP.HIREDATE as HIREDATE,
     EMP.SAL as SAL
from     SCOTT.DEPT DEPT,
     SCOTT.EMP EMP
where EMP.DEPTNO=DEPT.DEPTNO
and      DEPT.DNAME =upper(:dname)
This run perfectly in sql developer, toad, and even inside publisher if I login directly to publisher to create report.
Generating this same query in shared component query builder and testing it returns no data found. If I remove the last line, it works. but with the last line, it return no data found. It seems no one has been able to provide solution to this issue

Similar Messages

  • APEX BIP report query output format - not able to set with a variable

    I have a Named Columns (RTF) report that is working great, but I can't control the output format with a variable. I can set the "Output Format" in the Report Query Attributes, but it doesn't work when I set the report output format to "Derive from item". No matter what the item contains, I always get PDF output. I can see the variable in my session, but it doesn't control the output format. I have tried using the values "xml", "XML", "rtf", and "RTF".
    Any help would be appreciated...

    My guess is that an exception is being thrown for some rows. Since you've stubbed out your catch phrase to do nothing you're not going to have any visibility into what exception was thrown. You need to put some kind of logging in the catch phrase to see
    what is happening.

  • Query output format changing from GRID to LIST

    Hi experts,
    I am ading an additional table to an Infoset (SQ02) and selcting some of its fields in corresponding query(SQ01) for display.
    Now when I am trying to execute the query I am getting error message at bottom as below:
    'The line sequence does not correspond to the data source's hierarchy . List is only displayed in simple format for correction purposes.   Please check the sequence. Button  allows you to color list fields according to the hierarchy.'
    Also when I execute this query the output is coming in list display format instead of grid display which was earlier coming.
    Please help!
    Thanks,
    ~Sachin

    Hi Sachin,
    Please see the following thread.  Hope this helps.
    http://www.sapfans.com/forums/viewtopic.php?f=13&t=328315
    Best Regards,
    Archana

  • Run a report as output format "MS Word" under Crystal Report Server 11 R2

    May I confirm any patches I can download to fix the problem ?
    The problem is if I set the output format as MS Word 2003/2007 instead of crystal report when "Schedule" a report in Crystal Report Server. I found a problem all reports cannot be show on the browser (with error message "Error on page." at the bottom of browser). I need quit the infoview and login again.
    Thanks for your kindly help

    Hello Wallace,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • Formatting SQL query as of iSQL*PLUS query output format through PL/SQL

    This is my procedure through which i m sending an e-mail. In my e-mail i want to show output from error log query. I can show it in simple text but i want the output for the error log to be formatted as the query result is formated in iSQLPlus.
    In simple words instead of the message i want to send the query result which is formatted as iSqlPlus query output. Thankx in advance. Please provide a simple solution that iSqlPlus engine recieves my any given query and gives the formatted output for that query in the e-mail
    DECLARE
    conn utl_smtp.connection;
    v_log number;
    BEGIN
    conn := demo_mail.begin_mail(
    sender => '<sender-email>',
    recipients => '<recipient-email>',
    subject => 'HTML E-mail Test',
    mime_type => 'text/html');
    </h1>
    -- This method will be used for oracle error reporting');
    demo_mail.write_text(
    conn => conn,
    message => '<h1>Hi! This is a <i>test msg</i>);
    demo_mail.end_mail( conn => conn );
    END;

    oe@ORA102>
        select * from
        (select rownum r1, p.promo_id, promo_name from promotions p where rownum <5)
        full outer join
        (select rownum r2, w.warehouse_id from warehouses w where rownum <4)
       on (r1 = r2)
    oe@ORA102>/
            R1   PROMO_ID PROMO_NAME                   R2 WAREHOUSE_ID
             1          1 everyday low price            1            1
             2          2 blowout sale                  2            2
                                                        3            3
    oe@ORA102>But there should be "some connection" between the result sets, otherwise the resulting result set become unpredictable / meaning less.
    I am joining on ROWNUM, Do you want every row from emp related to every row from stocks (like a cartesian join)?
    Trying to understand the requirement.
    vr,
    Sudhakar B.

  • Query Output Formatting Help

    Hello All,
    I'm having problems trying to format the output of one of my queries. I'm new to SQL and I consider my writing the query a HUGE win.... but I can't seem to get the correct output format.
    Per the code below, it is outputting the Last Name (lname) of the employee, a count of what I want, and the overall rank.  I would like to concatenate the employee number (emp#) the first (fname) and last name (lname) together into the same column in the output.
    The concatenation code would be something like the below.
    Desired concatenation:
    emp# || ' - ' || lname || ', ' || fname AS EMPLOYEE
    I'm using Oracle 11g Express. Please let me know if you need any supporting information to assist you.
    I appreciate all your help!!! Thank you.
    Query
    SELECT EMPLOYEE, PREPARED,
    RANK() OVER (ORDER BY Prepared DESC) AS rank
    FROM (SELECT lname EMPLOYEE , COUNT(DISTINCT reportnum) PREPARED
          FROM employee
          LEFT OUTER JOIN faultreport USING (empno)
          GROUP BY lname
          ORDER BY Prepared DESC)
    WHERE rownum < 15;

    Hi,
    8bb7968b-e6ae-456c-8459-f418352e9e0a wrote:
    Hello All,
    I'm having problems trying to format the output of one of my queries. I'm new to SQL and I consider my writing the query a HUGE win.... but I can't seem to get the correct output format.
    Per the code below, it is outputting the Last Name (lname) of the employee, a count of what I want, and the overall rank.  I would like to concatenate the employee number (emp#) the first (fname) and last name (lname) together into the same column in the output.
    The concatenation code would be something like the below.
    Desired concatenation:
    emp# || ' - ' || lname || ', ' || fname AS EMPLOYEE
    I'm using Oracle 11g Express. Please let me know if you need any supporting information to assist you.
    Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002
    I appreciate all your help!!! Thank you.
    Query
    SELECT EMPLOYEE, PREPARED,
    RANK() OVER (ORDER BY Prepared DESC) AS rank
    FROM (SELECT lname EMPLOYEE , COUNT(DISTINCT reportnum) PREPARED
          FROM employee
          LEFT OUTER JOIN faultreport USING (empno)
          GROUP BY lname
          ORDER BY Prepared DESC)
    WHERE rownum < 15;
    It looks like you've found the right way to concatenate the columns.  How to use that in your query depends on your data, and what you want the query to do with that data.
    If you GROUP BY lname, what do you want the concatenated value to be when different rows having the same lname have different fnames and/or emp#s?
    Do you want to GROUP BY the new concatenated employee instead of lname?

  • VA05 report exectution  Excel format few line items gets automatically skip

    Dear,
    SAP support Team & Other team Members On SDN.
    As we are generating report from VA05 screen for retail sales order list, the report shows full required data but when the report is executed in Excel format few line items gets automatically skipped & further tried generated in TXT format the whole report get properly dragged.
    This problem is only in PRD Server, when i am teting the same in DEV Server it is properly Generated in EXCEL with Proper LINE ITEMS.
    Please kindly provide me with some Solution regarding the same.
    Warm Regards,
    Mohammed Hassan Naveed
    Deputy SAP Basis Consultant

    Hi,
    Have you tried using VA05N?

  • ALV report - control output format

    Hello all,
    I have an ALV report and when we try to print the output from List -> Print  , we would see Format under properties. I would like to control this format from inside my program. How can we do this? I tried LINE-COUNT and LINE-SIZE additions already with the REPORT statement but did not work. Please share your thoughts. Thanks.

    Hello,
    Thanks for the info. One more thing before I close the ticket. I have a report output with 7 pages. Second page has 20 columns in it. When I use format X_65_255, all 20 columns on the page are not being displayed. When I used X_65_512, the remaining columns overflowed to next page but all other pages (pages 1, 3, 4, 5, 6 and 7) have a blank page after them. Couple of quick questions.
    1. How can we get rid of the blank pages?
    2. Or is it possible to fit all columns from 2 page into just one page, may be reducing the font?
    Please help. Thanks.

  • Clarification req. about the receiver query output in RRI

    Hi,
    I need some insight on the output that i see in the receiver output in RRI.
    For e.g, In the sender query, I see a list of Cost Elements. Now, I see one of the Cost Element ( select any one context cell) and the perform the RRI Jump.
    Now , can you please let me know if in the receiver Query, do I see output only for that particular Cost Element OR all the cost Elements ( irrespective of wht cell on go on the sender query and perform the Jump )..
    FYI, currently, when I do the jump, I see all the cost elements even though I select one cost element..Is it the way RRI works ?? OR am I missing out on something..
    Please let me know...
    Thanks..
    Punkuj..

    Report - > Costs and Allocations : Costcenters -> Source Query/Infocube/Summary Level
    CostCenter|CostElement|Fiscal Period|Actual Amount
    C001.........|CE123.........|2007007.......|120$
    Report- > Costcenter Line Item Details - > Target Query/DSO/Detailed Level
    CostCenter|CostElement|DocNum|DocumDate|Fiscal Period|Actual Amount
    C001.........|CE123.........|10023.....|2007/09/12|2007007.......|50$
    C001.........|CE123.........|10024.....|2007/09/16|2007007.......|50$
    C001.........|CE123.........|10025.....|2007/09/19|2007007.......|20$
    Overall Result...................................................................120$
    Requirement for jump - > For Document Details like Document Number, Document Date......
    Procedure : Rclick on 120$ - GO TO - Costcenter Line Item Details
    For e.g, In the sender query, I see a list of Cost Elements. Now, I see one of the Cost Element ( select any one context cell) and the perform the RRI Jump.
    You should only see one Costelement from where the jump was made , assuming you have same set of variables in both source and target queries and additional details in the target query if any.
    Dollar Amounts may not match as time period values are not passed on to the target query.
    Now , can you please let me know if in the receiver Query, do I see output only for that particular Cost Element OR all the cost Elements ( irrespective of wht cell on go on the sender query and perform the Jump )..
    Appropriate jump would be from the Dollar Amount Cell  ( like 120$ in the above example ) and it depends on the variables you passon etc....primarly the requirement.
    Jump may not work from the Overall Result Rows, Node Level Dollar Amounts.....
    FYI, currently, when I do the jump, I see all the cost elements even though I select one cost element..Is it the way RRI works ?? OR am I missing out on something..
    What are your variables in the source and target query ?
    What is the requirement anywas?

  • Query output format

    Hello
    I would like to have this out put:
    PID PCODE P_NUMBER L_NAME USED     NEW
    191 TI4-35304     4-3530 POS     6     2
                   TCC      0     1
    192 PI4-36701     4-3670 POS     4     23
                   TCC     0     18
    193 TI4-34906     4-3490 POS     0     1
         TCC 0     4

    Please, provide more info about your actual data, and business rule to obtain the desired output.
    Well, I've just seen that you post an other thread on same subject :
    Re: I would like this output
    Nicolas.
    Message was edited by:
    N. Gasparotto

  • Passing sql report query field value to hidden item in javascript

    I have sql report which has in each row one html button. Let us say that query SHOULD look like (two columns, to be easy to get the point):
    select 1 SECURITY_ID
      , '<input type="BUTTON" value="Top10" onClick="javascript:Top10Click ('||SECURITY_ID||');" >' BTN
    FROM DUAL;
    function Top10Click (vValue) {
      html_GetElement('P31_PROCESS_VALUE').value = vValue;
      doSubmit('GO_BACK');
    } <br><br>
    where P31_PROCESS_VALUE is hidden item where i want to store value of row where click happened.
    <br><br>
    In every button i want to pass row value "SECURITY_ID" to Top10Click function for each row differently.
    <br><br>
    Problem is that when I place double qoute then js is not working, else js is ok but "SECURITY_ID" is passed as constant not as live SQL value.
    <br><br>
    Any help...THX!
    <br>
    Demo is on oracle:
    http://htmldb.oracle.com/pls/otn/f?p=26216:1
    Workspace entry:
    WK: FUNKY
    UN: [email protected]
    PW: qwertz

    I have tried to unify the solution, so it looks like:
    select 1 SECURITY_ID
      , '<input type="BUTTON" value="Top10" onClick="javascript:Top10Click ('||'&quot_X;'||SECURITY_ID||'&quot_X;'||');"  >' BTN
    FROM DUAL;change '&quot_X;' (remove "_X" part ... so it can be seen in HTML properly!
    THX Denes for great ideas...

  • Report query to exclude entries from the list.

    ID R_Number Status_ID Date Setup_by
    12 1111 2 11/11/2006 m
    23 2222 4 11/11/2006 m
    54 1111 3 11/12/2006 m
    54 1111 5 11/11/2006 m
    876 3333 2 11/13/2006 m
    89 4444 4 11/11/2006 m
    33 2222 2 11/14/2006 m
    How can I select the R_number where status_id ‘2’ exist but not status_id ‘4’ (If one r_number has both status_id ‘2’ and ‘4’, it should not pick that number)
    I tried the query below but it seems to be returning the r_number (S) where it has either 2 or 4 status_id.
    Select r_number, status_id
    From table1
    Where status_id = ‘2’
    And status_id != ‘4’
    so that it should be picking r_number (s) - 1111, 3333 only
    Please help me out. Thank you. Rav.

    Well, this is really a SQL question, not an ApEx question, but here goes....
    Your query would return r_number and status_id from any record that contains a status_id of 2 and not 4. Well, if it's 2, it can't be 4, so it's really returning any record where status_id is 2, which would be rows with ID 12, 876, and 33. What I think you want is a query where you find a status_id of 2 and no other record in the database has the same r_number only with a status_id of 4.
    Try
    select r_number, status_id from table1
    where status_id = '2'
    and r_number not in (select r_number from table1 where status_id = '4')
    This works, but may not be the most efficient query.

  • About Query Output

    Why the Query Output format changed from 'Layout' to 'SAP List Viewer' after added some codes?
    How to modify it back?
    Edited by: abpjoel on Dec 2, 2010 2:45 AM

    你好!
    如果可以的话,你可以给我样例吗? 我想在我们的系统里,查一下有没有这个问题。
    还有你们系统的basis support package可以告诉我吗?

  • Different output format on pdf,  same report same data same user Report 10g

    Hi
    I’ve recently came up with a very strange problem
    I have the same report ( DevSuite 10g ) running on a win2003 server and without any obvious reason the output format changes from the original –correct one - ( the underlined text is not correct , font size is decreased , line spacing differs)
    The report is executed with the same user, the same parameters and the same data...
    Problem is solved only after a full server restart ( restarting only the report server, web cacle will not make any difference )
    Once the report is formatted strangely we cannot run it correctly (reboot is needed)
    Trace and log files shows nothing strange about the execution.
    Can you please tell me how to start investigate or suggest a solution?
    Thank you,
    M

    This is a wild guess, but it could be the result of there being no default printer. If you're using an in-process Reports Server, this runs by default under the LocalSystem operating system account. By default, this account does not have a default printer. Without a default printer, Reports may not format fonts correctly when producing PDF output.
    For more information, see "Printing and Font Errors When Using In-process Server" in Appendix D (Troubleshooting OracleAS Reports Services) of Oracle Application Server Reports Services Publishing Reports to the Web 10g Release 2 (10.1.2). It (like Metalink note 272017.1) suggests changing the registry to set a default printer that the LocalSystem account can "see"). Metalink note 370150.1 offers a more drastic solution -- configuring the Reports Server to run under a different operating system account that does have a default printer.
    Still, the theory that this "default printer" issue is the problem is not exactly consistent with the fact that your reports do work as expected at first, although there could be explanations for why the default printer is periodically changing (startup scripts, user intervention, etc.).
    Hope this helps.

  • Report query with bind variable

    Trying to create a report query for xsl-fo print. For output format I pick "derive from item" then pick the item name from the list, on the next screen, I paste the query with the bind variable. on the next step test query, I always get "data not found" regardless what value I type in. This is the same query that I ran under sql commands without any issues.
    Does anyone run into the same issue as I have when attempted to create a query with bind var ? There is no problem creating a query without bind varibles. . thanks.
    Munshar

    Hi, please did you get any solution to this issue? I am having similar challenge right now.
    select     EMP.DEPTNO as DEPTNO,
         DEPT.DNAME as DNAME,
         EMP.EMPNO as EMPNO,
         EMP.ENAME as ENAME,
         EMP.JOB as JOB,
         EMP.MGR as MGR,
         EMP.HIREDATE as HIREDATE,
         EMP.SAL as SAL
    from     SCOTT.DEPT DEPT,
         SCOTT.EMP EMP
    where EMP.DEPTNO=DEPT.DEPTNO
    and      DEPT.DNAME =upper(:dname)
    This run perfectly in sql developer, toad, and even inside publisher if I login directly to publisher to create report.
    Generating this same query in shared component query builder and testing it returns no data found. If I remove the last line, it works. but with the last line, it return no data found. It seems no one has been able to provide solution to this issue

Maybe you are looking for

  • Invalid block count and poor performance

    Hi - Can anyone help? Running an early 2011 13' MBP on ML. For a year - 18 months I've noticed poor performance at times, consistently slow boot (sometimes 5 minutes to usable), occasional lockups and spotlight often reindexes itself and slows the sy

  • IPOD TOUCH  4G IS NOT BEING RECOGNIZED BY ITUNES NOR WINDOWS 7

    Hi... I have been using my new ipod Touch 32G  4G for almost two months now, and It has been working great... but for an unknown reason my itunes 10.4.10 (I use a PC with Windows 7 ultimate 32bits in it) stoped recognizing it, and so has my PC... whe

  • Firewire 400 doesn't appear

    I'm using a Macbook 13" white running 10.5.8. Trying to connect a Glyph external hard drive using a firewire 800 to 400 cable to Macbook. Cable and Glyph work on an older mac but my Macbook doesn't see it. Any ideas?

  • Nothing working on the ATV...

    Hi folks. This is the problem(s). I can't get the ATV to reset to factory settings. It seems to be stuck in "connecting to network" mode. I've tried resetting, factory reset, diagnosis (everything is fine), unplugging the ATV, unplugging the router,

  • User Profile Error

    Hi We are following Classsic Scenario. When the user is creating the shopping cart user is getting the error "Enter the country for the partner ID" When we checked the User Profile we got an info to repair the shopping cart at level 2 with transactio