How to Email Output of Concurrent Program to set of Users

Hi Everyone,
I need to create a Custom concurrent program(Nothing but a PLSQL Program) to email the output of a concurrent program run to a set of users with request id as parameter.
Please help me...!
With Regards
VeeJay

Do not know Apps - and still have no idea what is implied with a "concurrent" program. Wish that systems/applications will use technology words correctly and appropriately...
Also, you have not stated what the output is. Is is a text file? A CLOB? A ref cursor? A PL/SQL array? A 32KB varchar2? Something else?
This output needs to be used to construct the e-mail.
In order to mail anything you (the e-mail client) need:
a) TCP client connectivity
b) to construct a Mime (e-mail) body
c) deliver that Mime body via TCP using the SMTP (Simple Mail Transfer Protocol)
In Oracle 10.2.x that is as simple as making a single PL/SQL, courtesy of the UTL_MAIL package.
In Oracle 9i and 10.1.x, that requires manually constructing a Mime body and then delivering it using the UTL_SMTP package.
In Oracle 8i, that means using UTL_TCP if UTL_SMTP is not available.
You need to consult the applicable documentation for that Oracle version. The document being "Supplied PL/SQL Packages and Types Reference" with Oracle 8i and 9i, and simply "PL/SQL Packages and Types Reference" with 10G and later.
Documentation portal URL is http://tahiti.oracle.com

