Skip to Content
0
Former Member
Mar 02, 2009 at 06:51 AM

at line selection and call transaction

206 Views

Hi,

my program is given below.In that i used call transaction.If i double click that one,it is going to that

transcation.but it is going for selection screen in that transaction.I dont want that selection screen.

according to docno it has to be executed.For that how i have to write code in that one.

tables : ztrack.

types : begin of ty_ztrack,

serno type ztrack-serno,

DOCNO type ztrack-DOCNO,

PACK_SLIP type ztrack-PACK_SLIP,

BUDAT type ztrack-BUDAT,

MOVETYPE type ztrack-MOVETYPE,

DCNO type ztrack-dcno,

VENDOR type ztrack-vendor,

VEHINO type ztrack-VEHINO,

end of ty_ztrack.

data : it_ztrack type table of ty_ztrack with header line.

parameters : s_docno like ztrack-docno.

parameters : s_budat like ztrack-budat.

start-of-selection.

if not s_budat is initial.

select * from ztrack into corresponding fields of table it_ztrack

where budat = s_budat.

endif.

loop at it_ztrack.

write : / it_ztrack-serno,it_ztrack-docno,it_ztrack-pack_slip,

it_ztrack-budat,it_ztrack-movetype,it_ztrack-dcno,it_ztrack-vendor,

it_ztrack-vehino.

hide : it_ztrack-docno.

endloop.

at line-selection.

CALL TRANSACTION 'ZRTP_PRINT'.