on 04-02-2008 4:25 PM
hi gurus,
i have an issue with date printing format. ima extracting ERDAT in subroutine and i want to print that field in script in DD.MM.YYYY format can anybody please usggest its urgent.
thanks and regards,
Rajesh Reddy
Hi
think this is sutable for ur question
check it first
/: SET DATE MASK = 'DDMMYYYY'
Award points if helpful...
Regards,
Nagesh
Edited by: Nagesh Babu on Apr 3, 2008 10:20 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use this before your print your date
/: SET DATE MASK = 'DDMMYYY'
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I don't think u need that conversion.
Plz print the variable as it is.
&ERDAT&
Hop this is useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
ERDAT is displayed as dd.mm.yyyy.
if ur date is coming as ddmmyyyy then
Use This FM CONVERT_DATE_BY_PERIOD_INPUT
Pass ERDAT in Parameter I_EDATE.
and in EXport Parameter pass a Variable to Store The Date in DD.MM.YYYY format
Display the Value of the varable in SAPSCRIPT
And you will get the result.
Regards
Sandipan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rajesh,
while passing that date field from subroutine. u can change the date format using WRITE TO statement .....as below
date: v_date type c length 10.
write wa-itab-erdat to v_date.
pass this v_date via subroutine....and print the same to get it done...
Hope this solves ur problem.....
all the very best.....
Regards,
Sreenivasa Sarma K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.