2007 Aug 08 6:52 PM
I have 2 fields like customer and name having 20 records on basic list. When I select 5 records randomly, I want to get the address of particular customer selected in secondary list?
I have 2 fields like customer and name having 20 records on basic list. When I select 5 records randomly, I want to get the address of particular customer selected in secondary list?
2007 Aug 08 6:58 PM
Hi,
You can do this by using Get cursor field statement.
At line selection.
get cursor field fnam fval.
select land1 name1.... from kna1 into it_add where kunnr = fval.
Reward if helpful
Kamal
2007 Aug 08 7:49 PM
Hello,
you can use the HIDE technique.
while displaying the basic list, you can use the hide statement.
chk the following code.
*To display basic list.
Loop at ITAB.
hide KUNNR.
write KUNNR, NAME.
endloop.
*To Display Secondary List
at line-selection.
select address from <Table> into <Variable> where kunnr = itab-kunnr.
write : <address>.
Hope this works.
Cheers!
Sravan.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |