‎2007 Jun 20 7:33 AM
Dear All,
I have internal table call ITCODE
suppose 4 fields are there
ZCODE = Product Id
ZVAL1 = Price 1
ZVAL2 = Price 2
ZTOTAL =
i wanna fill ZTOTAL column from Price 1 + Price 2
but i don't want to loop
can you please help me to solve this matter
‎2007 Jun 20 7:48 AM
hi
use like this.
loop at itcode.
itcode-ztotal = itcode-zval1+itcode-zval2.
endloop.
Thanks
Ashu
‎2007 Jun 20 7:42 AM
hi,
for that u have to do loop only,
do like.
loop at itcode.
ZTOTAL = itcode-zval1 + itcode-zval2.
clear: itcode
endloop.
regards,
sudha
‎2007 Jun 20 7:48 AM
hi
use like this.
loop at itcode.
itcode-ztotal = itcode-zval1+itcode-zval2.
endloop.
Thanks
Ashu
‎2007 Jun 20 7:48 AM
Hi Nelson,
I dont think this is possible without looping.
Regs,
Sameer
‎2007 Jun 20 7:48 AM
Hi,
U can't do it without Loop.
U can do it as,
ITCODE-ZTOTAL = ITCODE-ZVAL1 + ITCODE-ZVAL2.
Regards,
Padmam.
‎2007 Jun 20 7:50 AM
Hi,
hi,
for that u have to do loop only,
do like.
loop at itcode.
ZTOTAL = itcode-zval1 + itcode-zval2.
modify itcode transporting ztotal.
clear: itcode
endloop.
regards,
sudha