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*..."

Similar Messages

  • After i install Visual-Studio 2013 crystal-report not working

    hi
    after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
    when i try to open crystal-report i see this:

    Hi E_gold,
    Crystal Reports forum may be a better place for you.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • IPS event monitor and reports not working

    Dear after upgrading my IPS from E3 to E4  the event monitor  and reports not working, can you please advice my to solve this issues

    Hi All,
    Filter settings below:
    The filter works partially as I don't get alerts on the IPS itself.
    Firewall LOG:
    4          Feb 14 2014          15:33:22                              39715                    514          IPS requested to drop UDP packet from SOURCE_VLAN_NUMBER:/39715 to DESTINATION_VLAN_NUMBER:/514
    IPS LOG (when enabled):
    evIdsAlert: eventId=1352793300955167909  vendor=Cisco  severity=low 
      originator:  
        hostId: SSM02 
        appName: sensorApp 
        appInstanceId: 1192 
      time: Feb 14, 2014 15:33:22 UTC  offset=0  timeZone=GMT00:00 
      signature:   description=IP Fragment Too Small  id=1206  version=S212  type=anomaly  created=20030801 
        subsigId: 0 
        sigDetails: Too many small IP fragments in datagram 
      interfaceGroup: vs0 
      vlan: 0 
      participants:  
        attacker:  
          addr: 172.x.x.x  locality=OUT 
          port: 39715 
        target:  
          addr: x.x.x.x  locality=OUT 
          port: 514 
          os:   idSource=unknown  type=unknown  relevance=relevant 
      alertDetails: InterfaceAttributes:  context="single_vf" physical="Unknown" backplane="GigabitEthernet0/1" ; 
      riskRatingValue: 50  targetValueRating=medium  attackRelevanceRating=relevant 
      threatRatingValue: 50 
      interface: GigabitEthernet0/1  context=single_vf  physical=Unknown  backplane=GigabitEthernet0/1 
      protocol: udp 
    Our next step is to make a service policy exception on the firewall itself. We are also considering reloading the IPS device or at least the analysis engine.
    Thanks for all your help so far. Any more suggestions are most welcome. I'll keep you up to date.
    Regards
    Mariusz

  • Drill down report not working in 1og report

    hi all,
    Drill down report not working in 1og.
    in 6i it working good but 10g not working .
    plz help any one.
    thanks

    Hello,
    For detailled instructions about hyperlinks :
    Oracle® Reports Building Reports
    10g Release 2 (10.1.2)
    B13895-01
    3.6.10.1.8 Creating a hyperlink using the Property Inspector
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_howto.htm#i1062802
    Regards

  • CDR report not working

    Hi,
    We have LYNC 2013 and Monitoring is enabled. the CDR report is not working. even User Activity summary for telconferencing and for audio, reports not working.
    Kindly suggest troubleshooting steps.
    Can we have any SQL query to fetch the report from database?
    Thanks
    jitender

    Hi Raju,
    From Monitoring server , CDR report is not working. Even "User Activity Report" not working and giving below error for "Telephony Conference" and as well for "A/V Conference"
    " No results match the report filters. Change the filter values and submit the query again."
    Thanks
    jitender

  • After Effects not working in Mavericks

    Is anyone having issues with Adobe After Effects not working in Maveriks? Premeire, Photoshop, Audition all work, but not AE. No update from Adobe available.

    This update is ONLY FOR MAVERICKS. You can't update through Creative Cloud, to prevent users of other operating systems from installing it.

  • Interactive Reports not working with APEX listener

    Hi,
    I have posted this question APEX listener forum couple of weeks ago but very few responses.
    If any one from here can help then it would be great.
    Interactive Reports not working with APEX listener
    Best Regards,
    Baig

    Sorry for late response.
    It was a firewall issue

  • Visual composer report not working after change backend function ?

    We already suffered from strange behaviour of visual composer reports totally not functioning at all at some times.
    now I made a change in a function which is called in a function that is used by visual composer. after transporting the change the VC report is not working anymore (while the function itself in the backend is working fine)
    how comes that the VC report is not working anymore after inside changes of the functions it calls ??
    kind regards
    arthur

    As you have made changes to the function those changes wont be reflected to the VC.so you try to re call the function into VC then it will work fine.

  • Reports not working after upgrade to SCCM 2012 R2 -

    I am having the same issue described in this post:
    http://social.technet.microsoft.com/Forums/en-US/30f185ac-c34e-44ad-87eb-7d180a0d76b8/after-2012-r2-upgrade-some-sql-queries-wont-run?forum=configmanagergeneral
    When running reports after upgrading from SCCM 2012 SP1 CU2 to SCCM 2012 R2 I get the following error:
    An
    error has occurred during report processing. (rsProcessingAborted)
    Cannot
    read the next data row for the dataset DataSet1. (rsErrorReadingNextDataRow)
    Conversion
    failed when converting the nvarchar value
    'S-1-5-21-1010966800-777871707-395339515-124623' to data type int.
    I have removed the Reporting Services Point and reinstalled it with no effect.  All reports I try get the error listed above.
    Any suggestions?

    The issue has been resolved.  For anyone experiencing a similar issue I will post the fix that worked for us below:
    I ended up opening a PSS case and in this instance the problem was the required SQL management provider was not properly registered in WMI, which ultimately meant the reporting point upgrade/install was not able to complete successfully after the upgrade. 
    As a result the updated reports were not properly being redeployed to the Reporting Service Point.
    To diagnose this on the Reporting Service Point look in the srsrp.log for entries indicating of an
    Invalid Class, as seen in the example below:
    Invalid class SMS_SRS_REPORTING_POINT 11/6/2013 5:47:12 PM 6096 (0x17D0)
    Could not retrieve the reporting service name for instance 'RPSERVER' SMS_SRS_REPORTING_POINT 11/6/2013 5:47:12 PM 6096 (0x17D0)
    Invalid class SMS_SRS_REPORTING_POINT 11/6/2013 5:47:12 PM 6096 (0x17D0)
    Could not stop the reporting service '' SMS_SRS_REPORTING_POINT 11/6/2013 5:47:12 PM 6096 (0x17D0)
    Next security configuration at [11/6/2013 5:52:12 PM] SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Root Folder exists SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Successfully checked that the SRS web service is healthy on server SERVERRP.AD.DOMAIN SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Registry change SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Waiting for changes for 1 minutes SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    SRSRP registry key change notification triggered. SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Registry change SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Waiting for changes for 1 minutes SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Timed Out... SMS_SRS_REPORTING_POINT 11/6/2013 5:48:13 PM 6096 (0x17D0)
    The important part is the lines saying Invalid Class and then it timing out, so the RP installation was not completed.
    As mentioned earlier the WMI class that was missing or corrupt was the SQL management Provider.  To re-register the class we need to compile the MOF file that is available in SQL.  In our instance the command to run was:
    mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
    Once that was done, monitoring the srsrp.log shows that it could properly detect the SSRS service, stop it and start coping the updated reports and such.  After a few minutes the deploy completed, and all the broken reports started working
    correctly.
    Hope that helps someone else.

  • AFTER INSERT OR UPDATE TRIGGER the insert not working

    The update works but the insert is not working. I have two version that I have tried. I amd executing the inserts/update from Oracle Applications and the table row is either being inserted or updated correctly.
    DROP TRIGGER APPS.CCC_HZ_ORG_CONTACTS_ARU;
    CREATE OR REPLACE TRIGGER APPS.CCC_HZ_ORG_CONTACTS_ARU
    /* --Created By: SKELLEHER
    --Creation Date: 07/15/09
    --Last Updated By:
    --Last Update Date:  
    AFTER INSERT OR UPDATE OF department, job_title
    ON apps.hz_org_contacts
    FOR EACH ROW
    WHEN (
    NEW.department <> OLD.department OR
    NEW.job_title <> OLD.job_title
    DECLARE
    v_ChangeType VARCHAR2(10);
    BEGIN
    /* Use 'I' for Insert, 'U'' for Update, and'D' for delete(not part of app at this time). */
    IF INSERTING THEN
    v_ChangeType := 'INSERT';
    ELSIF UPDATING THEN
    v_ChangeType := 'UPDATE';
    ELSE
    v_ChangeType := 'DELETE';
    END IF;
    INSERT INTO cust.ccc_tca_po_tf_event_tbl
    VALUES (ccc_tca_po_tf_event_tbl_s.NEXTVAL
    , 'hz_org_contacts'
    , v_ChangeType
    , 'org_contact_id'
    , :NEW.org_contact_id
    , 'PENDING'
    , NULL
    , 0
    , 'N'
    , 'Y'
    , :NEW.LAST_UPDATED_BY
    , :NEW.LAST_UPDATE_DATE
    , -1
    , SYSDATE
    , 'DEPARTMENT_JOBTITLE_UPDATE'
    ,'LDAP'
    END;
    AND I TRIED ANOTHER VERSION:

    I have simplified it so it's just checking for insert but it's not picking up. Is the syntax IF INSERTING correct?
    CREATE OR REPLACE TRIGGER APPS.CCC_HZ_ORG_CONTACTS_ARU
    AFTER INSERT OR UPDATE
    ON ar.hz_org_contacts
    FOR EACH ROW
    DECLARE
    BEGIN
    IF INSERTING THEN
    INSERT INTO cust.ccc_tca_po_tf_event_tbl
    VALUES (ccc_tca_po_tf_event_tbl_s.NEXTVAL
    , 'hz_org_contacts'
    , 'UPDATE'
    , 'org_contact_id'
    , :NEW.org_contact_id
    , 'PENDING'
    , NULL
    , 0
    , 'N'
    , 'Y'
    , :NEW.LAST_UPDATED_BY
    , :NEW.LAST_UPDATE_DATE
    , -1
    , SYSDATE
    , 'DEPARTMENT_JOBTITLE_UPDATE'
    ,'LDAP'
    END IF;
    END;
    /

  • R12 Report customised report not working.

    i have developed a report in R12 for purchasing module.
    simple quey: select * from po_headers_v where po_number=45;
    in Before report trigger.
    mo_global.set_policy_context('S',101);
    In PC report is working but didn't show any record when i attach it R12.

    We have had a similar problem in R12 with getting data output from custom reports pulling data from purchasing tables such as PO_VENDORS.
    You have to add this in the after parameter form trigger of the Oracle Report:
    SRW.USER_EXIT( 'FND SRWINIT');
    Do not call it from the before report trigger like I was used to doing under 11i. This user exit sets up various Oracle Report environment info, including initializing Oracle Reports to work with the new multi-org system used by R12.
    Don't forget to call this in the after report trigger:
    srw.user_exit( 'FND SRWEXIT' );
    Also under R12, you need to set the Operating Unit Mode setting on the web based define concurrent program page. Go to (R) System Administration -> (N) Concurrent -> Programs, once you have queried up your concurrent program for your report, click the Request tab. You will find the Operating Unit Mode option there. This Operating Unit Mode option needs to be set to Single for most R12 instances. This mode setting is not available in the Oracle Forms concurrent program define form, so watch out!
    Cheers
    Daryl

  • Web Report not working with parameter form

    Hi,
    I have a report which has got a parameter form. This report is
    running fine in client/server environment. But when I deploy the
    same report on web (CGI) using PARAMFORM=YES, I am getting the
    parameter form and after pressing the SUBMIT button I am getting
    a blank report under the following two cases even though I have
    data for that query:
    CASE1: <input type="hidden" name="desformat" value="html">
    then I am getting the report with no data retrieved.
    CASE2: <input type="hidden" name="desformat" value="pdf">
    then I am getting completely blank report (no logo, no column
    titles, etc.)
    See the HTML code below. Remember, the same thing is running
    fine in client/server environment. Moreover, if I make a HTML-
    coded form for the report then everything on the client's
    browser is running fine. But this is not what we want, 'coz we
    are running the "BEFORE PARAMETER FORM" trigger in the report.
    So, should I conclude that web-reports does not work with the
    parameter forms?? Is it a bug???
    Regards
    Moiz
    ----------HTML Code------------------
    <form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
    bin/rwcgi60.exe">
    Select the Weekend Date for which you would like to see your
    Timesheet report
    <input type="hidden" name="server" value="repserver">
    <input type="hidden" name="report" value="timesheet.rdf">
    <input type="hidden" name="userid" value="696122/696122@ors">
    <input type="hidden" name="destype" value="cache">
    <input type="hidden" name="desformat" value="html">
    <input type="hidden" name="paramform" value = "yes">
    <input type="submit" value="Run Report">
    </p>
    </form>
    -------HTML Code END------------------
    null

    No pal, that's not the problem. The problem lies with the
    "BEFORE PARAMETER FORM" report trigger on the web. Check this
    out on ur report server and u will understand my problem.
    Moiz
    Ramonito Te (guest) wrote:
    : I think the cause is the missing question mark after
    rwcgi60.exe.
    : Anyway here is my html file that runs under cgi. Hope this
    helps.
    : <HTML>
    : <!--Form Action is RWCGI60 URL-->
    : <FORM METHOD=POST
    : ACTION="http://ntserver1/ows-bin/rwcgi60.exe?" METHOD="POST">
    : <!--Parameters not exposed to user are hidden-->
    : <INPUT name=server type=hidden value="ReportsServer">
    : <INPUT name=paramform type=hidden value="yes">
    : <CENTER><H1>Set Reports Multi-tier Server Parameters </H1>
    Report Name: <INPUT name=report type=text value="c:
    : \orant\webdemo\deptemp.rdf">
    : Database Connection: <INPUT name=userid type=text
    : value="scott/tiger@orcl81">
    : <INPUT name=destype type=hidden value="cache">
    : Output Format: <SELECT name=desformat> <OPTION value=HTMLCSS
    : selected> HTMLCSS <OPTION
    : alue=PDF> PDF </SELECT>
    : <HR><INPUT type=submit value="Run Report!">
    : </CENTER> </FORM> </HTML>
    : lue="Run Report!">
    : </CENTER> </FORM> </HTML>
    : M. Moizuddin (guest) wrote:
    : : Hi,
    : : I have a report which has got a parameter form. This report
    : is
    : : running fine in client/server environment. But when I deploy
    : the
    : : same report on web (CGI) using PARAMFORM=YES, I am getting
    the
    : : parameter form and after pressing the SUBMIT button I am
    : getting
    : : a blank report under the following two cases even though I
    : have
    : : data for that query:
    : : CASE1: <input type="hidden" name="desformat" value="html">
    : : then I am getting the report with no data retrieved.
    : : CASE2: <input type="hidden" name="desformat" value="pdf">
    : : then I am getting completely blank report (no logo, no
    column
    : : titles, etc.)
    : : See the HTML code below. Remember, the same thing is running
    : : fine in client/server environment. Moreover, if I make a
    HTML-
    : : coded form for the report then everything on the client's
    : : browser is running fine. But this is not what we want, 'coz
    we
    : : are running the "BEFORE PARAMETER FORM" trigger in the
    report.
    : : So, should I conclude that web-reports does not work with
    the
    : : parameter forms?? Is it a bug???
    : : Regards
    : : Moiz
    : : ----------HTML Code------------------
    : : <form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
    : : bin/rwcgi60.exe">
    : : Select the Weekend Date for which you would like to see your
    : : Timesheet report
    : : <input type="hidden" name="server" value="repserver">
    : : <input type="hidden" name="report" value="timesheet.rdf">
    : : <input type="hidden" name="userid" value="696122/696122@ors">
    : : <input type="hidden" name="destype" value="cache">
    : : <input type="hidden" name="desformat" value="html">
    : : <input type="hidden" name="paramform" value = "yes">
    : : <input type="submit" value="Run Report">
    : : </p>
    : : </form>
    : : -------HTML Code END------------------
    null

  • Report not working in my system

    Dear All,
    I have Developed a ZHR report. But the problem is the it is working only on my ABAPers Terminal(PC) and not on mine.
    Not working means the Action that it should trigger in PA40 is not happening.
    The Client is same.
    The User ID is same.
    The User parameters are same.
    The GUI Version is same.
    The authorizations are the same.
    Is there any other setting that i need to check.
    Regards,
    Saureb Bannerjii
    SAP HR Consultant

    hi,
    one possiblity is to check the user profile of your abaper's login and your login. If you are using different login id for checking the reports
    Regards
    SAmeer.

  • Report Not working in the Web Browser

    Hi ALL ,
    Am working on a item SKU report . The report is running fine in the BIDS but once i try to view the report in the WEB Browser
    tried both Mozilla and Internet Explorer no data is shows up .
    The report has 2 report filter one is on the service and the other one is the item sku its a multi - parameter  that contains
    a list of more than 6000 different SKU . Can the filter be the reason for the report not displaying in the web browser.
    If yes kindly advice me what the workaround for it .
    I tried having the filter in the  SQL main query but it was of no use no data it was showing after having the ssrs report filter
    at least right information its showing but in the BIDS not in the main web browser.
    Kindly Help
    Priya

    Hi Priya,
    According to the description, I understand that there are parameters (@SKU and @SKUlist) in the report, and SKUlist parameter is multi-value parameter. When selecting values of the SKU parameter, the parameter SKUlist will display corresponding values. In this
    case, you should create cascading parameters, right? And you use parameters to filter the report.
    Because the data of the report can be shown in the Business Intelligence Development Studio (BIDS) environment, the issue only occurs after deploying the report to report server. Based on my research, I think it may occur because of web browser issue. I have
    known you use Mozilla and Internet Explorer to view the report but there is still no data.
    In Reporting Services, not all report functionality is supported by all browsers. In this scenario, I suggest you considering the aspects of the setting or third party add-ons of Internet Explorer (IE). You can refer to the steps below:
    1. Click Tools -> Internet options.
    2. Switch to the Security tab, click Local intranet, and then select Default level.
    3. Switch to the Advanced tab, and click Restore advanced settings.
    4. Temporarily disable third party add-ons. For detailed steps, please see the link:
    http://windows.microsoft.com/en-IN/internet-explorer/manage-add-ons#ie=ie-10
    Reference:http://technet.microsoft.com/en-us/library/ms156511(v=sql.105).aspx
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • On Demand Sub-Report not working

    Hello,
    I am using crystal reports xi-r2 I am having trouble getting an on-demand sub-report to work. After much trouble I am able to get the sub-report to work in the designer but as soon as I publish the report and access it from the CRS. It stops working. I can not get the sub-report to come up. Or it opens another window like it is going to show the sub-report but I get the original report again.
    My second question is how do I open a trouble ticket now that this has all moved to SAP?
    Thanks for your help.
    Jeff

    As this isn't working in CRS you may want to re-post this to:  BusinessObjects Enterprise Administration
    www.service.sap.com would be a good place to go to get service

Maybe you are looking for

  • Does it work out of the box well ........NO

    The Airport Express 'AE' has simply not lived up to its name 'Express' because mine still does not work as intended in a Windows Vista environment. Oh and this is the second unit that I have been working with over the last three days. The first one w

  • IPod Classic refuses to sync Audiobooks

    My iPod and iTunes now refuse to sync Audiobooks. Problem occurred when I bought a new book on iTunes. Refused to sync it. As I've experimented I've discovered that it refuses to sync any of my audiobook library except 1 book. So far, I've tried: 1)A

  • Sun One application server connection problem for Oracle DB

    On our project in live environments we have six Sun One application servers that have been configured to connect to RAC Oracle database using OCI drivers. ( JDBC thick driver) Sun one application server : Version 7.0.0 Oracle Database : Version 9.2.0

  • Flash for Android 2.2

    Is there a program out I can install or play on my Samsung Galaxy 5 Epic 4G that will work? I need to access web sites for my business from my phone.

  • Problème pot de peinture

    Bonjour à tous, J'ai réinstallé mon Photoshop CS5 sous Windows 8.1 et paf, le problème. Ça fait 15 ans que je bosse sur photoshop, autant dire que je ne suis pas un débutant. Mais je ne vois pas. Je ne travaille qu'en aplats. Quand j'utilise le "pot