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

Check packed decimal function module

Former Member
0 Likes
663

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
Read only

Former Member
0 Likes
570

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,

Read only

Former Member
0 Likes
570

Hello,

Check the field attributes.

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

If useful reward points.

Regards,

Vasanth

Read only

andreas_mann3
Active Contributor
0 Likes
570

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