on 04-17-2008 9:19 AM
hi all,
I have a node with 2 subnodes
BOOK_DET ( cardinality 1:1)
BOOKING_TOTAL type i
BOOKING_AMOUNT type string
and both are bound to 2 textedit controls and it's not readonly.
I tried to change the contents using supply functions.
LV_BOOKING_AMOUNT = 'some value'.
LO_EL_BOOK_DET->SET_ATTRIBUTE(
EXPORTING
VALUE = LV_BOOKING_AMOUNT
IMPORTING
NAME = `BOOKING_AMOUNT`
).
but it's shows error that,
the field 'booking_amout' cannot be changed.
what the really happens here ????
regards
jose
hi jijo.....
first of all.... i am sure that you are referring BOOK_DET ( cardinality 1:1)
as a node and
BOOKING_TOTAL type i
BOOKING_AMOUNT type string
as attributes.
when you are using set_attribute, you should not have an importing parameter.
it should be like this
LO_EL_BOOK_DET->SET_ATTRIBUTE(
EXPORTING
name = LV_BOOKING_AMOUNT
value = `BOOKING_AMOUNT`
).
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
use SET_ATTRIBUTE property for the attribute which you want to change
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For Set attribute use the following code :
LO_EL_BOOK_DET->SET_ATTRIBUTE(
EXPORTING
NAME = `BOOKING_AMOUNT`
VALUE = LV_BOOKING_AMOUNT
).
Thanks.
Edited by: Viji on Apr 17, 2008 10:37 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.