Skip to Content
0
Former Member
Jul 07, 2007 at 10:42 AM

Call Transaction frm alv report.

82 Views

HI Friends!

i m using this code.trying to call transaction co27 frm alv report. But displaying first screen and giving error -- All the production orders in the system are read.

form user_command using r_ucomm like sy-ucomm

rs_selfield type slis_selfield.

case r_ucomm.

when '&IC1'.

if rs_selfield-fieldname = 'AUFNR'.

read table itab into wa_itab index rs_selfield-tabindex.

set parameter id 'ANR' field wa_ITAB-AUFNR.

call transaction 'CO27' and skip first screen.

endif.

endcase.

ENDFORM.

plz give some solution.

Rahul