2007 Aug 16 11:42 AM
hi all expert please
i want to know how to trap error in session method??
enduser do not want to go to sm35 ..
please note: bdcmsgcoll is for call transaction method only, so pl do not answer releted to call transaction.
is there any way i can trap through coding or using FM or reading table???
thanx
rocky
hi all expert please
i want to know how to trap error in session method??
enduser do not want to go to sm35 ..
please note: bdcmsgcoll is for call transaction method only, so pl do not answer releted to call transaction.
is there any way i can trap through coding or using FM or reading table???
thanx
rocky
2007 Aug 16 11:47 AM
Hi
the error handling is not possible in session method u should go sm35 and check in error lod and correct the error records manually if there is a large number of records either u have to change program or flat file
reward points to all helpful answers
kiran.M
2007 Aug 16 5:34 PM
You see if u are using session method to upload, then u might have to use SM35 to check for errors. but if u are using call transaction, u can do one thing..
BDC_OPEN.
loop.
perform statments.
call transaction....
if sy-subrc NE 0.
BDC_insert.
endif.
endloop.
BDC_CLOSE
here u have inserted only error records into session.
you could get a return parameter from BDC_OPEN which contains the que ID.
use this que ID... and call transaction SM35 by skipping screen or smting like that.
i hope it solves your problem.
C H E E R S
2007 Aug 16 6:11 PM
Why don't use standard programs and download it and sent to email..
I am able to see below programs in 4.6C Version
RSBDCLOG
RSBDCOLG
Thanks
Seshu
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |