‎2009 Sep 18 10:03 AM
Hi
i have a modify statement as below
MODIFY afvu FROM TABLE git_afvu1.
after this modify stmnt , database table is getting updated. now i want to check whether the update was successful or not to proceed further. what i need to do?
‎2009 Sep 18 10:05 AM
‎2009 Sep 18 10:05 AM
‎2009 Sep 18 10:07 AM
sy-subrc = 0 in case , All lines were inserted or changed.
Sy-subrc = 4 in case , At least one line could not be processed as there is already a line with the same unique name
Sy-dbcount gives no of processed lines.
‎2009 Sep 18 10:35 AM
Hi,
After modify statement check SY-SUBRC = 0 or not. If SY-SUBRC = 0then put "COMMIT WORK" statement.
This may help you !!
Thanks !!
Vivek
‎2009 Sep 22 5:25 AM
‎2009 Oct 28 11:39 AM