Skip to Content

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

Final internal table fetching

In my report.

I have select-option : for Material, Plant and Customer Region.

In my Ztable I have material group, Plant and Customer Region.

I want to fill my internal table as



Customer Region.

How Can I do it, I am not getting the logic due to all in are in select-options.

Can anybody suggent me.


kumar n

Former Member
Former Member replied


data : itab type table of ztable,
            wa type ztable.
  select-options : s_matnr for ztable-matnr,
                         s_werks for ztable-werks,
                         s_custom for ztable-cutomer region.

  select matnr
            customer region
            from ztable into table itab
            where matnr in s_matnr
            and werks in s_werks
            and customer region in s_custom.

loop at itab into wa.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question