Character variable with dynamic length
问题 Is there any way to declare char variable (or maybe string) with the length which is calculated dynamically? This coding clarifies what I want: DATA: len TYPE i, a TYPE i, b TYPE i. len = a + b. DATA: var(len) TYPE с. Do not propose solutions with CREATE DATA and/or field symbols: I've tried them but they are not applicable in my case. The intention of such declaration is adding leading zeroes and/or apply other logic to this string. Therefore string is to be declared strictly ! Any proposals