Dear Abap Gurus
SELECT COUNT( * ) as count
RJVNAM
RECVIND
RACCT
CCWBS
JIBCL
JIBSB
SUM( hsl01 ) as HSL01
SUM( hsl02 ) as HSL02
SUM( hsl03 ) as HSL03
SUM( hsl04 ) as HSL04
SUM( hsl05 ) as HSL05
SUM( hsl06 ) as HSL06
SUM( hsl07 ) as HSL07
SUM( hsl08 ) as HSL08
SUM( hsl09 ) as HSL09
SUM( hsl10 ) as HSL10
SUM( hsl11 ) as HSL11
SUM( hsl12 ) as HSL12
Above is the part of internal table which contain the selected fields and field HSL01 to HSL12 representing the consecutive month. I have senario if user select month 6 (June) which represent field HSL06 what is the best way in the abap script that Im able to select field from HSL01 to HSL06.
Thanks
Regards
Adis