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 in flat file

Former Member
0 Likes
640

hai...........

If there is a error in 5 th record of flat file.

what happens if we upload that data through session method, whether it stops at 4 th record or except 4 th record all r updated........

and what happens with call transaction .

plz any body give me clear explanation.....?

5 REPLIES 5
Read only

Former Member
0 Likes
619

In both cases if you dont specify error method, the files upload data into SAP and the error records are been shown out. In session method you can handle the errors while in call transaction you need to correct the data and once again run the program.

Read only

Former Member
0 Likes
619

CAN U EXPLAIN CLEARLY........?

Read only

0 Likes
619

Dear Satheesh,

If there is error in 4th record,....in (1) Session method:- it skips that records, and all remaining records get uploaded into the system...and u have to go the log thr' SM35, then either u can see error to what screen and to what field by Analyze ro Statistics or Log options from Application Tool bar buttons...and do correction and process them again.......While as in (2) Call Transaction method:- screen gets stucks immediately at the point of error. In this situation, u have to do corrections manually to process that screen ( means u have to filled data for those fields,where error occurs)....I think that this info. will sufficient for you.

Sanjay Bhalerao

Read only

Former Member
0 Likes
619

thanku sanjay...........

one thing.............

session method updates the database syncronously........means........

one by one record i.e. if first record gets updated succesfully then only next record will update,........am i right.

so session method should stop at 4 th record.

what do u say........

Read only

0 Likes
619

Yes, u r right. Batch Input or session method updates synchronously. BUT...If error occurs, that automaticallly get Logged with the error messgage 'Update Error' (with various return code values, depends on the error.) THEN u can analyze those errored records. And resolve them by either by processing session or by Re-submitting them with Tcode SM13.

N.B.:-For better results use only SM13 and do not use Re-process of sessions.