hi to all,
i have two fields <b>SALES ORDER</b> AND <b>BILLING DOCUME</b>NT .. I want to double click on these two in my report/....but it not properly executing...can u suggest me if it is correct or not....
data....
data : begin of wa occurs 0,
vbeln type vbap-vbeln,
vbel1 type vbrp-vbeln,
data :end of wa.
data : itab like table of wa WITH HEADER LINE.
CASE r_ucomm.
WHEN '&IC1'.
IF rs_selfield-fieldname = 'VBELN'.
READ TABLE itab INTO wa INDEX rs_selfield-tabindex.
SET PARAMETER ID 'AUN' FIELD wa-vbeln.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
IF rs_selfield-fieldname = 'VBELN'.
READ TABLE itab INTO wa INDEX rs_selfield-tabindex.
SET PARAMETER ID 'VF' FIELD wa-vbeln.
CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.
ENDIF.
thanks,
raju