2006 Dec 05 7:16 AM
How can we create interactive ABAP Query?
How can we develop secondary lists in an ABAP Query?
How can we create interactive ABAP Query?
How can we develop secondary lists in an ABAP Query?
2006 Dec 06 8:31 AM
Please have a look at SQ01 & SQVI; you will some thoughts about it.
Regards,
Ramki.
2006 Dec 06 8:34 AM
2006 Dec 18 5:00 AM
Hi,
By using event handlers we can create interactive abap queries.
Here is the sample code for creating secondary lists:
Tables: spfli.
Start-of-selection.
write: 'Basic-list:',sy-lsind.
Data itab like table of spfli with header line.
At line-selection.
case sy-lsind.
when 1.
select * from spfli into table itab.
loop at itab.
write: / itab-carrid,itab-connid.
endloop.
when 2.
write: 'list-level :',sy-lsind.
select.........
..........ur required code...
when others.
Leave program.
endcase.
Sy-lsind: It is a s/y variable which will carry the current list level.
This sy-lsind hold basic list which hold 20 sub-lists.
By seeing this code u will get some idea on creating secondary lists.
Cheers,
Prasanthi.
Reward helpful answers.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |