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.
Showing results for 
Search instead for 
Did you mean: 

alpha numeric Check IN MB31 while saving the serial no.

Former Member
0 Kudos

Hi all,

Thank you very much.

I was checking the serial number generated (customized to generate automatically) in MB31 .

I want to check the string and ensure it is not having any alpha numeric characters and if it has it should not allow to save.

the code i have entered is not getting triggered.

Can anyone Help Me.

Thanks And Regards



Former Member
0 Kudos

Hello Guhapriyan,

I think you will have to rephrase the problem statement. You are talking about a serial number here.

When you say that it should not contain any alphanumeric characters, then what you're implying is that it should only contain the special characters like !@#$%^&*()_+.

If you want to ensure that it contains only numeric characters ( and that it should not contain any alphabets ), then you will have to do a test for that field sith something like this -

check w_serial_number co '1234567890'.

Hope I have interpreted the problem correctly. If not, then please get back.


Anand Mandalika.