07-13-2005 3:03 PM
Hi,
I want to be able to CALL the transaction WE02 and have the IDOC number passed to it and automatically displayed from another ABAP program I have written.
Any ideas appreciated.
07-13-2005 3:33 PM
Hi Simon.
I think the cleanest way would be to directly submit the program behind WE02 (RSEIDOC2) by filling the IDoc Parameter/Select-Options (DOCNUM).
You could also do a recording of WE02, and Call the Transaction by passing your IDoc # in your BDCDATA table.
Hope this helps.
Regards,
Jesse Thibodeau
07-13-2005 6:44 PM
Simon;
You can call function module BAPI_IDOCAPPL_DISPLAY (it works in 4.6C) with the IDoc number, and it will bring up the display as WE02 does...
-John