CX_SY_MESSAGE_IN_PLUGIN_MODE Exception
Hello. I am getting an BSP error and can anybody tell me what I am doing wrong?
Below is detailed error I am getting on the web application:
"SAP Note:
The following error text was processed in the system: Message E DBMAN 882 cannot be processed in plugin mode HTTP
Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE".
After debugging, I get "illegal Input" exception message for nested call of RSDRI_INFOPROV_READ.
Inside the code, I call up the Function Module to use RSDRI_INFOPROV_READ program to read data from the infocube. Weirdest thing is it worked for over a month and now I get this error. I am not sure if this is the reason for error but I noticed this error started happening after the APO request was closed and a new APO request was created.
Any help would be greatly appreciated and rewarded.
Thanks! ~ Cory
Edited by: Cory Fite on Jan 24, 2008 7:41 PM
This problem "Cannot do nested call of RSDRI_INFOPROV" has been resolved by using class CL_RSDRI_INFOPROV instead calling the function module RSDRI_INFOPROV.
Similar Messages
-
CX_SY_MESSAGE_IN_PLUGIN_MODE
Hello experts,
I am writing some application for win CE devices in .net. It should communicate with SAP through BSP (I have no rights to configure wdsl). There is one page in BSP Application, with the parameter XML. In the event OnRequest I call FM L_TO_CONFIRM. From time to time it raises exception CX_SY_MESSAGE_IN_PLUGIN_MODE. I catch this exception in the try catch block to figure out what's wrong. I then pass some response outside the try endtry block to the parameter XML, but then after exiting the method of the OnRequest event it runs empty method if_abap_runtime~get_runtime by kernel module ab_kmGetRuntimeHR and the parameter XML is send to the device empty. I'd like to send the error message back.
Please help.
Thanks in advance.
The code is something like that:
try.
call function 'L_TO_CONFIRM'
exporting i_lgnum = lgnum
i_tanum = tanum
i_qname = uname
tables t_ltap_conf = tltap
exceptions ....
catch cx_sy_message_in_plugin_mode into oref.
clear message.
select single text from t100
into (message)
where sprsl = sy-langu
and arbgb = oref->msgid
and msgnr = oref->msgno.
if sy-subrc <> 0.
message = 'Unknown error'.
endif.
endtry.
if not message is initial.
concatenate '<resp><state code="err" num="500">' message '</state>' body '</resp>' into xml.
exit.
endif.
if sy-subrc <> 0.
The layout is:
<%@page language="abap"%>
<?xml version="1.0"?>
<%=xml%>It seems that the problem was caused by the & character in the message. After replacing it by oref->msgvx it started to work.
-
Hello experts,
I don't understand this problem. I created a web service on BAPI_PO_CREATE1. With Tool soapUI it's possible to test this web service and I filled all necessary input parameter and rum this service. But an error occured:
"Message E F5 275 kann im Pluginmodus HTTPS nicht verarbeitet werden".
CX_SY_MESSAGE_IN_PLUGIN_MODE:Ausnahme CX_SOAP_ROOT aufgetreten (Programm: CL_SOAP_RUNTIME_ROOT==========CP, Include CL_SOAP_RUNTIME_ROOT==========CM004, Zeile: 109)..Message E F5 275 kann im Pluginmodus HTTPS nicht verarbeitet werden</faultstring><detail><ns:SystemFault
Via SE37 I filled the same input parameter and it works fine.
What's wrong in my web service or where I can find further informations ?
thanks
HolgerHi Holger,
I don't there's anything wrong with your web service because you're using a standard SAP BAPI.
The problem is more than likely data related & is the exception handling of the BAPI needs a lot of work, a lot of the times it doesn't cater for web service communication. I'll explain. I've had similar painful experiences. Sometimes if you send through a web servie request & something is slightly wrong with the input data, the provider/ backend is configured to pop-up a window. Web service communication naturally can't handle this.
The only way around this is to do some debugging in the standard BAPI when the web service request comes in until the error is triggered & try & work out what it's expecting you to do different.
The other option would be, by process of elimination, to completely remove all optional tags tags from the SoapUI request so that there isn't any funnies there. Also, maybe clean up all unused data elements attributes. Sometimes when you populate an optional data element, some of the attributes of that element are mandatory & you might not be populating those, that could trigger this error. Just send through the absolute minimum data in the request, no additional elements / tags / attributes.
Lastly, it may help but there's no guarantee, setup an ICF trace in TCode SICF for the user that you're using in SoapUI & see if that yields any helpful results.
Best Regards, Trevor -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Hi,
We are getting below errors in /nwa/logs. We have our PI (7.11) and Service Registry configured on the same server. And have out CE (7.2) system connected to this service registry. Does any one has similar experience? Please let me know if you have any solution for the same.
SR Log Error
| 11-Nov-11 14:10:45.568
| Method : getClassificationSystems()
| Class : com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean
| ThreadID : 146
| Message : com.sap.esi.uddi.sr.api.exceptions.SRException: No classification system found for ID 'QName: Namespace= http://uddi.sap.com/classification; Name= ConfigurationFlags'
|
| com.sap.esi.uddi.sr.impl.common.Utility.cs2srException(Utility.java:122)
| com.sap.esi.uddi.sr.impl.ejb.ServicesRegistryBean.getClassificationSystems(ServicesRegistryBean.java:242)
| sun.reflect.GeneratedMethodAccessor1325.invoke(Unknown Source)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:585)
| com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
| com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
| $Proxy1087.getClassificationSystems(Unknown Source)
| com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean.getClassificationSystems(ServicesRegistrySiImplBean.java:456)
| sun.reflect.GeneratedMethodAccessor1324.invoke(Unknown Source)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:585)
| com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_WS.invoke(Interceptors_WS.java:31)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
| com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:203)
| com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:512)
| com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:486)
| com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:256)
| com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:176)
| com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:112)
| com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:70)
| SoapServlet.doPost(SoapServlet.java:51)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
| com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
| com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
| com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
| com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
| com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
| com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
| com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:245)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
| com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
| com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
| com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
| com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
| com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
| com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
| com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
| com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
| com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
| com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
| com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
|Hi,
Refer Error:Service Registyr Configuration PI 7.11
and http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8071b1b8-3c5c-2e10-e7af-8cadbc49d711?QuickLink=index&overridelayout=true
Thanks,
Chandra -
I have an itunes account and an ipod, and when I purchased 2 albums on the computer they synced straight to the ipod. I bought an iphone and used the usb cord from the computer to it to sync the itunes albums to the new phone. Everything transfered, and those were albums I had uploaded (not purchased from the itunes store), except the two albmus I just purchased from the itunes store. They appear on my itunes on the computer and ipod, but not on the iphone. What did I fail to do or did I do incorrectly?
This might sound weird, but here's an idea which worked for me re music that was newly added to itunes and showed up in my ipod but wouldn't play - I simply played the tracks in itunes first, just a second of time or so will do it, not the whole track, then connect the ipod and sync again and this time they played - hope this helps.
-
Get Attribute values from a page and procedure exception handling?
Hi All,
I have created new page with two input attributes not based on any VO. This page is created to capture two values and pass these to an AM method upon pressing OK button. The method in AM will call a procedure with two in parameter expecting the two values captured from the above said page.
I have two questions, first one how to capture the values entered by the page in the controller class and advises me how to handle exceptions when my procedure fails.
I can not use something like this since this page is not based on a VO
String fromName = (String)vo.getCurrentRow().getAttribute("FromName");
Do I have to create a dummy VO like select '' name1, '' name2 from dual?
Thanks for the help.Hi,
Actually you can capture the parameters on the page like this way
String test = (String)pageContext.getParameter("id of the text input bean");
Now in procedure you can take an out parameter which stores the error messages on exception
and return that out parameter in java.
and then you can throw exception on page using OAException class.
Thanks
Gaurav Sharma -
Get the values from Exception class
Hi all ..
In class i have raised one exception
when i catch this exception in my program i m able to get the
error message but i need to get all the parameters that i pass
when i raise the exception ...
i have raised like this
RAISE EXCEPTION TYPE cx_bapi_error
EXPORTING
textid = cx_bapi_error=>cx_bo_error
class_name = 'ZHS_'
log_no = wa_bapi_return-log_no
log_msg_no = wa_bapi_return-log_msg_no
t100_msgid = wa_bapi_return-id
t100_msgno = wa_bapi_return-number
t100_msgv1 = wa_bapi_return-message_v1
t100_msgv2 = wa_bapi_return-message_v2
t100_msgv3 = wa_bapi_return-message_v3
t100_msgv4 = wa_bapi_return-message_v4
STATUS = lt_status
and caught the exception like this in my program
CATCH cx_bapi_error INTO go_error.
gd_text = go_error->get_text( ).
EXIT.
ENDTRY.
in this i m just getting the class name which i have passed in exception
i need all other parameters that i have passed ..
if u have any idea pls let me know ..
Thanks in advance ...Hello Jayakumar
Usually the attributes of standard exception classes are defines as <b>public</b> and <b>read-only</b>. Thus, you should be able to use the following coding:
DATA:
go_error TYPE REF TO cx_bapi_error. " specific exception class !!!
TRY.
RAISE EXCEPTION TYPE cx_bapi_error
EXPORTING
textid = cx_bapi_error=>cx_bo_error
class_name = 'ZHS_'
log_no = wa_bapi_return-log_no
log_msg_no = wa_bapi_return-log_msg_no
t100_msgid = wa_bapi_return-id
t100_msgno = wa_bapi_return-number
t100_msgv1 = wa_bapi_return-message_v1
t100_msgv2 = wa_bapi_return-message_v2
t100_msgv3 = wa_bapi_return-message_v3
t100_msgv4 = wa_bapi_return-message_v4
STATUS = lt_status.
CATCH cx_bapi_error INTO go_error.
gd_text = go_error->get_text( ).
WRITE: go_error->t100_msgid, " perhaps the attributes have different name
go_error->t100_msgno, " check attribute names in SE24
EXIT.
ENDTRY.
Regards
Uwe -
Trying to delete file from trash but get this: The operation can’t be completed because the item “File name” is in use. All other files delete except this one. Please help
Maybe some help here:
http://osxdaily.com/2012/07/19/force-empty-trash-in-mac-os-x-when-file-is-locked -or-in-use// -
hello I'm experiencing some problems with my iMessage and face time. I did with Apple provided me online. I did the steps. Nothing will work, it keeps saying activation turn on Wi-Fi when my Wi-Fi is turned on. As soon as I got this on Christmas. iMessage and FaceTime have not been working. My Apple and ID password are correct. Everything else is working fine. My iOS updates are up to date, everything is fine except FaceTime and iMessage
Did you try everything here?
iOS: Troubleshooting Messages
Using FaceTime and iMessage behind a firewall
iOS: Troubleshooting FaceTime and iMessage activation
FaceTime, Game Center, Messages: Troubleshooting sign in issues
In the future saying your tried the Apple on-line articles does provide us with information as to which ones you found and tried -
Dunning - ST22- Exception in GET_DUNNING_CUSTOMIZING FM.
Hi Experts,
Issue is,
When the user ran the Dunning report on July 16th, (selection criteria is--> July 16th & From customer 1 TO customer 999999999), bcoz of some thing, at CUST_444, the Exception was raised (say, for customers CUST_111, CUST_222, CUST_333, its successful), saying that...ABAP/4 processor: RAISE_EXCEPTION and it stopped there/job cancelled!
So, now, again when the user wants to(subsequent running of dunning report) run the report for customer 1 to 999999999, SAP is blocking CUST_111, CUST_222, CUST_333 reports and saying already printed on July 16th!
ST22- Exception in GET_DUNNING_CUSTOMIZING FM.
So, How to fix it? I guess, we hv to delete the July 16th history report, If so, How to delete it?
thanq.
Message was edited by:
SrikharHi Sheshu,
If u get chance, pls. culd u respond to my other thread, title is,
<i><b>SM 30 -
AUTHORITY-CHECK OBJECT 'XXX' ??</b></i>
search criteria: authority-check object
area: abap general-abap development
time: 7 days.
Pls. clarify my doubts, sent to Roman!
I copied and paste the same code to my requiremetn, after declaring necessory data part, but not working!
if u did not find the thread , pls. let me know!
thanq. -
Hi all,
To quote JLS in verbatim ..."Java floating-point
operators produce no exceptions (�11). An operation
that overflows produces a signed infinity, an
operation that underflows produces a signed zero, and
an operation that has no mathematically definite
result produces NaN."
But I am facing a problem here. The highest value
that can be held by a Double variable is
1.79769313486231570e+308. Any operation resulting in
an overflow of this variable should produce 'infinity'
accodring to the JLS but I am getting a
"EXCEPTION_FLT_OVERFLOW". Does this have something to
do with the OS or the processor?
Here's a simple test program:
public class FloatingPointInexactRulesTest {
public static void main(String[] args) {
// An example of overflow:
double d = 1.79769313486231570e+308;
System.out.print("overflow produces infinity: ");
System.out.println(d + "*1.1==" + d*1.1);
The program's output should have been:
overflow produces infinity: 1.0e+308*1.1==Infinity
but I get a EXCEPTION_FLT_OVERFLOW! Since the JVM cant
violate the semantics of the JLS I think the problem
lies somewhere else(either the OS or the processor). I
am using WIndows2000 as the OS and Intel PIV as the
processor.
Please help me...
--------------EXCEPTION!---------------------
Unexpected Signal : EXCEPTION_FLT_OVERFLOW
(0xc0000091) occurred at PC=0xEFA6C3
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol
for the error
just occurred. Please refer to release
documentation for possible
reason and solutions.
Current Java thread:
Dynamic libraries:
0x00400000 - 0x00407000
C:\j2sdk1.4.2_04\bin\java.exe
0x77F80000 - 0x77FFD000
C:\WINNT\system32\ntdll.dll
0x7C2D0000 - 0x7C332000
C:\WINNT\system32\ADVAPI32.dll
0x7C570000 - 0x7C628000
C:\WINNT\system32\KERNEL32.DLL
0x77D30000 - 0x77D9E000
C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78045000
C:\WINNT\system32\MSVCRT.dll
0x00250000 - 0x002C3000
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\uga1.tmp
0x71710000 - 0x71794000
C:\WINNT\system32\COMCTL32.DLL
0x77F40000 - 0x77F7E000
C:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E75000
C:\WINNT\system32\USER32.DLL
0x76620000 - 0x76630000
C:\WINNT\system32\MPR.DLL
0x77A50000 - 0x77B3C000
C:\WINNT\system32\OLE32.DLL
0x779B0000 - 0x77A4B000
C:\WINNT\system32\OLEAUT32.DLL
0x75050000 - 0x75058000
C:\WINNT\system32\WSOCK32.DLL
0x75030000 - 0x75044000
C:\WINNT\system32\WS2_32.DLL
0x75020000 - 0x75028000
C:\WINNT\system32\WS2HELP.DLL
0x08000000 - 0x08138000
C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll
0x77570000 - 0x775A0000
C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000
C:\j2sdk1.4.2_04\jre\bin\hpi.dll
0x00CE0000 - 0x00CEE000
C:\j2sdk1.4.2_04\jre\bin\verify.dll
0x00CF0000 - 0x00D09000
C:\j2sdk1.4.2_04\jre\bin\java.dll
0x00D10000 - 0x00D1D000
C:\j2sdk1.4.2_04\jre\bin\zip.dll
0x77920000 - 0x77943000
C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000
C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000
C:\WINNT\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 197K
[0x10010000, 0x100b0000, 0x104f0000)
eden
Another exception has been detected while we were
handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC = 0x00efa6c3
SIGNAL = -1073741679
FUNCTION NAME = (N/A)
OFFSET = 0xFFFFFFFF
LIBRARY NAME = (N/A)
Please check ERROR REPORT FILE for further
information, if there is any.
Good bye.
--------------EXCEPTION!---------------------
Thanks a lot.Yeah switching to Linux is a good idea. The firsttime I tried that,
GRUB crashed and I screwed everything else tryingto copy the
bootloader. Before this I had problems accessingthe file system on
Windows via LAN, Samba server is not really theeasiest to use.
Before that I had display problems with wierdmessages like sync out
of range, Init respawning too fast so disabling.......I guess this is just
the tip of an iceberg when it comes to problemswith Linux. It is
sometimes really frustrating.Really? The only problems I recognise are the
automatic chip set
detection for the graphics card. I always let it boot
in 'mode 3', figure
out the exact chip set present in the computer and
only then switch
to 'mode 5' ...Yeah I had all these problems with RH Linux within a span of 2 months.
I solved most of them though(Google is my best friend ;). The problem with the display was coz of horizontal and vertical sync values.
btw, Samba has a nice webbrowser interface; I simply
follow the docs
step by step (I know next to nothing about Samba) and
I'm in business
after typing in all the required stuff ...I had problems with Samba bcoz of the firewall settings and the firewall interface was not comin on properly on the display.
And now there are viruses for Linux too!Never do anything online when logged in as root and
keep your FS
permissions sensible.Yeah. I dont log in to root untill it is really really needed.
An offtopic question (hope no one minds) Is there any book for Linux which is on the same lines of "The Design of the Unix Operating System" by Maurice.J.Bach?. If yes, then pls pls lemme know. I am a big Fan of "The Design of the Unix Operating System".
kind regards,
JosThanks and regards. -
I'm encountering this error and not sure how to fix, I'm quite new to vCenter so please bear with me.
I'm trying out vCenter 5.1 with Update Manager 5.1 right now. No license key has been entered and I still have 50 odd days to try it out.
2 ESXi hosts are being managed by this vCenter, and they're both running ESXi 4.0
I'm looking to use Update Manager to try to upgrade the ESXi 4.0 hosts to ESXi 5.1
I downloaded the image file VMware-VIMSetup-all-5.1.0-799735.iso from VMWare website, and is looking to import it using the Update Manager so I can update the ESXi hosts, but I keep on getting the error:
File name: VMware-VIMSetup-all-5.1.0-799735.iso
Failed to transfer data
Error was: A web exception has occurred during file upload
I tried importing it by using vSphere client to connect to vCenter server both remotely and locally, with firewall disabled.
I've read http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026602
I've disabled firewall, and there is no anti-virus program on the server. I've also restarted the machine several times, to no avail, I didn't reinstall update manager because the whole Windows and VCenter installations are clean from scratch.
I logged into the vSphere Client using Active Directory credentials, and I've made all Domain Admins (which my account is a member of) part of the administrator group on the vCenter server. I can't log in using admin@System-Domain because it tells me I don't have permissions for it, I still haven't really had the chance to figure out why that is and not sure if that makes a difference.
Also, I'm fairly certain I'm using the right image file, as I've burned some DVD's used that image file to upgrade some other ESXi hosts. Unless there's a special image file I need to download?
I'm at lost on what I can do to make it work. Please advise.
Thanks.The ISO file you mentioned is the one for vCenter Server. What you need is the "VMware-VMvisor-Installer-5.1.0-799733.x86_64.iso" (or VMware-VMvisor-Installer-201210001-838463.x86_64.iso) for the ESXi host.
André -
Exception-Error when excecuting JSP-File in Crystal reports for Eclipse
Hi,
I have created a jsp-File from an rpt-File in Crystal report for Eclipse. When I start the jsp-File on Apache Tomact 5.5 then only errors occurs.
Coud anyone help me?
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 6 in the generated java file
Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package
An error occurred at line: 7 in the generated java file
Only a type can be imported. com.crystaldecisions.reports.sdk.ReportClientDocument resolves to a package
An error occurred at line: 8 in the generated java file
Only a type can be imported. com.crystaldecisions.sdk.occa.report.application.OpenReportOptions resolves to a package
An error occurred at line: 9 in the generated java file
Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package
An error occurred at line: 10 in the generated java file
Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package
An error occurred at line: 13 in the jsp file: /Bericht1-viewer.jsp
ReportClientDocument cannot be resolved to a type
10: try catch (ReportSDKExceptionBase e)
60:
An error occurred at line: 58 in the jsp file: /Bericht1-viewer.jsp
e cannot be resolved
55:
56:
57: } catch (ReportSDKExceptionBase e)
60:
61: %>
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
Apache Tomcat/5.5.26
Bericht1.jsp:
<%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
com.crystaldecisions.reports.sdk.ReportClientDocument,
com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%><%
// This sample code calls methods from the JRCHelperSample class, which
// contains examples of how to use the BusinessObjects APIs. You are free to
// modify and distribute the source code contained in the JRCHelperSample class.
try {
String reportName = "Bericht1.rpt";
ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
if (clientDoc == null) {
// Report can be opened from the relative location specified in the CRConfig.xml, or the report location
// tag can be removed to open the reports as Java resources or using an absolute path
// (absolute path not recommended for Web applications).
clientDoc = new ReportClientDocument();
// Open report
clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
// Store the report document in session
session.setAttribute(reportName, clientDoc);
// ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
// Create the CrystalReportViewer object
CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
// set the reportsource property of the viewer
IReportSource reportSource = clientDoc.getReportSource();
crystalReportPageViewer.setReportSource(reportSource);
// set viewer attributes
crystalReportPageViewer.setOwnPage(true);
crystalReportPageViewer.setOwnForm(true);
// Apply the viewer preference attributes
// Process the report
crystalReportPageViewer.processHttpRequest(request, response, application, null);
// ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
} catch (ReportSDKExceptionBase e) {
out.println(e);
%>
Thanks
ArnoldAccording to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using. -
Function module JOB_CLOSE throwing exception
Hello,
We have a batch job which has 2 steps:
1) Step 1 uses job_open, job_submit and job_close and immediately schedules batch job A/P_ACCOUNTS which in turn creates batch input sessions A/P_ACCOUNTS.
2) Step 2 Processes A/P_ACCOUNTS sessions created yesterday or today.
In few cases, job_close is throwing exception job_close_failed. I believe that error is coming due to non availability of work processes. Job A/P_Accounts is defined as a class C batch job. There is a check in the FM job_close which does the following check:
- if the class of a batch job is B or C, it calculates the number of free work processes. If there are no work processes available then JOB_CLOSE throws JOB_CLOSE_FAILED exception.
- If the class is u2018Au2019, it skips this check.
We have an option of changing the class of batch job to A but there are some system critical jobs that are running as class A.
My question is:
In the code, JOB_CLOSE has been called for scheduling the job A/P_ACCOUNTS with parameter start immediately. Can anyone please let me know what will happen if function JOB_CLOSE is not called with start immediately option? Will the batch job A/P_ACCOUNTS wait till the time work processes are available?
Or, can anything else be done to solve the issue?
Regards,
SiddharthHI,
This is my experience with job_close..
when i was working in zprograms then i was able to scedule it any time i wanted..
but in my standard program when i tried it didn't worked....
so i have to use that option of starting it immediately..
and then it is working fine..
now if i schedule 5 jobs... one after another..
its get queued up...and once the processor is free...its working..
my code of job close
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = job_count
jobname = job_name
strtimmed = yes " yes = 'X'
IMPORTING
job_was_released = job_released
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
regards,
Yadesh
Maybe you are looking for
-
List of Manual Setup required for iSetup to work
Hi All, This is Mugunthan from iSetup development. Based on my interaction with customers and Oracle functional experts, I had documented list of manual setups that are required for smooth loading of selection sets. I am sharing the same. Please let
-
I've downloaded Adobe Photoshop CS4 today and when I tried to open the "setup.exe" the ahmbed file comes up. I've been waiting for Photoshop CS4 for awhile and I just don't know how to get rid of this ahmbed file, I've tried deleting it plenty of tim
-
WAD 7: Hide Web Item depending on variable value
Hi, I have two enterprise reports in a web template. The underlying queries have the same variable (calendar month). I want to achieve the following: In case the variable is < 4: Show report A, Hide report B In case the variable is >=4: Show report B
-
How is SessionHelper getting instantiated (in a JSP)?
Hi, This is kind of related to a previous post. As a result of looking into how to work with PortalSession, I found the SessionHelper class: http://e-docs.bea.com/wlp/docs81/javadoc/com/bea/p13n/usermgmt/SessionHelper.html
-
RDBMS: 10.1.0.5.0 Today, our db stopped to work. The load of the system (top) was 16 and the AWR report says that the top SQL (SQL ordered by CPU Time) is: SELECT /*+INDEX(T "DR$DBY_DB_DATA_IX$X")*/ DISTINCT TOKEN_TEXT FROM "DR$DBY_DB_DATA_IX$I"