I have LSMW with Direct Input type for posting document in FB01. When executing SM35 session in foreground mode, everything works correct and document gets posted successfully.
But in background mode, error message appears saying "Field BSEG-DMBTR. does not exist in the screen SAPMF05A".
In both the modes, log shows this message as 'S' only but in case of background, the recording stops inbetween and we get 1 transaction with errors.
I have checked field mapping in LSMW and everything seems in place.
Can you please help to resolve the issue?
Just to confirm, the input file has value for this field DMBTR.