‎2007 Aug 29 7:21 AM
Hello my dear friends,
In my program,I submit a standard SAP program that inserts a few records to a database table. After the program ends I need to select these records, but I do not know if their insertion finished.
If you know of a way to solve this problem please help me, its very urgent.
Regards,
Eitan Iluzz.
‎2007 Aug 29 7:25 AM
Hi
u can check sy-dbcnt system variable value it shows no of hits to the database.
Regards
sandhya
‎2007 Aug 29 7:26 AM
Hi,
check sy-subrc value in ur program.
<updation code>
if sy-subrc = 0.
<get the inserted data>
endif.
<b>reward if helpful</b>
rgds,
bharat.
‎2007 Aug 29 7:27 AM
Hi,
After Update statement keep sy-subrc check. if it zero then values are updated in database.
Reward points.if helpful
Bohra
‎2007 Aug 29 7:32 AM
Hello Eli Eren,
There is a system variable called sy-subrc, which return return code for the abap statements.
If any statement executed successfully... it will return 0, otherwise not...
just check for sy-subrc value after your update database statement.
if it is 0 then, updated successflly, other wise not.
Reward If Useful.
Regards
--
Sasidhar Reddy Matli.