Hi experts,
this is my code.....
LOOP AT t_final .
v_count = v_count + 1.
var_tues = var_tues + t_final-tues.
var_cbm = var_cbm + t_final-ntvol.
AT END OF sline.
it_tues-vkorg = t_final-vkorg.
it_tues-sline = t_final-sline.
it_tues-ntvol = var_cbm.
it_tues-tues = var_tues.
APPEND it_tues TO it_tues.
ENDAT.
clear it_tues.
CLEAR: v_count.
CLEAR: var_tues,var_cbm.
clear t_final.
ENDLOOP.
i have a table......... T_FINAL like this......
vkorg sline tues ntvol
1300 1 10
1300 1 10
1300 2 8
1300 rx 1 12
1300 rx 3 7
1300 bx 1 12
1300 bx 2 10
1300 bx 1 15
1400 bx 2 8
1400 bx 1 9
1400 yu 2 10
i need to modify this by SLINE by DX. SO it becomes like
vkorg sline tues ntvol
1300 DX 1 10
1300 DX 1 10
1300 rx 1 12
1300 rx 3 7
1300 bx 1 1
1300 bx 2 10
1300 bx 1 15
1400 bx 2 8
1400 bx 1 9
now my requirement is DESIRE OUTPUT
vkorg sline tues ntvol
1300 DX 4 28
1300 rx 4 19
1300 bx 4 26
1400 bx 3 17
1400 yu 2 10
But i m getting like A AS this i used only 1300 sales organization.....
vkorg sline tues ntvol
1300 DX 1 10
1300 DX 1 10
1300 DX 2 8
1300 rx 4 19
1300 bx 4 26
so please help me out how could i get my desire output.
thanks
babbal
Moderator message - Duplicate post locked
Edited by: Rob Burbank on Jul 6, 2009 10:59 AM