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

Regarding CT and Session Method in BDC ?

Former Member
0 Likes
686

Hi,

If there are 50 records and 25th row data is having error.

What will happen when we run it in Call Transaction and Session Method in both Foreground and Background methods ? Can anybody explain me in details ?

3 REPLIES 3
Read only

Former Member
0 Likes
656

Session method : the posting for the specific record will end in error, all other records will be processed.

In foreground mode: you can correct the error manually.

Once a session is processed, you can restart it in foreground to process the error ones...

Call transaction:

it depends on your program logic.

Normally, your program will continue with the next record, unless you insert an error message in your program.

e.g. call transaction....

if sy-subrc ne 0.

message e...

endif.

Read only

Former Member
0 Likes
656

Hi,

Session method :

This method will have log to handle errors in backgroung where as in foreground mode you can correct the error manually there only on the screen.

call Transaction Method:

This method dont handle errors implicitly u need to handle the errors by declaring an error message.

regards,

kavitha.

Read only

Former Member
0 Likes
656

Hi Naresh,

Check the thread,

Thanks,

keerthi