on 04-29-2014 6:31 AM
Dear friends,
i have a table with 5 columns( one column is editable field ( Amount column)) pls check the below screen shot, , its binded with an internal table , now i want to edit the amount columns ( for eg 100 ), could any one pls let me know how to capture the editable value ( ie 100 ), when i am trying to read amount field , i am getting the old value ( ie 15,000),
Thanks
Vijaya
Hi Vijaya,
I think you are trying to read data from ALV table instead of normal table.
If you are using alv table, the changed data will not be updated in context node immediately after action. To get the latest changed data of alv into context node, you need to use the method REFRESH of interface controller of alv component.
lo_interface_alv_ctrl->refresh( ).
Now, the latest data from alv will be updated into the context node.
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
pls check this link SAPTechnical.COM - ALV with EDIT and SAVE functionality
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijaya,
Can you please do a printscreen with your code in wdmodifyview() method? maybe in debugger mode?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laxmi,
You can read the context node in WDDOMODIFYVIEW() method. After you press enter, this method is called.
Please try it and give a feedback.
Regards,
Hancila
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vijaya Laxmi,
Regards,
Ravikiran.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laxmi,
I am able to read the values before edited and after editing. Code i have written is in the ONENTER action method. I have simply read the Table node values.
1. Applicaiton data
2. Values In Debugging mode by clicking on Enter button on the second row.
3. Edit second value and click on Enter
Regards,
Ravikiran.K
User | Count |
---|---|
85 | |
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.