05-21-2019 12:15 AM
Hello,
Im new in abap programing, i want to display all the values in field kunnr from vapma into a field i ve created in my infoset so i did :
SELECT kunnr FROM vapma
INTO t_kunnr
where matnr = mast-matnr.
ENDSELECT.
but it only display one value i want all the values .
Thank you.
05-21-2019 6:21 AM
You've not displayed all your code. The data definitions are important for context. It looks to me like you've defined a table with a header line. The form of SELECT you're using will only fill the header.
In any case, go through the ABAP documentation for keyword SELECT and see if you can find out how to select into a table. Reading the documentation will teach you far more than anyone spoonfeeding answers to you.
05-21-2019 3:51 PM
okay thank you t_kunnr is not an internal table in this case it's just an additional field i ve created
05-21-2019 4:55 PM
As field holds only single value its displaying one value , if you declare internal table and if you display you will get all values.
05-22-2019 2:14 PM