‎2007 Jul 05 3:51 PM
Based on idocnumber i need to call WE02 Tcode
SET PARAMETER ID: 'DCN' FIELD DOCNUM.
call transaction 'WE02'.
Its calling WE02 screen but not giving value there
‎2007 Jul 05 3:54 PM
‎2007 Jul 05 4:00 PM
Hi
try
CALL TRANSACTION 'WE02' AND SKIP FIRST SCREEN.
Cheers
~Arun
‎2007 Jul 05 4:02 PM
Hello,
DO like this.
SET PARAMETER ID: 'DCN' FIELD DOCNUM.
call transaction 'WE02' and skip first screen.
Vasanth
‎2007 Jul 05 4:05 PM
Hi All,
I tried SKIP first screen also...if i use this then its displaying all the idocs...
I need to display only the particular idocs which I am passing from this main program.
‎2007 Jul 05 4:30 PM
Hello SUmi,
SInce it the field of select-options better record a BDC and pass the values.
Vasanth
‎2007 Jul 05 4:15 PM
Hi,
Use
submit RSEIDOC2 with docnum = v_docnum
and return.
aRs
‎2007 Jul 06 1:54 AM
You should pass the values into a bdc structure and call the transaction by using that structure. Here is the sample codes:
DATA: BDCDATA TYPE TABLE OF BDCDATA.
WA_BDCDATA TYPE BDCDATA.
WA_BDCDATA-PROGRAM = 'RSEIDOC2'.
WA_BDCDATA-DYNPRO = '1000'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
wa_bdcdata-fnam = 'DOCNUM-LOW'.
wa_bdcdata-fval = DOCNUM
append wa_bdcdata to bdcdata.
CLEAR WA_BDCDATA.
CALL TRANSACTION 'WE02' USING BDCDATA MODE 'N'.Please reward points if helpful.
Minami
‎2007 Jul 06 2:00 AM
You cannot use SET PARAMETER ID in this case because the program is not using it. Instead you simply use the SUBMIT as suggested above.
‎2007 Jul 09 11:15 AM