‎2011 Jun 16 4:14 PM
Hi,
I am doing update and insert operation in my program. I have realised that SAP implicitly calls COMMIT when ever there is a change of screen. But my situation is bit strange, I have no change of screen.
*) The data is getting updated into table during night time when the traffic is low and it doesnt get entered during day time .
Can any one explain me what is actually happening underneath.
If i call a wait or commit statement after the database operation then the datas are getting inserted properly.
Please help me out explaining the situation.
Regards,
Tashi norbu
‎2011 Jun 16 4:19 PM
‎2011 Jun 17 7:10 AM
Hi,
I think your case is related to Sap LUW, which has different way of treatment in comparison with a database LUW.
Check this link to see more:
http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm
Best regards,
Paul
Edited by: paul the octopus on Jun 17, 2011 8:11 AM
‎2011 Jun 18 5:27 PM
It is better to use commit work after updation or return an information message when data is updated
‎2011 Jun 19 2:08 PM
Your problem is due to SAP LUW, but first tell me onething why are you directly trying to change DB you should use some BAPI or other SAP standard .
But still incase if your need is not met you can use a update function module to achieve the objective. If you provide me the exact details I may help you better as I have worked on quite a few issues like this.
cheers!!
Prasenjit Singh BIst