05-19-2006 5:22 AM
explain me the concept of drill down list with a code for multilevel list <b>code</b> example....
05-19-2006 5:28 AM
REPORT ZTEST.
write:/ 'Hello'. "Basic list
at line-selection.
write:/ 'This is secondary list', sy-lsind.
Once the output 'Hello' is displayed, click on it.. it will navigate to the secondary list which you have written in the event called 'AT LINE-SELECTION'.. Keep on clicking and you will find that you can create 20 such secondary lists.. and beyond which the program gives a core dump..
05-19-2006 5:58 AM
05-19-2006 6:23 AM
report z.
type-pools: vrm.
data: it_val type vrm_values,
w_line like line of it_val.
parameters p_bukrs like t001-bukrs as listbox
visible length 25 obligatory.
initialization.
select bukrs butxt from t001 into (w_line-key, w_line-text).
append w_line to it_val.
check p_bukrs is initial.
p_bukrs = w_line-key.
endselect.
at selection-screen output.
call function 'VRM_SET_VALUES'
exporting
id = 'P_BUKRS'
values = it_val.
end-of-selection.
write: / 'Company Code:', p_bukrs.
regards
vinod