2007 May 16 1:08 PM
Hi all
i need to subtotal the field &BSEG_WRBTR& and i need to dat only by passing that value to another field..i am not supposed to add directly...i declred the variable as int,char,float & num but the variable is not taking...please help....the requirement is subtotal of &BSEG_WRBTR& through another variable
with regards
vijay
2007 May 16 1:25 PM
Hi Vijay,
I recommend the second suggestion of Ramesh: declare the data type using TYPE bseg-wrbtr.
Doing this way you will get exactly the same type for your subtotal without regarding which type it is (by the way, its currency and internally managed as packed).
Good luck!
Fernando
Hi all
i need to subtotal the field &BSEG_WRBTR& and i need to dat only by passing that value to another field..i am not supposed to add directly...i declred the variable as int,char,float & num but the variable is not taking...please help....the requirement is subtotal of &BSEG_WRBTR& through another variable
with regards
vijay
2007 May 16 1:10 PM
2007 May 16 1:13 PM
u need to declare the field as PACKED.
data: v_wrbtr type p decimals 2.
or else.
data: v_wrbtr type wrbtr.
2007 May 16 1:25 PM
Hi Vijay,
I recommend the second suggestion of Ramesh: declare the data type using TYPE bseg-wrbtr.
Doing this way you will get exactly the same type for your subtotal without regarding which type it is (by the way, its currency and internally managed as packed).
Good luck!
Fernando
2007 May 16 1:32 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |