Hi,
i have an internal table with the fields 1. profitcenter 2. company code 3. gl account 4. amount
for each profit center i need to seggregate accounts based on company code.
the report should look like the one below.
please suggest some code using internal table events at new , at end etc. as im not using alv. your help will be rewarded
regards,
ravi.
-Profitcenter
-companycode
glaccount
-amount---
-
-pfcenter1----
-
glaccount1
-1000
---
-
glaccount2
-2000
---
-
4444-total--
********
-
glaccount1
-4000
---
-
glaccount2
-1000
---
-
3333-total--
-profitcentre1*total
******************************************************
profitcentre2.........