Application Development 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: 

Error in BDC in background mode.

Former Member
0 Kudos

Hello Experts,

I am having a query related to BDC. I have written the BDC for TCode : CKMPRPN (Future Price Maintenance). When I execute the BDC thru Call transaction method it works properly.

When I Create the Session and execute in foreground mode then also it woks but when i try to execute in background mode it gives me an error.

Please suggest me the proper Solution.

Thanks

Swati

1 ACCEPTED SOLUTION

former_member200338
Active Contributor
0 Kudos

Hi Swathi,

Are you updating any details in the table control?

While BDC recoding, click on the simulate background mode and do a recoding.

Regards,

Niyaz

4 REPLIES 4

Former Member
0 Kudos

hi Swati,

Can you give the details of the error?

Thanks,

Arun

0 Kudos

Yeah Sure..

Exception condition "CNTL_ERROR" raised.

0 Kudos

Hi ,

Check wheter the field names for the transaction recorded are correct sometimes the field names are not fully copied to se38, if the filed name is to long.However when you run the BDC in foreground it runs ,but when you execute in background it fails, Check for the field names for the recorded transaction in SHDB and in the program.

''.

Thanks,

Ahsan

former_member200338
Active Contributor
0 Kudos

Hi Swathi,

Are you updating any details in the table control?

While BDC recoding, click on the simulate background mode and do a recoding.

Regards,

Niyaz