02-12-2008 12:53 PM
hi
i am developeing a classical report in which i need to get dynamic heading, means depending on value, i need to display some headings and some i have to skip.
i tried by using some integer and char type variable, but failed to achieve.
like
stval = 10.
write 😕 stval 'pavan'
where stval is a variable.
thanks in advance
regards,
pavan
02-12-2008 12:56 PM
Hi,
try like this.........
data num type char2 value '20'.
write : / num,'Hello'.
02-12-2008 1:14 PM
hi jose,
thanks for u r quick response. but the lines given by you are printing
20 HELLO
if i removed , in the write statement, i am getting error message
stating 'Unable to interpret "'Hello'". Possible causes of error: Incorrect.spelling or comma error.
"
regards,
pavan
02-12-2008 1:27 PM
02-12-2008 1:23 PM
Hi,
Take the dynamic changed value into one internal table, then write at last
Regs
Rams