07-05-2007 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
07-05-2007 3:54 PM
07-05-2007 4:00 PM
07-05-2007 4:02 PM
Hello,
DO like this.
SET PARAMETER ID: 'DCN' FIELD DOCNUM.
call transaction 'WE02' and skip first screen.
Vasanth
07-05-2007 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.
07-05-2007 4:30 PM
Hello SUmi,
SInce it the field of select-options better record a BDC and pass the values.
Vasanth
07-05-2007 4:15 PM
07-06-2007 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
07-06-2007 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.
07-09-2007 11:15 AM