Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

validation urgent.

Hi All,

My requirement is to do validation on a certain field.

Consider,

Field -- ZVARASTO-VARASTO.

Rule-- 1. Field given must be in 5 digit format ( only numbers ).

2. No leading zeros.

I have implemented code for checking 5 digits.

Following is the code.

var = STRLEN( zvarasto-varasto ).

IF var NE 5 .

MESSAGE e003(zmlo_msg).

LEAVE TO SCREEN 100.

ENDIF.

Im not able to proceed ahead with how to check non numeric values and leading zeros

Kindly help with the same.

Thanx in advance,

Amruta.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question