cancel
Showing results for 
Search instead for 
Did you mean: 

Validate a OVS field

former_member610985
Participant
0 Kudos

Hi,

I have created an OVS for an input field. If I manually enter a wrong data in the field and try to save then it should throw an error. Is there any other way for validating it apart from writing code in dobeforeaction for checking the data. Because I have some ten fields which have OVS search help. Please guide me.

With Regards,

Arun.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Arunagiri,

    When you're talking about validatio it may be of different kind. The some vaidation automatically

done by the WDA framework at field level ( e.g. field date field ).

I am hoping you want to do some custom validation from your end on the input provided.

If the value is selected through OVS then you can check the field content in the event handler

' IF_WD_OVS=>CO_PHASE_3' . 

If OVS is not used then u need to use your hook methods or custom action.

Regards,

Monishankar Chatterjee

m_aravindan
Active Participant
0 Kudos

hi Arunagiri,

                      Go through this document by amy ..

http://scn.sap.com/docs/DOC-33880

Regards

Aravindan

Former Member
0 Kudos

you can make field readonly if thios field is empty you can through error please select value using OVS