ABAP中能不能依靠循环来声明变量?
现在有个需求,需要一个月里,按天输出数据,所以想弄个循环,小弟ABAP纯新手,现在有点小问题,ABAP中能不能实现
Data string1 Type C value "xxxx"
Data string2 Type C value "xxxx"
Data string3 Type C value "xxxx"
..........................
..........................
Data string30 Type C value "xxxx"
转为
Data length type i value 1
While length <30
Data string+i type c value "xxxxx"
length = length + 1
EndWhile
就像很多其他语言一样,或者用数组也行,谢谢