11-08-2007 7:10 AM
Hi all,
I have wrote a sentence below:
CONCATENATE 'SAP Job ' p_jname ' [' sy-datum '/' sy-uzeit ']'
INTO gd_doc_data-obj_descr.
I want to writh the data and the time like this 2007.11.08 and 15:09:23,
but the result is 20071108 and 150923, how should I do?
11-08-2007 7:19 AM
Hi
just go thru it
CONCATENATE 'SAP Job ' p_jname ' [' sy-datum0(4) '.' sy-datum4(2) '.' sy-datum6 '/' sy-uzeit0(2) ':' sy-uzeit2(2) ':' sy-uzeit4 ']'
INTO gd_doc_data-obj_descr.
u need to do manually.
11-08-2007 7:15 AM
use
<b>write sy-datum to date1 dd/mm/yyyy</b>
where date1 is a string
then use date1 in your concatenate statement.
Do the same for time.
regards,
Nikhil
11-08-2007 7:20 AM
11-08-2007 7:19 AM
Hi
just go thru it
CONCATENATE 'SAP Job ' p_jname ' [' sy-datum0(4) '.' sy-datum4(2) '.' sy-datum6 '/' sy-uzeit0(2) ':' sy-uzeit2(2) ':' sy-uzeit4 ']'
INTO gd_doc_data-obj_descr.
u need to do manually.
11-08-2007 7:21 AM
Hi,
Write the fields into another local field using EDIT MASK.
Regards,
SIddhesh Sanghvi.