Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: How to convert time format according to user settings

$
0
0

Hi Wenwen,

 

I am still not convinced why a write statement is not enough to handle this. Whatever the user enters just move it to a variable of type SY-UZEIT and then use a write statement on this variable. This should give you the time in user format.

 

Ex.

user_entry = 16.

l_time TYPE sy-uzeit.

 

WRITE: user_entry TO l_time.

 

Regards

Ramanan R.S.


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>