on 09-18-2008 10:06 AM
I have designed a table having 3 input fields and a output field for Total.
If i enter a value in 1st & 2nd i/p fields and put a curspr on 3rd field, the total should get calculated. In short we can say as summing up the input fields in a row.
How ?
Putting the cursor on another input generates no action, hence there's no roundtrip, hence you cannot make any calculations.
You must trigger some action -e.g. press enter, press a button, change selection - and in the event handler for that action you would read the context to take the values from the first inputfields and calculate the value that should be on the third, then update the context.
You can also use a TimedTrigger UI element to trigger a roundtrip automatically every X minutes.
There are several ways to read and write to the context - for example using methods GET_STATIC_ATTRIBUTES and SET_STATIC_ATTRIBUTES of IF_WD_CONTEXT_NODE. You can also use the wizard for that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Any updates ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.