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

default lenght

Former Member
0 Likes
541

The default length of a field of type “time”(‘T’) in an ABAP program i;

my problem is if upload the above question into sap instead of double quotes("time") it is taking # like(#time#) plz help me in that.

3 REPLIES 3
Read only

Former Member
0 Likes
459

default length is 6 for time field,

i don understand what u r trying to say second line, explain please

Read only

Former Member
0 Likes
459

Hi,

Default length of time is 6.

you can declare a variable as follows:

data : gw_time like sy-uzeit.

or

data : gw_time type tims.

Hope this would help.

Regards,

Lalit

Read only

Former Member
0 Likes
459

Default length of time (type T) is 6 and the initial value is '000000'.

As per my understanding about your 2nd line...don't give the time in the double quotes...use single quote...

'125959' (12hours 59 mins 59 secs)