Displaying  report on button submit

Hi, this might be a simple problem but can't figure out where I am going wrong.
I have a report and some bunch of fields above the report to serve as search criteria. I want the report to show only after users click on the "Search" button so it doesnt show at the button with "No Data found" or as a blank region.
So I am relying on the value of REQUEST = name of the button and have condition my report as such. When request = P1_SEARCH (name of the button).
However my report is not showing and the URL (where one of the parameters should have the request value) is unchanged.
http://apex.oracle.com/pls/apex/f?p=69745:1
Not sure where I am going wrong. Cheers.
Edited by: xarg-Xrc on Apr 5, 2013 6:00 PM

xarg-Xrc wrote:
Hi, this might be a simple problem but can't figure out where I am going wrong.
I have a report and some bunch of fields above the report to serve as search criteria. I want the report to show only after users click on the "Search" button so it doesnt show at the button with "No Data found" or as a blank region.
So I am relying on the value of REQUEST = name of the button and have condition my report as such. When request = P1_SEARCH (name of the button).
However my report is not showing and the URL (where one of the parameters should have the request value) is unchanged.
http://apex.oracle.com/pls/apex/f?p=69745:1
Not sure where I am going wrong.<tt>REQUEST</tt> is cleared after page accept processing on the submitted page/before page show processing on the branch target.
To make a <tt>REQUEST</tt> value available during page show processing, set the Request attribute in the branch or URL. Use the <tt>&REQUEST.</tt> substitution string to reuse the current request value, or set it to whatever literal value or substitution string you require.
Another possibility in this situation is to make the report conditional on at least one of the parameters being entered, if this is a prerequisite for it to return any data. Use a PL/SQL expression condition:
coalesce(:p1_x, :p1_y, :p1_z) is not null

