on 12-20-2013 12:16 PM
Hi Experts,
I have to validate the input field OVS . If i entered data which is not present in the database table, it should not proceed furthur..
How do i achieve this. Guide me.
Best regards,
Rao .
Hi Narasimha,
Please refer the below document
How to validate the fields on OVS window - Webdynpro ABAP
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 experts,
Thank you for the Instant reply.
Best regards,
Rao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rao,
You can perform your validations in the OVS event's Phase 2 and issue a message through the IF_WD_MESSAGE_MANAGER object (see the code wizard). If you are familiar with writing SAPgui search help exits, the OVS event phase indicator is similar in concept to the callcontrol-step in a search help exit.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Narasimha,
In your event handler method(handling OVS event ).
you need to read the value of phase_indicator attribute of if_wd_ovs interface via(OVS_CALLBACK_OBJECT) which will be available as input parameter in your method.
Once the value is equal to co_phase_2 you could read the values entered by the user in the selections screens of OVS component, via query_parameters attribute and you could then apply your logic ...validate user input and if it fails you could throw,,error message,,via set_messages method of if_wd_ovs_inteface.
Regards
Anurag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Narasimha,
As you might be writing data base query to show the values in the OVS popup. So in the available input field(for which OVS is attached), when the user enter's and input value and on performing any action read that input value and check whether the value exists in database or not.
If yes, allow him to proceed further else show and error message.
Thanks
Katrice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.