Report in PDF format and send it to some clients, using database triggers

Hello

Is it possible to run a report at the announcement of the PDF format by e-mail to some clients after a specific event through database trigger. For example, whenever a customer makes an entry in the table entry order (via the registration form), a trigger must run on the Orders table, the trigger must run or generate a report in format PDF and mail it to the sales team?

I have

ORAS 10 g (10.1.2.0.2)

Configured UTL_MAIL.

Thanks InoL,

I read the article, it is useful.

Now I m facing some problem, u can solve it please...

1.

I installed the srwAPIins.sql api by using the sys user,
* during installation, it asked the portal schema, what is the portal schema
* However, I provided the user sys
+ and installed successfully

Run the srwAPIgrant.sql to assign Privilegesto abc
+ Successful
------
2. create procedure

CREATE or REPLACE procedure Nrsp.testrep
myPlist SRW_PARAMLIST;
myIdent SRW. Job_Ident;
BEGIN
myPlist: = SRW_PARAMLIST (SRW_PARAMETER('',''));
SRW.add_parameter (myPlist, 'GATEWAY', 'http://myserver.com/reports/rwservlet');
SRW.add_parameter (myPlist, 'SERVER', 'rep_myserver_oracleas2');
SRW.add_parameter(myPlist,'REPORT','D:\Reports\EMP_ATND.rdf');
SRW.add_parameter(myPlist,'USERID','abc/XYZ@mydb');
SRW.add_parameter (myPlist, 'DESTYPE', 'email');
SRW.add_parameter (myPlist, 'DESFORMAT', 'PDF');
SRW.add_parameter (myPlist, 'DESNAME', '[email protected]');
myIdent: = srw.run_report (myPlist);

END;

+ Procedue created without error

* but when run the procedure I get these errors

/*
ORA-20999:
ORA-06512: at «NRSP.» SRW", line 264
ORA-06512: at «NRSP.» SRW", line 799
ORA-06512: at «NRSP.» TESTREP', line 13
ORA-06512: at line 1
*/

What is a possible cause of these errors, I Googled it but no results found
Help, please

Tags: Oracle Development

