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: 

Check packed decimal function module

Former Member
0 Kudos

Hi I am veerendra,

I am having field in the module pool screen like 11.34 (Value), Which indicates time. I need to do the validation for this field. like one should not enter 11.e3.

Can you please suggest any function module for this purpose.

Thanks,

Veerendra.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Declare the field as

data: v_time like sy-uzeit, then the system would take care of the validation( Automatic field validation ), you dont have to worry about the validation,

Hope this helps,

Rgds,

Former Member
0 Kudos

Hello,

Check the field attributes.

U can make use of the conversion exit or Refg. Field.

If useful reward points.

Regards,

Vasanth

andreas_mann3
Active Contributor
0 Kudos

hi,

use:

1) fm PT46C_CHECK_DATE_TIME

2) use abap command

if time_field CN ' 0123456789.'

messahge e001(´00)...

Message was edited by: Andreas Mann