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 using session method in background mode

Former Member
0 Kudos

I have developed a bdc for customer master (XD01) by using session method. When I process session from sm35 in foreground mode, my bdc is working fine. But when i process it in background mode it is throwing error :

Place the cursor on the account to be displayedXD011SAPMF02D021015SF2019
No batch input data for screen SAPMF02D 0610XD011SAPMF02D061020S00344

Plz help me to rectify this error.

Thanks

Sachin Singhal

4 REPLIES 4

Former Member
0 Kudos

Hi Sachin,

Some programs wont run in background.If it is running in foreground means, your program needs some user interaction so its uploading.If you give in background mode there is no user interaction with program so its giving those errors.So do once again recording properly and try with background mode, if recording is not good means it wont run in background , otherwise give error mode instead of background ,it will work fine.

Regards

Ashok P.

raymond_giuseppi
Active Contributor
0 Kudos

Some programs have a different behavior in background, so when you record a transaction with SHDB don't forget to check the "Simulate Background Mode" box. Also remember that BDC can only handle screen technology and not the control technology used by Enjoy transactions.

Regards,

Raymond

Former Member
0 Kudos

Hi Sachin ,

Check "Simulate background Mode "  in recording .

Regard's

Smruti

Former Member
0 Kudos

Hi Sachin,

I will suggest to use BAPI instead of BDC ...BAPI for customer create/change is

BAPI_CUSTOMER_CHANGEFROMDATA1. BAPI handles dynamic screen sequence internally also you can schedule it in background. Only thing is that you have to provide correct data in import , export and tables fields

Thanks

Vivek