2006 Nov 16 3:49 PM
Hi all,
I have a table control in which i added a vertical scroll bar .
when i save the record it updates the database table and ok_code is save.
and i have a condition if i save twice it will througha mess a mess say data is already saved.
My problem is when i drag the vertical scroll after saving , it gives me a mess saying data is already saved because the sy-ucomm or ok_code is save.
I should get the data is already saved only if i save it again NOT WHEN I MOVE THE SCROLL BAR.
THANKS.
Hi all,
I have a table control in which i added a vertical scroll bar .
when i save the record it updates the database table and ok_code is save.
and i have a condition if i save twice it will througha mess a mess say data is already saved.
My problem is when i drag the vertical scroll after saving , it gives me a mess saying data is already saved because the sy-ucomm or ok_code is save.
I should get the data is already saved only if i save it again NOT WHEN I MOVE THE SCROLL BAR.
THANKS.
2006 Nov 16 3:52 PM
After saving the data just clear the OK_CODE.
The code is still SAVE when you are scrolling hence you are getting the message.
Hope this solves your problem.
Regards
Kathirvel
2006 Nov 16 3:54 PM
2006 Nov 16 3:59 PM
Hi,
Once the PBO is executed clear the ok code variable..
PROCESS BEFORE OUTPUT.
LOOP AT .
ENDLOOP.
MODULE CLEAR_OKCODE.
MODULE CLEAR_OKCODE.
CLEAR: OK_CODE.
ENDMODULE.
Thanks,
Naren