Error while reading data from backend system.
Hi all,
When i click on personnel information iview i am getting following error
EIC Authentication
An error occurred while data was read from your ERP system. Contact your system administrator.
I used SQL TRACE and RFC TRACE to find where it got stopped below see the trace result.
14 PA0105 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "USRTY" = '0001' AND "USRID" = 'ESS_USER1'
988 PA0105 FETCH 1 1403
14 PA0001 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
665 PA0001 FETCH 1 1403
17 PA0000 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
615 PA0000 FETCH 1 1403
25 PA0001 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
896 PA0001 FETCH 1 1403
16 PA0002 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
783 PA0002 FETCH 1 1403
13.178 ? Server 1 0 EPSAND1 ? Server HREIC_GET_AUTHENTICATION_ESS 643 309
What is the solution to solve this problem ?
Thanks and regards,
Phanikumar
Looks like authorization issue. Could you confirm whether proper authorizations have given to this user?
Also, run the application again get an error and then go to Transaction ST22 and see if there is any system dump for this user.
Regards,
Nitin
Similar Messages
-
Error while reading PO in backend system Inform system adiministrator
Hi All,
I am working on extended classic scenario and the problem is that after the PO ís ordered it gives the message " Error while reading PO in backend system Inform system administrator" and this is happening only for a particular local PO.
When I check the PO number in R/3 it does not exist.
The number range is correct both in SRM and R/3 (external no. range is ticked).
Also I could not find any logs in RZ20 nor a dump.
When I checked in bbp_pd, couldnt find any relevant information except that the PO has the status ordered.
I am on SRM version BBPCRM 4.0 SAPKU40007
R/3 version 4.6 C SAPKH46C47
Thanks in advance,
Rgrds,
Raj
Message was edited by:
Raj MalhotraHi
Have you tried out this ?
<b>There are two BADIs which might help you in achieving the job.</b>
<u><b>BBP_EXTLOCALPO_BADI</b> [Control Extended Classic Scenario ]
<b>and</b>
<b>BBP_GROUP_LOC_PO</b>
[Exit Grouping of Items for Local Purchase Orders]</u>
<u>Read the documenatation first, using transaction - SE18
before implementing them for your requirement.</u>
Hope this will help.
Please reward suitable points.
Regards
- Atul -
Error 65575: overrun error while reading data from NI 9871
Hello everyone,
I am new here. I configured NI 9871 in RS-485 mode to acquire data from a sensor at the data rate of 8 samples per second. While reading data from sensor, sometimes I got the error 65575: "An overrun error has occurred in the data being read. Ensure that the module Flow Control is configured correctly." I didn't understand the error, how can I fix it, what dose the flow control means.
I will be very thankful if anybody help me to fix this error.
Thanks
WasifHello Wasif,
The error you are getting presents itself when the hardware buffer is full and new data is coming in. Data buffer is 64 bytes. One thing to try is to clear the RX FIFO after every read. Please refer to the following link that talks about the method.
http://zone.ni.com/reference/en-XX/help/370984R-01/lvaddon11/crio-9871/
Hope this help you solve the issue.
Regards
Luis S
Application Engineer
National Instruments -
Error while reading data from MapMessage using MDB
Hi,
I have written a small client program to send a message to a queue and an MDB receives the message in the onMessage() method. The message is of type MapMessage. I set key value pairs and send the message in a queue. When I try to read data from MapMessage inside onMessage() method of MDB, I get an exception:-
javax.jms.MessageNotReadableException: In write mode
When I send the message, by default the readonlymode is false. How do I set the mode to readonly exclusively in case of MapMessage ?
SirishaHi,
I do not have any problem with TextMessages...I works fine..It is only with MapMessage that I am not able to read the values..Before sending the message, the message has the flag "readMode" set to false by default by the server...R there any configurations to be made to any files like web.xml or server.xml or jms.xml ?
I am running my JMS application on JDeveloper IDE that has an in-built OC4J server which supports JMS. -
Error while fetching data from CRM system to BW
I am extracting data (BP ID) from CRM system. I have upgraded the BI 7.0 system from patch 12 to patch 14. After upgrading when i execute the infopackage to fetch the data from the CRM system. The request is coming in yellow and is not fetching the data. Can you suggest what could be the solution.. or where can i find some help..
Thanks..
BhavyaHi,
1 . Do the Data replication in source system
2. Check the source system connections.
3. Check the Infopackage status and also che the exact error from tcode RSMO.
Regards,
Srini Nookala -
Error while reading data from cache
Hi,
I am implementing IPofSerializer for an object of C#. I have successfully written C# object.
I have also read the first object.
But when I am going to read the second object's last field which of type boolean it is giving me error:
System.IO.EndOfStreamException was unhandled by user code
Message="Unable to read beyond the end of the stream."
Source="mscorlib"
StackTrace:
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.ReadByte()
at Tangosol.IO.DataReader.ReadPackedInt32()
at Tangosol.IO.Pof.PofStreamReader.UserTypeReader.AdvanceTo(Int32 index)
at Tangosol.IO.Pof.PofStreamReader.ReadInt32(Int32 index)
at Tangosol.IO.Pof.PofStreamReader.ReadBoolean(Int32 index)
at HyperRig.CachingService.Adapter.POFSerializers.MapMessageFieldPOFSerializer.Deserialize(IPofReader Reader) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.POFSerializers\MapMessageFieldPOFSerializer.cs:line 21
at Tangosol.IO.Pof.PofStreamReader.ReadAsObject(Int32 typeId)
at Tangosol.IO.Pof.PofStreamReader.ReadCollection[T](Int32 index, ICollection`1 coll)
at HyperRig.CachingService.Adapter.POFSerializers.MapMessagePOFSerializer.Deserialize(IPofReader Reader) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.POFSerializers\MapMessageFieldPOFSerializer.cs:line 55
at Tangosol.IO.Pof.PofStreamReader.ReadAsObject(Int32 typeId)
at Tangosol.IO.Pof.PofStreamReader.ReadObject(Int32 index)
at Tangosol.IO.Pof.ConfigurablePofContext.Deserialize(DataReader reader)
at Tangosol.Net.Impl.RemoteNamedCache.ConverterFromBinary.Convert(Object o)
at Tangosol.Util.ConverterCollections.ConvertArray(Object[] ao, IConverter conv)
at Tangosol.Util.ConverterCollections.ConverterCollection.CopyTo(Array array, Int32 index)
at Tangosol.Util.ConverterCollections.ConverterQueryCache.GetValues(IFilter filter)
at Tangosol.Util.ConverterCollections.ConverterNamedCache.GetValues(IFilter filter)
at Tangosol.Net.Impl.RemoteNamedCache.GetValues(IFilter filter)
at Tangosol.Net.Impl.SafeNamedCache.GetValues(IFilter filter)
at HyperRig.CachingService.Adapter.OracleCoherence.OracleCoherenceCachingLayer.ReadMultipleBySubjectName(String SubjectName, List`1& ReceivedMessageRecords, Object TransactionObject) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.OracleCoherence\OracleCoherenceCachingLayer.cs:line 444
at HyperRig.CachingService.Adapter.OracleCoherence.OracleCoherenceCachingLayer.ReadMultipleBySubjectName(String SubjectName, List`1& ReceivedMessageRecords) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.OracleCoherence\OracleCoherenceCachingLayer.cs:line 461
at HyperRig.DataManager.ETLEngine.DataCacheExtractor.Extract(Object transaction, DataTable& resultingDataTable)
InnerException:
I am using Oracle Coherence 3.5.3
Regards
Nitin JainHi Luk,
Here is the server side config:
<?xml version="1.0"?>
<!--
| Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
|
| Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
|
| This software is the confidential and proprietary information of
| Oracle Corporation. You shall not disclose such confidential and
| proprietary information and shall use it only in accordance with the
| terms of the license agreement you entered into with Oracle.
|
| This notice may not be removed or altered.
-->
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>ACCOUNT</cache-name>
<scheme-name>dist-default</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>dist-default</scheme-name>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>custom-types-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
<backing-map-scheme>
<local-scheme/>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<proxy-scheme>
<service-name>ExtendTcpProxyService</service-name>
<thread-count>5</thread-count>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address>localhost</address>
<port>9099</port>
</local-address>
</tcp-acceptor>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>custom-types-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</acceptor-config>
<autostart>true</autostart>
</proxy-scheme>
</caching-schemes>
</cache-config>
and client side config is:
<?xml version="1.0"?>
<!--
| Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
|
| Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
|
| This software is the confidential and proprietary information of
| Oracle Corporation. You shall not disclose such confidential and
| proprietary information and shall use it only in accordance with the
| terms of the license agreement you entered into with Oracle.
|
| This notice may not be removed or altered.
-->
<cache-config xmlns="http://schemas.tangosol.com/cache">
<caching-scheme-mapping>
<cache-mapping>
<cache-name>ACCOUNT</cache-name>
<scheme-name>extend-direct</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<remote-cache-scheme>
<scheme-name>extend-direct</scheme-name>
<service-name>ExtendTcpProxyService</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address>localhost</address>
<port>9099</port>
</socket-address>
</remote-addresses>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>30s</request-timeout>
</outgoing-message-handler>
<serializer>
<class-name>Tangosol.IO.Pof.ConfigurablePofContext, Coherence</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>Config\pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</initiator-config>
</remote-cache-scheme>
</caching-schemes>
</cache-config>
Regards
Nitin Jain -
Error while reading data from SharePoint List - using object model
Any idea what could be reason for this error:-
Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()
at Microsoft.SharePoint.SPListItemCollection.GetDataTableCore(Boolean isJsGrid)
at HRCompetencyGuide.SPHelper.<>c__DisplayClass2.<getDataTableFromList>b__0()
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad NizamuddinIt is a simple code:- below is the part of the code taken from the method
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite site = new SPSite(siteURL))
if (site != null)
using (SPWeb web = site.OpenWeb())
SPList list = web.Lists.TryGetList(listName);
if (whereQuery == null)
collection = list.GetItems().GetDataTable();
else
collection = list.GetItems(whereQuery).GetDataTable();
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad Nizamuddin -
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 while updating data from DataStore object
Hi,
Currently we are upgrading BW3.5 to BI7.0 for technical only,
we found and errors during process chain run in further processing step. This step is basically a delta loading from DSO to Cube.
The error message are:
Error while updating data from DataStore object 0GLS_INV
Message no. RSMPC146
Job terminated in source system --> Request set to red
Message no. RSM078
That's all no further errors message can be explained clearly here from system.
I have applied SAP note 1152453 and reactivate the datasource, infosource, and data target.
Still no help here!?
Please advise if you encountered these errors before.
Thanks in advance.
Regards,
David
Edited by: David Tai Wai Tan on Oct 31, 2008 2:46 PM
Edited by: David Tai Wai Tan on Oct 31, 2008 2:50 PM
Edited by: David Tai Wai Tan on Oct 31, 2008 2:52 PMHi Vijay,
I got this error:
Runtime Errors MESSAGE_TYPE_X
Date and Time 04.11.2008 11:43:08
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Short text of error message:
No start information on process LOADING
Long text of error message:
Diagnosis
For process LOADING, variant ZPAK_0SKIJ58741F4ASCSIYNV1PI9U, the
end should be logged for instance REQU_D4FIDCEKO82JUCJ8RWK6HZ9KX
under the log ID D4FIDCBHXPLZMP5T71JZQVUWX. However, no start has
been logged for this process.
System Response
No log has been written. The process (and consequently the chain)
has been terminated.
Procedure
If possible, restart the process.
Procedure for System Administration
Technical information about the message:
Message class....... "RSPC"
Number.............. 004
Variable 1.......... "D4FIDCBHXPLZMP5T71JZQVUWX"
Variable 2.......... "LOADING"
Variable 3.......... "ZPAK_0SKIJ58741F4ASCSIYNV1PI9U"
Variable 4.......... "REQU_D4FIDCEKO82JUCJ8RWK6HZ9KX"
Any idea? -
Error while extracting data from data source 0RT_PA_TRAN_CONTROL, in RSA7
Hi Gurs,
I'm getting the below error while extracting data from data source 0RT_PA_TRAN_CONTROL, in RSA7. (Actullly this is IS Retail datasource used to push POSDM data into BI cubes)
The error is:
Update mode "Full Upload" is not supported by the extraction API
Message no. R3011
Diagnosis
The application program for the extraction of the data was called using update mode "Full Upload". However, this is not supported by the InfoSource.
System Response
The data extraction is terminated.
Procedure
Check for relevant OSS Notes, or send a problem message of your own.
Your help in this regd. would be highly appreciated.
Thanks,
David.Hi David,
I have no experience with IS Retail data sources. But as message clearly say this DS is not suppose to be ran in Full mode.
Try to switch you DTPs/Infopackages to Delta mode.
While to checking extraction in source system, within TA RSA3 = Extractor checker, kindly switch Update mode field to Delta.
BR
m./ -
Error while loading data from 0FI_TX_4 to ODS
Dear Friends,
One of our proccess chain getting error since a week, every day with same error while loading data from R3 data source 0FI_TX_4 to ODS.
Short dump is raised in R3 system.
"DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC
"SAPLBWFIR" or "LBWFIRU13"
"BWFIR_READ_BSET_CPUDT_DATA"
ORA-01555
The number of records are below 10000 only.
All other chains are OK.
we have already searched SDN and Notes...and applied below solution, but still no use
Increase the size of all the roll back segments
Increase number of REDO logs
Decrease the number of records per data packet
Any more suggessions please ??
Thanks
TonyHow are you telling that no. of records are below 10000 .Have you checked the no.of records in PSA???
Now ,I tell you something which I had done for this error .I increased the Package size such that whole data gets transferred in single data package.Please make the package size as large as possible so that all the data can be processed in single package.
I know you have read so many threads on the same but what I am suggesting is what I have done and successfully rectified this issue.
regards,
rocks -
Fatal error while fetching data from bi
hi,
i am getting following error while fetching data from bi using select statement
i have written code in this way
SELECT [Measures].[D2GFTNHIOMI7KWV99SD7GPLTU] ON COLUMNS, NON EMPTY { [DEM_STATE].MEMBERS} ON ROWS FROM DEM_CUBE/TEST_F_8
error description when i click on test
Fatal Error
com.lighthammer.webservice.SoapException: The XML for Analysis provider encountered an errorthanks for answering .but when i tried writing the statement in transaction 'MDXTEST' and clicked on check i am getting following error
Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Message no. BRAINOLAPAPI011
Diagnosis
Failed to start the MDX parser.
System Response
timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Procedure
Check the Sys Log in Transaction SM21 and test the TCP-IP connection MDX_PARSER in Transaction SM59.
SO I WENT IN SM 59 TO CHECK THE CONNECTION.
CAN U TELL ME WHAT CONFIGERATION I NEED TO DO FOR MAKING SELECT STATEMENTS WORK? -
Error while reading data for reporting
Hi Gurus,
I tried to get answer from the forums but not got exact answer to slove my issue..
Q: I had generated 10 reports on Multiprovider(Virtual cube + std Cube) on Bex analyzer.
But when i am Executing reports 3 reports are getting result where remaining 7 reports are throughing same error.
Error: error reading the data of infoprovider
error system error: no more storege space available for extending an internal table
error massage from data source XXXXXX from Source system XXX
error error occured during parallel processing
error error while reading data, navigation is possible
Where their are no parallel processing are going.
the 3 reports are taking 15 min to generate the report..
data is available in both sources with same selection options.
Can any one please through some light, what exactly need to do to get all the reports and to reduce the response time.
thanks in advance.
SandyHi,
The problem was solved.
I had given restriction on 0COUNTRY with out calling Company code in the Column.
Were 0COUNTRY is also an attribute of 0COMP_CODE.
so i called both in the report and got the report with results...
this is how i solved the issue.
Thanks
Sandy -
Problem while reading data from Serial Port
Hi All,
I am facing some problem while reading data from Serial Port.
As per the requirement I am writing the data on Serial Port and waiting for response of that data.
Notification for data availabilty is checked with method public void serialEvent(SerialPortEvent event) of javax.comm.SerialPortEventListener.
When we are writing data on the port one thread i.e. "main" thread is generated and when data availability event occures another thread "Win32SerialPort Notification thread" is generated. This creates problem for me as we can't control thread processing.
So can anybody pls explain me how to overcome this problem?
Regards,
NehaMy Problem is:-
I am simoultaneouly wrting data on port & reading data from port.
First I write data on port using outputStream.write() method. Now when target side sends me response back for the request on serial port DATA_AVAILABLE of SerialPortEventListner event occured,we are reading data from serial port.Now till the time we didn't get the response from target next command can't be written on the serial port. When we are writing data on port main thread is executed.Now my problem starts when DATA_AVAILABLE event occured.At this point another thread is created.Due to this my program writes data of next command without reading response of previous command.To solve this prob. I have used wait() & notify() methods as follows.But again due to this my pc hangs after execution of 2 commands. (PC hang in while loop in a code provided below.)
From SOPs I could figure it out that after 2 commands we are not able to write data on serial port so DATA_AVAILABLE event doesn't occure n pro. goes in wait state.
Can anybody help me to solve this issue.
Neha.
Code:
public void serialEvent(SerialPortEvent event)
switch (event.getEventType())
case SerialPortEvent.BI:
case SerialPortEvent.OE:
case SerialPortEvent.FE:
case SerialPortEvent.PE:
case SerialPortEvent.CD:
case SerialPortEvent.CTS:
case SerialPortEvent.DSR:
case SerialPortEvent.RI:
case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
break;
case SerialPortEvent.DATA_AVAILABLE:
try
dataThread = Thread.currentThread();
dataThread.setPriority(10);
dataAvailable = true;
byte[] tempArray=new byte[availableBytes];
inputStream.read(tempArray);
catch (IOException io)
SOP(io, "Error in serialEvent callback call for event DATA_AVAILABLE");
public void writetoPort(byte[] data) throws IOException
outputStream.write(data);
while(finalTimeOut >= actualTime)
if( ! dataAvailable)
actualTime = System.currentTimeMillis();
else
synchronized (mainThread)
mainThread = Thread.currentThread();
mainThread.wait();
public void sendDatatoUser(byte[] b) throws Exception, HWCCSystemFailure
obj.returnData(b);
synchronized(mainThread)
mainThread.notify();
-
Error while selecting date from external table
Hello all,
I am getting the follwing error while selecting data from external table. Any idea why?
SQL> CREATE TABLE SE2_EXT (SE_REF_NO VARCHAR2(255),
2 SE_CUST_ID NUMBER(38),
3 SE_TRAN_AMT_LCY FLOAT(126),
4 SE_REVERSAL_MARKER VARCHAR2(255))
5 ORGANIZATION EXTERNAL (
6 TYPE ORACLE_LOADER
7 DEFAULT DIRECTORY ext_tables
8 ACCESS PARAMETERS (
9 RECORDS DELIMITED BY NEWLINE
10 FIELDS TERMINATED BY ','
11 MISSING FIELD VALUES ARE NULL
12 (
13 country_code CHAR(5),
14 country_name CHAR(50),
15 country_language CHAR(50)
16 )
17 )
18 LOCATION ('SE2.csv')
19 )
20 PARALLEL 5
21 REJECT LIMIT UNLIMITED;
Table created.
SQL> select * from se2_ext;
SQL> select count(*) from se2_ext;
select count(*) from se2_ext
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04043: table column not found in external source: SE_REF_NO
ORA-06512: at "SYS.ORACLE_LOADER", line 19It would appear that you external table definition and the external data file data do not match up. Post a few input records so someone can duplicate the problem and determine the fix.
HTH -- Mark D Powell --
Maybe you are looking for
-
Do I need multicam in order to create a movie from multiple cameras?
Do I need multicam in order to create a movie from multiple cameras? The old fashioned way is just to simply put multiple video clips into multiple video tracks in Final Cut, right? Then I can transition the tracks as I see fit. Multicam in Final Cut
-
I bought a new Ipad 2 and want to reset my original Ipad for someone else...how do I do this
-
Should I run Windows 7 in Boot Camp or VMWare?
I've recently bought a 15" Retina Macbook Pro, and it is a lovely machine. I program Crestron control systems, and the Crestron apps are available for Windows only, but I have known a few people that have run them on Macs using BootCamp on a Windows
-
Hello SAP Hello everbody, We are an ISV developing Add-ons for various customers. We use NWDS and NWDI with layered track development. The following problem has occured: - Until last week we created Java WebDynpro based upon Abap function modules. Th
-
How to Change POs before to be sent to the supplier
Hi gurus, My client needs in some cases make some changes manually in the PO (before the PO is sent to the supplier). All PO comes from SC initially, where is the WF. However, there are some functionalities that only the PO has, for instance, schedul