on 03-12-2015 2:04 PM
Hi Abap Gurus !
In one of the tab-strip screen where 3 columns are there. The 3rd column is editable.Corresponding to a certain row there is a another field where I have to show the calculation of 3rd column & 2nd column.
If I edit 3rd column's field value the related effect should be shown in the that separate field by an enter-key stroke.
How could it be done ?
Regards,
Hi Bipin,
In the 'on enter' event of the 3rd input field, please write the logic to add up the 3rd and 2nd column, and bind the sum to the corresponding attribute.
The current values of the element for which the enter event is being triggered, can be fetched by,
data lo_element type if_wd_context_element.
lo_element = WDEVENT->GET_CONTEXT_ELEMENT( 'CONTEXT_ELEMENT' ).
When you add up and bind, the updated values will be shown on the table, automatically.
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.