Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

hi all bdc session

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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