Hi,
if the user click the material document in the report it should take user to challan creation screen(J1if01)
i am capturing the values of Material Document & Material Document year but not capturing the Exercise Group.
below i am attaching the code.
SELECT SINGLE *
from J_1IEXGRPS
into J_1IEXGRPS WHERE J_1IWERKS = wa_final-werks.
exgroup = J_1IEXGRPS-J_1IEXCGRP.
SET PARAMETER ID 'J2I' FIELD exgroup.
SET PARAMETER ID 'MBN' FIELD WA_FINAL-MBLNR .
SET PARAMETER ID 'MJA' FIELD WA_FINAL-MJAHR .
CALL TRANSACTION 'J1IF01' AND SKIP FIRST SCREEN.