Skip to Content
0
Jan 24, 2020 at 11:20 AM

Assign length of DATA type C with a variable

361 Views

I want to assign a dynamically calculated length to DATA TYPE C. Is there a way I can do this?

DATA: PQR TYPE I VALUE 200.

// Some Operations on PQR to calculate correct length //

DATA: OUTPUTROW (PQR) TYPE C.