on 06-26-2011 4:05 AM
Hi
My alv table contains material, quantity, sales unit, price(alv is editable).
i will enter material no it will fetch sales unit and price from master table.
we should enter quantity manually. my aim is want change price some case.
consider basic price 406 i am changing it as 400 without hit enter key then i will press save
button its updated in table correctly. my aim is i am changing it as 400 then hit enter key it should be 400.
instead of 400 its showing 406.
Please help me,
Thanks
Hi bala,
In your first case, if you click on save then it will update in database,
your requirement is if you press on enter, then it should show new values, then create ONENTER action for input field button,
write the update coding in that action,then your issue wil solve.
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In ALV we dont have access to inputfield onenter in alv..
ON_DATA_CHECK:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c8/6c80dbedfe42d1a93f8e6df1d7244a/frameset.htm
This event trigger for any press of ENTER, so it generally works like the Input Field onEnter.
also check ON_CELL_ACTION:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/12093591152464e10000000a1553f7/frameset.htm
Please go through this.. discussed same
http://forums.sdn.sap.com/click.jspa?searchID=72677199&messageID=8637489
Cheers,
Kris.
Hi Bala,
Raise an event handler on the press of enter on that price input field.
On the enter method, you need to set the changed values to the node.
The problem with your present scenario is it is not updated in the node.
Thanks & Regards,
Arun.
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.