09-30-2008 5:34 AM
Hi Experts,
I am trying to create vendor wise purchase order interactive report, if i click any of vendor detail it has to call display vendor screen for selected vendor or if i click any of purchase details it has to open purchase order details..
can any body explain...
09-30-2008 5:54 AM
hi arun,
use at line-selection
example,
-
at line-selection.
if sy-ucomm = 'PICK'.
if wa_lifnr is not initial.
set parameter id 'LIF' field wa_lifnr.
set parameter id 'BUK' field wa_bukrs.
set parameter id 'EKO' field wa_ekorg.
call transaction 'XK03'. endif.
if wa_ebeln is not initial.
set parameter id 'BES' field wa_ebeln.
call transaction 'ME23N' and skip first screen.
endif.
endif.
-
Regards,
Logan
09-30-2008 5:54 AM
hi arun,
use at line-selection
example,
-
at line-selection.
if sy-ucomm = 'PICK'.
if wa_lifnr is not initial.
set parameter id 'LIF' field wa_lifnr.
set parameter id 'BUK' field wa_bukrs.
set parameter id 'EKO' field wa_ekorg.
call transaction 'XK03'. endif.
if wa_ebeln is not initial.
set parameter id 'BES' field wa_ebeln.
call transaction 'ME23N' and skip first screen.
endif.
endif.
-
Regards,
Logan