‎2013 Sep 13 11:19 AM
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 displayed | XD01 | 1 | SAPMF02D | 0210 | 15 | S | F2 | 019 |
| No batch input data for screen SAPMF02D 0610 | XD01 | 1 | SAPMF02D | 0610 | 20 | S | 00 | 344 |
Plz help me to rectify this error.
Thanks
Sachin Singhal
‎2013 Sep 13 12:28 PM
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.
‎2013 Sep 13 12:48 PM
‎2013 Sep 13 12:51 PM
Hi Sachin ,
Check "Simulate background Mode " in recording .
Regard's
Smruti
‎2013 Sep 13 1:08 PM
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