Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to validate ch field in selection screen

Former Member
0 Kudos

hi experts.......

how to validate ch field selection screen......... and which function module is used to validate parameter field i.e character

5 REPLIES 5

former_member195383
Active Contributor
0 Kudos

please elaborate your query,

is your requirement is something like you want to check the entering of numbers ?

Former Member
0 Kudos

At selection-screen output event.

Using this you can write the code for validation under this event.Check out the various events for Selection-screen.

Former Member
0 Kudos

You should do your validations at seelction-screen

or at selection-screen on (parameter or select-options name)

regards,

Advait

Former Member
0 Kudos

Hello,

Is your requirement to Validate the Character Field? This is what I understand. If it is right, then do you want to Validate whether a Character Value is entered?

Check the below Sample Code.

At Selection-Screen on P_CHARFIELD.

IF P_CHARFIELD CA '1234567890'.

Message 'Enter an Alpha Character only' Type 'E'.

Endif.

Thanks and Regards,

Venkat Phani Prasad Konduri

0 Kudos

tnx.........