No batch input data for screen SAPMSSY0 0120 when running BDC in background
I am facing an issue "No batch input data for screen SAPMSSY0 0120" when running a BDC for VA01 in background.
The scenario is like we have EDI orders coming into SAP in the form Idocs. These EDI orders are processed by Function module
IDOC_INPUT_ORDERS. This FM module internally calls VA01 (Call Transaction) to create Sales Orders in SAP.
Now we have a scenario in which we want a popup screen to come up & ask for selection of record from list of records displayed on popup screen. In background since we can not show up a screen, we are programatically selecting the record we want & going ahead.
Now what is happening is during foerground the functionality is working abosultely fine, that is incoming idoc is getting posted successfully in SAP with status of 53. Incase of back ground processing of the same we are getting an error
No batch input data for screen SAPMSSY0 0120
I have checked this screen through screen painer(SE51) & i did not find any element on this screen but Element list
shows one field Syst-Xcode.
Kindly guide me how to fix the issue so that the same can work as expected in background.