Similar Questions

  • I have a problem, I want to save my book, I did the photos, in pdf format and send to print as I did last Christmas, in the latest version of Iphoto, it wasn't a problem, but now I can't do what a plus! Can you help me?

    I have a problem,

    I want to save my book, I did the pictures 1.1, in pdf format and send to print as I did last Christmas, in the latest version of Iphoto, it wasn't a problem, but now I can't do what a plus! Can you help me?

    You can create a preview PDF of your photobook by Ctrl-clicking on the empty space betwwen discovers the pages in the Pages of 'all '.  Select "Save book as PDF" in the context menu that appears.  Then send this overview to your printer.

  • Launch of HFR reports in PDF format and in HTML when you access through planning Tasklist

    I am faced with a dilemma. I'm on a project where the planning is being installed. MS Excel SmartView is the main interface to the user for forms and reports. I posted several HFR reports for planning lists, but users want the option to open in PDF or HTML format. Reports HFR list of default tasks in html format. However, I understand that you can set the option via the workspace of planning to have financial reports in PDF format or html. The question is, how do I get a HFR report assigned in a task list to launch PDF unless the user set the preference in the workspace of planning. We have no change, so Management Department, the community using Smart View is a major obstacle so, another site it would do worse. Is there a global parameter that can be set at the level of the server, or behind the adjustment of scenes to the default code for all users in PDF format? The other issue is that if the user then wishes to obtain the PDF HFR report, can they have an option to open in mode query in MS Excel as an Ad hoc planning? Any suggestions on these two issues would be greatly appreciated. We are on the verge of the UAT and expected it comes down from the top. Thanks in advance.

    Hello

    In the world you can make changes in the Jconsole mbeans to open any report EN PDF default is htm (if you have version 11.1.2.1). To change the settings try below:

    To connect to the web server EN
    Run FRconfig.cmd in the Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin folder.

    Above is open J console click mbeans (last tab)

    Expand .comhyperion click on change the attributes on the side left there is a single parameter called com.hyperion.reporting.HRPrefs.viewtype by default is html to PDF

    Close jconsole mbeans and restart web FR.

    For other parameters check you

    page 15 of http://docs.oracle.com/cd/E17236_01/epm.1112/fr_webadmin.pdf

  • In our application, we RESUME Builder and after, we want to show the pdf format. and also, we want to save and send option.

    In our application, we RESUME Builder and after, we want to show the pdf format. and also, we want to save and send option.

    1. for the PDF see TCPDF

    2. for the record, see PHP insert data in MySQL

    3. to send see Basic PHP mail() code function to send e-mail from a form. InMotion Hosting

  • I have an annual subscription to export in PDF format that send States that she joined at the signing, but when I try to access to this that it takes me to a page of upgrade

    I used to have the sign of the echo, but cancelled the subscription as my subscription to export in PDF format that send for signature is included but I can't access it and keep sent to a page of upgrade instead of Acrobat Pro DC. I only need to send two or three documents per month, so I can't justify the cost. In an attempt frustrated trying to find the prior service (after waiting to support the customer for 45 minutes) I then signed for sending and the railway until I realize that it is also (theoretically) included in export to PDF format and does not send me signed anyway so even if I cancelled now it , this wont be done until October 21, 2016, so I paid for a useless program for 12 months. Can I access echo sign or send to the signature or not with my subscription please. I will not be upgrading DC Pro so if I can't then I'll get a free/less expensive service.elsewhere of e-signature.

    Thank you

    Lesley

    Hi Pheonix 1,

    I'm sorry, but export to the PDF format does not send for the Signature option.

    You will need sending to autonomous or Signature included with the Pack of PDF from Adobe, Acrobat Pro DC and Acrobat Standard DC

    See this link for more information: sent for Signature. Adobe Document Cloud

    Kind regards

    Ana Maria

  • not able to view the report in PDF format from the worksapce

    Hi all

    I want to see my reports in PDF format. So, that from the workspace
    I opened my report and chose run as a PDF, but I can not
    see it in PDF format. It shows me page cannot be displayed.
    Can someone tell me how to see the reports in PDF format?


    Thank you

    Hello

    I take that you have installed is:

    -Adobe Acrobat Distiller Server 8.0 or 6.0
    -GPL Ghostscript 8.63; AFPL Ghostscript 8.54 or 8.51; or GNU Ghostscript 7.0.6

    On the server and the Adobe acrobat reader on the client.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • I have a HP PC. I ordered export them to Adobe PDF format and whenever I try to convert a file, I find myself on the command screen?

    I have a HP PC. I ordered export them to Adobe PDF format and whenever I try to convert a file, I find myself on the command screen?

    Hi Judy Wooters,

    Please try to connect to "http://cloud.acrobat.com/exportpdf" using your Adobe ID credentials, and then try converting the file.

    Let me know if your problem still persists.

    Kind regards

    Ana Maria

  • Steps: we received the file in PDF format and has been invited to modify the form.

    Steps: we received the file in PDF format and has been invited to modify the form.


    My colleague edited in Livecycle es4.


    When we sent the document to them, they asked to have the title marked as H1, as it is currently labeled as content.


    In live cycle, unknowledgable about how we change it.


    We then took the file is saved as a word document in their exported to PDF via adobe DC


    my changes and referred.


    Once they have received the file they are unable to put anything (all data in the document where it will also prompt) using the player



    We are not writing this on the central computer, but that's what we have...



    Acrobat reader ix 11.0


    Adobe live cycle ss4 11.0



    Thank you...

    It is urgent need please reply as soon as possible

    Hi barbarac80529448,

    Please see this KB doc. helps LiveCycle | Working with the forms, it might help you in the installation of PDF form in Adobe LiveCycle.

    Kind regards

    Nicos

  • I am trying to remove a price in pdf format, and a message appears "all or part of the selection has no available police." Cannot add or delete the current font using". I downloaded this font in my Adobe fonts, but still no luck.

    I am trying to remove a price in pdf format, and a message appears "all or part of the selection has no available police." Cannot add or delete the current font using". I downloaded this font in my Adobe fonts, but still no luck.

    How to update or download all the fonts in my Adobe Adobe Acrobat X Pro?

    Get the police does not always help, but to use a font you don't add it to Acrobat. Add you on Mac or Windows.

  • Export to PDF format and grayscale?

    Sometimes we have to generate greyscale PDF files from InDesign CMYK files.

    Is there a way to export to PDF format and grayscale?

    If you do file/print, there is an output option where you can select Composite gray and check a text of the black box.


    But nothing like there is for export to PDF format...

    Am I missing something, or people use Acrobat then and grayscale in Acrobat?

    Thanks in advance

    InDesign CS4

    Mac OS X 10.5

    No, you can´t to export in grayscale... I do it after the conversion in Acrobat with convert colors-tool. It even allows you to define a conversion profile...

  • Error in the export of interactive report in PDF format

    Hello

    I use the APEX and an interactive report, trying to export using download | PDF format. The table and the corresponding report includes only text fields. Database character set is UTF-8. So far I have not been able to get a PDF file that can be opened in Adobe Acrobat Reader. Each file fails with message as "Adobe Reader could not open nomdefichier.pdf, because it is not a supported file type or because the file has been damaged (for example, it was sent as an attachment to e-mail and has not been correctly decoded). This happens for every report I've tried so far. If I export the report to CSV format, all are ok.

    Y at - it a bug known with download PDF of APEX?

    TIA

    Do you have a printer (Bi Publisher or FOP/Cocoon) server configuration? If not, then you will NOT be able to generate a PDF file...

    Thank you

    Tony Miller
    Webster, TX

  • Toolbox for Pages only opens in PDF format and does not directly open from documents Pages.

    How do 'Toolbox for Pages' to open directly from a Pages document (I use ' menu Insertion, but that does not help) and get the spare in PDF formats since I can not insert in my documents Pages?

    You have answered your concerns with Jumsoft, the vendor providing the third party package? It is an Apple product, or probably something that much/all have installed us.

    The Insert on Pages menu is set by Apple and not usable by third-party applications. You get PDF page content in the Pages just by drag and drop.

  • Trying to save the file in pdf format and instead its projection upward as we just drop. Half of my files are beautiful and half are not. Why!

    I am trying to save a file in pdf format. It appears in my folder as a file. I have a little need to do so. Registration of the same file with different names. Some work and some aren't.

    All registration documents are called files. What determines its type is the file extension. If it goes to something else especially an extension that the file viewer does not recognize he can just say instead of his type of format file.

    First thing to try is to verify that pdf is the extension (the characters after the last period) if there is no or an extension that you recognize, rename the file, and add the .pdf at the end of the name.

    If the file is a true pdf file it will load now.

    If she does not then of two things is true. The file is corrupted sense that it must be recreated. Or the file belongs to another application that is more installed on your computer.

    Once Finally, scenario, the extension is correct and does not rename but still it says file instead of pdf.

    In this case, like acrobat or Adobe reader software was uninstalled and deleted the associated file.

    Even if the association can manually be fixed which is totally dependent on having a Mac or Windows computer, and you have not mentioned it or I forgot. You can just reinstall the program that you want the associated file. The installer will fix it for you.

    On Windows computers, the file extension may be hidden. If you have a Windows system and don't know how to change extensions to the visible, let us know. I don't know if the Mac have a similar feature.

  • Can (CS5) export to PDF format and compress Images?

    Using CS5, I have a 'book' with 12 chapters and a total of about 800 color images. The goal is to export it to a PDF file that is shown on the screens, not sent to a printer.

    When I export to PDF format, the file size is huge: about 240 MB.

    I want this file to be much - a lot! -smaller size (in MB).

    I have all images with different resolutions - from 72 dpi to 220 dpi - and I do not have the higher resolutions.

    What is the best way to approach this problem? ...

    --Are there a way to set Indesign to compress images when exporting?

    - Or if Photoshop can be used to 'batch' compress images at 72 dpi?

    - Or is there another method that I can't even imagine.

    Thank you very much!

    Zorba

    Look in the export PDF dialog box. In the "Compression" Panel, you can set a maximum allowed DPI - any image of a value greater than the value "above" will be sous-échantillonnées to the value "to".

    It works only on bitmap images. If you placed the vector images big, there is no way to automatically decrease their size.

  • Save a brochure in PDF format and keep the structure typical of brochures (NOT for printing)

    Hi guys,.

    I've created a brochure using Indesign and I want to save it as a PDF file and email it to people (if I don't want to print it) and thus it must retain the 'typical' folders structure (front cover of the single, then double pages and one page) - so I want to keep it exactly how I created it in Indesign.

    But if I export it I always get only the single pages (so double pages are NOT next to each other).

    I'm sure that there is an easy solution, but I can't find it and have searched for the answer throughout the day, but he did not...

    Perhaps you could help me? It would be great!

    Thank you!

    Chris

    PS. This is an example (Lufthansa magazine) how I want it to look like: http://www.lhm-lounge.de/downloads/standardbeitrag/596488/lh_1304_inter.pdf

    GPSP I use Windows 2010 and got the latest versions of Indesign (CS6) and Acrobat...

    When you export the document to PDF, you have the possibility of Pages and spreads. Have you tried to spread?

