Skip to Content
0
Former Member
Dec 15, 2006 at 09:09 AM

sequential file problem

40 Views

Hi Friends,

Is the sequential files are called dynamically?

Suppose I have to fetch the records from LFA1 & KNA1 table.

I have put the radiobutton in selection screen.

If my user selects the LFA1 radiobutton it will only upload the LFA1 data to application server.

for this i have to write the logic

if p_lfa1 = 'X'.

perform opendataset.

perform dataselect_lfa1.

perform transfer.

perform closedataset.

elseif p_kna1 = 'X'.

perform opendataset.

perform dataselect_kna1.

perform transfer.

perform closedataset.

elseif p_both = 'X'.

perform opendataset.

perform dataselect_lfa1.

perform dataselect_kna1.

perform transfer.

perform closedataset.

endif.

But the problem is that whenever I select the lfa1 radiobutton it will also create the file in application server for kna1.

Anybody will pls suggest me what I can do??