Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Select-options

Hi All,

I have specified two values in a select-option.

for eg dat1 to dat7

if i want all the values that fall in dat1 to dat7 in an internal table, hw can i do it?

thanks,

HM

Tags:
Former Member
Former Member replied

Hi Hitesh,

You can do like this

REPORT ZTEST .

tables: kna1.

Select-options: s_kunnr for kna1-kunnr.

Data: begin of itab occurs 0,

kunnr type kna1-kunnr,

end of itab.

Select Kunnr from kna1 into table itab where kunnr in s_kunnr.

Loop at itab.

write: / itab.

endloop.

<b>Reward Points if this helps,</b>

Satish

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question