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.
cancel
Showing results for 
Search instead for 
Did you mean: 

SET parameter

Former Member
0 Kudos

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

9 REPLIES 9

Former Member
0 Kudos

Have you used get parameter in the calling program

Former Member
0 Kudos

Hi

try

CALL TRANSACTION 'WE02' AND SKIP FIRST SCREEN.

Cheers

~Arun

Former Member
0 Kudos

Hello,

DO like this.


SET PARAMETER ID: 'DCN' FIELD DOCNUM.
call transaction 'WE02' and skip first screen.

Vasanth

Former Member
0 Kudos

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.

0 Kudos

Hello SUmi,

SInce it the field of select-options better record a BDC and pass the values.

Vasanth

former_member194669
Active Contributor
0 Kudos

Hi,

Use


submit RSEIDOC2 with docnum = v_docnum 
                            and return.

aRs

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Thanks for the help .