hi Hermawan,
select banfn bnfpo
from Eban into table it_eban
for all entries in it_eban
where EQ banfn it_eban-banfn and
bnfpo EQ-bnfpo it_eban.
Please fo F1 on select statement. you will get to know how to use it.
You cannot have ' for all entries in it_eban ' as u r putting values in same internal table.
Also u cannot have it_eban-banfn in where cluase as u r putting values in same internal table.
In conditions either u can pass direct values or from some variable.
thanks,
Sachin