-------------------------------------------------------------------------------------------------------------------------------
Post Summary:
ABAP Command - WAIT UP TO ... Secs holds the program processing for that seconds but it internally triggers a data babe commit which especially can't be used when we have already opened some DB cursor. In such a situation ABAP provides some SLEEP function like JAVA by the Function Module : ENQUE_SLEEP which holds the program processing for some moment without any DB commit.
Step1. Here is a program which inserts a record in the table and waits for 5 seconds and then tries to do a roll back. But as the wait statement itself performs the commit work before the roll back the record can't be taken our with the roll back statement.
After rollback no effect.
--------------------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment