Application Development and Automation 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: 
Read only

BDC error

Former Member
0 Likes
379

Iam developing BDC program for Transaction FB50 using call transaction method . iam handling error using BDCMSGCOLL and store it in internal table. instead internal table i want post errors in a session when ever a error occurs during posting. pls help me. i want to post errors in session.

pls help me.

chadnu

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
344

Hello,

Then create a seesion of the BDC instead of the call transaction. Because you can't pass your error's into the session.

Regards,

Naimesh

Read only

Former Member
0 Likes
344

hello,

you can do like this

call transaction TCODE using BDCTAB mode 'N' updadte 'S'.

If sy-subrc ne 0.

call function bdc_open_group

" bdc_insert

" bdc_close

ENDIF.

Hope this will help you.

Reward points if helps.

Thanks,

krishnakumar