Dear Abapers,
I am updating batch information (not at the item level but at component level) in PO through ME22.
CALL TRANSACTION 'ME22' USING BDCDATA
MODE 'N'
UPDATE 'S'
MESSAGES INTO GT_ME22_MESSTAB.
When i execute in all screen mode it is updating the batch information in item components (Subrc is 0). But when i execute in No screen mode program is not updating the information and subrc value is 1001.
In the help it says : for mode N
Processing without display of screens. If a breakpoint is reached in one of the called transactions, processing is terminated with sy-subrc same as 1001. The field sy-msgty contains "S", sy-msgid contains "00", sy-msgno contains "344", sy-msgv1 contains "SAPMSSY3", and sy-msgv2 contains "0131".
There are no break points set any where....
Thanks in advance.
Sanjay.