on 10-07-2006 1:17 PM
Hi All!!
My scenario is to insert data from a jsp page in MI client to backend.
I created a syncbo which makes use of the create bapi wrapper to push data. At the frontend i used row descriptors and field descriptors to push data on to the local database(db2e) and synchronise it with backend. All is fine but ,
My problem is the method im using to push data is "rowobj.setFieldvalue(FieldDescriptor arg0, object arg1)" which is depricated one.I could not find the replacement for it being new here.
Can someone help me with the new method which has come in place, or someother way to handle this insertion of data.
Thanking you in Advance,
Regards,
krishna.
Hi Krishnamohan,
You can go through these links. We have already discussed the insertion of new data , modification of data etc.. in these forums.
i have already written some sample codes in these forums..(for inserting new top row and item row..)..
refer these links also,,
Moreover a <b>Tips and Tricks for Developing High-Performance, Stable MI Applications</b> is available as Best Practice in Service Market Place. In this , they have mentioned that ,
<b>Use Row.modifyFieldValue(Object) instead of Row.setFieldValue().</b> .
Every time the Row.setFieldValue() method is called, a full DB-update with transaction commit is
performed.
To overcome this problem, an unlinked row has been introduced that needs fewer resources, although
the row is cloned and various other precautions have to be taken.Row.modifyFieldValue(Object) modifies a single field without triggering a DB-operation.
SyncBo.modifyRow(Row) finally performs the DB update for all changes.
Regards,
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kishor!
Thanks a lot !! I could do insertion and modification with the method " row.modifyFieldvalue()" .
i have another question ! can u give some link or thread which gives me an idea about displaying the data in tabular format in a jsp page. I tried searching but couldnot find.
Thanks in Advance!
regards,
krishna.
User | Count |
---|---|
75 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.