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

Conversion routine for date fields

Former Member
0 Likes
1,238

Hi Techies,

I have defined a conversion routine which converts

User-specific date(yyyy.mm.dd) format to Standard SAP format

(yyyymmdd) and vice versa.

Can I assign this conversion routine to different date fields in

same table. It works for one date fields, When I try for the second

date fields, it does not work .

Is there any procedure to make it happen

Thanks

Santhosh

1 ACCEPTED SOLUTION
Read only

faisalatsap
Active Contributor
0 Likes
832

Hi, Khanna

You will have to create a Domain in Definition Tab there a Field Convers. Routine give you you Routine name here.

than create Data Element using this Domain and create the Parameter or Select-Option with reference to this data element.

hope above will solve out your problem,

Faisal

Edited by: Faisal Altaf on Sep 30, 2009 9:19 AM

4 REPLIES 4
Read only

faisalatsap
Active Contributor
0 Likes
833

Hi, Khanna

You will have to create a Domain in Definition Tab there a Field Convers. Routine give you you Routine name here.

than create Data Element using this Domain and create the Parameter or Select-Option with reference to this data element.

hope above will solve out your problem,

Faisal

Edited by: Faisal Altaf on Sep 30, 2009 9:19 AM

Read only

0 Likes
832

Dear Techies ,

The bug is fixed, I think , It is somewhere one of the domains associated to date fields had not been activated.

Thanks for the valuable information.

I appreicate your inputs on it.

Thanks

Santhosh

Read only

0 Likes
832

Hi, Khanna

As you have solved your Query so Please mark this Question as answered.

Thanks and Regards,

Faisal

Read only

Former Member
0 Likes
832

first thing is there are too many date related posts, please search you will get yourself an answer.

forum rules:

now,

each conversion routine is associated to a domain. create a Z domain, assign the conversion routine to it. then assign the Z Domain to a Z data element, use this dataelement in your table.