Solution : https://service.sap.com/sap/support/notes/433137 (SAP Service marketplace login required)
Summary :
When creating a batch input recording for background execution (e.g., batch jobs, "CALL TRANSACTION...USING..."), the transaction behaves differently than in foreground processing, leading to the error "Batch input data is not available for screen XXXXXXXX 9999". This occurs because the transaction records only support dialog processing fields and not the alternative fields displayed when SY-BATCH='X'. From SAP Release 6.20, the "Simulate Background Mode" feature in the transaction recorder allows recording fields specific to background processing. Users must ensure settings in transaction SM35 and BDC_INSERT reflect this mode to avoid errors in dialog use.
Key words :
parameter mode standard simulate background mode display, system indicator sy-batch='x', basis support package listed, system field sy-batch, sy-batch='x', simulate background mode, optional parameter simubatch, batch inputtransaction shdb, display alternative fields, function module bdc_insert
Related Notes :
1437811 | Batch input: BDC_INSERT parameter CTUPARAMS |
1355047 | Batch input for CFM2/3 |
554139 | FAQ 2: Batch input |
311440 | Batch input and controls |
33319 | Batch input: Backgr. runs diff. than in the dialog |