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

Smartforms - Date Formatting......

Former Member
0 Likes
808

Guyz,

i'm having a variable invoice date in vbrk-fkdat variable which I need to print in DD MMMM YYYY format i.e. 17 July 2006

In SAP Scripts we can set date mask as SET DATE MASK = 'DD MMMM YYYY'.....can anybody tell me it's equivalent in smartforms pls ?

I do not want to send another variable to smartforms where driver program formats like this string.....

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
678

I think we cannot format it like that. We can do one thing instead of passing it through the parameters do the formatting inside the form using program lines.

4 REPLIES 4
Read only

Former Member
0 Likes
679

I think we cannot format it like that. We can do one thing instead of passing it through the parameters do the formatting inside the form using program lines.

Read only

Former Member
0 Likes
678

Hi,

You can write this in code, where ever you want just write the code in that window,

use FM MONTH_NAMES_GET to get the month name,just write the simple code, you will get the Date format as you want

Thanks

Sudheer

Read only

Former Member
0 Likes
678

Hi Sreedhar,

The SET DATE MASK is not available in Smartforms. You have to concatenate in a variable in a variable and display it.

Regards,

Tushar

Read only

0 Likes
678

Using :

Write to l_temp 'DD.MM.YYYY'

may work just try it