Similar Messages

  • Dont want to display "Report Successfully Run" applet

    Dear Users....I Dont want to display "Report Successfully Run" applet after my report runs successfully. I'm calling report from Forms-10g Rel.2 and my browser is Internet Explorer ver.6. I'm sending my report directly to printer using Web.Show_Document.If my report is sent to printer successfully there is no need to display browser window with the above mentioned message. Is there any solution for this???

    Code in when-button-pressed
    DECLARE
    V_Usr_Prm Varchar2 (1000);
    BEGIN
    V_Usr_Prm :=
    'FROM_REF_NO='
    || P_FRM_REF_NO
    || '+TO_REF_NO='
    || P_FRM_REF_NO
    || '+P_PRE_BY='
    || P_PRE_BYE
    || '+P_VR_TYPE='
    || P_VOR_TYP
    || '+YEAR1='
    || P_VOR_YER
    || '+MNU_IDE=0'
    || '+P_PRN_FLG=1';
    web_show_document_proc ('HTMLCSS', 'Y:\02\\02\VOR_PRN.REP', V_USR_PRM);
    END;
    Procedure Web_Show_Document_Proc is
    PROCEDURE WEB_SHOW_DOCUMENT_PROC (runformat varchar2,
    reportname varchar2,
    userparameters vARCHAR2)
    IS
    i NUMBER (10);
    v_a VARCHAR2 (10);
    v_b VARCHAR2 (10);
    vc_url VARCHAR2 (1000);
    vc_url_temp VARCHAR2 (1000);
    vc_user_name VARCHAR2 (30) := GET_APPLICATION_PROPERTY (username);
    vc_user_pw VARCHAR2 (30) := GET_APPLICATION_PROPERTY (password);
    vc_user_connect VARCHAR2 (30)
    := GET_APPLICATION_PROPERTY (connect_string) ;
    BEGIN
    vc_url :=
    'userid='
    || vc_user_name
    || '/'
    || vc_user_pw
    || '@'
    || vc_user_connect;
    FOR i IN 1 .. LENGTH (vc_url)
    LOOP
    v_a := LTRIM (TO_CHAR (TRUNC (ASCII (SUBSTR (vc_url, i, 1)) / 16)));
    IF v_a = '10'
    THEN
    v_a := 'A';
    ELSIF v_a = '11'
    THEN
    v_a := 'B';
    ELSIF v_a = '12'
    THEN
    v_a := 'C';
    ELSIF v_a = '13'
    THEN
    v_a := 'D';
    ELSIF v_a = '14'
    THEN
    v_a := 'E';
    ELSIF v_a = '15'
    THEN
    v_a := 'F';
    END IF;
    v_b := LTRIM (TO_CHAR (MOD (ASCII (SUBSTR (vc_url, i, 1)), 16)));
    IF v_b = '10'
    THEN
    v_b := 'A';
    ELSIF v_b = '11'
    THEN
    v_b := 'B';
    ELSIF v_b = '12'
    THEN
    v_b := 'C';
    ELSIF v_b = '13'
    THEN
    v_b := 'D';
    ELSIF v_b = '14'
    THEN
    v_b := 'E';
    ELSIF v_b = '15'
    THEN
    v_b := 'F';
    END IF;
    vc_url_temp := vc_url_temp || '%' || v_a || v_b;
    END LOOP;
    vc_url :=
    '/reports/rwservlet?server=rep_appsrv_frhome1+'
    || vc_url_temp
    || '+report='
    || reportname
    || '+destype=Printer+desformat='
    || runformat
    || '+paramform=No+'
    || userparameters;
    WEB.SHOW_DOCUMENT (vc_url, '_blank');
    END;

  • Dont want to display "Report Successfully Run"

    Dear Users....I Dont want to display "Report Successfully Run" applet after my report runs successfully. I'm calling report from Forms-10g Rel.2 and my browser is Internet Explorer ver.6. I'm sending my report directly to printer using Web.Show_Document.If my report is sent to printer successfully there is no need to display browser window with the above mentioned message. Is there any solution for this???

    Code in when-button-pressed
    DECLARE
    V_Usr_Prm Varchar2 (1000);
    BEGIN
    V_Usr_Prm :=
    'FROM_REF_NO='
    || P_FRM_REF_NO
    || '+TO_REF_NO='
    || P_FRM_REF_NO
    || '+P_PRE_BY='
    || P_PRE_BYE
    || '+P_VR_TYPE='
    || P_VOR_TYP
    || '+YEAR1='
    || P_VOR_YER
    || '+MNU_IDE=0'
    || '+P_PRN_FLG=1';
    web_show_document_proc ('HTMLCSS', 'Y:\02\\02\VOR_PRN.REP', V_USR_PRM);
    END;
    Procedure Web_Show_Document_Proc is
    PROCEDURE WEB_SHOW_DOCUMENT_PROC (runformat varchar2,
    reportname varchar2,
    userparameters vARCHAR2)
    IS
    i NUMBER (10);
    v_a VARCHAR2 (10);
    v_b VARCHAR2 (10);
    vc_url VARCHAR2 (1000);
    vc_url_temp VARCHAR2 (1000);
    vc_user_name VARCHAR2 (30) := GET_APPLICATION_PROPERTY (username);
    vc_user_pw VARCHAR2 (30) := GET_APPLICATION_PROPERTY (password);
    vc_user_connect VARCHAR2 (30)
    := GET_APPLICATION_PROPERTY (connect_string) ;
    BEGIN
    vc_url :=
    'userid='
    || vc_user_name
    || '/'
    || vc_user_pw
    || '@'
    || vc_user_connect;
    FOR i IN 1 .. LENGTH (vc_url)
    LOOP
    v_a := LTRIM (TO_CHAR (TRUNC (ASCII (SUBSTR (vc_url, i, 1)) / 16)));
    IF v_a = '10'
    THEN
    v_a := 'A';
    ELSIF v_a = '11'
    THEN
    v_a := 'B';
    ELSIF v_a = '12'
    THEN
    v_a := 'C';
    ELSIF v_a = '13'
    THEN
    v_a := 'D';
    ELSIF v_a = '14'
    THEN
    v_a := 'E';
    ELSIF v_a = '15'
    THEN
    v_a := 'F';
    END IF;
    v_b := LTRIM (TO_CHAR (MOD (ASCII (SUBSTR (vc_url, i, 1)), 16)));
    IF v_b = '10'
    THEN
    v_b := 'A';
    ELSIF v_b = '11'
    THEN
    v_b := 'B';
    ELSIF v_b = '12'
    THEN
    v_b := 'C';
    ELSIF v_b = '13'
    THEN
    v_b := 'D';
    ELSIF v_b = '14'
    THEN
    v_b := 'E';
    ELSIF v_b = '15'
    THEN
    v_b := 'F';
    END IF;
    vc_url_temp := vc_url_temp || '%' || v_a || v_b;
    END LOOP;
    vc_url :=
    '/reports/rwservlet?server=rep_appsrv_frhome1+'
    || vc_url_temp
    || '+report='
    || reportname
    || '+destype=Printer+desformat='
    || runformat
    || '+paramform=No+'
    || userparameters;
    WEB.SHOW_DOCUMENT (vc_url, '_blank');
    END;

  • Spool Request Display Report

    Hello,
    Pleasure to be part of this community and ask the first question.
    I have created a report and probably, that report is going to be scheduled to run weekly.
    I want to understand how I can create a job and spool request display report for this program. I have found some information from this forum about SM36/SM37 T-Code and spool request display. However, I think I am not able to get the whole scenario of how it is going to work.
    If someone can give me an idea, that would be great. Practical examples will be appreciated.
    Regards,
    Udit

    I am assuming you will be scheduling this job manually and not programmatically.. The process is as follows..
    Goto SM36
    Enter a Job Name
    click on START Condition butto and click Date and Time button
    you will see a button PERIODIC VALUES appeared below.
    Click and select WEEKLY as you have indicated, SAVE it.
    Enter date and time so that it starts on that time and is scheduled everywk at that time
    You can enter NO START AFTER in case you want to restrict this.
    Then Click STEP
    You can enter program name variant and also select Printer specification
    And that should do the trick..
    Hope this helps

  • Read interactive report checkbox on submit

    NEWBIE QUESTION: How can you determine which row's checkbox in an interactive report is checked on a button submit process?

    Hi,
    This post might help
    Re: Need help with APEX_Collection
    Use Ajax to store checked rows to collection
    Regards,
    Jari

  • Printing and downloading report via BUTTONs

    Hi,
    I want to be able to allow my users to download a report in PDF format using a button... or... be able to print the report using another button... I know these are built in features in interactive report but want to do the same using a button...
    please advice how to do it...
    Thanks in advance

    Hi,
    Interactive report uses the page request to download report, for example if your page request if CSV it will download report as CSV file, if its PDF it will download as PDF file.
    1. Click on create button, select a region and click next
    2. Accept default and click next
    3. Enter the name of the button, select button type and in the action select "Redirect to URL without submitting page " then click next
    4. Accept default and click next
    5. Select display position (usually I pick right of interactive report search bar) and click next
    6. Select target as Page in this application (default selected)
    7. Enter "&APP_PAGE_ID." in the page text box , in the Request use CSV for csv download, PDF for pdf download.
    8. Click on create buttonRun the page and you should able to download the IR report using button. Thanks.
    --Manish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Display reports from BW using WAD on blackberry

    Hi All,
    I have to display reports from BW using WAD on blackberry
    can any one please guide me how to do it?
    awaiting Reply
    Thanks & Regards
    Prasad

    you have to integrate SAP Mobile infrastrcture with BW system to achive this.

  • Visual Studio 2008 Crashes when I click on the [Main Report Preview] button

    I started with Crystal Reports Basic that is bundled with Visual Studio, and then downloaded and installed the free trial of Crystal Reports Developer 2008, and the Visual Studio Integration Manager, the issue has not been affected.
    After adding a crystal report to the project and using the wizard to set it up, and adding a Crystal Reports Viewer to a form I encountered these two (perhaps related) problems.
    1)      When I click on the [Main Report Preview] button at the bottom of the report editor for Visual Studio crashes without any error message and needs to be restarted.
    2)      When I set the viewer  Report Source property to the report via the drop down the following error occurs:
    a.       u201CUnable to find the report in the manifest resources.  Please build the project and try again.u201D
    b.      Building the project has no affect and the same error reoccurs repeatedly.

    The original version of CR 2008 did not work with .NET 2008. If your version is 12.0.0.549, you need to apply SP0:
    https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
    then I'd highly recommend SP 3:
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    If your version is higher than 12.0.0.549, apply SP3 and try again.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Error in displaying report

    I am geting the following error while displaying report-
    <b>Internal error (-101) occured [Message 131-183]</b>
    The reports are geting displayed on other pcs but not on my pc.I tried unistalling and re-installing sap but the error was not solved.

    Daan,
           The printer was not installed on my pc.After installing printer, the reports are visible.Thanks for u r help.
                                                                                    Regards,
                                                                                    Dilip Kumbhar

  • Error while displaying report

    I am getting following error while displaying report in sap business one-
    <b>Internal error (-101) occured [Message 131-183]</b>
    I tried resintalling sap but it did not solved the problem.The reports are getting displayed on other pc's but not on my pc.

    Hi Yogesh,
           I haven't installed any patch on my client machine.
                                                                                    Regards,
                                                                                    Dilip Kumbhar

  • Web.show_document() to display report in cache?

    AS & DS 10.1.2.0.2.
    I try to use run_report_object to generate report in Forms.
    Report Destination Type: CACHE
    report status 'FINISHED'
    I checked cache <o-h>\reports\cache, the report is there. But nothing is show on screen.
    Do I HAVE TO use web.show_document('url') to display report in cache?
    If yes, what url I should use? If no (hope so), what I should do to bring the report to browser?
    Thanks.

    Do I HAVE TO use web.show_document('url') to display report in cache?Yes. See examples in http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf

  • Display report in PDF w/o save

    Hi,
    I want to display Report on xmii browser without saving , I tried PDF action but it is giving error when calling url "File doesn't begin with %PDF-". When using image saver for saving file it saved on given path successfully.
    I also used isBinary=true in url paremeter, which I found in forum for one of the reason of this error but still it didn't work.
    Steps I am following for test case:
    1. Create PDF document action block
    2. Create PDF page action block - link to pdf document
    3. Craete PDF text action block with some value - link to pdf document
    4. Assign output parameter of PDF document action to BLS transaction output of type string.
    5. call url:
    http://servername/Lighthammer/Runner?Transaction=TestBLS/TestPDF&OutputParameter=Output&isBinary=true&Content-type=application/pdf
    Please advise if I am missing something, I am using xMII 11.5.
    Thanks and Regards,
    Alok

    Muzammil - Indeed Runner works with 11.5 too and its the Key to trigger a BLS trx via URL.
    You can use Illuminator to execute Query templates so on via URL.
    Alok - Your URL looks good but still if you are getting same error "%PDF" then check whether you are providing exact Output parameter you have mapped in BLS trx.
    Also you can refer to below few threads on the same issue.
    [Thread1|Displaying PDF files created with BLS in xMII 12]
    [Thread2|Creating PDF]
    [Thread3|Stream a PDF using Runner ?]
    Hope this helps!!
    Regards,
    Adarsh

  • Reporting Services Button not working

    Hi,
    I am having issues loading data from reporting services (using the reporting services button).When I click on the "refresh on load" box, is not pulling the data automatically. The data gets pulled only if I press the button. Also, the trigger cell feature is not working either. This all started happening when I installed sp1. In the first version of excelsius 2008 engage I had no problem. Also I am pulling data based on date range, the data only pulls automatically if I type the numbers in the cells, if I calculated the date range it no longer works and i have to press the reporting services button for it to pull the data.
    is there any setting or a hot fix or some known issues about this?
    Note: I am using report parameters
    Also, I also opened a model that I had created with first version of excelsius 2008 using sp1. The model did not automatically loaded the data. The flash file of that module works fine (since it was created with the earilier version).
    I am sure there is a bug on the reporting services button.

    Hi,
       I just upgraded to the new SP fix. I tested, based on an old file that automatically pulls the data from reporting services, but it didnt work. I still have to test it building from scratch using this new version. I dont think they have corrected the reporting services button issue.
    Thanks
    Ricardo

  • Reporting services button not auto loading the data

    Hi,
    I am having issues loading data from reporting services (using the reporting services button).When I click on the "refresh on load" box, is not pulling the data automatically. The data gets pulled only if I press the button. Also, the trigger cell feature is not working either. This all started happening when I installed sp1. In the first version of excelsius 2008 engage I had no problem. Also I am pulling data based on date range, the data only pulls automatically if I type the numbers in the cells, if I calculated the date range it no longer works and i have to press the reporting services button for it to pull the data.
    is there any setting  or a hot fix or some known issues about this?
    Also, I also opened a model that I had created with first version of excelsius 2008 using sp1. The model did not automatically loaded the data.  The flash file of that module works fine (since it was created with the earilier version).
    I am sure there is a bug on the reporting services button.
    Edited by: Ricardo Rivera on Oct 23, 2008 12:06 AM

    Hi,
       I just upgraded to the new SP fix. I tested, based on an old file that automatically pulls the data from reporting services, but it didnt work. I still have to test it building from scratch using this new version. I dont think they have corrected the reporting services button issue.
    Thanks
    Ricardo

  • Get delivery number for PO items for complaint display report

    Hi All,
    I am working on Complaint Display report, While delivering the line items for a PO sometimes vendor may do mistake and then customer generates the complaint display report to let the vendor know the delivery mistakes. Delivery mistake can be done because of the following:
    1. Charging amount more than was it was mentioned on PO
    2. Not delivering complete quantities and etc.
    Now I want to get the delivery items for each goods receipt item.
    Information that I have is the invoice number and vendor number and the line item material number.
    Thanks,
    Mark

    You can refer to Purchase Order History Table ( EKBE) for this.You can pass the Purchase Order or Invoice number to the EKBE-EBELN and EKBE-BELNR fields respectively. set EKBE-VGABE = '2' ( i.e invoice receipts). EKBE-BEWTP = 'IR' or 'IR-L' ( Po history category).
    Hope it solves ur problem.

