on 2017 Aug 10 5:26 PM
BDC giving error : No batch input data for screen SAPMSSY0 0120 error while running in back ground mode. It is working fine in fore ground mode.
Request clarification before answering.
Not sure whether you already searched in Google for this issue as many times, this has been discussed. Have a look at OSS note 390084
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to debug your job in background from transaction sm37 using the '=JDBG' okcode (and change the CALL TRANSACTION mode from 'N' to 'A')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i'm pretty sure you have a breakpoint somewhere in userexit/badi/standard code so, when processing bdc, system reaches that point and cannot handle the new screen opening (because obviously bdc do not have the info)
If you check what is SAPMSSY0, you see it's a generic object to handle such popups/infos and so on.

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The transactions may display different screens if you run them in different conditions, background mode being one of them. But your job runs under a different user? Or you run it with a different display mode? (N in background, A or E in foreground? Please tell us exactly the whole scenario (in dialog and the differences with background) so that we can help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandra Rossi,
I am executing this BDC in back ground mode by default with below parameters.
CTU_PARAMS-DISMODE = 'N'
CTU_PARAMS-UPDMODE = 'S'
It's functionality is to create customer.
I have three different company codes,
For 2 company codes BUKRS = 'KEL' and BUKRS = 'CPLA' it is working fine without error but only in BUKRS = 'CPLD' this error is coming.
SAPMSSY0 0120 is the dynpro for displaying an ABAP List. In background mode, the "Basic List" of the first "Screen Sequence" is not displayed but directly output to the spool system. So, your batch input data table should not contain any reference to such screens.
| User | Count |
|---|---|
| 40 | |
| 21 | |
| 15 | |
| 6 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.