Skip to Content
0
Former Member
Dec 21, 2007 at 03:45 AM

simple valadation 1

22 Views

Table : LFA1

Internal table : it_lfa1

it_lfa1 has fields name1, land1----


say when I write select statement saying

select name1 land1 -- into table it_lfa1 from lfa1.

1. it_lfa1-name1 = shilpa

2. it_lfa1-name1 = 12ab

3. it_lfa1-name1 = 1234

here I my case only 1 is correct because name1 has all letters as alphabets.

where as 2 and 3 has combination of alphabets and numbers,

os the name1 of the type 2 and 3 I want to take it into another table it_error.

so how can I do this.