Client data buffer
I want to use a data buffer in a Browser(for example:Internet Explorer),
when a http connection is disconnected I can operate on the data buffered(Perhaps in XML format),for example,I can query,sort or modify the data buffered,after
that I can update the data source truly,just like in a C/S model software.
What pattern can I use?
Thanks a lot.
I don't think there is a pattern, nor is that something that can be done without a tremendous, and I mean tremendous amount of work.
Perhaps you can write an applet that finishes all what you are requesting and performs on the data operations you need. This can be done on the destroy() callback method() of the applet.
My humble opinion is use the standard web model (servlet, jsp) with update per page transfer and scratch this idea since this is a web application and not a traditional application.
Similar Messages
-
Can not find Flush Return Data Buffer.vi
When I try to start my Labview program I get a "Error -70025 occurred at Read Home Input Status.vi" because the Return Data Buffer is not empty.
I searched for the Flush Return Data Buffer.vi in the Labview library but it is not there.
Where can I find it?Hello Mishka,
The Flush Return Data Buffer.vi should be located in your functions palette at Vision and Motion>>73xx>>Advanced>>Flush RDB.vi. Alternatively, you can press ctrl+space on your keyboard to open the quick drop menu and then search for Flush RDB.vi.
Regards,
J_Bou -
Import statement using DATA BUFFER
Hi All,
I am using RFC enabled FM using STARTING NEW TASK, We cannot import data from FM back to the program when we use this statement. So I am exporting data into DATA BUFFER in the FM and trying to import data in the main program. Can you please tell me how can I import data from SHARED MEMORY, Below is my code.
call function 'YPMLR_SITEBAL_DETAILS'
starting new task 'ID'
exporting
s_cyl = s_cyl-low
s_lifnr = s_lifnr-low
s_lstyp = s_lstyp-low
tables
s_zlocn = lt_zlocn
gt_zmlr_mld = gt_zmlr_mld
gt_zmlr_lp = gt_zmlr_lp
gt_zmlr_mlp = gt_zmlr_mlp
gt_zmc_loc = gt_zmc_loc.
"IMPORT e_rand_no TO e_rand_no from MEMORY ID 'RAND'.
Here is the export statement used in FM,
EXPORT e_rand_no FROM e_rand_no TO DATA BUFFER XSTR.Hi,
Check this link for Export to database instead of memory..
http://help.sap.com/abapdocu/en/ABAPEXPORT_DATA_CLUSTER_MEDIUM.htm
Import from database instead of memory
http://help.sap.com/abapdocu/en/ABAPIMPORT_MEDIUM.htm -
Exceeds data buffer size discarding this snmp request
Morning
Cisco Prime LMS 4.2.3 is sending SNMP request too big for asa interface buffer.
LMS is running on Windows server
incoming SNMP request (528 bytes) from IP address x.x.x.x Port 50592 Interface "inside" exceeds data buffer size, discarding this SNMP request.
212005: incoming SNMP request (%d bytes) from %s exceeds data buffer size, discarding this SNMP request.
It is very much like this error
Error Message %PIX-3-212005: incoming SNMP request (number bytes) on interface
interface_name exceeds data buffer size, discarding this SNMP request.
Explanation This is an SNMP message. This message reports that the length of the incoming SNMP request, destined for the firewall, exceeds the size of the internal data buffer (512 bytes) used for storing the request during internal processing; therefore, the firewall is unable to process this request. This does not affect the SNMP traffic passing through the firewall via any interface.
Recommended Action Have the SNMP management station resend the request with a shorter length, for example, instead of querying multiple MIB variables in one request, try querying only one MIB variable in a request. This may involve modifying the configuration of the SNMP manager software.
how do I change the SNMP request size in LMS?
I can only find the following that might be an option
http://blogs.technet.com/b/mihai/archive/2012/05/14/reducing-the-maximum-number-of-oids-queried-in-a-single-batch-in-om-2012.aspx
any thoughts on the matter would be appreciated
just using default settings with snmpv3Bug in lms 4.2.3
CSCtj88629 Bug Details
SNMP packet size requests from LMS is too large
Symptom:
LMS sends more than 512 SNMP requests to the FWSM, so it rejects the requests.
Conditions:
This occurs with FWSM and ASA's.
Workaround:
None.
http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtj88629 -
How to get the client date and time ?
Dear Sirs...
Using jdeveloper 10.1.2.0
How can i get the client date and time using the HttpServletRequest ?
thanks for any help in advance
best regardsIf your code is running on the client pc you can just create a new instance of the java.util.Date class. That class automatically defaults to the current time of the client machine. Otherwise if you're running the code on the server, you could insert/post the client date/time by adding its string representation as a parameter to the HTTP request object.
Ronald -
hi all,
we want to use MAM30:
Backend: ERP 2005
Middleware: NW2004s (MI 7.0) SP 15
Client: MI 70 SP 15 Patch 1, DB2e, XMAM30_LAPTOP_SR05
our problem is, that we cannot see any data in the XMAM30 - application.
but: with http://localhost:4444/XMAM30_LAPTOP_SR05/start_full.jsp we can see that there are data in the client - database.
there are orders, notifications , and so on, they seem to be ok.
090 - usercustomizing has one TOP but no items
after two days of reading notes and threads we have no idea how to solve this problem
maybe one of you can help us?
thanx!
bernhard
Edited by: Bernhard Hofer on Jun 20, 2008 7:20 AMhi chintan,
thank you for reply!
1. Can you see the data when you execute the GETLIST wrapper from your backend?
yes, we get data ie with MAM30_001_GETLIST ....
2. Also its necessary to install Db2E before xMAM installation.
yes, we did install db2 before xmam - using a sequence-number
3. Can you see the data in your middleware after you sync in merep_mon transaction?
yes, we see data with merep_mon, there are no errors.
4. Try restting the client data and sync once again.....
we did - doesnt help
we see data in the folder C:\Programme\SAP Mobile Infrastructure\data and we see data with the link
http://localhost:4444/XMAM30_LAPTOP_SR05/start_full.jsp
in the client trace we see some actions for "User: (SHARED)" - maybe this is wrong?
i'm not sure what the right settings in MCD should be ...
please reply if you have any more ideas, thanx a lot!
bernhard -
Create data buffer with arrays
Hello.. I'm trying to create a data buffer but I can't...(I don't understand very well how to use the shift registers, feedback, auto-index, etc.) I receive real-data from 16 sources and I want the buffer to allocate 20 samples or so... (20 x 16 matrix or array). I'm trying to simulate the sources and using replace array subset, but I can't do what I want.. (that a single data fill the space in index 0, and when a value reaches index 19, the next number replace the one in index 0 and so on....)
I want to create a buffer for when some disturbance ocurrs, I want to save the data from 1 or 2 seconds before the event. I think that I can use too a history data property node, but I'm not using a waveform chart anymore, because I want also the time stamp of the data in the xscale.. and with the chart I didn't manage to do it... (I tried with an offset property node.. but eventually the time in the xscale lagged the real time, I think that happens because the rate sample is not constant... but that's another problem.. =S)
Thanks in advance for all your help... Mitzi
PS. I attach my attempt...
Attachments:
buffer_qst.vi 20 KBIf you want a build a 20x16 array with only the 20 most recent values, what you can do is use the build array function to concatenate on the end of the data (you will need a shift register for this).
Next take the output of the build array and get the last 20 columns using the array subset function.
(There's a real clever way to do this involving reversing the arrays, but I'm not going to confuse you with that).
If you're still not getting it when I get home, I'll write up a VI and post it. What version are you using?
-Matt Bradley
************ kudos always appreciated, but only when deserved ************************** -
Data Buffer Cache Error Message
I'm using a load rule that builds a dimenson on the fly and getting the following error: "Not enough memory to allocate the Data Buffer Cache [adDatInitCacheParamsAborted]"I've got 4 other databases which are set up the same as this one and I'm not getting this error. I've checked all the settings and I think they're all the same.Anyone have any idea what this error could mean?I can be reached at [email protected]
Hi,
Same issue, running Vista too. This problem is recent. It may be due to the last itunes update. itunes 11.2.23 -
Data Buffer error USER_AUTH_FAILED: User account for logonid "SYSTEM"
All, I have the following errors on both the Quality and the Production system in our data buffer job.
com.sap.security.api.NoSuchUserException: USER_AUTH_FAILED: User account for logonid "SYSTEM" not found!
These entries will not process because they are generating an error about the loginid for the Username SYSTEM is not found.
So I am thinking that somehow the MII system is not capturing the correct username when they are being added into the Data Buffer Jobs, or there is something I am overlooking when I set up the databuffering.
Other entries that were in the data buffer jobs were listed as using the RS1000SVC-QMUSBATCH, RS1630SVC-PMIIBATCH User accounts. These are the accounts that our scheduled tasks run under.
Those entries process OK out of the data buffer jobs.
I did notice a similarity between the data buffer jobs in the quality and production systems as it pertains to the following transactions.
Production MII ver 12.0.7 (Build 20)
Muscatine%2FIntegration%2FSAP%2FPROD_CONFIRMED_INPUT_InsertQuery
Which is called from the MIIC1043_IDOC Message Processing Rule.
Muscatine%2FIntegration%2FSAP%2FHEADER_InsertQuery
Which is called from the MIIC1043_Control_Recipe_Download Message Processing Rule.
Quality MII 12.0.11 (Build 14)
Muscatine%2FIntegration%2FSAP%2FPROD_CONFIRMED_INPUT_InsertQuery
Which is called from the MIIC1043_IDOC Message Processing Rule.
So the commonality is that these transactions are being initaiated by the Message processing rules.
Are there known issues with data buffering from transactions initiated with Message Processing Rules?
Is anyone sucessfully using data buffering of transactions called by message processing rules?
Any help is appreciated.
BobJeremy, Thanks for your reply.
There doesn't seem to be much detailed information on the use of Catagories with Processing rules in Help or in the forums. So let me see if I understand your suggestion correctly.
On the MII server create a processing rule for the message using a category instead of using a transaction, The message received by the message listener will be placed in a buffer. I am assuming these messages whould show up in the message monitor and not in the Data Buffer jobs/entries.
So in my transaction which normally processes this data I could add logic to access the message data; using the Message Service (Query, Read, Update and Delete) action blocks. I could pare down the selection by selecting messages based on the MessageCategory that I defined in the message processing rule. This will allow me to access the stored message data.
Finally use a scheduled Job to execute the transaction. The scheduled job would be run with a valid userID and Password so if it connection to the external database failed the enteries would be placed in the data buffer jobs with a valid userID credentials.
Does this sound like what you had in mind? -
Data buffer(st04) is lower and lower
recently, i find such an information in our sap system using ST04. Following is message:
Data buffer
Size kb 3,194,880
Quality % 89.4
the quality value is lower an lower.
why? what should i do?
please help me ! thanks a lotHello,
it moght be due to u have set the data bufer size is too small so that more in and out is there ...this is the basic and primary reason for u r problem...
so calculate u r data buffer size according to u r application usage....no. of users connected, more update ,insert or select transactions...
Thanks. -
Data Buffer using xMII connected to ECC through XI
Hi all,
Is there anyway to use xMII data buffer using XI to connect to ECC?
ThanksHi,
The failed messages are stored temporarily in the NetWeaver database and used by the JMS queue which retries sending the message until that is delivered by executing the RFC. So even if the MII server is restarted the messages to be retried are present in the database with pending status which will be retried by the JMS queue.
Thanks,
Dipankar -
IMPORT/EXPORT FROM DATA BUFFER
Hi,
I have some code like this:
DATA: b type xstring.
DATA: a type xstirng.
EXPORT '1234' TO DATA BUFFER b.
IMPORT a FROM DATA BUFFER b.
for some reason a does not get set to the value that I assigned to b.
However, this code works:
DATA: b type xstring.
DATA: a type xstirng.
EXPORT some_internal_table TO DATA BUFFER b.
IMPORT a FROM DATA BUFFER b.
Does anybody know why internal tables work but other data types do not?
Thank you.EXPORT '1234' TO DATA BUFFER b, not working because, you did not assign a variable name to '1234' to be stored as in data buffer B.
Change the code to:
DATA: b type xstring.
DATA: a(4) type c.
EXPORT a = '1234' TO DATA BUFFER b.
IMPORT a FROM DATA BUFFER b.
It's working in the second case because, some_internal_table is the name of the variable in databuffer B and you are importing into the same variable in IMPORT
Regards
Sridhar -
How to display client date in oracle
Hi All,
How to display client system date in oracle. When I try to display date & time oracle displays server date and time but I need to display client date & time. How can I achieve that?
Thank youuser536769 wrote:
How to display client system date in oracle. When I try to display date & time oracle displays server date and time but I need to display client date & time. How can I achieve that?As Nicolas says, you can't easily do this.
The reason is that the SQL engine (and the PL/SQL engine) are processes running on the database server and so they pick up the server date/time. Those processes, running on that server have no knowledge of "client" machines and no way to connect to them. Network security ensures that one machine can't just get onto another machine and access it's operating system without any form of authorisation, hence the only way to achieve this is to have some way for the server to serve a java applet or some such thing to the client and the client user accept that applet to run on their machine and then that applet obtains the relevant details and passes it back to the server.
Imagine if you wanted to write code on your client machine to go to you colleagues client machine and get the date/time from it, how easy would that be to do without your colleague authorising some part of your software to run on his machine?
;) -
Anomaly when query timeout in Data buffer
Hello experts
I'm using MII12.2 and query buffered (allow buffering flag) on a database with several tables locks.
When I get a query timeout (LastErrorMessage of the query is "Response timed out, request terminated"), the query is not queued in the buffer.
Just if I send the query to the buffer setting a wrong used id in the dataserver, then the manager works properly (when I restore the used id, the query completes its logic when the lock is released)
If anybody wants to replicate the enviroment, the query for table lock in SQL Server is
BEGIN TRANSACTION
SELECT * FROM [your table name] WITH (TABLOCKX, HOLDLOCK);
WAITFOR DELAY '00:10:00'
ROLLBACK TRANSACTION
You have to run it in SQL Manager, not in MII
Sequence:
- Create in MII a generic query with SELECT * FROM [your table name], and enable "allow buffering"
- Call it in a transaction (if you want, with exception handler)
- Run the lock query in SQL Server
- Run the transaction (while the table is locked by SQL Server query) and wait transaction/query error
- Check data buffer: the MII query is not buffered
Is it normal?
Is there any patch?
Thanks
Regards
FabioHi Fabio,
I think the query does not gets buffered because no communication error happened.
MII would buffer an external call if there is a communication error.
But in your case the communication happened fine and the DB did not gave the response and thus time out happened. One more scenario of this type is if we write a query with syntax error. Here also the communication will happen with the DB but the DB will give the error thus MII will not buffer the query.
Regards,
Rohit Negi. -
How do you create Client Data Model Definition (cpx) in 10.1.2 struts proj
I recently upgraded to 10.1.2 and am starting a new project with a BC4J model project and a struts view project, for the life of me I can't see how to create a New Client Data Model Definition in 10g! Searching through the help I couldn't find a clear answer either. Anyone? I must be missing something simple.
Anyone know what I'm talking about?
Maybe you are looking for
-
How to change the posting date in UD stock posting for a HU managed item?
Hi, We are using Handling Unit managed items with QM activation. For a specific HU managed material, we wanted to post the stock on a previous date. We have created PO on a back date and made GR also on a back date. Now the problem is, the system has
-
Left double click button on mouse is not working
My Left double click is not working on my mouse. I tried using a different mouse to test whether it was a hardware or software issue. I still have the same issue with a different mouse. I also get what looks like tiny barcodes to the top right of my
-
How can i use 27" Thunderbolt to VGA moniter
Hi. I have Mac mini late 2012 i7 and 27" thunderbolt display. How can i use 27" thunderbolt display through vga moniter. I use mac mini-->27" Thunderbolt -->mini DP to VGA adapter --> VGA moniter. I used before 27"iMac --> Mini DP to VGA adapter -->V
-
Hi Gurus Can somebody send me informaton on how to configure e-mail output for a sales order/delivery document/invoice. I know how to do it for a printer but I want for e-mail. My e-mail is: [email protected] thanks all Srini
-
BT infinity line stats(Huawei HG612)
Hi, is anybody tray get any stats from modem, I thing about connect PC direct to modem and setup PPPoE connection. Because you can't check what synch speed your modem get. Thanks