on 09-02-2013 5:22 PM
Hi Expert,
I am working on webdynpro abap ovs,i need some information regarding ovs.
I have three field on ovs example EMPID, EMPNAME AND COMPANY
Now in my requirement i need COMPANY as READONLY on OVS..
And one more i need to write some code on RESET ACTION on OVS .
Please provide required information.
Waiting for Reply.
Thanks & Regards,
Krishna
Hi Krishna,
Documents attached above are really very usefull.
There are mainly four phases
phase_0 - configuration phase, may be omitted
phase_1 - set search structure and defaults
phase_2 - fetch data from database
phase_3 - set selected data in screen
in Phase_1 you can set default values in OVS as you mentioned Company name.
Regards,
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Amy is correct.
In the structure for the input (lty_stru_input), just put EMPID and EMPNAME, and in the structure for the list (lty_stru_list), add the field for company.
You can read this tutorial to help you.
http://saptechnical.com/Tutorials/WebDynproABAP/OVS/page1.htm
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
I'm not aware of a way to have an OVS field read-only. An alternative approach would be not to include the COMPANY field in the OVS display but use its value behind the scenes in the ON_OVS event handler method. You could also leave the COMPANY field on the OVS display but give the user an error message if they change the value-- see OVS callback object method SET_MESSAGES.
The following document shows a walk-through of a simple OVS if it is helpful.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please look at how to provide f4 help to the read only input f... | SCN
same kind of question is there...
ChanS..
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.