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

Date Format to Input Element

Former Member
0 Likes
515

Hi everyone,

I am using class object cl_dd_form_area. I have a couple of input elements. Is

there a way to set those input elements to have a text format like a date format?

mm/dd/yyyy ???

Any suggestions would be great.

Thanks,

Stephen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
481

Hi,

use CONVERSION_EXIT_ALPHA_INPUT

OR use SET DATE MASK.

3 REPLIES 3
Read only

Former Member
0 Likes
482

Hi,

use CONVERSION_EXIT_ALPHA_INPUT

OR use SET DATE MASK.

Read only

Former Member
0 Likes
481

Flavya,

Thanks for your suggestion. I will try that.

Have a great day.

Read only

Former Member
0 Likes
481

Hi

U can use the statament WRITE with option USING EDIT MASK:

DATA: TEXT_IN(8) VALUE '02122008',
           TEXT_OUT(10).

WRITE: TEXT_IN USING EDIT MASK '__/__/____' TO TEXT_OUT.

Max