Dear Guru!!
i have two issue regarding commit issue.
#1. there is one RFC for synchronous has insert statement and then commit
but disappear data with mass calling RFC, it seems to be not committed .
insert into zcct002 values gs_log.
commit work.
#2. there is one RFC for receiving data.
firstly execute select statement for getting data inserted by above #1 RFC .
but when selecting performed ,, Sometime ABAP does not pick it up from that table even though a record inserted into table at almost same time.
wait up to 1 seconds for 3 times, it does not work. sometime comes to same issue
if sy-subrc <> 0.
do 3 times.
wait up to 1 seconds.
select single *
from zcct002
into gs_log
where modid = gs_appr_in-modid
and objkey = gs_appr_in-objkey
and docid = gs_appr_in-docid.
if sy-subrc = 0.
exit.
endif.
enddo.
endif.