Call Concurrent Program

Hi,
Could you suggest me some Logic on the below:
============================================
I wrote a Package/Procedure (Main Concurrent Program).
In this (above) procedure i have to call a Child Concurrent Program 5 times (these 5 programs should run parallely).
Ie..I will call it through FND_REQUEST.SUBMIT_REQUEST.
1st Child Conc Progm will have Parameter = 1
.Simillarly
5th Child Conc Progm will have Parameter = 5
I was thinking to have FOR LOOP 1..5 and then call FND_REQUEST.SUBMIT_REQUEST.
Not exactly sure how to call.
Could you thow some thoughts.
Database: 10g
Thanks

something
declare
v_request_id   number;
begin
  for i in 1 .. 5 loop
    v_request_id := fnd_request.submit_request(application => <short_name>,
                                               program     => <short_name_of_cp>,
                                               description => NULL,
                                               start_time  => NULL,
                                               sub_request => FALSE,
                                               argument1   => i);
    if v_request_id > 0 then
      fnd_file.put_line(fnd_file.log, 'successfully submitted');     
      commit;
    else
      fnd_file.put_line(fnd_file.log, 'not submitted');
      rollback;
    end if;
  end loop;
end;

Similar Messages

  • Calling Concurrent program from OAF-PDF Outtput not in English

    Hi ,
    I've successfully done "Calling Concurrent Program from OAF" once i clicked the button which i have in my page it generates RequestID and that shows request page,In that when i click "Output" icon the PDF file is opened.
    But in that PDF file it shows the datas in the different language.
    For example Emp name column is shown as
    ΚΙΝΓ
    ΧΛΑΡΚ
    ΣΧΟΤΤ
    ΦΟΡ∆
    ΣΜΙΤΗ
    ΑΛΛΕΝ
    Αδαµσ
    Σεντηιλςελ
    Σαραϖανα Χ
    Σεενυ
    Σαβενα
    Ηαριkindly help me...
    Regards,
    Saro

    Hi Hussein,
    Here I've shown the details of log file
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCON module: XXCON
    Current system time is 29-DEC-2010 11:37:23
    +-----------------------------*
    *| Starting concurrent program execution...*
    +-----------------------------*
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Dec 29 11:37:29 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Executing request completion options...
    ------------- 1) PRINT   -------------*
    Printing output file.
    Request ID : 5865903      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-DEC-2010 11:37:33
    Regards,
    Saro

  • OAF: Creating PDF output without calling concurrent program.

    Hi Everyone,
    i want to Create PDF output in OAF.
    I wil be having one button “Convert PDF” on my OAF page. On clicking on that button my page should generate pdf output without calling concurrent program(Because running a concurrent program may take much time sometimes.).
    How can I do that?
    I have never generated pdf outputs so plz help me to get out of this.
    What are the possible ways to get this?
    Any example?
    Any suggestions wil be really useful.
    Thanks.....

    Hi ,
    Please refer to -
    http://apps2fusion.com/at/85-daxesh/515-oa-framework-xml-publisher-integration
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    Regards,
    Ashish

  • Calling concurrent program from form giving problem

    hi
    i have designed one concurrent program
    this concurrent program in turn calls another concurrent program.
    when i run it using SRS it is running fine
    but when i am submitting from FORM it is giving following error
    ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XXPOS_MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    script in form
    declare
         l_request_id number;
         l_errbuf varchar2(30);
         l_retcode number;
    begin
    l_request_id := FND_REQUEST.SUBMIT_REQUEST('CUSTOM',     -- application
    'XXINVSIMREV',     -- program
    'Postpaid SIM Reversal after rejection',
    SYSDATE,     -- start_time (optional)
    FALSE, -- sub_request
    l_errbuf,l_retcode,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
                   IF l_request_id = 0 THEN     
                        fnd_message.set_string('Program submission for sim reversal into inventory is failure');
                        fnd_message.show;
                   else
                             fnd_message.set_string('Program submission for sim reversal into inventory is success for request id='||l_request_id);
                        fnd_message.show;
                        commit;
                   End if;
    end;

    There are so many restrictions and special circumstances for creating a custom form for Applications that you should ask this question in the Apps Forum (http://forums.oracle.com/forums/category.jspa?categoryID=3). People here might or might not have any experience with this. In the Apps Forums they definitely do.

  • Calling Concurrent Program From OAF in R12

    Hi All,
    I have called concurrent request from OAf page..When i click the submit button the page forwarded to Request page..
    In that i have three buttons only Submit Request,search,Refresh but i need, What are all the options present in Requests > Submit window (not from OAF)"Hold Request,Cancel Request,Diagnostics,View Log"..
    Also in my OAF Page if i click Submit Request-->Radio Button "New Request"--> if i clock LOV it doesn't shows any values...
    Kindly help me to resolve this issue..
    Thanks in advance for your valuable suggestion..
    Regards,
    RKO

    Hi Hussein,
    Here I've shown the details of log file
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCON module: XXCON
    Current system time is 29-DEC-2010 11:37:23
    +-----------------------------*
    *| Starting concurrent program execution...*
    +-----------------------------*
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Dec 29 11:37:29 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Executing request completion options...
    ------------- 1) PRINT   -------------*
    Printing output file.
    Request ID : 5865903      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-DEC-2010 11:37:33
    Regards,
    Saro

  • ADF: Calling concurrent program in Oracle Apps from ADF

    Hi All,
    I am using Jdev 11G...
    I have a requirement to call a concurrent program which is in Oracle E-Business from ADF page.
    i will have ADF page with one button, On click of that ADF button we need to call the concurrent program and show the output generated by the concurrent program from ADF.
    Plz help me to get out of this.
    Any answers will be really useful.
    Thanks.

    Hi Frank,
    Thanks for ur quick response.
    That is a Report and the output of the report is generated by running concurrent program.
    The output of the report is in pdf format.
    So we need to call the report from ADF and show the pdf output.
    Thanks.....

  • Exception while calling Concurrent Program

    Hi All,
    i have 2 oracle applications adapter in my BPEL and i am trying
    1. Insert data into an interface table - GL_INTERFACE.
    2. call a concurrent program GLLEZL ( journal import in general ledger) to copy data into base table.
    Currently i am using SOA Suite 11g and 12.0.6 version of the Apps (EBS).
    I want to know the following things -
    1. Previously i was using 12.1.1 version and i was able to view the interface table from the oracle application adapter wizard where as it is not visible in 12.0.6. What could be the reason for this?
    2. I could run the concurrent program in 12.1.1 but not in 12.0.6!! when am using 12.0.6 i get the following exception -
    Aug 26, 2010 5:58:20 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=> InterfaceToBaseTable:GLLEZLCall [ GLLEZLCall_ptt::GLLEZLCall(InputParameters,OutputParameters) ] Could not invoke op
    ration 'GLLEZLCall' against the 'Oracle Applications Adapter' due to:
    BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInter
    ctionSpec due to: oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec".
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    Aug 26, 2010 5:58:20 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=> [default/InterfaceToBaseTable!1.1*d665523f-90ad-4a37-9996-92118d5b72ca.GLLEZLCall]:GLLEZLCall Two-way operation GLLE
    LCall() failed
    Aug 26, 2010 5:58:20 PM oracle.tip.mediator.common.MediatorUtil logDetailsInError
    WARNING: Payload after BaseActionHander.requestMessage :{InputParameters=oracle.xml.parser.v2.XMLElement@1854079}
    Aug 26, 2010 5:58:20 PM oracle.tip.mediator.common.MediatorUtil logDetailsInError
    WARNING: Properties after BaseActionHander.requestMessage :{tracking.compositeInstanceId=30009, tracking.ecid=0000IeiNgDJAtHtawdaeMG1CTX1E
    000Mk:46106783, tracking.conversationId=1282825658975, tracking.parentComponentInstanceId=mediator:693B0110B10D11DF9F602115C830574F, MESH_M
    TRICS=null, tracking.parentReferenceId=mediator:693B0110B10D11DF9F602115C830574F:693D4B00B10D11DF9F602115C830574F:req, transport.http.remot
    Address=*.*.*.*}
    Aug 26, 2010 5:58:20 PM oracle.tip.mediator.common.MediatorUtil logDetailsInError
    WARNING: Headers after BaseActionHander.requestMessage :[]
    Aug 26, 2010 5:58:20 PM oracle.tip.mediator.serviceEngine.MediatorServiceEngine process
    SEVERE: Rolling back transaction due to ORAMED-03303:[Unexpected exception in case execution]Unexpected exception in request response opera
    ion "GLLEZLCall" on reference "GLLEZLCall". Possible Fix:Check whether the reference service is properly configured and running or look at
    xception for analysing the reason or contact oracle support.
    Aug 26, 2010 5:58:20 PM oracle.tip.mediator.serviceEngine.MediatorServiceEngine process
    SEVERE: Updating fault processing DMS metrics
    Aug 26, 2010 5:58:20 PM oracle.tip.mediator.serviceEngine.MediatorServiceEngine process
    SEVERE: Got an exception: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GLLEZLCall' failed due to: Exception occur
    d when binding was invoked.
    Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInter
    ctionSpec due to: oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec".
    The invoked JCA adapter raised a resource exception.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    oracle.tip.mediator.infra.exception.MediatorException: ORAMED-03303:[Unexpected exception in case execution]Unexpected exception in request
    response operation "GLLEZLCall" on reference "GLLEZLCall". Possible Fix:Check whether the reference service is properly configured and runn
    ng or look at exception for analysing the reason or contact oracle support.
    at oracle.tip.mediator.service.SyncRequestResponseHandler.handleFault(SyncRequestResponseHandler.java:206)
    at oracle.tip.mediator.service.SyncRequestResponseHandler.process(SyncRequestResponseHandler.java:122)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:64)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:121)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:467)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:366)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:272)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:138)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:656)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.request(MediatorServiceEngine.java:527)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
    at sun.reflect.GeneratedMethodAccessor1075.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy195.request(Unknown Source)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java
    1155)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.j
    va:767)
    at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1119)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:873)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:553)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:202)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:166)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:384)
    at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:444)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GLLEZLCall' failed due to: Exception occur
    d when binding was invoked.
    Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInter
    ctionSpec due to: oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec".
    The invoked JCA adapter raised a resource exception.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteract
    onException.java:75)
    at oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException(AdapterReference.java:287)
    at oracle.integration.platform.blocks.adapter.AdapterReference.request(AdapterReference.java:193)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
    at sun.reflect.GeneratedMethodAccessor1075.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy195.request(Unknown Source)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.request2Mesh(MediatorServiceEngine.java:832)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:202)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:94)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)
    at oracle.tip.mediator.service.SyncRequestResponseHandler.process(SyncRequestResponseHandler.java:73)
    ... 48 more
    Caused by: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GLLEZLCall' failed due to: Exception occur
    d when binding was invoked.
    Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInter
    ctionSpec due to: oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec".
    The invoked JCA adapter raised a resource exception.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:427
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:510)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeSyncJcaReference(JCAInteractionInvoker.java:48
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performSynchronousInteraction(JCAEndpointInteractio
    .java:445)
    at oracle.integration.platform.blocks.adapter.AdapterReference.request(AdapterReference.java:155)
    ... 66 more
    Caused by: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInter
    ctionSpec due to: oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec".
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.getJCAInteractionSpec(JCAInteractionInvoker.java:775
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:193
    ... 70 more
    Caused by: java.lang.ClassNotFoundException: oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.getJCAInteractionSpec(JCAInteractionInvoker.java:752
    ... 71 more
    Aug 26, 2010 5:58:20 PM oracle.j2ee.ws.server.ServerMessages severeMsgServletException
    SEVERE: An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GLLEZLCall' failed due to: Exception occur
    d when binding was invoked.
    Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInter
    ctionSpec due to: oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec".
    The invoked JCA adapter raised a resource exception.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    Any idea about these problems???
    Let me know if you need any more information.
    Thanks in advance
    - Roshan.

    Hi,
    You are passing wrong Vector class parameter in the call.
    Correct call should be of below type:
    submitRequest(java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4, boolean p5, java.util.Vector p6)
    cpArgs should be of type java.util.Vector
    Regards,
    Sandeep M.

  • Call concurrent program from forms

    hi all,
    i have a form registered in apps which needs to call reports registered as concurrent program.
    can anyone help me out as to which API to use to call the report from the WHEN-BUTTON-PRESSED trigger in forms?
    regards,
    shweta

    Hi Swetha
    Use the following procedure to call a report from a form
    fnd_request.submit_request

  • Calling Transaction Import Concurrent Program in PL/SQl program

    Hi,
    I am trying to run Transaction Import process by calling the concurrent program in my pl/sql program.I think I am passing all the right paramters which are necessary.But the actual PAXTRTRX is never being called and I am not getting any request ID back.No exception is being thrown.Following is how I am calling the concurrent program...
    p_tran_imp_request_id := fnd_request.submit_request
         ( application => 'PA'     
              , program => 'PAXTRTRX'
              , sub_request => FALSE
              , argument1 => 'My Transaction Source name here'
              , argument2 => 'My batch name here'
    ,argument3 => 'my TXN_INTERFACE_ID here'
    If I run the PRC: Transaction Import from front end...the process is run and import was completed just fine.But I am not able to call concurrent program from my program.Is there anything I am missing...Is there any thing I need to do before I call the concurrent program...
    Any help in this issue is greatly appreciated.
    Thanks

    Hi,
    Thanks for the advise. Yes I was calling the initialize function but I was passing wrong application id and responsibility id to that.Now that is taken care of.
    Thanks

  • Calling a concurrent program from CO in OAF

    Hi,
    I am trying to submit a conc. program from CO in OAF and in the controller code i am using the submitRequest method to submit the conc. progam but its giving error as method submitRequest() not found in class oracle.apps.fnd.cp.request.ConcurrentRequest, please help on this.

    Refer
    how to call concurrent program form oaf page
    http://prasanna-adf.blogspot.com/2008/11/call-concurrent-program-from-oa.html
    -Anand

  • How to notify user about concurrent Program Status from BPEL

    Hi,
      I'm calling Concurrent Program in Oracle Apps Adapter from BPEL 11g . I have to pass the mail id as one of the input parameters to concurrent program. I have to notify the status of the concurrent program to that mail id  it is Success or failure in the EBS itself.  Is there any jca file properties for this?
    Any suggestions Plz????

    Hi Ajay,
       Thanks, for ur reply.. Can u plz tell  how to pass one of the input parameter of concurrent program to that notification?

  • How to notify user about concurrent Program Status

    Hi,
      I'm calling Concurrent Program in Oracle Apps Adapter from BPEL 11g . I have to pass the mail id as one of the input parameters to concurrent program. I have to notify the status of the concurrent program to that mail id  if it is Success or failure in the EBS itself.
    Any suggestions Plz????

    Hi Ajay,
       Thanks, for ur reply.. Can u plz tell  how to pass one of the input parameter of concurrent program to that notification?

  • Selected Lov Value as Parameter to Concurrent Program in oaf

    Hi,
    iam new to OAF ,Can any one please help me how to pass selected lov value as a parameter to the Concurrent program in oaf.
    i created one lov in oaf page after selecting value in lov i want that value to be passed as parameter to concurrent program.
    Please help me how to implemet code so that Lov will pass as parameter to the concurent program in Controller.

    Check these links. You need to get the value from the LOV to a variable, add it to the vector and pass to the conc program. Below link provides the details on concurrent program submission.
    http://prasanna-adf.blogspot.com/2008/11/call-concurrent-program-from-oa.html
    For fetching LOV values, check the Dev Guide
    Thanks
    Shree

  • Call to concurrent program in a pl/sql block does not COMMIT data to table

    I have the following PL/SQL block.
                             apps.create_po(x_org_id,x_document_num,x_agent_name,x_vendor_id,x_vendor_site_id,x_ship_to_location,x_bill_to_location,x_creation_date,new_isbn,new_print_key,new_unit_setup_cost,new_unit_run_cost,x_item,x_category_id,x_item_description,x_unit_of_measure,x_quantity,x_unit_price,x_ship_to_org_id,x_promise_date,x_qty_rcv_tolerance, x_deliver_to_location,x_destination_org_id, x_destination_subinventory,x_segment2,x_segment4);
                                  COMMIT;
    FND_GLOBAL.APPS_INITIALIZE(v_user_id,v_resp_id,201);
    v_po_req_id := apps.fnd_request.submit_request('PO','POXPOPDOI',NULL,NULL,NULL,
                                  NULL,'STANDARD',NULL,'Y',NULL,'APPROVED',NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
                                  DBMS_OUTPUT.PUT_LINE('Request ID is:' || v_po_req_id);
                                  IF v_po_req_id <> 0 THEN
                                       dbms_lock.sleep(60);
                                       dbms_output.Put_line('Sleep executed');
                                       COMMIT;
                                       select PHASE_CODE,STATUS_CODE INTO v_phase_code,v_status_code
                                       FROM FND_CONCURRENT_REQUESTS
                                       WHERE REQUEST_ID = v_po_req_id;
                                       dbms_output.put_line('After commit Phase and status codes are = '||v_phase_code || v_status_code);
                                  ELSE
                                       ROLLBACK;
                                  END IF;
                                  dbms_output.put_line('New Po is' || x_document_num);
                                  dbms_output.put_line('Quantity Is'|| x_quantity);
                                  apps.receive_po(x_document_num,x_quantity);
                                  v_rcv_req_id := apps.fnd_request.submit_request('PO','RVCTP',NULL,NULL,NULL,
                                  'BATCH',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
                                  NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
                                  DBMS_OUTPUT.PUT_LINE('Request ID is:' || v_rcv_req_id);
                                  IF v_rcv_req_id <> 0 THEN
                                       COMMIT;
                                       DBMS_OUTPUT.PUT_LINE('COMMITED RECEIVING');
                                  ELSE
                                       ROLLBACK;
                                  END IF;
    Presently when this block runs, i can see the new PO number created. Commit is also successfully executed. The last output for the program is
    New Po is 20651
    Quantity Is 450
    But due to some reason, the receiving program(receive_po) cannot retrieve the same PO from the base table.
    But once this pl/sql block is complete, and i call the receving procedure from a different session, the Po is retrieved and receiving against the PO is executed successfully.
    Can someone please suggest a work around ? Is the code missing something ? Since POXPOPDOI is a concurrent program which is executed as an asyncronous process, the commit statement after the call to concurent program does not work but the commit is executed only after it exits the pl/sql block.

    Thanks for responding.
    receive_po() program just inserts the data into RCV_HEADERS_INTERFACE and RCV_TRANSACTIONS_INTERFACE tables based on the PO that is created in the previous step. So basically the new PO created has to be received and the receive_po() just inserts data into the interface tables so that RVCTP can be called after that for receiving.
    Here is the code for the procedure.
    SET SERVEROUTPUT ON;
    --FND_GLOBAL.APPS_INITIALIZE(3,20707,201);
    --Procedure for receiving interface to load data to RCV_HEADERS_INTERFACE and RCV_TRANSACTIONS_INTERFACE
    CREATE OR REPLACE PROCEDURE receive_po (x_ponum IN VARCHAR2,x_quantity IN NUMBER) AS
    v_vendor_site_id NUMBER;
    v_vendor_id NUMBER;
    v_agent_id NUMBER;
    v_ship_to_organization_id NUMBER;
    v_item_id NUMBER;
    v_uom_code varchar2(25);
    v_subinventory varchar2(25);
    v_ship_to_location_id NUMBER;
    BEGIN
    --header information in variables
    dbms_output.put_line('Entering Receiving Insert Procedure');
    dbms_output.put_line('Po number ='||x_ponum||'$');
    dbms_output.put_line('Quantity is ='||x_quantity||'$');
    select pvsa.vendor_site_id into v_vendor_site_id
    FROM po_headers_all pha,po_vendors pv, po_vendor_sites_all pvsa
    where pha.vendor_id = pv.vendor_id
    and pv.vendor_id = pvsa.vendor_id
    and pha.segment1 = x_ponum;
    dbms_output.put_line('Vendor Site ID is' ||v_vendor_site_id);
    select pv.vendor_id into v_vendor_id
    FROM po_headers_all pha,po_vendors pv, po_vendor_sites_all pvsa
    where pha.vendor_id = pv.vendor_id
    and pv.vendor_id = pvsa.vendor_id
    and pha.segment1 = x_ponum;
    dbms_output.put_line('Vendor ID is' ||v_vendor_id);
    select plla.SHIP_TO_ORGANIZATION_ID into v_ship_to_organization_id
    from PO_HEADERS_ALL pha, PO_LINE_LOCATIONS_ALL plla
    where pha.PO_HEADER_ID = plla.PO_HEADER_ID
    and pha.segment1 = x_ponum;
    dbms_output.put_line('Ship to org is' ||v_ship_to_organization_id);
    select agent_id into v_agent_id
    FROM po_headers_all
    WHERE segment1 = x_ponum;
    dbms_output.put_line('Agent ID is' ||v_agent_id);
    --printing header table information
    dbms_output.put_line('vendor id is:'||v_vendor_id);
    dbms_output.put_line('vendor site id is:'||v_vendor_site_id);
    dbms_output.put_line('agent id is:'||v_agent_id);
    dbms_output.put_line('ship to organization id is:'||v_ship_to_organization_id);
    --line information in variables
    --derive item id
    select pla.item_id into v_item_id
    from po_headers_all pha, po_lines_all pla
    where pha.po_header_id = pla.po_header_id
    and pha.org_id = pla.org_id
    and pha.segment1 = x_ponum;
    --derive uom
    select pla.unit_meas_lookup_code into v_uom_code
    from po_headers_all pha, po_lines_all pla
    where pla.po_header_id = pha.po_header_id
    and pla.org_id = pha.org_id
    and pha.segment1 = x_ponum;
    --derive subinventory
    select pda.destination_subinventory into v_subinventory
    from po_headers_all pha, po_lines_all pla,po_distributions_all pda
    where pha.po_header_id = pla.po_header_id
    and pla.po_header_id = pda.po_header_id
    and pla.po_line_id = pda.po_line_id
    and pha.org_id = pla.org_id
    and pla.org_id = pda.org_id
    and pha.segment1 = x_ponum;
    --derive ship to location id
    select ship_to_location_id into v_ship_to_location_id
    from po_headers_all
    where segment1 = x_ponum;
    --printing transaction table details
    dbms_output.put_line('item id is:'||v_item_id);
    dbms_output.put_line('UOM is:'||v_uom_code);
    dbms_output.put_line('subinventory is:'||v_subinventory);
    dbms_output.put_line('ship to location id is:'||v_ship_to_location_id);
    --insert data into the receiving interface header table
    INSERT INTO RCV_HEADERS_INTERFACE
    HEADER_INTERFACE_ID          ,
    GROUP_ID               ,
    PROCESSING_STATUS_CODE      ,
    RECEIPT_SOURCE_CODE          ,
    TRANSACTION_TYPE          ,
    LAST_UPDATE_DATE          ,
    LAST_UPDATED_BY          ,
    LAST_UPDATE_LOGIN,
    CREATION_DATE               ,
    CREATED_BY               ,
    VENDOR_ID               ,
    VENDOR_SITE_ID               ,
    SHIP_TO_ORGANIZATION_ID ,
    EXPECTED_RECEIPT_DATE          ,
    EMPLOYEE_ID               ,
    VALIDATION_FLAG          
    SELECT
    RCV_HEADERS_INTERFACE_S.NEXTVAL,
    RCV_INTERFACE_GROUPS_S.NEXTVAL,
    'PENDING',
    'VENDOR',
    'NEW', -- 'CANCEL',
    sysdate,
    3,
    3,
    sysdate,
    3,
    v_vendor_id,
    v_vendor_site_id,
    v_ship_to_organization_id,
    sysdate+5,
    v_agent_id,
    'Y'
    FROM DUAL;
    commit;
    --insert data into the interface transaction table
    for i in 1..1 loop
    INSERT INTO RCV_TRANSACTIONS_INTERFACE
    (INTERFACE_TRANSACTION_ID     ,
    HEADER_INTERFACE_ID     ,
    GROUP_ID               ,
    LAST_UPDATE_DATE          ,
    LAST_UPDATED_BY          ,
    CREATION_DATE               ,
    CREATED_BY               ,
    LAST_UPDATE_LOGIN,
    TRANSACTION_TYPE          ,
    TRANSACTION_DATE          ,
    PROCESSING_STATUS_CODE      ,
    PROCESSING_MODE_CODE          ,
    TRANSACTION_STATUS_CODE     ,
    QUANTITY               ,
    UNIT_OF_MEASURE          ,
    ITEM_ID ,
    AUTO_TRANSACT_CODE          ,
    RECEIPT_SOURCE_CODE          ,
    SOURCE_DOCUMENT_CODE          ,
    SUBINVENTORY               ,
    DOCUMENT_NUM               ,
    SHIP_TO_LOCATION_ID           ,
    VALIDATION_FLAG
    SELECT
    RCV_TRANSACTIONS_INTERFACE_S.NEXTVAL,
    RCV_HEADERS_INTERFACE_S.CURRVAL,
    RCV_INTERFACE_GROUPS_S.CURRVAL,
    SYSDATE,
    3,
    SYSDATE,
    3,
    3,
    'RECEIVE', --'RECEIVE', -- 'SHIP', --'06-JAN-1998',--question here
    sysdate,
    'PENDING',
    'BATCH',
    'PENDING',
    x_quantity,
    v_uom_code,
    v_item_id,
    'DELIVER', -- 'RECEIVE', --'DELIVER',
    'VENDOR',
    'PO',
    v_subinventory,
    x_ponum,
    v_ship_to_location_id,
    'Y'
    FROM DUAL;
    end loop;
    commit;
    END receive_po;
    I am really stuck and looking out for work arond. Please help.
    Thanks,
    Natasha

  • How to call a concurrent program from a Custom JSP page.

    Hi,
    I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
    and added the JSP Page to the OA_HTML top.
    Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
    ConcurrentRequest cr= new ConcurrentRequest(con);
    int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
    I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
    I tried the below code in my JSP page and getting -1 for all test variables :-
    int userId = wctx.getUserId();
    int respApplId = wctx.getRespApplId();
    int respId = wctx.getRespId();
    I think i need to set the context in JSP page to run the program..
    Pls help ....
    Regards
    Saurabh Jaiswal

    Hi,
    Thanks for the reply,,,
    This is a possible solution but this will allow to run the program anyhow.
    But the procedure which i call thru callable statement will start with
    fnd_global.apps_initialize (3825, 50603, 704);
    fnd_request.submit_request API call.
    Now, the values of user and Responsibilty is required in the program and it changes.
    With this approach we have to hardcode the user and resp.
    The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
    Need to capture user Id and RespId.
    How can i set the apps Context in JSP page???
    Regards
    Saurabh Jaiswal

Maybe you are looking for

  • Mac-to-Mac Internet Printing

    I'm trying to do something that should be very, very simple: set up my Powerbook to print to my home printer (a USB HP DeskJet 840C hooked to an iMac. Both computers are running OS X 10.3.9 Panther) while I'm on the road. This should be exceptionally

  • Where are the "backups"-files listed in the disk utility program come from?

    Hi community, I recently tried to "tidy up" my macbook air and wondered why there is so much HD-space occupied by "backups". My disk utility program shows almost 15 GB of "backups", although I use a USB-HD for time machine backup (which works fine).

  • Adding a page

    I am trying to add another page to one of my files so I can print it all out at once instead of one at a time and I can not figure it out...please help

  • Changing data types in database

    Hi, We are using Oracle 10g database. We changed the data type from DateTime to DateTimestamp. There are a whole bunch of joins defined in Discoverer's EUL. is there a work around this as all the reports written is not working because of this change?

  • Id and name attributes on xsd elements

    id, and name attributes on elements do not have a defined length, correct? We are shredding an xml document into storage, currently we assign 255 characters for the field that will persist the values, since the id/name fields can be longer than this