Skip to Content
Former Member
Aug 03, 2010 at 09:01 AM

Create ranges dynamically with unique name


Hello Friends,

I have a requirement as mentioned below.

There is an internal table ITAB1 containing field names (say 'BUKRS', 'GJAHR', 'BLART' etc).

It is required to loop in the above internal table ITAB1 and in each iteration define/create a separate range (sign/option/low/high) with a unique name.

Say in the first iteration i.e. for field BUKRS, it is required to define/create a range R_BUKRS, for the 2nd iteraction i.e. for field GJAHR, it is required to define/create a range R_GJAHR and so on.

Please share your inputs for the above requirement.

Thanks in advance.