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: 

BDC is not working in when executing the program in background

swatantra_vijay3
Participant
0 Kudos

Hi gurus,

I have a problem that in BDC is not working when i'm executing the upload program in background thru scheduling(SM36) , while it works fine when i execute directly with NO screen display mode

5 REPLIES 5

Former Member
0 Kudos

Can you explain the mode of upload?.

If you are trying to upload the file from presentation server in background , it wont work .

Instead using datasets, you can upload the files from application server in background.

Regards

Elini.P

Former Member
0 Kudos

Many transactions behave differently when executed in foreground and background. The fields on the screen may be different.

In transaction SHBD when starting a recording there is a checkbox where you can select 'Simulate Background Mode'. If you do your recording using this option you will get the code suitable for background mode. If you do not select this option you will get a code for foreground mode.

By compairing the two codes you will know the changes required for background mode.

Hope this helps you

Former Member
0 Kudos

Did u Overcome any Warning Message When Executed through Process/foreground?

In Background, Warning Messages should be avoided.

Former Member
0 Kudos

Hi Swatantra,

If your input file is at presentation server you cant's access that in back ground mode. So please check that.

Place the file in application server teh it will work.

Thanks & Regards,

Siri.

Former Member
0 Kudos

Hi while recording the transaction using SHDB u might not have checked the check box 'Simulate background mode' in the first screen.

Please select this check box and do the recording. This will solve ur problem.

Satish