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

Former Member
0 Likes
775

Hi

In session method while uploading data , for example internal table contains 50 records

if in 30th record if we encounter error

what I will happen from 30th records

is it 30th record will go to log file?

and from 31st record what will happen?

Thanks and Regards,

Rambabu.A

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
755

If the session is executed in foreground then you need to keep accepting the values until the process gets halted where the error is i.e 30th screen until all the records are processed successfully.

If the session is executed in background then the process gets completed and error records can be obtained by analysing the log history. All other records are succesfully processed.

If the session is executed in show errors only then process stops at the error record and the bdc screen is shown with the error value. User must rectify this error to proceed further.

Dont forget to award points if the reply is useful.

6 REPLIES 6
Read only

Former Member
0 Likes
755

Hi,

Only the error records will be stored in Log files.

Rgds,

Bujji

Read only

0 Likes
755

Hi Bujji,

what will happen from 31st record?

Thanks and regards,

Rambabu.A

Read only

Former Member
0 Likes
755

Hi,

The 30th row will be recorded in the log.

If the error is a short dump, then the rest will not be processed. But if it only an error message, then the rest will still be processed.

Regards,

Teddy

Read only

Former Member
0 Likes
756

If the session is executed in foreground then you need to keep accepting the values until the process gets halted where the error is i.e 30th screen until all the records are processed successfully.

If the session is executed in background then the process gets completed and error records can be obtained by analysing the log history. All other records are succesfully processed.

If the session is executed in show errors only then process stops at the error record and the bdc screen is shown with the error value. User must rectify this error to proceed further.

Dont forget to award points if the reply is useful.

Read only

Former Member
0 Likes
755

Hi,

The first thirty record gots updated in the table.

If the 31 st records is the error record it will be shown in the error log file in the output.

Then the other record which is suitable to update get updated automatically.

Those records which is processing error wil be updated in the error file.

Thanks,

Sakthi C

*Rewards if usefull*

Read only

Former Member
0 Likes
755

Hi Rambabu,

In Session method, If u r processing in forground when the error record will come it shows error if u correct the error then the processing will continue..

If u r processing in background , the proceesing will completed successfully.. only error records stored in the log file all records completed successfully...