cancel
Showing results for 
Search instead for 
Did you mean: 

OVS IN WEBDYNPRO ABAP

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

amy_king
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Please look at how to provide f4 help to the read only input f... | SCN

same kind of question is there...

ChanS..