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 Session method

Former Member
0 Likes
885

Hi friends,

Currently i am working with BDC. Here I have done the recording and created a program. Then created a session and for testing my program i have processed that session in foreground but here i got some errors while running then i went to overview and saw the record.

My main question is suppose in my session if it contains both sucessful and error records then this sucessful records will be updated in DB and how can i process this error records again.

Can any one guide me its urgent.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

0 Likes
866

Hi,

you can directly process the error records which ever in session in sm35. oter wise againg update the file with error records after corrections.

Regards.

sriram.

8 REPLIES 8
Read only

Former Member
0 Likes
866

Hi Niki,

You need to Manullay update the error records using transaction or again you can run the batch program to upload.

Generally you dont find many error records so for those error records we manually enter through transaction.

Best regards,

raam

Read only

0 Likes
866

Hi Friends,

Thanks for ur replay,

No main main doubt is if my session has two records if first is sucessful and second is error. Whether this sucessful record is updated in DB and how to handle this error if i have huge amount of records.

Pls guide me.

Read only

0 Likes
866

Hi Niki,

The success records get updated in the database.

If you have too many error records then you can again go for upload program.

Best regards,

raam

Read only

0 Likes
866

Hi Niki,

Actually you need to created an internal table to hold the error records ... I mean to say that ( BDC_INSERT ) if sy-subrc ne 0 then you need to pass the records to an internal table ..

once you complete the BDC process then you need to download this records into an flat file (XLS,TXT,other).. and you need to check manually each and every record where its getting error and you need to correct the error and process the session once againg with this records ... ( functional consultant will do this correction)..

  • Reward Points if useful *

  • Raghunath.S*

9986076729

Read only

0 Likes
866

Thanks a lot kodhandaram.

Whether i want to take same flat file to process error records or i have to prepare a new flatf ile and process. If i use same flat file(old) means it wont effect the sucessful records which has runned previously.

with regards,,,

Read only

0 Likes
866

Hi Niki,

As Raghunath said you need to download the error records in to a file and the use the file to upload the records .

Best regards,

raam

Read only

former_member761936
Active Participant
0 Likes
866

Hi niki,

After proceesing all successful records in background (or) foreground.You need to process that session using option 'Display errors only'.Then it will take you directly to the error screen, there you need to correct error manually and need to proceed further.

Hope this will help you.

Read only

0 Likes
867

Hi,

you can directly process the error records which ever in session in sm35. oter wise againg update the file with error records after corrections.

Regards.

sriram.