We are trying to create BDC to post LT01 by using below statement. But the TO can not be created without any error.
CALL TRANSACTION 'LT01' USING gt_bdcdata
MESSAGES INTO gt_messcal.
lc_dismod = "N"
lc_updmod = "S"
The same BDC session can be run in SM35 successfully. What could be the reason?