Maybe you are looking for

  • The music does not download

    Hi, I have recently subscribed to music from Apple. I am able to record the music in my library and listen to it all being connected to the Internet. The problem is when I try to download music to listen to offline. The circle starts to turn but stil

  • ITunes game subscription

    I have iTunes game and have enjoyed using iTunes Radio without advertising.   Recently, when I try to use the radio I get sent automatically to a Apple music sign up page that none of my radio channels work.   Is there a way to use the radio or this

  • Set the rotation of the screen to external monitor on Portege M400

    I would like to be able to use the screen of the mobile phone in the form of tablets, while the display to an external monitor. The problem is that when you use the laptop in its Tablet configuration (fixed and swivel screen on top) the external moni

  • IPHONE 5 problem with contacts

    Hello people... I'm puzzled. I asked this question a few days ago. Got a lot of answers THANK YOU ALL... nothing worked. Problem in short... CONTACTS iphone 5 release 9.2 (13 c, 75). I had the phone in 2014 and loaded with my CONTACTS. I used to 2015

  • Need help with DVD drive - Qosmio G30

    Hello Sorry, my English is so bad. I need your help. I have a Qosmio G30 (PQG32E) and I have a problem in the DVD player. I see a (!) instead of the DVD drive in Device Manager. I think it's a problem with the driver. I don't know what I can do to so