Maybe you are looking for

  • Final DVD made in iDVD skips when played back

    Made slide show in Final Cut Express.  Exported as a QT movie and placed it in iDVD.  When I play it back it pauses and skips in certain spots.  I also have video on this movie and it paused on it also. 

  • Question about Wi-Fi

    I just got a v2 ipod touch. I connnected to wifi and I was able to connect to my wireless router. I tryed to use safari and the other wifi apps and it said it could not find server. I know my router works because my laptop runs off it.

  • Hide Create Flight Link from Travel Manager Page (TRIP Tcode)

    Hi,    As we all know that after executing TRIP tcode we have the travel manager page which has 4 options. 1)  Create Travel Request   2)  Create Flight, Hotel, Car Rental, Train ... With Ref.   3)  Create Travel Expense Report ... With Ref.   4)  Li

  • DELETE function on list

    Hi, <br /> <br />I have just got the toolbox extension for Dreamweaver & I am playing round with the "Create Dynamic List Wizard". I can create the list fine but I notice it creates 2 links at the end of each row, "Update" and "Delete". I have played

  • HT5622 Apple ID locked. How to unlock

    My apple account has been locked due to multiple attempts of incorrect answer to security question. Who can unlock my account? Contacted apple, but it takes up to 48 hours to get answer from them.  I need to make a purchase now .  Can anyone help?