I have a requirement to display the opening and closing balnace of ECS and SH ECS along with the opening and closing CENVAT balances for input and capital goods.
Can anyone tell me what logic can be used to get ECS and SH ECS.
As per my understanding :
LOOP AT gt_part2 WHERE ( trntyp = 'GRPO' OR trntyp = 'EWPO' OR trntyp = 'CAPE' OR trntyp = 'DIEX' OR trntyp = '57CM' OR trntyp = 'CEIV' ). MOVE gt_part2-exbed TO gt_totals-exbed. MOVE gt_part2-exsed TO gt_totals-exsed. MOVE gt_part2-exaed TO gt_totals-exaed.
Here from j_1ipart2 table the ecs value can be fetched .
Kindly help what can be done in order to get the ecs and sh ecs opening and closing balances.