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: 

regarding with data valiodation in BDC

Former Member
0 Kudos

I have problem in data validation in BDC

suppose there is a thousand record before uploading data i want to know a particular data validation.eg. a-z characters,A-Z characters.

1 REPLY 1

Former Member
0 Kudos

Hi,

Check this example:

data: i_len type i.

data:i_off type i.

data: i_sub type i.

data: i_up type i.

data: statement(200) type c.

i_len = strlen( statement ).

if i_len > 1.

i_off = 0.

do i_len times.

if statement+i_off(1) ca 'asdfghjklqwertyuiopzxcvbnm'.

add 1 to i_sub.

endif.

if statement+i_off(1) ca 'ASDFGHJKLQWERTYUIOPMNBVCXZ'.

add 1 to i_up.

endif.

add 1 to i_off.

enddo.

endif.

write:/ i_sub.

write:/ i_up.