After Report problem

Hi,
i am facing following problem
If there is a run time error in afterreport ,when desformat is PDF it is generating the report and server queue does not show any error.
the run time error in after report like,
tmp number;
tmp := 'abc'
But when i used the same report as delimited and delimiter as ','
the report is generated in cache,but server queue shows error.
Is there any diff in the order of execution?
Please help me.

Applied patch (p2567445) in development environemnt; didn't help! Now getting: ORA-06502: PL/SQL: numeric or value error (WWV-11230) when attempting to use decode function as in:
select log_date,
decode(hour_type,'B', 'Business Hours', 'A', 'All Hours', 'N', 'Non-Business Hours', hour_type),
wu_ps_id,
organization
from web_services.wu_popular_sites
where log_date = :report_month
order by hour_type, wu_ps_id
No brain surgery here, just trying to use a simple query to produce a portal report. However, I would like to get another report running that uses additional built-in functions:
select wau.log_date,
wau.hour_type,
rownum,
substr(nvl(bu.oracle_login, bu.nds_user_name)
||' ('||bu.name||' - '
||substr(wau.nds_user_name,
instr(wau.nds_user_name,'.')+1,
instr(wau.nds_user_name,'.',1,2)-(instr(wau.nds_user_name,'.')+1))||')',1,35),
to_char(wau.active_hh, '9990')||':'||ltrim(to_char(wau.active_mi, '00'))||':'||ltrim(to_char(wau.active_ss, '00'))
from wu_active_users wau, bl_user bu
where nvl(bu.oracle_login, bu.nds_user_name) = substr(wau.nds_user_name, 1, instr(wau.nds_user_name,'.')-1)
order by wau.hour_type, wau.active_hh desc, wau.active_mi desc, wau.active_ss desc
Again, not the most demanding query but I get nowhere on this one ("The page cannot be found").
Does anyone know if I'm missing something concerning patch. I'm on portal v30984.

