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

error records in session method

Former Member
0 Likes
327

hai anybody tell me how can we handle error records in session method ..we have a logfile ok...how can we update those error records in online..

Edited by: sudheer b on Jan 15, 2008 9:54 AM

2 REPLIES 2
Read only

Former Member
0 Likes
306

Hi,

s1 : Upload the flat file to itab

s2: create session -


> 'bdc_open_group

s3:loop at itab.

-


perform statments----


call transaction statement

endloop.

  • for messages

s4: if msgid = 'm3' and msgnr = 800.

call FM--->Format_messsage(sucessful records)

else.

call FM--->Format_messsage(failurel records)

insert those failure records into the session , which we created earlier in step 2.

s5 : Open the session in SM35 FOR THE CORRECTION FROM THE USER.

Reward if useful,

umakanth

Read only

Former Member
0 Likes
306

Hi, I think you already have a solution for this. Is this same question or you need any additional help?

Regds, Murugesh