on 07-16-2009 6:43 AM
Hi,
Thanks in Advance.
Is there any function Module to Conver the Given Date in the given Below Format.
DD / MMM / YYYY
For Example if the given date is 16072009 then it should print as 16 / JUL / 2009
Regards:
Sridhar.J
any update..
if issue is solved ..plz close the thread
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
use the below code it may help u
PARAMETERS: p_date TYPE d.
DATA: datestring TYPE char11, l2 TYPE T247-KTX.
CALL FUNCTION 'ISP_GET_MONTH_NAME'
EXPORTING
date = p_date
language = 'E'
month_number = '00'
IMPORTING
shorttext = l2 .
IF sy-subrc <> 0.
CONCATENATE p_date6(2) '/' l2 '/' p_date0(4) INTO datestring.
WRITE: datestring .
surya reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SJ,
Try concatenate.
Get the month name from FM ISP_GET_MONTH_NAME ..from this FM get SHORTTEXT
concatenate DD SHORTTEXT YYYY into l_Date separated by '/'.
thnx
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Go through this link
https://wiki.sdn.sap.com/wiki/display/Snippets/FUNCTIONMODULEFORCONVERTINGDATEINTOTHEGIVENFORMAT
Hope this will help you.
with Regards
Nikunj Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check the FM 'HRGPBS_HESA_DATE_FORMAT'.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.