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 processings

Former Member
0 Likes
635

Hi friends,

can anyone help in answering the fallowing question.

why we use background and foreground processings in BDC.

thnks in anticipation.

regards.

gautham.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
613

hi Gautham,

whenever you dont want to see the actual location of error ,you go for background processing also in case of huge amount of datas to transfer you for it.

whereas in foreground ,you can see where error is actually taking place.

BDC Means Batch Data Conversion.

We have few methods in BDC, But we normally use Session or Call Transaction Methods.

BDC is used to update the database tables from master or transactional data through corresponding transaction.

So that we need to record the particular trn first.

1) we have to upload legacy data(flat file) into internal table through 'WS_UPLOAD' or 'GUI_UPLOAD' function modules.

2) we have to define one more internal table with include structure BDCDATA.

3) use Session or call Transaction methods to update the data.

Session method handles the errors bydefault but call transaction method can not.

It has to define one more internal table to handle the errors with structure of BDCMSGCOLL.

<b>

reward useful points</b>

siva

Message was edited by:

SivaKumar

4 REPLIES 4
Read only

Former Member
0 Likes
614

hi Gautham,

whenever you dont want to see the actual location of error ,you go for background processing also in case of huge amount of datas to transfer you for it.

whereas in foreground ,you can see where error is actually taking place.

BDC Means Batch Data Conversion.

We have few methods in BDC, But we normally use Session or Call Transaction Methods.

BDC is used to update the database tables from master or transactional data through corresponding transaction.

So that we need to record the particular trn first.

1) we have to upload legacy data(flat file) into internal table through 'WS_UPLOAD' or 'GUI_UPLOAD' function modules.

2) we have to define one more internal table with include structure BDCDATA.

3) use Session or call Transaction methods to update the data.

Session method handles the errors bydefault but call transaction method can not.

It has to define one more internal table to handle the errors with structure of BDCMSGCOLL.

<b>

reward useful points</b>

siva

Message was edited by:

SivaKumar

Read only

0 Likes
613

Hi shiva,

Thanks for ur quick response. thats pretty cleared my doubt.

If u have any good online resources for BDC please post them.

thanks in advance.

regards.

gautham

Read only

0 Likes
613

hi Gautam,

You can check ....

Regards,

Santosh

Read only

abdul_hakim
Active Contributor
0 Likes
613

Hi,

Use Foreground mode if you have very less number of records..Also in foreground you

can view the transaction and how the values are getting populated...

Use background mode for bulk transfer...

Cheers,

Hakim