I am using the tcode WPER to process the idoc's of type WPUUMS,WPUFIB etc..
I have created a method with the following code.
SET PARAMETER ID 'DCN' FIELD OBJECT-KEY-IDOCNUMBER.
CALL TRANSACTION 'WPER' AND SKIP FIRST SCREEN.
the screen that i get when i manually input the Idoc number in the inbound block is very different when i execute through the workflow .
please can anyone give me solution to display the correct screen through workflow ?