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

Time

Former Member
0 Likes
540

hi ,

i want to insert the records in database

table , my problem is in the ztable there is a field

for time in the i want to insert in that place the

current time.

Thanks.

swetha.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
523

Hello,

Give the SY-UZEIT field to the tome field of the database table.

Regards,

Vasanth

4 REPLIES 4
Read only

Former Member
0 Likes
524

Hello,

Give the SY-UZEIT field to the tome field of the database table.

Regards,

Vasanth

Read only

Former Member
0 Likes
523

Hi Swetha,

Use the system field sy-TIMLO or SY-UZEIT in the there is a system time use this when you insert a row in a table control

data itab type table of ztab with header line.

itab-time = SY-UZEIT.

insert itab to ztab.

Plzz reward if it is useful,

Mahi.

Read only

Former Member
0 Likes
523

Hi,

YOu can make use of sy-uzeit for time

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
523

*--populate wa other fields...

wa-time = sy-uzeit.

insert dbtab from wa.

clear wa.