Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

WE02 how to call from program passing an IDOC number

Former Member
0 Kudos


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.


Former Member
0 Kudos

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.


Jesse Thibodeau

Former Member
0 Kudos


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...