Dynamic internal table
I've got same fields eg. kunnr, erdat and internal table with column names 1001,1002,1003 etc. I would like to make internal table from above values like following:
Some of fileds will be from SELECT statement others must be calculated and filled in program. Have anybody idea how to make it? Please send source code if possible.