2008 Dec 22 4:49 AM
HI,experts
when I use call transaction for batch input.
for example,i use SM30 to delete data of a addon table ZT000.
when I execute step by step manually, it successful,and delete the data in table ZT000.
but when i record the steps using t_code SHDB and in my program using call transaction SM30
when the ok_code = [=posi],and while change to the next screen,it stoped. it can not change to next screen like i want
so i find when it execute in program, this OK_CODE is not be recognized,but when it execute manually,it will be recognized.
so why this happen?how to solve it ?
Edited by: hongtan zhang on Dec 22, 2008 5:50 AM
Edited by: hongtan zhang on Dec 22, 2008 5:51 AM
HI,experts
when I use call transaction for batch input.
for example,i use SM30 to delete data of a addon table ZT000.
when I execute step by step manually, it successful,and delete the data in table ZT000.
but when i record the steps using t_code SHDB and in my program using call transaction SM30
when the ok_code = [=posi],and while change to the next screen,it stoped. it can not change to next screen like i want
so i find when it execute in program, this OK_CODE is not be recognized,but when it execute manually,it will be recognized.
so why this happen?how to solve it ?
Edited by: hongtan zhang on Dec 22, 2008 5:50 AM
Edited by: hongtan zhang on Dec 22, 2008 5:51 AM
2008 Dec 22 4:54 AM
Hi,
As database table is updated in this transaction
and you still want to continue with BDC use RACOMMIT option
which will not terminate BDC.
RACOMMIT: Do not end transaction at COMMIT WORK
Regards,
Vishal.
Edited by: Vishal Jadhav on Dec 22, 2008 10:31 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |