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
555

Hi Friends,

I faced the following question in an interview...please let me know the answer???

Suppose u are running a BDC program in back ground.If Error occuurs what will happen?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
534

Hi Reema,

As of your question, there may be several reasons for failure of the bdc.

I will explain you , with an example.

As we know, errors in Call transaction are captured through table via a structure called BDCMSGCOLL.

It display, the field name, screen name, screen number and message type..so on.

For instance, if you have coded that, through bdc, the value of MEINS is filled up. But, if there is no value in the incoming file or text file. then in foreground it won't show's an error, when you run it in back ground, it triggers an error.

This is what practically i have faced.

Like few reasons

1. Date format

2. Currency not assigned correctly.

3. even some errors for back ground might be session not closed .

Thanks

Manju,

4 REPLIES 4
Read only

Former Member
0 Likes
534

hi,

if it is Call transaction.

<b> errors need to be handled explicitly</b>

if it is Session method.

<b>error log is created</b>

Rgds

Reshma

Read only

0 Likes
534

Thanks but again i got the question as what may be the reason for the error..please let me know...i replied that there may be miss matching of data in flat file...please help me out in this regard????

Read only

0 Likes
534

Hi,

You can get some of the following errors..

1, First one may be data mismatching of fields.

2. Value range may be different for some material and customer number etc,,

3. Some of the combination of the fields may not match like sales area..(Sales Org, Distribution Channel and Division)

4, Contry codes may be different

5. Data type may mis match and length of the fields may be different..

6. Mostly the validations of the fields will give errors.

So better to validate the data in the flat file and then pass those values to the BDC data would be best practice.

Whether its a back ground or on line you have to handle the errors explicily in Call Transaction method and for Session methed the system will generate error log.

Regards,

Jayaram...

Read only

Former Member
0 Likes
535

Hi Reema,

As of your question, there may be several reasons for failure of the bdc.

I will explain you , with an example.

As we know, errors in Call transaction are captured through table via a structure called BDCMSGCOLL.

It display, the field name, screen name, screen number and message type..so on.

For instance, if you have coded that, through bdc, the value of MEINS is filled up. But, if there is no value in the incoming file or text file. then in foreground it won't show's an error, when you run it in back ground, it triggers an error.

This is what practically i have faced.

Like few reasons

1. Date format

2. Currency not assigned correctly.

3. even some errors for back ground might be session not closed .

Thanks

Manju,