Call Transaction (SY-SUBRC = 1001)
I am doing batch determination of production order's (BOM)items using call transaction method (CO02 Transaction). When i execute in All screen mode i am getting SY-SUBRC = 0 but when execute in no screen mode it is returning SY-SUBRC = 1001. I checked in BDCMSGCOLL table but there were no A or E messages. There are messages of type S with message class 00 and message number 344 i .e No batch input data for screen & &.
I investigated further and found that when doing batch determination some times i.e. only for particular production orders some pop up windows are coming. They are actually information messages due to some config. and data issues. When executed in all screen mode i manually click enter button when any pop up windows come.
I actally do not have control over these information messages. Is there a way to supress any information messages that comes through? I tried SUPPRESS DIALOG as we use in dialog programming. But it doesn't work here.
Please suggest me something to get SY-SUBRC = 0.
Thanks in Advance
Help will be appreciated.