Skip to Content
0
Jan 29, 2009 at 03:49 AM

Regarding Call Transaction

307 Views

Dear All,

In my report I m displaying Process Order No.(AUFNR) , I want to call transaction COR3 using USER COMMAND on AUFNR. I have used following code for this:

form PROCESS using USER_COMMAND like sy-ucomm sel type slis_selfield.

IF SEL-FIELDNAME = 'AUFNR'.

SET PARAMETER ID 'ANR' FIELD sel-value.

CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.

ENDIF.

endform.

By using this code I am able to open COR3 Transaction, but all the time it will open for the same Process Order Number.

I have done this for other transaction also, but for that i am getting correct result.

I m using MATNR to call MM03.

Pls,Suggest any good solution.

Thanks & Regards,

Sandip Sonar.