cancel
Showing results for 
Search instead for 
Did you mean: 

regarding conversion of date in wd abap

Former Member
0 Kudos

Hi All,

I have created an ui element i.e a table and in that one row is for getting the date of birth.i have binded this table with a table which is in dictionary structure. while running my application I am not getting the date of birth in correct format.

say for example i require the correct output i.e DOB as 01.01.1970 but i am getting the wrong output in this field as 19700101.so if there is any function module or any way to do the date conversion then give it.

Thanking you All in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

alejandro_bindi
Active Contributor
0 Kudos

As Yashpal Gupta said, change the attribute data type to a date one. You shouldn't need to call CONVERSION* modules yourself unless you specifically need the attribute to be some other type (and then, you'll loose the automatic calendar).

Former Member
0 Kudos

hi,

Use this FM CONVERSION_EXIT_PDATE_OUTPUT.This will always converts from system(YYYYMMDD) to user format.

Thanks,

suman

Yashpal
Active Contributor
0 Kudos

Hi ,

Change the datatype for the node attribute to like Sy-datum or DATS.

Regards

Yash