Errors in sending data - maybe a bug
Hi, everybody. I was trying o create a program with 2 scokets, lets say socket A and socketB. The principle of this program was whatever socketA receives is beeing send through socketb and vis versa. I had creted a routine for sendind data like that:
public int SendData(String s){
try{
out.print(s); //this is a printwriter
out.flush();
}catch(Exception e){
System.out.println("Error in sending data"+ e.toString());
return -1;
return 0;
The strange thing was that, using a network sniffer I realised that sometimes my socket was sending characters that weren't in the string s, more precisly it was the character with hex value c2 . When I made the following modification the program worked correctly
public int SendData(String s){
try{
for(int i=0;i <s.length() ;i++)
out.write((int)(s.charAt(i))); //now out is an OututSream and not a PrintWriter
}catch(Exception e){
System.out.println("Error in sending data"+ e.toString());
return -1;
return 0;
Maybe can anybody explain why was this happening? I am curious to hear your opinion!
My java -version result is:
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)
I'm not sure what you need to do. If you want to send and receive binary data, read and write bytes (or there are other ways, e.g. DataOutputStream).
If you want / need to send Unicode text, a PrintWriter / OutputStreamWriter and InputStreamReader will convert Unicode to & from e.g. utf-8. Or you can use String.getBytes() and new String(s, "utf-8") to convert:
public class t
public static void main(String args[])
throws Exception
String s = "ab\u00a2\03c0";
System.out.println("string: " + s);
byte bytes[] = s.getBytes("utf-8");
System.out.println("bytes: " + toString(bytes));
String decoded = new String(bytes, "utf-8");
System.out.println("decoded: " + decoded);
static String toString(byte b[])
StringBuffer buf = new StringBuffer();
for (int n = 0; n < b.length; n++) {
if (n != 0)
buf.append(", ");
buf.append(Integer.toHexString(b[n] & 0xff));
return buf.toString();
}I'd probably use String.getBytes() instead of PrintWriter; that allows mixing text and non-text data.
Ok, quite possibly Unicode is overkill for you, and you'll be fine with the 8-bit subset. Depends on how "serious" your application is, and how likely it will need to process e.g. Cyrillic, Greek or Chinese text.
For performance, you may want buffered streams and a StringBuffer instead of string concatenation to create strings.
Similar Messages
-
Error while sending data from XI to BI System
Hello Friends,
I m facing an error while sending data from XI to BI. XI is successfully recived data from FTP.
Given error i faced out in communication channel monitoring:-
Receiver channel 'POSDMLog_Receiver' for party '', service 'Busys_POSDM'
Error can not instantiate RfcPool caused by:
com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner '10.1.45.35:sapgw01' not reached
TIME Fri Apr 16 08:15:18 2010
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2823
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 2
Error displaying in message monitoring:-
Exception caught by adapter framework: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached TIME Fri Apr 16 08:15:18 2010 RELEASE 70
Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached TIME.
Kindly suggest me & provide details of error.
Regards,
NarendraHi Narendra,
Message is clearly showing that your system is not reachable
102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached
Please check to ping the BI server IP 10.1.45.35 from your XI server , in case its working you can check telnet to SAP standard port like 3201/3601/3301/3901 etc.
It seems to be connectivity issue only.
Make sure your both the systems are up and running.
Revert back after checking above stuff.
Regards,
Gagan Deep Kaushal -
Error when sending data request
Hi All,
i have scheduled info package for different type data sources in bi 7.0, for this i am getting the data from ecc 6.0 . all of this schedule's showing the status "error when sending data request" with the following details.
status
diagnosis
the request idoc could not be sent to the source system using rfc
system response
there is an idoc in the warehouse outbox that did not arrive in the ale inbox of the source system
in step by step analysis it is showing
rfc to source system successful showing with ash status
data selection successfully stated and finished ? show with red status
in that details tab
request : showing with green status
everything ok
extraction :showing with red status
missing messages
transfer(idocs and trfc) : missing messeges
processing(data packet) : no data
it is showing technical status with red as processing overdue
processing step call to source system
so it is showing error with 0 from 0 records.
please any body could help me for solving this error.
regards,
naveen.Hi
Seems you have connectivity issues between the Source system and Bi system.
You need to check whether you have data on R/3 side via RSA3 with Full / Delta Update Modes with Target System as your BI system.
RSA13--Source System -- Right click Connection parameters/check/Restore/Activate again Say Replicate All Data Sources (If Possible , provided if you have time because it consumes lot of time )
You need to check the tRFC Queue SM58/59 for any Stucks and WE19/20 for IDocs.
Much of BASIS Issue .
Hope it helps and clear -
Sup Error While Sending Date Parameter to SUP server?
Hi Every one,
I am developing an iOS app using Sybase Unwired Platform 2.1.3 I am getting error While sending Date parameter to Database. How to send DATE format to the sales_order table for order_date column from iOS.
I tried like this..
@try {
SUP105Sales_order *insertRow =[[SUP105Sales_order alloc]init];
int32_t idValue =2671;
int32_t custID =103;
int32_t sales =506;
insertRow.id_=idValue;
insertRow.cust_id=custID;
insertRow.order_date=[NSDate date];
insertRow.fin_code_id=@"r1";
insertRow.region=@"Hyd";
insertRow.sales_rep=sales;
[insertRow save];
[insertRow submitPending];
[SUP105SUP105DB synchronize];
@catch (NSException *exception) {
NSLog(@"Exception---%@",exception.description);
In server log:
2014-02-28 16:39:41.833 WARN Other Thread-182 [SUP105.server.SUP105DB]{"_op":"C","level":5,"code":412,"eisCode":"257","message":"com.sybase.jdbc3.jdbc.SybSQLException:SQL Anywhere Error -157: Cannot convert '' to a timestamp","component":"Sales_order","entityKey":"3210004","operation":"create","requestId":"3210005","timestamp":"2014-02-28 11:09:41.646","messageId":0,"_rc":0}
I strongly believe the above error for because of Date format..i have tried different ways to send Date to Sup server ..but i didn't get any solution.. Can any one help me me how to send date to database in SUP in iOS??
Message was edited by: Michael ApplebyHi Jitendra,
Thanks for your Quick reply..Any way i have tried what you said,but i didn't get any solution.
Here is my Code:
NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];
[formatter setDateFormat:@"dd-MM-YYYY HH:mm:ss"];
NSDate *tempDate =(NSDate *) [formatter stringFromDate:[NSDate date]];
NSLog(@"%@",tempDate);
@try {
SUP105Sales_order *insertRow =[[SUP105Sales_order alloc]init];
int32_t idValue =2671;
int32_t custID =103;
int32_t sales =506;
insertRow.id_=idValue;
insertRow.cust_id=custID;
insertRow.order_date =tempDate;
insertRow.fin_code_id=@"r1";
insertRow.region=@"Hyd";
insertRow.sales_rep=sales;
[insertRow save];
[insertRow submitPending];
[SUP105SUP105DB synchronize];
@catch (NSException *exception) {
NSLog(@"Exception---%@",exception.description);
Error is :
Exception---SUPPersistenceException: exception is in createCore: unexpected null value for 'order_date' -
Error not send data a database of oracle please
I cannot send data from a variable a the database of oracle.
variables they are = unot,dost,trest but it does not recognize its values......
it does not insert anything in the fields of the data base
this code:
con = DriverManager.getConnection(url,"ora1", "oracle");
stmt = con.createStatement();
String uprs = "insert into anexo (cod_ane,codigo,desc_anexo)
values(" + unot + "," + dost + "," + trest +")";
stmt.executeUpdate(uprs);
this error:
SQLException: ORA-00936: missing expressionAre they text fields? Try surrounding them with quotes:
String uprs = "insert into anexo (cod_ane,codigo,desc_anexo)
values('" + unot + "','" + dost + "','" + trest +"')";Try displaying uprs before the executeUpdate() and make sure it's really valid SQL. -
Error while sending data to TP
Hi B2B Gurus,
While I am sending data to our trading partner, I am getting the below error. Its very high priority. Please help me to resolve this.
Machine Info: (essapt020-u009.emrsn.com)
Transport error: [IPT_HttpSendError] HTTP encounters send error :502
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.
</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
[IPT_HttpSendError] HTTP encounters send error :502
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.
</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
.Hi Anuj,
I send you a log files to your mail id.
Actually I able to connect to the tp's url.Still i am getting this error.
Machine Info: (essapt020-u009.emrsn.com)
Transport error: [IPT_HttpSendError] HTTP encounters send error :502
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.
</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
[IPT_HttpSendError] HTTP encounters send error :502
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.
</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
. -
Error While Sending Data for Currency Translation
Hello Experts,
I am trying to send data via template. Data is getting saved but I am getting following error displayed.
1.) When I try to enter data for a particular month then, error as FX-200.
2.) When I try to enter data accross months of more than year then , FX-045 and FX-310 error.
I had look on various SAP Notes available for the errors.
As per them, I ran Full optimization, I checked rates are maintained for previous year too, I checked for LC Currency Type Property is maintained as L.
But nothing Worked.
Currently only the 3 members are maintained in Rate Dimension, so exceeding the size limit cannot be an issue.
Kindly Suggest, what could be another possible reason for the errors.
Regards,
Apoorva GargHello,
1.) I am getting issues for example for 2010.Mar, 2010.Dec, 2013.Dec, 2012.Dec
2.) Business Rules Maintained
3.) Business Rule called via Default Script Logic
// Default base level logic - applies to all base members in all dimensions
*INCLUDE system_constants.lgl
//Process_Each_Member = TIME
*RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','KPI_Working_Act_FX','','GLOBAL','%SCOPETABLE%','%LOGTABLE%')
*COMMIT
//*RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','KPI_Working_AOP_FX','','GLOBAL','%SCOPETABLE%','%LOGTABLE%')
//*COMMIT
Regards,
Apoorva -
Error when sending data from Cube to ODS
HI,
I am extracting data from 2lis_02_itm & I stored the data in 0pur_o01(ODS) tha data is fine in ODS but when I am trying to send data from ODS to Cube 0pur_c07 it is giving the above error
InfoSource 80PUR_O01 is not defined in the source system
Errors in source system
InfoSource 80PUR_O01 is not defined in the source system.
Message no. R3005
Diagnosis
The InfoSource 80PUR_O01 specified in the data request, is not defined in the source system.
System response
The data transfer is terminated.
Procedure
In the Administrator Workbench of the Business Information Warehouse, update the metadata for this source system, and delete the InfoPackages belonging to InfoSources that no longer existing
Thanks
PriyaHi A Priya
First check if infosource 80PUR_O01 is present in datasource list of your BW system. Check this in RSA1-> Infosources-> here do Settings -> display generated objects and then do search on 80PUR_O01.
if it not present there go to ODS 0PUR_O01-> right click
-> generate export datasource.
If it is present there then replicate the datasource by right click on transfer rules and then go to SE38-> Enter program name as RS_TRANSTRU_ACTIVATE_ALL -> Enter Infosource name as 80PUR_O01 and BW System as source system-> Execute. This will activate the transfer rules.
Then try reloading from ODS to cube
Regards
Pradip -
Error while sending data to supplier
Hi All,
We are facing the errors while sending transaction to our supplier.Actually we send 60 transactions to our supplier in which 15 are errored out in B2B with the below error.
Please help me in resolving this.
2010.06.09 at 16:40:04:876: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
2010.06.09 at 16:40:04:879: Thread-10: B2B - (DEBUG) Protocol Name: HTTP
2010.06.09 at 16:40:04:883: Thread-10: B2B - (DEBUG) Version Name: 1.1
2010.06.09 at 16:40:04:887: Thread-10: B2B - (DEBUG) Endpoint: http://interchange-stg.apl.com:4090/as2/interface
2010.06.09 at 16:40:04:891: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTP://INTERCHANGE-STG.APL.COM:4090/AS2/INTERFACE
http://interchange-stg.apl.com:4090/as2/interface
2010.06.09 at 16:40:04:903: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 501 http://interchange-stg.apl.com:4090/as2/interface
2010.06.09 at 16:40:04:906: Thread-10: B2B - (DEBUG)
Protocol = HTTP
Version = 1.1
Transport Header
Content-Transfer-Encoding:binary
Message-ID:<131982@EMRSNS>
MIME-version:1.0
ACTION_NAME:Process_X12_5020_850
From:EMRSNS
Disposition-Notification-To:[email protected]
AS2-To:ZZACSLTEST
User-Agent:AS2 Server
Date:Wed, 09 Jun 2010 16:39:54 GMT
Disposition-Notification-Options:signed-receipt-protocol=required, pkcs7-signature; signed-receipt-micalg=required, sha1
DOCTYPE_NAME:850
FROM_PARTY:EMRSNS
DOCTYPE_REVISION:5020
TO_PARTY:ZZACSLTEST
AS2-From:EMRSNS
AS2-Version:1.1
Content-Type:application/pkcs7-mime; smime-type="enveloped-data"
Parameters
-- listing properties --
http.sender.timeout=0
2010.06.09 at 16:40:04:910: Thread-10: B2B - (DEBUG) scheme null userName null realm null
2010.06.09 at 16:41:05:162: Thread-10: B2B - (WARNING)
Message Transmission Transport Exception
Transport Error Code is OTA-HTTP-SEND-1000
StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendError] HTTP encounters send error :.
at oracle.tip.transport.TransportException.create(TransportException.java:91)
at oracle.tip.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:754)
at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:598)
at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:311)
at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:1034)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1758)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at HTTPClient.BufferedInputStream.fillBuff(BufferedInputStream.java:192)
at HTTPClient.BufferedInputStream.read(BufferedInputStream.java:112)
at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:281)
at HTTPClient.RespInputStream.read(RespInputStream.java:157)
at HTTPClient.RespInputStream.read(RespInputStream.java:116)
at HTTPClient.Response.readResponseHeaders(Response.java:997)
at HTTPClient.Response.getHeaders(Response.java:713)
at HTTPClient.Response.getStatusCode(Response.java:262)
at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:83)
at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:739)
at HTTPClient.HTTPResponse.getStatusCode(HTTPResponse.java:196)
at oracle.tip.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:721)
... 9 more
2010.06.09 at 16:41:05:163: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
2010.06.09 at 16:41:05:166: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
2010.06.09 at 16:41:05:168: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
2010.06.09 at 16:41:05:171: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2010.06.09 at 16:41:05:173: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
2010.06.09 at 16:41:05:176: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendError] HTTP encounters send error :.
Read timed out
2010.06.09 at 16:41:05:186: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:notifyApp retry value <= 0, so sending exception to IP_IN_QUEUE
2010.06.09 at 16:41:05:191: Thread-10: B2B - (DEBUG) Engine:notifyApp Enter
2010.06.09 at 16:41:05:202: Thread-10: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = 889C8E2466211E6DE0440015178ED696
2010.06.09 at 16:41:05:205: Thread-10: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>131982</correlationId>
<b2bMessageId>131982</b2bMessageId>
<errorCode>AIP-50079</errorCode>
<errorText>Transport error: [IPT_HttpSendError] HTTP encounters send error :.
Read timed out</errorText>
<errorDescription>
<![CDATA[Machine Info: (usmtnz-sinfwi02)
Transport error: [IPT_HttpSendError] HTTP encounters send error :.
Read timed out ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
Regards
sekharHi Sekhar,
2010.06.09 at 16:41:05:176: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendError] HTTP encounters send error :.
Read timed outIt seems that either your TP's server is not accepting these requests (due to heavy load)/ message size is too large that HTTP timout has occured. Possibility for later case is low because only 25% messages are erroring out. Anyways, you may like to tune your B2B system and test again -
http://www.b2bgurus.com/2007/10/oracle-as-b2b-performance-best.html
If no change happens, ask your TP to check his server settings.
Regards,
Anuj -
Error when send date format to R3
All,
i want to send date to BAPI , field type sy-datum, i'm using java.sql.Date as reference (yyyy-MM-dd), but error occurs , does anyone know why?Hi Oscar,
First convert your date in the desired format using SimpleDateFormat .
Then set the Date.
SimpleDateFormat smpdtFormat =new SimpleDateFormat("yyyy-MM-dd");
String validFr="";
validFr = wdContext.nodeProductDate().getElementAt(0).getAttributeValue("Validfr").toString();
<node element name>.setValidDate(new Date(smpdtFormat.parse(validFr).getTime()));
Check this Threads.
Re: Problems with java.sql.Date
Re: format SimpleDateFormat
Regards,
Mithu -
Network Error: Cannot Send Data (1042012) in Hyperion Planning
I am using Hyperion Planning 11.1.2.1
I'm getting this error when i'm trying to refresh my Planning database.
Com.hyperion.planning.olap.EssbaseException: Network error [%s]: Cannot Send Data (1042012)
Any suggestions?First make sure your essbase is up and running. If it is then:
Increase the values for NETDELAY and NETRETRYCOUNT.
Check the index cache size, data cache size, and data block size to make sure that they are within the recommended ranges.
How to do it and how much to set, you will get this information in Essbase database administrator's guide:
http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag.pdf
Also have a look at:
Network Error message
Cheers...!!! -
Overflow Error After Sending Data
Dear Expert,
I have a problem, After sending the data, I receive error "ExecuteBaseLogic::Error in RunLogicAgainstSelection: Overflow"
Please let me know if somebody have idea to fix the problem.
This the captured screen:
==================================================
Book Name:Production Mill Final v10.xlt
Application : FINANCE
Status : Success
Submitted Count : 1
Accepted Count : 1
Rejected Count : 0
- Error Message -
ExecuteBaseLogic::Error in RunLogicAgainstSelection: Overflow
Thanks,
RuswandiHi Ruswandi,
Do you have a logic that is being called in the Default logic? The Default logic runs every time you send data, try to comment out those logic one by one and then send data again to see which is causing the overflow problem.
Hope this helps,
MVS -
Error while sending data to a subroutine in script
Hi,
While passing a currency field for calculation to a subroutine through perform statement iam getting runtime error saying "unable ti interpret 5000.00 as a number. 5000.00 is nothing but the first currency value which iam sending for calculation.in the code the error is raised on the bold line .
rf140-wrshb has value 5000.00 .the code which i have written in subroutine is as follows.
READ TABLE I_IN WITH KEY NAME = 'RF140-WRSHB'.
MOVE I_IN-VALUE TO LV_SUM1.
CLEAR I_IN.
DATA: SUM_C TYPE N.
SUM1 = SUM1 + LV_SUM1.
READ TABLE I_OUT WITH KEY NAME = 'LV_BALANCE'.
MOVE SUM1 TO I_OUT-VALUE.
MODIFY I_OUT TRANSPORTING VALUE WHERE NAME = 'LV_BALANCE'.
CLEAR I_OUT.
lv_balance is the one which receives the output value.
can anyone tell me what is the mistake i have done nd how to rectify it.
Thanks,
Rose.Hi,
I have done something similar so below is the code while passing currency fields to subroutines:
Actually I was retrieving 2 fields from scripts and then substract them and then send back the result to the script. Hope it works out for you, try it out and REWARD POINTS IF HELPFUL!! (also for your prev post!!)
FORM get_pay TABLES in_tab STRUCTURE itcsy out_tab STRUCTURE itcsy.
DATA: lv_var(255) TYPE c, "dmbtr,
lv_var1(255) TYPE c, "qsshb,
lv_var2(255) TYPE c, "dmbtr.
var(20) TYPE c,
var1(25) TYPE c,
var2(25) TYPE c,
var3(25) TYPE c,
var4(25) TYPE c,
var5(25) TYPE c,
var6(25) TYPE c,
vari TYPE ztemp,
vari2 TYPE ztemp,
vari3 TYPE ztemp.
DATA: lv_var4 TYPE dmbtr,
lv_var5 TYPE qsshb,
lv_var6 TYPE dmbtr,
len TYPE i,
len1 TYPE i,
dot TYPE c.
READ TABLE in_tab WITH KEY 'REGUP-DMBTR'.
IF sy-subrc EQ 0.
lv_var = in_tab-value.
len = STRLEN( lv_var ).
len1 = len - 3.
dot = lv_var+len1(1).
IF dot = ','.
SPLIT lv_var AT ',' INTO var1 var2.
REPLACE '.' IN var1 WITH ','.
CONCATENATE '.' var2 INTO var2.
CONCATENATE var1 var2 INTO var.
CONDENSE var.
vari = var1.
SHIFT vari LEFT DELETING LEADING '0'.
CONCATENATE vari var2 INTO vari.
lv_var4 = vari.
ELSE.
SPLIT lv_var AT '.' INTO var1 var2.
REPLACE '.' IN var1 WITH ','.
CONCATENATE '.' var2 INTO var2.
CONCATENATE var1 var2 INTO var.
CONDENSE var.
vari = var1.
SHIFT vari LEFT DELETING LEADING '0'.
CONCATENATE vari var2 INTO vari.
lv_var4 = vari.
ENDIF.
CLEAR: dot, len, len1.
ENDIF.
lv_var = vari.
CALL FUNCTION 'CHAR_NUMC_CONVERSION'
EXPORTING
input = lv_var
IMPORTING
numcstr = lv_var4.
READ TABLE in_tab WITH KEY 'REGUP-QBSHB'.
IF sy-subrc EQ 0.
lv_var1 = in_tab-value.
len = STRLEN( lv_var1 ).
len1 = len - 3.
dot = lv_var1+len1(1).
IF dot = ','.
SPLIT lv_var1 AT ',' INTO var3 var4.
REPLACE '.' IN var3 WITH ','.
CONCATENATE '.' var4 INTO var4.
CONDENSE var.
vari2 = var3.
SHIFT vari2 LEFT DELETING LEADING '0'.
CONCATENATE vari2 var4 INTO vari2.
lv_var6 = vari2.
ELSE.
SPLIT lv_var1 AT '.' INTO var3 var4.
REPLACE '.' IN var3 WITH ','.
CONCATENATE '.' var4 INTO var4.
CONDENSE var.
vari2 = var3.
SHIFT vari2 LEFT DELETING LEADING '0'.
CONCATENATE vari2 var4 INTO vari2.
lv_var6 = vari2.
ENDIF.
CLEAR: dot, len, len1.
ENDIF.
lv_var1 = vari2.
CALL FUNCTION 'CHAR_NUMC_CONVERSION'
EXPORTING
input = lv_var1
IMPORTING
numcstr = lv_var6.
lv_var5 = lv_var4 - lv_var6.
lv_var2 = lv_var5.
var = lv_var5.
WRITE lv_var5 TO var CURRENCY 'SG'.
READ TABLE out_tab WITH KEY 'LV_PAY'.
IF sy-subrc EQ 0.
out_tab-value = var.
MODIFY out_tab INDEX 1.
ENDIF.
ENDFORM. "get_PAY
Regards,
Narendra. -
Planning rfresh error - Network error, cannot send data
Hi,<BR>While refreshing the Planning from the desktop, it gives the above error after doing all the 41 steps. Incidently we noticed that while doing the restructuring of the the data base by planning desktop, the Essbase cube is being stopped. We tried NetworkDelay, NetworkRetry count settings in essbase cfg file, it is more than the minimum values recommended. And also we tried chaning Data File cache, Data cache settings. It didnt work. Finally we cleared all data and refreshed, it worked fine added all new members in the outline. Can anybody tell us why it is happening, and what is the possible solution.
Don't feel too special, this error happens in many environments, many situations. While it can often by minimized, it is rarely fully resolved.<BR><BR>A brief explanation: typically, this error occurs because either the client failed to receive a response to a request, or the server failed to receive the client's request. If your network utilization is consistently too high, changes to retries or delays will not help much, you will just have to live with the situation. Simple collisions are unavoidable even in low network utilization conditions, and even modest retry and delay settings will be fine in most cases. In other words, the settings are more of a band-aid than a real resolution (not that I don't value the band-aid).<BR><BR>If it is possible to address the issue with your IT/network department, it may be a situation where the traffic in one segment can be identified as the culprit (i.e. the server farm itself), and thus taking the server off the current hub and putting it on a less busy one may be a good resolution. Apart from this, there isn't a whole lot that can be done.<BR><BR>HTH.<BR>
-
Error while sending data thru excel addin
Hi John,
When we tried pushing the data using excel addin, it gives an error
Your software license does not include the ability to update the data thru the spread sheet.Please contact your administrator.
We are also unable to save the data thru forms.Hi,
In 9.3.1 the products that are enabled for use are usually set by the registry.properties—in <Hyperion_Home>\common\config
Have a look at http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/hsys9_install_start_here.pdf
Page 54 - About registry.properties
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Not able to download songs in nokia music lumia630
Not able to download songs in music store its showing no free subscription for this mobile model.
-
Spool requests are being sent the the B9 printer queue.
Hi gurus! has anyone found a fix for this issue? i'm currently experiencing the same issue and would like to know how i can fix this.. Spool requests are being sent the the B9 printer queue. Most spool requests are for one page, when there are spool
-
Solve Runtime errors 'CX_SY_CONVERSION_NO_NUMBER'
When I test a subroutine that included in SAPScript,a runtime error occured.Below is the error message. Unable to interpret " XXXX.XX " as a number. Error Analysis: An exception occurred that is explained in detail below. The exception, which is assi
-
Instead of customized push notification getting only simple notification with alert message?
Recently the provisional certificate got expired and we renewed new one installed in server the latest problem is we are just getting app name with text named alert. More than this nothing can see in push notification we are customized with name and
-
Error in FI Document Parking Workflow
Hi Workflow Experts, I have a FI document parking Workflow scenario which is 2 level release that is if the amount is upto 100000 first person will release if it's more than that the CEO that is the second user has to r