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 data upload

Former Member
0 Likes
543

Hi

Think through call transaction i have uploaded 500 records, after that we found that between 300 and 400 records are not properly uploaded

Can any body tell me how to approach the problem and resolve it.

kris

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
523

Hi Narendra..

Generally in Call transaction method to Handle the errors:

Check the SY-SUBRC after each CALL TRANSACTION and if it is not 0 then Store the Transaction in Session (call fm 'BDC_INSERT') .

So all the Error Transactions are stored in Session.

Process this Session in foreground mode and fix the Errors.

<b>reward if Helpful</b>

4 REPLIES 4
Read only

varma_narayana
Active Contributor
0 Likes
524

Hi Narendra..

Generally in Call transaction method to Handle the errors:

Check the SY-SUBRC after each CALL TRANSACTION and if it is not 0 then Store the Transaction in Session (call fm 'BDC_INSERT') .

So all the Error Transactions are stored in Session.

Process this Session in foreground mode and fix the Errors.

<b>reward if Helpful</b>

Read only

Former Member
0 Likes
523

create an internal table with structure of BDCMSGCOLL. and collect the error records into this internal table.once u get the records u can upload it manually or use session metod to upload.

reward points for useful answers.

Read only

Former Member
0 Likes
523

Hi,

You need to get the error records in to a session then upload them from the session in the Error screen mode, then it will stop every where and enter the correct value then press enter,

or, you need to correct the Flat file then upload to SAP,

or, you can run the transaction in the Error screen mode then correct it while running the Program

Regards

Sudheer

Read only

Former Member
0 Likes
523

thanks