FRM-41214: Unable ro run report while calling a report from a form in 9iDS
Am in the process of migrating from Developer 6i client/server to Developer 9iDS on Windows 2000.
I have read through the various postings on this issue & have made changes accordingly. I also referred to the white paper on the Forms/Reports integration.
As I am trying to do a prototype, am compiling my forms/reports on my local machine & not on the apps. server.
I installed a report server on my local machine as,
rwserver -install 9irep
I have defined this as a NT service and it is up & running & so is my OC4J instance.
I have defined a reports object in my Form Builder & set Report Server=9irep,
Destype=Cache,
Execution mode=runtime
Communication_mode=synchronous.
I also removed the /security tag from the <report server>.conf file as suggested in the white paper. Also set the single sign-on to NO for the reports service.
I have replaced my run_product with the run_report_object built-in as follows.
Declare
report_id REPORT_OBJECT;
report_status VARCHAR2(255);
rep_job_id VARCHAR2(255);
Begin
report_id := FIND_REPORT_OBJECT('KS'); --Created in form under node "Reports"
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,'C:\Kalpana\9i_Prototype\ISSMDLCUST.rdf');
rep_job_id := RUN_REPORT_OBJECT(report_id);
report_status := REPORT_OBJECT_STATUS(rep_job_id);
WHILE report_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
report_status := REPORT_OBJECT_STATUS(rep_job_id);
END LOOP;
message(report_status); pause;
IF report_status='FINISHED' THEN
Web.Show_Document('http://houwdisndgd01:8888/reports/server/getjobid='
||rep_job_id||'?server=ks');
END IF;
End;
I get an error message "FRM 41214: Unable to run report" right after the call to run_report_object.
Can someone please tell me where am going wrong with my run_report_object built-in? (I also need help writing my web.show document to point it to my local machine/folders).
Thanks
Kalpana
How I have implemented the same and works
Local OC4J is running.
I established a reports server "repserver90" as a service.
I created a report named "C:\TMP\TMP\test_report.rdf"
I created a form with a Reports object with properties:
Name: "EMP"
Filename: "C:\TMP\TMP\test_report.rdf"
Execution mode "Batch"
Communication mode "Sychronous"
Report Destination Type "Cache"
Report Destination Format "HTML"
Report Server "repserver90"
I call the report with the procedure:
PROCEDURE TEST_REPORT IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
BEGIN
repid := find_report_object('EMP');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repserver90');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no pdeptno='||:dept.deptno);
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
/*Display report in the browser*/
WEB.SHOW_DOCUMENT('http://localhost:8888/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
ELSE
message('Error when running report');
END IF;
END;
Minas
Similar Messages
-
FRM-41214: Unable to run Report geting as error
I am converting 6i reports to 11g for that i am compiling 6i report in 10g reports and copy in 11g server
in that report is calling from form i have writen query
like
DECLARE
paramlistname VARCHAR2(30) := 'PLIST1';
plid PARAMLIST;
cnt number;
report_id report_object;
BEGIN
plid := GET_PARAMETER_LIST(paramlistname);
IF NOT ID_NULL(plid) THEN
DESTROY_PARAMETER_LIST(paramlistname);
END IF;
plid := CREATE_PARAMETER_LIST(paramlistname);
ADD_PARAMETER(plid, 'paramform', TEXT_PARAMETER, 'NO');
ADD_PARAMETER(plid, 'p_division_code' , TEXT_PARAMETER, :control_007.division_code);
ADD_PARAMETER(plid, 'p_depot_code' , TEXT_PARAMETER, :control_007.depot_code);
ADD_PARAMETER(plid, 'P_VALIDITY_DATE' , TEXT_PARAMETER, to_char(:control_007.valid_date,'DD/MM/YYYY'));
ADD_PARAMETER(plid, 'MAXIMIZE', TEXT_PARAMETER, 'YES');
report_id := find_report_object('Report_NTP_Pending_QtyP');
web_reportn(report_id,plid);
DESTROY_PARAMETER_LIST(plid);
go_block('Control_007');
end;
while runging a report from form i am getting error FRM-41214 Unable to run Report
So Please Help Me how to solve this problem in 11gweb_reportn(report_id,plid);This is where you actually call the report, so the error is in that procedure. What is the code of this procedure?
Furthermore, I don't see any reference to system parameters, like destype, desname, report server name etc. Are they set in web_reportn? -
FRM-41214 unable to run report
Hi,
i'm trying in this days to migrate my software from 6i to 9i....
Particularly i had some problems when i try to launch a report from my form...
The form had migrated from Oracle 6i and it seems that it hasn't any type of problem but when i try to call a report from the web i obtain the error FRM-41214 (unable to run report)
but this report is correctly positioned in the right path and when i use a different report of a different project (compiled for the 9i) i note that the error occurs when i use one of my group obtained from my queries like source for a new repeating frame.....
Exactly until when i use one of the old groups of the old report it's all right but when i try to use a new group referred to a my new query i obtain the precedent error
(FRM-41214, unable to run report)
But i don't have any type of error when i compile...
Can anyone help me? Some one can tell me what can i do or some one can indicate me same document where i can read all the step to migrate a report??
Thanks a lot in advanceProblem resolved. Copy of document can be found
in METALINK, NOTE: 1069651.6. This will resolved the problem.
Thanks. -
FRM-41214- unable to run reports
Env:
Solaris running 6i forms and reports server patched to patch 9.
when calling report from form using run_report_object, I get
FRM-41214- unable to run report
FRM-41217- Unable to get report job status
FRM-41213- Unable to connect to report server RepsrvSMARTS
This only occurs for one of the reports. I am able to run a different report
with no problem.
TIA!Jim,
My guess is that the problem identified in bug 1731733 is the root cause. It manifests itself in various ways (see related bugs). The base bug is 1953704 and is fixed in Net80, and is available in one-off patches for various platforms, including Solaris.
regards,
Stewart -
FRM-41214 unable to run report from forms with parameters
Hi all,
I am unable to run a report from forms if I pass parameters. Report is running fine in reports builder and in url if I access the report straightly.
I used set_report_object_property to pass the parameters.
Any clues to solve this problem?
PriyaHi Jeneesh,
Code is below:
myreport1 :=find_report_object('MYREP');
reportdata := Get_Parameter_List('reportsdata');
IF NOT Id_Null(reportdata) THEN
Destroy_Parameter_List( reportdata );
END IF;
reportdata := Create_Parameter_List('reportsdata');
Add_Parameter(reportdata, 'account_number', TEXT_PARAMETER, :parameter.account_number);
/* Setting the properties into Report Object */
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_DESTYPE, CACHE);
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_DESFORMAT, 'htmlcss');
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_SERVER,vc_reportserver);
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_FILENAME, 'C:\priya\forms\EmcySummary.jsp');
SET_REPORT_OBJECT_PROPERTY(myreport1,REPORT_OTHER,'account_number='|| :parameter.account_number);
/* Value of v_rep identifies the report that is currently running either locally or on a remote report server */
vrep := RUN_REPORT_OBJECT(myreport1,reportdata);
/* Checking for Report Server is started or not, if not throw an exception else proceed */
if vrep = vrep||'_0'then
raise form_trigger_failure;
end if;
vjob_id := substr(vrep,length(vc_reportserver)+2,length(vrep));
vrep_status := REPORT_OBJECT_STATUS(vrep);
/* Checking the status of the report */
WHILE vrep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
vrep_status := report_object_status(vrep);
END LOOP;
/* When the report status is successful then report is generated in Web */
IF vrep_status = 'FINISHED' THEN
-- COPY_REPORT_OBJECT_OUTPUT(vrep,v_tempstorage);
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||vjob_id||'?server='||vc_reportserver, '_blank');
END IF;
---Any clues? -
Error while calling PI webservice from EJB
Hi Experts,
We are getting exception while calling PI webservice from EJB which is deployed in CE 7.2. Earlier we used to call the same webservice but from different PI system at that it worked fine. Now we have changed the consumer proxies required in CE and tried to call from CE and it is throwing error. We have checked usernames and passwords that we are using to call the service and that is working fine. PI team tested from their side and li is also fine. We have also restarted the CE system but invain. Can somebody help on this. The below is the trace that we got.
Location: com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding
Text: Connection IO Exception. Check nested exception for details. (Connection reset).
[EXCEPTION]
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection reset).
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.outputSOAPMessage(SOAPTransportBinding.java:419)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1364)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:990)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:944)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
at $Proxy780.mioaRDMDataDistribution(Unknown Source)
at com.MDMEventListener.callToPIWS(MDMEventListener.java:100)
at com.MDMEventListener.ListenerMethod(MDMEventListener.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_WS.invoke(Interceptors_WS.java:31)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:39)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:23)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:203)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:730)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:682)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:324)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:404)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:204)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:440)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:429)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:82)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:268)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:54)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:264)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:950)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:414)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:319)
at com.sap.engine.services.webservices.espbase.client.bindings.ClientHTTPTransport.getResponseCode(ClientHTTPTransport.java:209)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.outputSOAPMessage(SOAPTransportBinding.java:385)
... 78 more
Regards,
PradeepHi Pradeep,
this looks like if the server is not reachable. Have you checked if both server are able to communicate? Maybe firewall rules block the request.
Regards,
Tobias -
Error getting while calling a webService from XI
Hi
We are getting the follwoing error while calling a webservice from XI. We Could call the same webservice from XML spy. Have checked the SOAP adapter it was running fine and the communication channel parameters too.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Inbound Message --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code area="MESSAGE">GENERAL</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessagingException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault</SAP:AdditionalText><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack/><SAP:Retry>M</SAP:Retry></SAP:Error>
Please try to help.
Thanks
RameshHi
Thanks a lot for your kind support.
Hi Moorthy
We have created one Asyn MI and wrapped the external definition into that, Haven't done any mapping for responce. Please find the trace below.
Hi Bhavesh
It was great helpful link but the payload days is not visible for this message it was containing details about sending. For some other message i could see payload.
I Could see one differnce in the XML Spy and "XI payload before entering SOAP Adapter"
The following line doesnt appear in the XI payload.
<m:StatusUpdate xmlns:m="http://localhost/StatusUpdate" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
</m:StatusUpdate>
Is this line would be embeded in the SOAP Adapter??? Please find the trace below. Please help me if you have any additional info.
The message was successfully received by the messaging system. Profile: XI URL: Using connection AFW. Trying to put the message into the receive queue.
Message successfully put into the queue.
The message was successfully retrieved from the receive queue.
The message status set to DLNG.
Delivering to channel: CC_SOAP_Rcvr_D_Pick_ZALEAUD
SOAP: request message entering the adapter
SOAP: completed the processing
SOAP: response message received 4cb3fab0-7fc5-11db-8c5a-000f203c93e0
SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
SOAP: sending a delivery error ack ...
SOAP: sent a delivery error ack
Exception caught by adapter framework: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
Delivery of the message to the application using connection AFW failed, due to: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault.
The asynchronous message was successfully scheduled to be delivered at Wed Nov 29 16:23:51 GMT 2006.
The message status set to WAIT.
Retrying to deliver message to the application. Retry: 1
Kind Regards
Ramesh
Message was edited by:
Ramesh Reddy Pothireddy -
Exception while calling a BDC from webdynpro
Hi All,
I am getting an exception 'Exception condition "CNTL_ERROR" raised' while calling a BDC from the WD application, though i am calling the transaction in background mode. The statment which was throwing the exception was a create object statement in the function module DOC_DISPLAY_INITIALIZE. Can u please tell me, what is the reason for this?
Thanks in Advance,
Laxmikanth>
amit saini wrote:
> hi ,
> The message "CNTL_ERROR" appear when you are using some of the SAP enjoy transaction code like ME21N / ME22N / ME23N.
>
> This are bugs cause by the earlier version of the SAPGUI. It usually occurs when you are running a BDC session
> for a transaction that has 'fancy' screen elements like table controls ortabstrips. These work fine in the foreground, but not so well in the background.
>
>
> To solve it, goto OSS and apply the SAPGUI's latest front end patch to your PC.
>
> rgds,
> amit
There is a mixture of accurate information here.
This is NOT a SAPGUI problem. It can not be fixed with a newer version fo the SAPGUI. It is caused by transactions that were created with Enjoy Controls. Enjoy controls are not the table control or the tabstrip. They are controls that used ActiveX components on the desktop as part of the SAPGUI - like the ALV Grid, the Tree, the ABAP Editor, etc.
You can not use call transaction/BDC against such transactions in the background or in WDA because there is no connection to the frontend to create instances of these controls. These transactions with the enjoy controls should have appropriate BAPIs or Enterprise Services that you should call instead in order to make data updates or creations.
For instance see SAP Note 304122 that discusses this issue for transaction MIGO. -
Exception while calling BPEL process from JAVA
Hi All
I am getting this error while calling BPEL process from JAVA
first I've got javabeans exception then I changed the port to default 23791 .. now I am getting the following
Exception in thread "main" oracle.adf.mds.exception.MDSRuntimeException: Cache not initialized
at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(ATGCacheMgrDelegateImpl.java:325)
at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCacheFactoryImpl.java:44)
at oracle.apps.fnd.cp.request.CpContext.getMDSContext(CpContext.java:1084)
at oracle.apps.fnd.cp.request.Run.main(Run.java:130)
can anyone helpSorry guys for disturbing.
I deleted the file CacheDefaultConfig.properties by mistake from $JAVA_TOP
I replaced it and it worked fine
Thanks,
Baraa -
Operation not found error while calling AM methods from managed bean
Hi,
operation not found error while calling AM methods from managed bean.
written a method with two parameters in AM.
exposed the method in AM client interface
in the page bindings added the method in method action ..left empty in the value fields of the parameters.
calling the method from managed bean like below
String userNameVal = (String)userName.getValue();
String passwordVal = (String)password.getValue();
OperationBinding operationBinding =
ADFUtils.findOperation("verifyLogin");
operationBinding.getParamsMap().put("userName",userNameVal);
operationBinding.getParamsMap().put("password",passwordVal);
operationBinding.execute();
i am getting operation verifyLogin not found error.Please suggest me something to do.
Thanks
SatyaHi vlsn,
Can you try with the below code
// in your backing bean
OperationBinding operation = bindings.getOperationBinding("verifyLogin");
//Put your both parameters here
operation.getParamsMap().put("parameter_name1", parameterValue1);
operation.getParamsMap().put("parameter_name2", parameterValue2);
operation.execute();
if (operation.getResult() != null) {
Boolean result = (Boolean) operation.getResult();
and share the result.
regards,
Rajan -
SQL Exception: Invalid column index while calling stored proc from CO.java
Hello all,
I am getting a "SQL Exception: Invalid column index" error while calling stored proc from CO.java
# I am trying to call this proc from controller instead of AM
# PL/SQL Proc has 4 IN params and 1 Out param.
Code I am using is pasted below
==============================================
OAApplicationModule am = (OAApplicationModule)oapagecontext.getApplicationModule(oawebbean);
OADBTransaction txn = (OADBTransaction)am.getOADBTransaction();
OracleCallableStatement cs = null;
cs = (OracleCallableStatement)txn.createCallableStatement("begin MY_PACKAGE.SEND_EMAIL_ON_PASSWORD_CHANGE(:1, :2, :3, :4, :5); end;", 1);
try
cs.registerOutParameter(5, Types.VARCHAR, 0, 2000);
cs.setString(1, "[email protected]");
cs.setString(2, s10);
//Debug
System.out.println(s10);
cs.setString (3, "p_subject " );
cs.setString (4, "clob_html_message - WPTEST" );
outParamValue = cs.getString(1);
cs.executeQuery();
txn.commit();
catch(SQLException ex)
throw new OAException("SQL Exception: "+ex.getMessage());
=========================================
Can you help please.
Thanks,
VinodYou may refer below URL
http://oracleanil.blogspot.com/2009/04/itemqueryvoxml.html
Thanks
AJ -
Calling OAF Page from Oracle forms
Hi All,
Is it possible to call an Oracle Forms from OAF page?
I need to call a OAF page EAM material cost screen from oracle form using personalization.
Please any one put on some lights on this issue.
Thanks in Advance,
Ramesh reddy
Edited by: user642447 on May 13, 2011 4:33 AMRamesh,
yes, its possible to call oaf page from oracle forms.
This has been specified step by step in Developer Guide. Refer it for more.
Regards,
Gyan -
Calling Sql*Loader from oracle Form builder
How do i call sql* loader from my forms to import the external data in different formats into my existing database?
Specify the flexibility of sql* loader to import external data from .txt files or .xls files.
Would be thankful if certain examples are given along with the answer.Hi,
1. First you have to create seperate ctl (Control files) which maps to different file formats
2. Using Oracle Forms,
2a) You can use the 'HOST' command to execute the command line ie. In this case executing
SQL*Loader script
2b) You also have the feature in ORACLE forms to read text files and load the data into
ORACLE db.
This can be achieved by using TEXT_IO package which comes with ORACLE Forms.
Hope this helps
Ta
Shailender -
How call a jsp from oracle10g forms.
Hi,
I am using oracle10g forms.can i call a jsp from oracle10g form? if it is possible how i call a jsp?how i call back form from jsp? thanks.
Edited by: Arulselvan Dharmalingam on Apr 27, 2010 8:21 PM
Edited by: Arulselvan Dharmalingam on Apr 27, 2010 8:22 PMWhat is _blank argument?how i pass this value?Its already the correct value _blank as secong arguments open a new browser window.
where i place jsp(web page)?in the url
how i maintain form session in jsp?you cannot. What you could do, is pass the username to the jsp.
So a call to a jsp looks like this
WEB.SHOW_DOCUMENT('http://server:port/path/the_name_of_the_jsp.jsp', '_blank'); -
FRM-41214 by long running Report
Hi,
Forms/Reports 10g on OC4J:
I get a Forms error FRM-41214 by trying a long running Report after 14 min,
Iin the Reports log we find a 'end of connection..' .
Is there a config parameter of Forms to handle this worst case?
Many thanks
FriedholdHi Christian,
I am using the rp2rro-package (modified) :
SET_REPORT_OBJECT_PROPERTY(rp2rroNodeId,REPORT_DESFORMAT,rp2rroDesformat);
SET_REPORT_OBJECT_PROPERTY(rp2rroNodeId,REPORT_SERVER,rp2rroReportServer);
IF id_null (mparamlist_id) THEN
SET_REPORT_OBJECT_PROPERTY(rp2rroNodeId,REPORT_OTHER,rp2rroReportOther);
rp2rro_jobidFull:=run_report_object(rp2rroNodeId);
ELSE
rp2rro_jobidFull:=run_report_object(rp2rroNodeId,mparamlist_id);
END IF;
I am trying also the asynchron Reports mode and get the same break (on the same side 1257 from about 2500 sides) ::
[2013/7/1 0:11:59:282] Info 56013 (ConnectionManager:release): Connection 87771 is released
[2013/7/1 0:11:59:291] Info 56013 (ConnectionManager:release): Connection 87772 is released
[2013/7/1 0:11:59:306] Info 56013 (ConnectionManager:release): Connection 87773 is released
[2013/7/1 0:11:59:316] State 56016 (JobManager:updateJobStatus): Job 1643 status is: Bericht Seite 1257 wird formatiert wird ausgef??hrt
[2013/7/1 0:11:59:316] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 1643
[2013/7/1 0:11:59:317] Info 56013 (ConnectionManager:release): Connection 87774 is released
[2013/7/1 0:11:59:327] Info 56013 (ConnectionManager:release): Connection 87775 is released
[2013/7/1 0:14:6:923] Info 56013 (ConnectionManager:release): Connection 98871 is released
[2013/7/1 0:14:6:934] Exception 50125 (org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
at com.sun.corba.se.internal.iiop.IIOPConnection.purge_calls(IIOPConnection.java:438)
at com.sun.corba.se.internal.iiop.ReaderThread.run(ReaderThread.java:70)
): Interner Fehler org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
[2013/7/1 0:14:6:934] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwEng-0
[2013/7/1 0:14:6:935] Exception 50125 (org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
at oracle.reports.engine._EngineClassStub.shutdown(_EngineClassStub.java:173)
at oracle.reports.server.EngineManager.shutdownEngine(EngineManager.java:1473)
at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1033)
at oracle.reports.server.ExecAsynchJobThread.run(ExecAsynchJobThread.java:54)
): Interner Fehler org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
[2013/7/1 0:14:6:935] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Shutdown
[2013/7/1 0:14:6:935] Info 56047 (EngineManager:remove): Reports Server shut down engine rwEng-0
[2013/7/1 0:14:6:936] State 56016 (JobManager:updateJobStatus): Job 1643 status is: Mit Fehler beendet:
REP-56048: Engine rwEng-0 ausgefallen, job Id: 1643
Regards
Friedhold
Maybe you are looking for
-
I'm just getting used to iCloud. How do I merge multiple calendars listed under my iCloud?
-
I have tried all of the fixes and updates that adobe have to offer. They say that this is because of the change in QuickTIme that are causing the problem. Still looking for a fix. Please any help would be greatfully appreciated.
-
I keep getting a error message "address is not recognized be server"?
I keep getting a error message "address is not recognized be server"?
-
ITunes is only playing the first few seconds of each song
Hi, I've searched high and low and cannot seem to find a resolution to my problem. When I'm listening to many of the songs in my library, iTunes will just stop playing and move to the next song after about 10-15 seconds. If I slide the progress bar a
-
Hello there. Any tips for an affordable AVCHD camcorder for Final Cut Pro X?
Hello there. I am enthusiast for the new Final Cut Pro X. I am now starting to learn with iMovie '11 and I would like to buy a AVCHD camcorder. It should be affordable and compatible with iMovie '11 and Final Cut Pro X. Any tips? I live in Italy. Tha