cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Date format

Former Member
0 Kudos

Hi all,

how to print the date format like 25th Sep, 2012(here th is superscipt) in adobe forms using formcalc or java script  by defalut sap provides sep25, 2012.

if you anybody knows Please share  information to me.

Thanks in Adavance

Bk S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I had a similar kind of requirement. What i did was that i wrote a function module which takes input as date or system date, get its actual parameters from the table. Then i have all the parameters like, date, month, year in 3 different fields.

I declared constants like th, rd, st and concatenated them into a string and exported this string.

Then I went to the interface of the form, defined a global variable of type string. Called my function module in the code initialization, importing the value which FM was exporting, into my global variable.

After this I went to my adobe form SFP transaction and dragged the GV variable from left pane to right pane. In layout i used it where ever i anted to display.

Please let me know if you need more help.

Rgds,

Nitin.

Former Member
0 Kudos

Thanks nitin.

but i have to display the date format using Formcalc or Java script coding.

if you know please share the info to me.

Answers (0)