Similar Messages

  • How to email the Financial Reports to selected set of users - Hyperion

    Hello Everyone,
    I was wondering if there is a way to email a financial report (in Hyperion Financial Reporting Studio) to selected set of users based on the selection of Entity from the POV. If yes can it be automized in a way that everytime the report is run for a particular entity, it will email the report to the selected set of users?.
    Thanks

    Yes, you can schedule batches (not in FR, but in Workspace). You might find this useful:
    http://docs.oracle.com/cd/E17236_01/epm.1112/fr_webuser_epm/scheduler_wizard_fr.html
    More info on Financial Reporting Workspace User’s Guide: http://docs.oracle.com/cd/E17236_01/epm.1112/fr_webuser_epm/launch.html
    Cheers,
    Mehmet

  • How to customize the Java Concurrent Program(PO Output for Communication)

    Hi,
    How to customize the Java Concurrent Program(PO Output for Communication)
    I need to add the Line level Ship To Address ,Line Notes and Extended Price fields on Java Concurrent Program.
    Please any body help/guide me in this regard.

    Hi,
    Changing Java Conc. program for "PO Output for Communication" is difficult.
    Actually, if you observe closely, "PO Output for Communication" program uses PO<HEADER/LINES..>_XML views.
    So if you could change these views and add your requireed columns to it, you can automatically see your changes in XML data file.
    See if the following link will you to get there.. http://chandramatta.blogspot.com/
    thanks,
    Matt

  • How to add javaprocedure as Concurrent program in oracle apps environment.

    Hello everyone,
    please accept my apology if iam asking question in a wrong fourm.and guide to correct forum.
    I have a javaprocedure.now i need to register it as a concurrent program in R11 apps env.
    so,in the executable name i have a confusion ..that, should i have to give the function name or the java class name.
    can anyone who registed a javaprocedure in apps evironment...give some idea please .

    java class name (case sensitive)
    How to register and execute Java Concurrent Program ?in Oracle Applications R11i ? [ID 186301.1]
    How To Create a Java Concurrent Program? [ID 827563.1]

  • How Can I Submit A Concurrent Program Using Form Personalizaton?

    How can I submit a concurrent program? Please help!
    Thanks in advance
    PhuTri

    I think the problem in your case coould be that the Concurrent Program you are trying to run has not been registered in the responsibility from which you are runnig it.
    For eg. You are trying to run a program from Inventory Super User responsibility and the request group attached to the responsibility is say 'RG Inventory', but the concurrent program which you are trying to run from your inventory super user responsibility is registered under some other request group say 'RG Order Mangement' which is not attached to the nventory responsibility.
    So register the program under correct request group and see if this helps you.
    Other possibility is that check if you have permission to submit request from that responsibility. You can check this by going to the Menu ->View If the Request menu is disabled then you cannot submit the request.

  • How to know whether a concurrent program (report, procedure) is ......

    Hi All,
    How to know whther a conurrent program (report or package) is "Single OU or Multiple OU".
    OU: Operating Unit
    Any advice appreciated.
    Thanks

    Are you asking how to tell whether a concurrent program can be run for a single Operating Unit in a multi-Operating Unit environment?
    If you are asking about standard Oracle concurrent programs, then I would say that they should all be capable of running for a single OU in a multi-OU environment WHERE the module relates to operating units. For example the HR/Payroll modules do not relate to operating units, but rather business groups and concurrent programs in these modules will be able to be run by business group.
    If you are asking about custom concurrent programs, then I would suggest the easiest way to tell would be to run them and see, although having an Org ID parameter would be a good indication.

  • Restrict number of concurrent programs running by one user.

    Hello,
    How can I restrict whole number of concurrent programs running by one user?

    Hi
    I am not sure if I understand the question correctly, but if you are asking what I think you are asking, then you can restrict the number of simultaneous concurrent jobs that a user is allowed to run with this profile option;
    "Concurrent:Active Request Limit"
    I recommend that you set this at the User level and not the Site level since this parameter has caused problems for me in the past (certain types of transactions submit a batch of concurrent jobs, and if all the jobs are not able to start at the same time then the concurrent jobs go into a pending state and never complete. I have not worked out why this happens, so I just stopped restricting the number of concurrent jobs that a user could run).
    Frank

  • How can i change so a program autostart on every user?

    Hey
    I have install a program with ARD on 90 macs, then i want the program to autostart when the user login.
    So how can i change so a program autostart on every user?
    Imac   Mac OS X (10.4.9)  

    Workgroup Manager should make this a fairly simple task.
    First, use it to create a new group containing all of the users you specify. Then, for the group, go to the Login Items preference, and set the program to start up there.
    Workgroup Manager, if you don'rt already have it installed, is part of the Server Admin Tools, a free download from Apple.

  • How to setup the reply-to email in a concurrent Program

    Hi
    I am trying to setup the e-mail Delivery Options when submitting af Concurrent Program in OEBS 12.1.3.
    I submit a concurrent job and choose the Delivery Option -> Email and then enter a To: e-mail.
    Then the "From:" address is populated with my e-mail (from > FND_USERS) but when the e-mail is send to a reciever the "From:" e-amil i changed to no-reply.
    How an i specify to use the From: email when i submit a concurrent program.

    Hi,
    How an i specify to use the From: email when i submit a concurrent program
    You can overwrite the default address, and I believe you know of this. Could you elaborate what is the error message you are getting when you do so.
    Thanks &
    Best Regards,

  • How to configure standard report concurrent program in web forms.

    I have developed new custom report using reports6i, and defined a concurrent program registered into AOL and assigned to a request group. I tested the report runs fine from form based applications. But user wants to run this new report from web forms(Incentive Compensation). I have no idea how to create a concurrent program link in the Incentive compensation module web forms.
    Is there any document to configure oracle report concurrent program into web forms?
    or guyz please send me the steps (screen shots) to add custom report concurrent program to web forms?
    Please help guyz...I'm new to web forms......
    Thanks in advance
    Naveen
    [email protected]

    Naveen,
    On some event on the page (like a button submit) you can call a PLSQL API with parameters which can further submit your concurrent Request.
    If you want to see the Report output in Apps, it can be done directly. Otherwise if you want to see the value in the Self Service Page itself, then you can extend the oracle.apps.fnd.cp.request.server.RequestSummaryVO for your case.
    Thanks
    Sumit

  • Output from Concurrent program in XML format for bytes greater than 32K

    Hi,
    I created a custom concurrent program where i send the generated XML data as an output to the program.
    I have an XML template attached to the program, so the template picks up the xml output and converts it to a PDF.
    so ultimately when i run the concurrent program, the output is a PDF file. This way it is easy for the user to just run a program and get a PDF file.
    Now the generated XML data is from an oracle seeded program and it is a BLOB.
    I am converting it to a CLOB so that i can write it to the output. if the CLOB doesnt exceed 32K bytes, i have no issues writing it to the output.
    But since we cannot write more than 32K bytes, i an using a substr to write chunks of the CLOB for every 30,000 bytes.
    since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?
    Either i write the whole 33000+ bytes in one line to the fnd output or try to remove the line breaks from the xml data.
    Thanks in advance for anyone reading this!

    >
    > since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?So I suppose you're using FND_FILE.PUT_LINE ?
    Why not use FND_FILE.PUT instead, so that no new line is generated after each chunk ?
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458258.htm#I_fndfile

  • Issue in getting output through concurrent program

    Hi,
    I have developed a procedure and registered in APPS and passing 2 parameters.
    while running the concurrent program i have entered values for 2 parameters and submitted.. but it is going as null (log file) and i am not getting output.
    This procedure is working fine in Back End.
    Please help me to fix it.
    What could be the issue...
    Thanks
    Winsky.

    Hi,
    stored procedures MUST be coded with errbuf and retcode OUT parameters
    which MUST be defined as first parameters of your procedure if you want to
    use the procedure as concurrent request.
    errbuf parameter comes first, retcode comes second, then the rest of your
    parameters.
    Populate retcode with 0 if logic within your procedure completes successful,
    use 2 if the program ran into an exception (either a logic exception or when
    an unexpected error should occurr) and use 1 for retcode, if your logic
    should indicate a warning such as "no data found for processing" or something
    like this.
    When defining concurrent program in sysadmin responsibility do NOT define
    parameters for errbuf and retcode, only for the rest of your parameters.
    That's all - in short.
    Regards

  • How to read output of native program

    Hi,
    I wrote a Java program that runs a native program. In my case, the native program is written in C++ and runs under Linux.
    My purpose is, to start the native program and to capture the output of it and send also some input.
    I found the code to do this on this website. I used the Process and Runtime classes to start my native program, The I used the following code the intercept the output of the program:
    BufferedReader pInput = new BufferedReader(new InputStreamRead(process.getInputStream));
    This code works perfectly fine for a native program that does his job and then exit. I guess the the output is only printed when the native job has ended.
    That''s my problem, my program must continue to run, it never exits, so I never get the output of it except when I manualy close the program.
    Isn't there an other way to get the output real time of my program, without it to wait for the end of the program?
    Thanks

    my case, the native program is written in C++ and
    This code works perfectly fine for a native program
    that does his job and then exit. I guess the the
    output is only printed when the native job has
    ended.Although I 'don't do C' :), my guess is that your native app should close the output device it's using (and that the Java app is using for it's inputstream) and re-open it again.
    It shouldn't be needed to close your native application for this, only close the output device.
    I think :)
    Anne.

  • Restricitng a concurrent program to a particular user

    Hi All,
    We have a requirement that only one particular user should be able to run a concurrent program.
    Can anyone help me in implementiing the same.
    Regards,
    Shruti

    Hi;
    I suggest also see:
    Concurrent Report Access Level [ID 736547.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Custom Concurrent Program works under one user, not the other

    Hi,
    We created a custom concurrent program in our 12.1 Windows EBS environment. This is a "host" concurrent program which executes a cmd file on the host.
    Using user A with responsibility X this program runs OK. Using user B with the same responsibilty X it does nothing. Request finishes completed, but it does nothing.
    With user B, if I remove the .exe from the %XX_TOP%\bin directory it ends in error. When I remove the .cmd from %XX_TOP%\bin it ends completed succesfully.
    User A and B have the same user preferences and the same profile option values at the user level.
    Can someone tell me what more to check to solve this problem?
    Thanks, Marco

    No the concurrent program is not user-dependent. It starts with copying a file from one directory to another and then starting a sqlloader process. But even if I only put an echo in the cmd file, it is not started when executing with user B. The concurrent request logfile is empty (besides the usual lines about program name,start/stop timestamps, printing info,etc. in it).
    I run the concurrent program under the same responsibility for both users.

Maybe you are looking for

  • TS2755 IPad went black!

    I have an IPad first version and it went black last night.  I assume it has a battery.  Do these need to be replaced and if so, how much is  replacement cost? the Thank you!

  • Regarding when we are implimenting mm in sap bw?

    Hi bw gems i had one dought, that is when we are implimenting mm in sap bw on have some standard settings in R/3  what is that settins and why we are doing that settings plz           its very urgent..

  • Programmat​icly name the PDF from report generator

    Hi, I'm currently developing an application that contains report generation. Using report generation pallet I was able to make PDFs but the problem is that a dialog box appears asking me to give a name to the PDF. Since the application will be runnin

  • Printing Speed on Dot Matrix

    Hi All, One of my clients is using dotmatrix printer to print invoices but end of the month volume is too high and it takes around 2 minutes print 1 document. I have tried using Microsoft Generic Driver and it increases printer speed but disturbs rep

  • Help in Tomcat 4.3.1

    when i give the startup command. I am getting the following error: Feb 3, 2005 6:32:24 PM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru e Feb 3, 2005 6:32:24 PM