Similar Messages

  • Problem in Insertion into table through After Report Parameter form trigger

    Hi All,
    I am getting problem in inserting some data into temp table through Report.
    My requirement is like that, I have to do a calculation based on user parameters, and then insert the data into the temp table. I wanted to do this into After Report Parameter form trigger function. I have done all the calculation and wrote all the insert statement in that function. There is no problem in compilation. then I am taking value from this temp table in my formula columns.
    When I run this report, it hangs, don't understand what is the problem.Can anybody help me out in this.
    Thanks,
    Nidhi

    The code is as follows:
    function AfterPForm return boolean is
    CURSOR CUR_RECEIPT(RECEIPT_NUM_FROM NUMBER, RECEIPT_NUM_TO NUMBER) IS
    SELECT DISTINCT receipt, item_no FROM xxeeg.xxeeg_1229_sp_putaway WHERE RECEIPT BETWEEN
    RECEIPT_NUM_FROM AND RECEIPT_NUM_TO ;
    V_CUR_RECEIPT CUR_RECEIPT%ROWTYPE;
    begin
    OPEN CUR_RECEIPT(:RECEIPT_NUM_FROM, :RECEIPT_NUM_TO);
    FETCH CUR_RECEIPT
    INTO V_CUR_RECEIPT;
    LOOP
    EXIT WHEN CUR_RECEIPT%NOTFOUND;
    IF V_CUR_RECEIPT.ITEM_NO = 'TEST1' AND V_CUR_RECEIPT.RECEIPT = '12' THEN
    INSERT INTO SP_TEMP
    (RECEIPT, ITEM_NO, LOCATION1)
    VALUES
    (V_CUR_RECEIPT.RECEIPT, V_CUR_RECEIPT.ITEM_NO, 10);
    UPDATE SP_TEMP
    SET LOCATION2 = 12
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION3 = 13
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION4 = 14
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    ELSE
    IF V_CUR_RECEIPT.ITEM_NO = 'TEST2' AND V_CUR_RECEIPT.RECEIPT = '12' THEN
    INSERT INTO SP_TEMP
    (RECEIPT, ITEM_NO, LOCATION1)
    VALUES
    (V_CUR_RECEIPT.RECEIPT, V_CUR_RECEIPT.ITEM_NO, 10);
    UPDATE SP_TEMP
    SET LOCATION2 = 16
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION3 = 17
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO =V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION4 = 18
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    ELSE
    INSERT INTO SP_TEMP
    (RECEIPT, ITEM_NO, LOCATION1)
    VALUES
    (V_CUR_RECEIPT.RECEIPT, V_CUR_RECEIPT.ITEM_NO, 10);
    UPDATE SP_TEMP
    SET LOCATION2 = 19
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION3 = 20
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO =V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION4 = 21
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    END IF;
    END IF;
    END LOOP;
    COMMIT;
    CLOSE CUR_RECEIPT;
    return(TRUE);
    end;
    .....................................................................................................................

  • Problems with After Report trigger Updating using User-defined functions

    Hi,
    I have a report which uses SQL to select data that uses a user-defined stored function in the WHERE clause.
    I use the same SQL in the After Report trigger with and UPDATE statement to flag all records selected as being run.
    Data is being selected by the report no problem, but the records are not being updated. In a test, If I remove the conditions using the user functions, the records update as expected. In Live conditions I must have these conditions in the script.
    I originally tried putting the UPDATE in a formual column, but that would not fire on records where that page was not paged through (or paged to end) in the Runtime Previewer.
    Can anyone advise?

    In case anyone is interested.
    The issue was that the stored functions have roles assigned for security.
    PL/SQL for After Report doesn't seem to recognise the roles having been assigned for the report, so the implicit cursor update/select I had wouldn't work.
    I changed the SELECT into an explicit CURSOR and introduced a FOR LOOP, keeping the UPDATE as an implicit statement.
    I know see this was more of a PL/SQL issues than a report one, but such is life. So if anyone feels the urge to move it to the PL/SQL forum, then feel free!!
    Have a problem free afternoon. :-)

  • After upgrade itune 10.5 can not report problem in app purchase in app purchase

    after upgrade itune 10.5 can not report problem in app purchase in app purchase

    I as well have this issue, on some past purchases it does allow me but others it links to apple support??***

  • Problem in writing 'After Report trigger'

    Hi All,
    Iam trying to insert values into database table after running the report.
    but the values are not inserted into the table.
    Here is the code in 'After Report trigger'
    function AfterReport return boolean is
    begin
    insert into reports_log values('poorders',user,sysdate,'Y');
    commit;
    return (TRUE);
    end;
    Thanks in Advance

    Tested one of my reports and found:
    the After Report Trigger does not fire (to insert a table) in Report Builder (6i) but it fires when it's invoked from Apex.
    It you run your report in Froms or Apex or...., try over there.

  • How to correct close database connection after report generation

    Hello
    I have problem a with alive database connection after report creation and report  closing. How to properly to close connection to database?
    Best regards
    Edited by: punkers84 on Jun 17, 2011 10:38 AM

    that's what I am doing... after viewing the report, I call the close method on the window closing event of the container window. but the connection is still open. I had a lot of other issues with my jdbc driver but after downgrading to an older version those issues are resolved.Only this one is still there! Is there any other way to close the connection (like using dbcontroller or etc.)?

  • EBS: Email XML publisher output, from After Report Trigger in Data Template

    Here is what I'm trying to do:
    -- In EBS (11.5.10 CU2), I'm using XML publisher (5.6.2) data template and layout template to generate Output files (PDF, EXCEL etc)
    --In the Data Template's AfterReport Trigger, I'm using the Concurrent Request Id to locate the Output file name and trying to Email that output file.
    Problem:
    -- When the AfterReport trigger code is executed, the code is NOT seeing the output file and hence the file is NOT emailed.
    Observations/Questions:
    -- From what I observe, the Output Post Processor ( that generates the Excel / PDF files) is running AFTER the code in AfterReport trigger... and hence the AfterReport trigger is Not quite seeing / able to access the output file.
    So, the sequence of execution seems to be:
    -- Before Report Trigger
    -- Data Query (SQL statement)
    -- After Report Trigger
    -- Output Post Processor
    Because the AfterReport Trigger is running before the Output Post Processor, it is Not able to see the output file. Is that a True statement?
    If Yes, how else can the DataTemplate access the Output file?
    If No, what could cause the AfterReport trigger to not see the output file?

    Because the AfterReport Trigger is running before the Output Post Processor, it is Not able to see the output file. Is that a True statement?
    I believe so, as the OPP works on the output of the Report after the Report has completed execution.
    You could use the same approach as we do for bursting the report to different users. Write a Java Concurrent program based on "oracle.apps.xdo.oa.cp. XMLPReportBurst" with delivery channel Email to send the email output. You would need to add code to launch the Concurrent child request in your AfterReport Trigger:
    function AfterReport return boolean is
    jreq_id number;
    begin
    srw.message (100, 'DEBUG: AfterReport_Trigger +');
    jreq_id:= FND_REQUEST.SUBMIT_REQUEST ('XDO','XDOBURST','','',FALSE,:P_CONC_REQUEST_ID,'Y',chr(0),
    If (jreq_id=0)
    then
    srw.message (100,'Request id is zero');
    end if;

  • Report Painter insert blank line after report header

    Hi Expert,
    I have a problem to insert a blank line (a spacing) after the report header of my customized report painter.
    For example, in standard cost center report, S_ALR_87013611, there is a small box listed information like cost center/group ... and reporting period.
    Right after reporting period, the report header box ends, and there is a space line between it and the cost element data ...
    For my customized report painter, I cannot make this space line.
    I tried edit > row > insert blank line ... but not successful ... kindly advise.
    Thanks and regards,
    -CK

    Hi
    In KKO2 go to output tab, here under layout, tick header and then press pencil symbol and in the editor you write your header. I think this will give you desired result.
    Regards
    Rajneesh Saxena

  • [Forum FAQ] Configuration Manager Console shows nothing if you change SSRS to using SSL after Reporting Service Point is installed

    If the SSRS is changed to SSL mode and http binding is removed after Reporting Service Point is installed. The Configuration Manager Console shows nothing in Reporting Pane. After digging into this problem, the cause is that the SSRS information has not
    been updated in Configuration Manager Database. The following steps are taken for finding the root cause.
    1. After changing to SSL, the Reporting Service Point log shows the error as shown in Figure 1.
    The request failed with HTTP status 404: Not Found.
    (!) SRS not detected as running
    Failures reported during periodic health check by the SRS Server DB2.SCJIZHO.COM.
    Figure 1
    From the error, seems the cause was the Reporting Service Point detected a wrong port. We digged around in Registry and found the information is a Registry key named ReportServerUri at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SRSRP. After changing the Report
    Server address to https. The error is gone as shown in Figure 2. But the issue remains, the Console still shows nothing. It is not a right direction.
    Figure 2
    2. Open the Console log file, it also shows some valuable information.
    instance of __ExtendedStatus
                    Operation = "ExecQuery";
                    ParameterInfo = "SELECT * FROM SMS_Site WHERE SiteCode = 'PRI'";
                    ProviderName = "WinMgmt";
    \r\n
    [1, PID:3136][04/24/2014 01:46:00] :Property: 'LastModifiedTime'\r\nSystem.Management.ManagementException\r\nNot found \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.PropertyData.RefreshPropertyInfo()
       at System.Management.PropertyDataCollection.get_Item(String propertyName)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObjectBase.get_Item(String name)\r\nManagementException details:
    [52, PID:3136][05/11/2014 20:14:15] :[ReportProxy] - User-specified default Reporting Point [PRI.scjizho.com] could not be found, [DB2.scjizho.com] is now the default Reporting Point (Figure 3).
    Figure 3
    It seems the Console wants to access the old http site and it fails to get into the site for sure. Actually, the Site Configuration information is come from Site Control File and as we all know that ConfigMgr 2012 doesn’t store the Site Control file in the
    file system. However, it’s stored in the SQL database (as XML file). The XML file is stored in a view named vSMS_SC_SiteControlXML. This view is a read-only view. We cannot edit it directly. The related table stored the SSRS information for this view is SC_SysResUse_Property.
    Running the following query will list the SSRS address. We can see the address is still the old one. This is why the Console shows nothing.
    SELECT
    name,
    value2
    FROM dbo.SC_SysResUse_Property
    where name
    ='ReportServerUri'
    or name=
    'ReportManagerUri'
    Remarks:
    This article is just to let you know why the Console cannot show the Reports after changing to SSL mode. We do not intend to make you change the table in Database, if you want to change it, you will be at your own risk. The real solution to this situation
    is to reinstall your Reporting Service Point.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Ok, but how do you solve this problem? Does uninstalling the RP and adding it back solve this problem?
    http://www.enhansoft.com/

  • Trigger - After Report Not working.

    Hai,
    Below is the coding written on the after report trigger for inserting values in a table but it not working,
    even srw.message put and checked but not functioning at all...
    what might be the problem...
    Thanks in Advance...
    function AfterReport return boolean is
    begin
         srw.message(100,'Hai');
    if (:total_credit) is not null then
         insert into opcl (fiscal_yr_cd,Period_no,Col1,Col2,Col3,Col4,Col5,Col6)
         Values (:P_Fiscal_yr,:P_Period,nvl(:total_credit,0), nvl(:total_cess_cf,0),
         nvl(:total_sec_cess_cf,0), nvl(:cf_tot_serv_tax1,0), nvl(:cf_tot_serv_tax2,0),
         nvl(:cf_tot_serv_tax3,0));
    commit;      
    end if;      
    return (TRUE);
    end;

    How are you running the report? Not in the preview mode in builder I hope, because that won't fire the after report trigger.
    "The After Report trigger fires after you exit the *Runtime Previewer*, or after *report output is sent to a specified destination*..."

  • Facing issue in after report trigger in XML publisher

    HI All,
    I have a XML template in that i am calling a after report trigger like below :
    <dataTrigger name="afterReport" source="apps.testpkg.testupdate_fun(:HEADER_ID)"/>
    I am passing the header_id from my header block to the function.
    My Function looks like below:
    FUNCTION testupdate_fun(P_HEADER_ID IN NUMBER ) RETURN BOOLEAN AS
    BEGIN
    UPDATE TEST_TABLE SET PROCESS_FLAG='P' WHERE HEADER_ID=P_HEADER_ID;
    COMMIT;
    return true;
    EXCEPTION
    WHEN OTHERS THEN
    return false;
    END;
    The problem i am facing is it is updating only one record in the table.but in my header data block i am getting the details for more order numbers with header id like 1,2,3..., but it is updating only one header id in table, please help me out how to update record for all the header_id.
    Thanks

    Examples of combining all IDs into comma-separate list can be found here: http://www.oracle-base.com/articles/misc/string-aggregation-techniques.php . That list you need to send as parameter to the trigger. In the trigger you may split it again and update the records one-by-one, or you can build an EXECUTE IMMEDIATE statement to update the table, and in that statement the list can be used as a whole, no need to split it. Please, advise on which steps of this process you need more detailed assistance.

  • ABAP interactive report problem

    ABAP - Interactive Report problem.
    In Interactive report when I double click to one field a window arises (here sy-lsind = 0) displaying some required info. And again after double clicking the appeared window another window will open (here sy-lsind = 1). from the 2nd window I can't go to the previous window.
    If there is only one way to go to the previous window is to activate the RIGHT UPPER CROSS OPTION of the particular window, then please help me giving the code or idea about how to activate it. Thanks.

    Moderator message - Welcome to SCN
    Cross posting is not allowed in these forums.
    Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Thread locked
    Rob

  • DELETE  in After report trigger

    Please help us resolve the following problem in a 6i report.
    The report had an After report trigger to delete the records from the same table used in the driver query. The report is launched thru a url to create a pdf file. The PDF is generated correctly for some users but for many others the PDF is generated with no data. When the delete statement is commented out, everybody get the PDF with data. All users have the same Acrobat Reader and IE version.
    Any idea why this is happening ?
    Appreciate your help
    Thanks

    Navneeth, Dmytro
    Thanks for your replies
    The report is for generating some sort of certificates ( in pdf format) from a staging table. If the certificate is issued, the record is to be deleted. So the report is different in each run.
    The real issue is the report behavior is not consistent from one machine to another. For the same set of data in the staging table for PC1 the PDF is generated and processed records are deleted. But in PC2 records are processed, records are deleted but the PDF has no data.
    We tried to use a global temp. table, didn't help either.
    In the before report trigger
    insert into gt_table select * from staging_table
    commit
    Report query modified to get data from gt_table
    After report trigger deletes records from staging_table
    The PDF data is seen in PC1 but not in PC2
    When the after report trigger is commented out, PDF launched in both machines contain data.
    There are many reports which generates PDF file without a delete trigger and they all work well.
    Is this problem happening because the records are getting deleted before pdf is launched? Or any type of browser (IE) or Acrobat reader settings required ?
    The deletes can be handled in the front end application after launching the report url but preferred to keep it in the reports to avoid deleting records in case there's a problem with report server and records are not processed.
    Thanks you for your help

  • After virus problem I downloaded firefox from another browser and opened it to install. Firefox now asks permission to open each time I clik the icon. I then re

    After virus problem which would not let all parts of the browser page open, I downloaded Firefox from another browser and opened it to install.
    Firefox now asks permission to open each time I click the icon. I have shut off the computer and on several times. I then re-installed the browser but still it asks permission to open.
    It seems to work again but can I get rid of opening permission request please? I may have 2 versions of the browser in the computer or the new program did not replace the old?
    If I uninstall the program will I lose my bookmarks? Please can you help?

    Mozilla Firefox stores all your personal settings, such as bookmarks, passwords and extensions, in a profile folder on your computer
    *http://kb.mozillazine.org/Profile_backup
    *https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • Mid 2011 21.5 inch iMac with lion   video=freeze, will not restart for 30-60 minutes , today it took 14 hours before power button would restart it , is anyone else having a long restart after this problem?

    mid 2011 21.5 inch iMac with lion   video=freeze, will not restart for 30-60 minutes , today it took 14 hours before power button would restart it , is anyone else having a long restart after this problem?

    Look in Activity Monitor (Applications - Utilities - Activity Monitor) and see if you have any runaway processes using a lot of %CPU.
    I would also strongly recommend running Apple Hardware Test in Extended Mode. If it reports errors you can Google them or post them here.

Maybe you are looking for

  • Is it possible to have 2 ipods on one computer?

    I just purchased the newest 30GB ipod after having last years model. Can I make a new library or download the new itunes without losing my old library?

  • How to configure mail notification on a folder content change?

    Hello, I would like to configure a mail notification whenever a certain folder's content changes. In order to acomplish this I did the following: 1. Configured new email Channel with the exchange address. 2. Assigned this channel to the Notificator s

  • Weak signal fail with 3.1

    Anybody else notice a loss of weak signal pull in? On 9/1/09 it seems a new tower turned on and I suddenly had a couple of bars at my remote mountain house that I'd never had before, the signal stayed strong roaming around in my remote area very much

  • Mac Mini just boots to grey screen - help!

    My trusted mac mini a1176 (intel 1.66GHz) has always worked fine but now it just has a grey screen when it starts. There is no chime, and if I leave it long enough a picture of a file with a ? in it appears. The events leading up to this could have a

  • CS4 Licensing has stopped working.

    This is the error message I get when I try to open PS. My hard drive was recently replaced and this is the first time I've tried to open since.