‎2007 Dec 16 2:49 PM
Hi all,
I have a coding:
TYPES: BEGIN OF T_ITEM,
......
WRBTR LIKE BSEG-WRBTR, "Tax Amount(Document)
FWBAS(16), "Net Amount(Document)
....
END OF T_ITEM.
DATA : IT_ITEM TYPE TABLE OF T_ITEM WITH HEADER LINE.
DATA : temp LIKE BSEG-WRBTR.
......
.....
Now, I want to caculate with IT_ITEM-FWBAS,
eg: temp = temp + IT_ITEM-FWBAS.
....
But it error. Why, and how to correst it ... Pls help me
‎2007 Dec 16 3:50 PM
Change the declaration of your FWBAS variable of the type.
TYPES: BEGIN OF T_ITEM,
......
WRBTR LIKE BSEG-WRBTR, "Tax Amount(Document)
FWBAS LIKE BSEG-WRBTR, "Net Amount(Document)
....
END OF T_ITEM.
Regards,
Naimesh Patel
‎2007 Dec 16 3:50 PM
‎2007 Dec 16 6:37 PM
Hi,
You can use as below :
FWBAS like BSEG-WRBTR.
Thanks,
Sriram Ponna.
‎2007 Dec 17 1:36 AM
Hi all,
Thanks for all, but if I don't want to change TYPES. How can !? Or can not !?