Application Development and Automation 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: 
Read only

field check

Former Member
0 Likes
604

my flat file

char numc currency

karthi 1233 123,000.0.

i have check give feild give correct format or worg.

urgent .................

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
583

Hi ,

Use FM 'NUMERIC_CHECK' to findout whether value is character or numeric.

paramters:

STRING_IN = '123ABC'

Result:

HTYPE: CHAR

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
583

when ever u get the data from flat file to internal table..

give a check if condition...

if check is fine append or else put it into a error file.. or write out..

Read only

Former Member
0 Likes
583

my flat file

char numc currency

karthi 1233 123,000.0.

i have check give feild give correct format or worg.

urgent .................

when ever u get the data from flat file to internal table..

give a check if condition...

if check is fine append or else put it into a error file.. or write out..

how to write condition?sample code need .

Read only

Former Member
0 Likes
584

Hi ,

Use FM 'NUMERIC_CHECK' to findout whether value is character or numeric.

paramters:

STRING_IN = '123ABC'

Result:

HTYPE: CHAR