on 01-13-2009 10:45 AM
I need to output a date in words on a smart form. As in today's date (01/13/2009) should be output as January 13, 2009. How do I acheieve this? Please could someone help me out with this one?
Hi,
Use the below FM
CONVERSION_EXIT_LDATE_OUTPUT to convert date to words format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Check the below FM
Function module HR_IN_GET_DATE_COMPONENTS
Import parameters Value
IDATE 10-09-2009
Export parameters Value
DAY 09
MONTH 10
YEAR 2009
STEXT OCT
LTEXT October
USERDATE 10-09-2009
concatenate the values as per your requirement...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use fm MONTH_NAMES_GET
or
lv_date_month = lv_date + 0(2).
do like this
select mnr ltx from t247 into table it_month
where spras = is_nast-spras.
sort it_month by mnr.
*Read internal table it_month for the month in numeric form to the month
*in text form
read table it_month into wa_month with key
mnr = lv_date_mnth
binary search.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use offset concept and get month ,date , year ...
use T247 table to get the description of the month...
concatenate <MONTH des> date year into ......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.