‎2006 Nov 23 5:46 AM
Hi all
I did a bdc for the tcode mira. It works fine in the foreground and displays
a status message "INVOICE DOCUMENT 411523 POSTED" is raised by SAP itself.
But in backgroud the program gets finished,but no documents is posted.
I want to run the program only in background .How to handle the message in background?
Thanks all.
‎2006 Nov 23 5:52 AM
ru using Call Transaction or session method.
If u r using Call transaction then pass the messages into one more internal table and display the messages.
Ex.
DATA: I_MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
CALL TRANSACTION 'MIR7' USING I_BDCDATA
MODE G_MODE
UPDATE 'S'
MESSAGES INTO I_MESSTAB.
loop at i_messtab and display the messages.
‎2006 Nov 23 5:53 AM
‎2006 Nov 23 5:54 AM
Hi,
Did u add COMMIT WORK AND WAIT after call to MIRA ? If not, add this and check again.
Thanks
Ramakrishna
‎2006 Nov 23 5:57 AM
hi ramakrishana ,
Even i hav the same problem , could u please tell me in wat way COMMIT WORK will play in this issue.
-shan