2023 Dec 17 4:19 AM
Hi ABAP Sifus,
I have requirement like below.
1. To declare new field in i_glt0(sum of balance carry forward)
2. Do summation for i_gIt0 based on below criteria:
Company code
Account
Ledger
Fiscal year
Currency
Record type = 0
Controlling Area = ABC
And then store the value in the new field created in step 1.
Let say the field I created in step 1 is sum_bal-glt0-tslvt
What is the best approach to do the summation?
Appreciate your help thanks!
2023 Dec 17 1:31 PM
Are you asking how to use LOOP AT, IF and +? I don't get where the difficulty is, please clarify.