Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

drill down lists..

Former Member
0 Kudos

explain me the concept of drill down list with a code for multilevel list <b>code</b> example....

3 REPLIES 3

Former Member
0 Kudos

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..

Former Member
0 Kudos

Hi,

Chk out this link for a detailed explanation on drill down list:

Hope it helps you.

Regards.

Anjali

vinod_gunaware2
Active Contributor
0 Kudos

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