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

Similar Messages

  • FELX-SSV EXCEPTION Error while creating SIT through concurrent program

    I am trying to create an SIT through concurrent program using API with all hard coded values for all API parameters, I am getting FLEX-SSV Exception error but the same code is working fine in TOAD.
    Procedure :-
    CREATEORREPLACEPROCEDURE XX_ABSENCE_TEST
    P_ERR_BUF OUTVARCHAR2,
    P_RETCODE OUTNUMBER
    IS
    L_ANALYSIS_CRITERIA_ID        NUMBER;
    L_OUT_PERSON_ANALYSIS_ID      NUMBER;
    L_PEA_OBJECT_VERSION_NUMBER   NUMBER;
    L_ERR_MESG varchar2(3000);
    BEGIN
    INSERTINTOXX_DEBUGVALUES('Starting',0,0);
    HR_SIT_API.CREATE_SIT
    (P_VALIDATE                       =>FALSE,
    P_PERSON_ID                      =>59021,
    P_BUSINESS_GROUP_ID              =>3036,
    P_ID_FLEX_NUM                    =>50320,
    P_EFFECTIVE_DATE                 =>'02-APR-15',
    P_DATE_FROM                      =>'02-APR-15',
    P_SEGMENT1                       =>'Annual Leave',
    P_SEGMENT3                       =>'02-APR-15',
    P_SEGMENT5                       =>'05-APR-15',
    P_SEGMENT10                      =>59021,--I.PERSON_ID,
    P_SEGMENT15                      =>'02-APR-15',
    P_ANALYSIS_CRITERIA_ID           => L_ANALYSIS_CRITERIA_ID,
    P_PERSON_ANALYSIS_ID             => L_OUT_PERSON_ANALYSIS_ID,
    P_PEA_OBJECT_VERSION_NUMBER      => L_PEA_OBJECT_VERSION_NUMBER
    INSERTINTOXX_DEBUGVALUES('Created',NULL,NULL);
    COMMIT;
    EXCEPTION
    WHENOTHERSTHEN
    L_ERR_MESG :=
                                 L_ERR_MESG || SUBSTR(SQLERRM,1,250)
                                 || CHR(10);
    INSERTINTOXX_DEBUGVALUES('Exception',L_ERR_MESG,NULL);
    commit;
    END;
    Regards,
    Pradeep

    It looks like more of an issue with connecting to essbase, usually "java.lang.UnsatisfiedLinkError: no HspEssbaseEnv in java.library.path" means planning has not been installed or deployed correctly, what OS is it running on?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to Process flat File in Oracle Apps through Concurrent Program

    Hello Everyone,
    My client has a request, to process a bank file (Lockbox) which is a flat file that will be copied on UNIX box and I will have to create a new concurrent request that will process this flat file and will update receipt information in Oracle Apps database tables.
    Could you please suggest, if there are any other standard Oracle Apps functions (Example FND) available which can be used through Concurrent program that can be used to open a file from a particular directory and can be read from the flat file and after processing this file can be closed.
    Please let me know, if you have a small example, that would help me a lot.
    Thanks

    There are base concurrent programs in Accts Receivable that do consume lockbox flat files. Pl see the AR Setup/User Guides at
    http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html
    Srini

  • BI Publisher Charts not getting displayed in concurrent program output

    Hi,
    I am using BI Publisher version 11.1.1.3.0 on Windows 7 with word 2007. After creating the Bar chart in RTF template of BI publisher when I load sample XML data and check it in "Preview" is displays the output correctly.
    My requirement is to print the charts in concurrent program's output on EBS version 12.1.1. (preferably HTML but PDF will also do) However when I run the concurrent program which processes the data definition and the RTF template registered for this report, the output is just an image of the chart. The XML output generated by the program is not reflected in the chart display at all. (I have verified that XML is generated properly)
    Can someone please let me know if there is some setup required to make the charts display properly in concurrent program output?
    I have also tried BI publisher version 10.1.3.2.1 for this. With this the concurrent program output is just blank. Not even an image is displayed.
    p.s. The program uses standard executable XDODTEXE (which is normally used to run BI publisher reports)
    Thanks,
    Archana

    Hi,
    I have finally found solution to this issue....
    Two setups are required to display the charts in the concurrent program's PDF output:
    1. We need to edit the variables CLASSPATH and AF_CLASSPATH. These variables should have the complete path added for the xdoparser.zip file on the server.
    2. The DISPLAY variable should be correctly setup to direct the server output.
    Also as per my findings so far, the BI (XML) publisher version 11.1.1.3.0 (or any 11g) does not work with EBS (at least for charts). We need to use BI publisher version which is XML 5.6.3 compatible for EBS. This version is 10.1.3.2.1. (patch 12395372) Now this 10g version does not work on Windows 7 so you need to use Windows XP!
    With this... finally... your charts should be getting displayed in EBS output...
    Cheers!! :-)
    Archana

  • Report runs OK through concurrent program, but not when called through URL

    We have a custom 6i report developed that works successfully 100% of the time when run through a concurrent program.
    We are now attempting to integrate this into an OAF application. To do this, we build the necessary call to the reports server by reading different profile options, etc and come up with a URL like this:
    http://ebsd777.xxxxx.com:8000/dev60cgi/rwcgi60?d777_APPS+report=XXMFG_ESPEC_REPORT.rdf+P_SPEC_ID=43+DESFORMAT=PDF
    This report works 90% of the time when called like this, but the other 10%, we get the following error:
    "Error: The requested URL was not found, or cannot be served at this time.
    Incorrect usage."
    Trying to find what the differences are between the reports that work and those that don't - found that reports which fail seem to extend out further to the right than the reports that do work. But, these reports still fit on standard letter paper in landscape format - as we can verify through the concurrent program call.
    Is there some sort of report server setting or parameter which we can change to get this to work when called through the reports server URL?
    Any thoughts would be appreciated!
    Thanks,
    Craig

    Hi,
    Please post the application release along with the database version and OS.
    But when i call the same program through the pl/sql executable of another concurrent program , it does not print the pdf output by defaultHow do you call the program? What is the value of the number of copies profile option?
    Please see if these docs help.
    Note: 757901.1 - How To Restrict The Number Of Copies To 1?
    Note: 729117.1 - How To Specify the Number of Copies to Print by Report?
    Thanks,
    Hussein

  • 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 passing inputs to concurrent program

    Hi all,
    I am using ECEPOO(out:purchase order ) to extract approved PO data.The concurrent program asks for output file path as one of its inputs.
    When I pass the file path to it ,the concurrent program fails saying *'INVALID_DIRECTORY_PATH'*.
    I dont know what is the right file path format to be passed.I need to know what is the format for the file path.
    Help me with your suggestions and example formats.
    Thanks n regards,
    Goutham R

    you can find the path by looking for any previous concurrent program which ran successfully.
    one way of doing that is from the Submit Request window , set the days to 500 say and serach for all request with same request name.
    Now select any of the request whhich has completed successfuly and from details get the parameter passed to that query.
    Other way is
    select fcpt.concurrent_program_id conc_prog_id
    from apps.fnd_concurrent_programs_tl fcpt
    where user_concurrent_program_name = <Conc prog Name>;
    Now from above query use the concurrent_program_id in below query :
    select fcr.*
    from apps.fnd_common_requests fcr
    where fcr.concurren_program_id = conc_prog_id

  • Issue with class loading -  Java concurrent Program

    Hi ,
    We are facing a strange issue for one of our customer.
    Scenario :
    We have a Java Concurrent Program (A.java ) which refers another Java class (B.java) , we modified the file B.java for a fix and created a patch. after applying the patch and bouncing the apache ,we found that B.java is loaded the old version of the class file.
    We asked them to restart the concurrent manager and related services, still we see that old version of B.java is loaded. (confirmed by adding code throwing exception - throw new Exception from a specific line and found that its not getting thrown at run-time)
    Any clue on this?.
    Thanks
    Joseph George

    Deployed this file both tier - Database server tier and Application server tier.
    I have face same issue, Concurrent program not picking file application server tier. its picking file from database server tier.
    Thanks, Avaneesh

  • 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

  • Scp through concurrent programs errors with ssh_askpass: exec(/usr/lib/ssh/

    Hi,
    We are setting up a shell script as a concurrent program which has an scp command in it. When we run the shell script from the command prompt it works fine, but when run through the front end (concurrent program) it throws the below error:
    ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
    any ideas on this?
    -Ritesh

    Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    FTP_SCRIPT module: Secure File Transfer Program
    Current system time is 07-SEP-2011 11:10:29
    Connecting to test4000.test.com...
    Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Rhosts Authentication disabled, originating port will not be trusted.
    debug1: ssh_connect: needpriv 0
    debug1: Connecting to test4000.test.com [10.122.43.53] port 22.
    debug1: Connection established.
    debug1: identity file /home/apptest/.ssh/id_rsa type 1
    debug1: identity file /home/apptest/.ssh/id_dsa type 2
    debug1: Logging to host: test4000.test.com
    debug1: Local user: appomim Remote user: appmq
    debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.1.3
    debug1: match: Sun_SSH_1.1.3 pat Sun_SSH_1.1.*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-Sun_SSH_1.1.3
    debug1: use_engine is 'yes'
    debug1: pkcs11 engine initialized, now setting it as default for RSA, DSA, and symmetric ciphers
    debug1: pkcs11 engine initialization complete
    debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible
    Unknown code 0
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-ctr hmac-md5 none
    debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: Peer sent proposed langtags, ctos: en-CA,en-US,es-MX,fr,fr-CA,ja-JP,ko,ko-KR,zh,zh-CN,zh-HK,zh-TW,es,ja,i-default
    debug1: Peer sent proposed langtags, stoc: en-CA,en-US,es-MX,fr,fr-CA,ja-JP,ko,ko-KR,zh,zh-CN,zh-HK,zh-TW,es,ja,i-default
    debug1: We proposed langtags, ctos: i-default
    debug1: We proposed langtags, stoc: i-default
    debug1: Negotiated lang: i-default
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: Remote: Negotiated main locale: C
    debug1: Remote: Negotiated messages locale: C
    debug1: dh_gen_key: priv key bits set: 122/256
    debug1: bits set: 1619/3191
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
    debug1: Calling cleanup 0x34d60(0x0)
    Host key verification failed.
    debug1: Calling cleanup 0x34d60(0x0)
    Connection closed
    Error
    /test/apptop/testappl/xxx/11.5.0/bin/FTP_SCRIPT
    Program exited with status 1
    Executing request completion options...
    Finished executing request completion options.
    Edited by: user645203 on Sep 7, 2011 10:31 AM

  • Detailed log when data template is run through concurrent program

    Hi,
    I have registered a data template and I am using concurrent program to generate the output (By giving executable name as XDODTEXE and making short name of the concurrent program as the code of the data definition).
    When I run the concurrent program, it gives me the error
    Calling XDO Data Engine...
    [100306_024642974][][EXCEPTION] java.sql.SQLException: ORA-00900: invalid SQL statement
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2185)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2059)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2976)
    I have checked the sql query in TOAD its perfectly running. I am not able to find out where exactly the problem is in the SQL statement.
    Is there any way by which I can see detailed log (which line of SQL statement caused this exception)?
    Thanks in Advance,
    Harvinder

    The process to make an program incompatible with itself is described in MOS Doc 142944.1 (How to Make a Concurrent Program Incompatible with Itself) - you will have to bounce the concurrent managers for the setting to take effect
    HTH
    Srini

  • Data inserted twice in a table through concurrent program

    Hi All,
    I have a concurrent program that is run from two different responsibilities, CANADA and US respectively.
    Now it sometimes happens that since its being run from two different responsibilities, it is inserting data twice in a table.
    I want to know what is the best way to restrict this, setting incompatibility would be the right option, so that i make that conconcurrent program incompatible to itself or is there some better way possible.
    If setting the incompatibility is better, please let me know how do i do that.
    Regards,
    SK

    The process to make an program incompatible with itself is described in MOS Doc 142944.1 (How to Make a Concurrent Program Incompatible with Itself) - you will have to bounce the concurrent managers for the setting to take effect
    HTH
    Srini

  • Displaying Output in PREVIEW Mode, not through Concurrent program View O/p

    Hello All,
    I am very new to the XML Publisher. In my very first report, i am facing some problem. i.e
    I have built the template and loaded the sample XML File into it, able to see the output in PREVIEW Mode.
    But, when i register this to a Template and Data Definition, i am not able to see the output values, instead i could able to get only the Hard coded values in the Template.
    EX: In, ' BILL TO: ' and <?bill_to?>
    i am getting only this hard code value of 'BILL TO:' but not the value of Bill to.
    Please help me in figuring out the problem.
    Thanks inadvance,
    Aush...

    Can you please confirm which method you are using?
    Data Template
    Oracle Report for getting data?

  • I have made a prg in your fuzzylogic toloolkit but not able to give input and getting output through DAQ.

    I AM WORKING WITH LABVIEW 6.1.MY PROJECT IS "WATER LEVEL CONTROL"USING "PID"AND FUZZY CONTROLLER. MY PID CONTROLLER IS WORKIN.BUT FOR THE FUUZY CONTROLLER I AM USING YOUR "FUZZY LOGIC TOOLKIT"I HAVE MADE A PROGRAM IN IT. BUT I AM NOT ABLE TO GIVE MY INPUT THROGH DATA ACQUISTION.AND ALSO NOT ABLE TO GET THE OUTPUT(CONTROL SIGNAL).
    WHERE I CAN SEE THE ANSWER.

    Are you using NI's PID control VIs for your PID controller? Are you able to acquire any signals through your data acquisition? What I would suggest is that you try to run one of the shipping examples that comes with the Control Toolkit (perhaps the one titled, "Tank - fuzzy DAQ.vi"). Hope that helps.

  • Using fnd_request to send email of output from concurrent program

    Hello,
    In R12 how can I use one of the FND api's to send output from an FND_REQUEST to an email? Would I use FND_DELIVERY?
    I cann't seem to find documentation on this.
    I did find this:
    l_ret := fnd_request.add_delivery_option
    (type => FND_DELIVERY.TYPE_EMAIL
    ,p_argument1 => 'Quick Invoice to Workbench Transfer Details' -- Subject
    ,p_argument2 => '[email protected]' -- From
    ,p_argument3 => l_email_add -- To
    ,p_argument4 => '[email protected]'); -- CC
    But not sure how to use the above or if this would work.

    In R12 how can I use one of the FND api's to send output from an FND_REQUEST to an email? Would I use FND_DELIVERY?
    I cann't seem to find documentation on this.
    I did find this:
    l_ret := fnd_request.add_delivery_option
    (type => FND_DELIVERY.TYPE_EMAIL
    ,p_argument1 => 'Quick Invoice to Workbench Transfer Details' -- Subject
    ,p_argument2 => '[email protected]' -- From
    ,p_argument3 => l_email_add -- To
    ,p_argument4 => '[email protected]'); -- CC
    But not sure how to use the above or if this would work.Please see these links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_REQUEST+AND+Email&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Concurrent+AND+Email&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

Maybe you are looking for