Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Write and Date format

Former Member
0 Likes
837

Hi all,

I have a date field. i have to move system date to a variable according to current user format.

I will need to use WRITE A TO B.

How can i move date A to B using write statement.

Regards

helpful tips are surely rewarded.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
689

Hi

Just like you've written: WRITE A TO B.

Max

5 REPLIES 5
Read only

Former Member
0 Likes
690

Hi

Just like you've written: WRITE A TO B.

Max

Read only

Former Member
0 Likes
689

data : lv_Date type sy-datum.

write sy-datum to lv_date.

Thanks

mahesh

Read only

Former Member
0 Likes
689

Hi,

Data : V_date like sy-datum.

V_date = sy-datum.

Write : v_date.

You will get the system date.

Thanks,

Yogesh.

Read only

Former Member
0 Likes
689

write sy-datum to var1.

regards,

srinivas

<b>*reward for useful answers*</b>

Read only

Former Member
0 Likes
689

Hi,

Just write the simple statement:

write sy-datum to var1.

It will automatically write the date in user login format.

Reward points if useful answer.

Ashvender