Convert time to number and number to time

I'm using SAP 4.0b
I'm looking for function that converts time to number and number to time.
Any suggestion?

Hi,
Can you give an example of what number you want to give to get what time and vice-versa?
There can be a direct conversion between an integer and a time variable in ABAP.
For example -
data: number type i,
      time type syuzeit.
number = 3600.
move number to time.
write time.
The time will be output as "01:00:00". That is because 3600 seconds make up one hour.
Regards,
Anand Mandalika.

Similar Messages

  • Report with material number and planned delivery time

    Is there any standard report with material number and planned delivery time ?

    Hi,
    I do not know any standard report. Please try SE16 + MARC...
    BR
    Csaba

  • Difference between datatype NUMBER and NUMBER(38)

    Difference between datatype NUMBER and NUMBER(38)

    From
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm#i54330
    NUMBER Datatype
    The NUMBER datatype stores zero as well as positive and negative fixed numbers with absolute values from 1.0 x 10-130 to (but not including) 1.0 x 10126. If you specify an arithmetic expression whose value has an absolute value greater than or equal to 1.0 x 10126, then Oracle returns an error. Each NUMBER value requires from 1 to 22 bytes.
    Specify a fixed-point number using the following form:
    NUMBER(p,s)
    where:
    p is the precision, or the total number of significant decimal digits, where the most significant digit is the left-most nonzero digit, and the least significant digit is the right-most known digit. Oracle guarantees the portability of numbers with precision of up to 20 base-100 digits, which is equivalent to 39 or 40 decimal digits depending on the position of the decimal point.
    s is the scale, or the number of digits from the decimal point to the least significant digit. The scale can range from -84 to 127.
    Positive scale is the number of significant digits to the right of the decimal point to and including the least significant digit.
    Negative scale is the number of significant digits to the left of the decimal point, to but not including the least significant digit. For negative scale the least significant digit is on the left side of the decimal point, because the actual data is rounded to the specified number of places to the left of the decimal point. For example, a specification of (10,-2) means to round to hundreds.
    Scale can be greater than precision, most commonly when e notation is used. When scale is greater than precision, the precision specifies the maximum number of significant digits to the right of the decimal point. For example, a column defined as NUMBER(4,5) requires a zero for the first digit after the decimal point and rounds all values past the fifth digit after the decimal point.
    It is good practice to specify the scale and precision of a fixed-point number column for extra integrity checking on input. Specifying scale and precision does not force all values to a fixed length. If a value exceeds the precision, then Oracle returns an error. If a value exceeds the scale, then Oracle rounds it.
    Specify an integer using the following form:
    NUMBER(p)
    This represents a fixed-point number with precision p and scale 0 and is equivalent to NUMBER(p,0).
    Specify a floating-point number using the following form:
    NUMBER
    The absence of precision and scale designators specifies the maximum range and precision for an Oracle number.
    And
    2
    NUMBER[(precision [, scale]])
    Number having precision p and scale s. The precision p can range from 1 to 38. The scale s can range from -84 to 127
    Sybrand Bakker
    Senior Oracle DBA

  • ESS: Record working time - employee name and number

    Hi All,
    I'd like to display the employee number and name in the Record working time screen.
    Please help me with the configuration I need to do in IMG or on the portal side.
    Any help is greatly appreciated.
    Thanks,
    Rajit
    Points will be awarded.

    Hi Siddharth,
    On the General Information page, there's a Related Activity iview which contains a link for Record Working Time.
    A manager can select an employee in the Data View and then can click on the Record Working Time link which opens up that emp's time sheet.
    In such a case, display of employee number and name is very useful and I'm trying to solve this.
    In IMG's "Define Field Selection" -> Data entry section, there are employee number and name fields that I set for the data entry profile. But they are not displayed in the portal.
    Any ideas are welcome.
    Thanks,
    Rajit

  • String to number and Number to String Problem!

    Hi All,
    In my report i ahve to display the Date.
    From DB i am getting 4 digit string( 2008). Using that i have to display as 08 - 09
    In that i used RIGHT function. it is diplayed as 08 - 9.
    when i take 2 character from right '08' is coming. Then i converted to number and added 1 to the year
    But it become 9 instead of 09.
    How to solve it.
    Thanks in advance.
    Saravanakumar.

    Hi,
    Shweta's answer is valid when you retrieve a date field from the database, as you have specified that you are getting a four digit string, you should use this formula.
    if length(totext(tonumber(right('2008',2))+1)) = 4
    then
    right('2008',2)'-0'left(totext(tonumber(right('2008',2))+1),1)
    else
    right('2008',2)'-'left(totext(tonumber(right('2008',2))+1),2)
    hope this helps!!!
    Thanks
    -Azhar
    Edited by: Abdul Rehman Mushtaque on Mar 29, 2009 10:29 AM

  • Since Time Change, iCal and iPhone Calendar Time Are All Messed Up

    Ever since the most recent daylight-savings time change, I noticed all events I created in iCal, when synced with my iPhone, became an hour off. If I edit the event on the iPhone, it stays the correct time on my iPhone, but when it syncs with iCal again, the time on iCal goes off by another hour, even though the time for the event on the iPhone stays correct. (Hopefully that makes sense) Has anyone else experienced this problem? It is incredibly annoying, because now I have no trust in any of my calendar entries as to what the correct time is.
    As an example: I created an event for Sunday the 16th on iCal on my Mac for a 1-hour soccer game from 8:00PM - 9:00PM. When I synced my iPhone, I noticed a few days later that the event on my iPhone now said the event was from 9:00PM - 10:00PM...one hour off! I edited the event on my iPhone, and re-synced. Now my iPhone has the correct time (which I manually edited on the phone) but iCal now says the event goes from 7:00PM - 8:00PM. Again, an hour off, but in the reverse direction (an hour off early, rather than late). When I sync now, even though the times on the iPhone and the times on iCal don't match, they do not change...it's as if either the computer or the phone didn't recognize daylight savings time or something, and thinks it has the correct time for the event. Both my Mac and my iPhone's clocks do display the correct time and date, however, so it's not like the system clock is off. It is completely bizarre, and I entered my entire teams schedule this way, so ALL games were off, and now is completely screwed up. Please help.
    Message was edited by: Hamster Huey
    Message was edited by: Hamster Huey

    Yes, I did. I posted an identical post in the iPhone forum since no one answered here. http://discussions.apple.com/thread.jspa?threadID=1791145&tstart=0
    The first reply solved the problem. It involved the Time Zone setting in iCal Advanced preferences for me.

  • FM - Budget check at the time of procurement and at the time of Issue

    Hi
    For a Material there is a budget for a procurement ( Check should happen at the time of procurement and a seperate budget for consumption ( Check should happen at the time of issue).How can I map this in FM- BCS.I am thinking of creating two commitmen items one for Procurement , to be derived thorugh matl grp at the time of PR / PO and  One commitment item for consumption to be derived through consumption GL . Does it work , any comments?
    Thanks in advance
    Chris

    Yes you are right , I have to make to sure stock budget doesn't get credited.
    If you remember in one of my other threads, i wanted to derive commitment item from Matl grp, it was for this purpose. I will derive commitment through matl group at the time of procurement / GR etc and assign a dummy commitment item to stock a/cs. Where as i will derive a consumption commiment item from consumption GLs.
    Thank you
    Chris

  • Life time of SSD and alternative after time period

    Please clerify me the life time of SSD and HDD in term of calculation with respect to use and time period?
    Clarify me, If my SSD drive get inoperable after warrenty period than alternative to make situation nomal. If SSD of notebook became inoperable than my OS and other installed s/w will be operable or not?

    Hi Brad
    I can copy the code from routine #1 into my routine #911 inorder to restirct the display of output type in delivery header. But as mentioned by you this routine is not triggered at the time of PGI. ( I checked at the time of PGI )
    If i link my output type LD00 with Requirement #1 routine then it will be triggered at the time of PGI, but here the o/p is linked with Requirement #911.
    Pls let me know if any thing wrong i mentioned...

  • Time valuation with and without clock times --- Plzz help

    hi experts
    Please help me by explaining the following.
    1) Please explain me the differnces between time valuation with
       clock times(T555Z) and time evluation without clock time(T555Y).
    2) Please explain the differences in time types and processing types and functions procedure used  in time                evaluation with clock time and in time evaluation with out clock times.
    3) What is the major differences in the schema between time evaluation with clock times and with out clock   time?
    Thanx in advance for help and Points will be rewarded in full.
    regards,

    WITH CLOCK TIME
    It processes time data that has been imported to the SAP system from time recording subsystems and data that has been recorded online. Those time events (in/out timing) will be stored in 2011 which will be used in schema processing.
    Without clock time
    to evaluate the time data of employees who enter only exceptions to the work schedule. Processing in this component assumes that times are expressed as the duration of work, and not the start and end times of work times and employee absences
    Clock times are not required for evaluation of time data
    T555y is used for processing work times  (function Types)
    T555z is used for breaks processing in time schemas (function Types)
    2. NO difference in the way they are used
    3. Schema TM00 (clock times) is a standard schema, used to evaluate employee time data that has been recorded at time recording terminals and that specifies clock times.
    Schema TM01 is a standard schema used to evaluate the time data of employees for whom only deviations from the work schedule are recorded.

  • Material cost updating in COPA at the time of Billing and Delivery 2 Time.

    Hi All
    I had created sales order( MTO).
    Sales Order No 61224069 u2013 50
    Sales Order line item 40 created > PR & PO created (MD02) > MIGO > Delivery of Order (VL01N) > Settlement (VA88) >Billing( VF01) > Settlement (VA88).
    I have two COPA Document and Material Price updating 2 Time in COPA report.
    Please let me know Its Process error Or Configuration error.
    If Process -- Please let me know the correct process
    If Config -- Please let me know where to check
    Thanks In Advance.
    Alok Dixit

    Hi Ajay
    Thanks for the reply.
    The COPA Documents Generated 2 Times through settlement.
    *When document generated.*
    1 After Delivery Sales order is settled
    2 After Billing  Sales order is settled
    *What sort of value*
    There i maintain the PA Stracture as same as CCS. But in the COPA report system is updating Material Cost 2 times.
    *Record Type*
    Record Type for documents is C in both cases
    Settlement after Billing  & Delivery.

  • I love my iPhone and have had it for 2 yrs. but since late Wednesday night my volume and sound have not worked. After visiting 2 different stores 4 times, apple store and calling 6 times I have been told verizon was down and would be contacted but haven't

    why is this?

    First you must send a follow request to the Verizon rep. They must approve it. They must also send you a follow request which you must approve. At that time, you can send a DM to the rep.
    With that said, I am not sure who you should send the follow request to. The signature at the bottom of the rep's message says michelleh_vzw yet the userid of the post says yoseft_vzw.
    I suppose I would try sending one to michelleh_vzw first since they signed the post. You can do that by hovering your cursor over their userid which I have included in this post and clicking on the "Follow" button in the dialogue box which opens up while you are hovering the cursor over the userid. Then you can only wait for them to respond before you can do anything else.

  • My mac shutdown suddenly fr0m time to other and take long time to open

    hi everybody,
    I think i have big problem ,i have macbookpro I5 13" early 2011  , i just changed the board to I7 ( used  board got it from net ) after USB ports in my original logicboard are damaged due to drop  , after changing the board the mac is unstable, it take long time(half hour!) to show up anything after press power,  yes I press power and there are no response  from the mac (black monitor as its ) , just   i hear  a noise from the empty CD drive . once it open it work fine for a while (may 2 hours or more ) and then shutdown suddenly! and you have wait more than half hour to open it again if im lucky.
    Itried to rest the mac many times, replace the RAM places , i thought may the problem come from overheating the CPU, i monitored the CPU tempreture just before the suddenly shutdown was 57C
    please help ,any suggetions ?

    Run an Apple hardware Test:
    support.apple.com/kb/ht1509http://
    You may have to use OPTION D to start it.
    See what that picks up. 
    You may also bring the MBP to an Apple store or AASP for a diagnostic evaluation.
    Ciao.

  • Time between submission and publication?, Time between submission and publication?

    The forum seems to suggest that it takes about 7 days for Apple to vet and put up a book in the iBookstore. I noticed mine (submitted Feb. 7, I believe) is "expected Feb 28," or 21 days. Is that just the outside estimate? What is the experience of others who have published here?
    Thanks.

    Where did you guys get your estimated publishing date..... does Apple contact you?
    I may have published a couple of drafts, as the error codes during publishing kinda threw me off....

  • How can i see what number and  time a text message i received a text message

    how can i see what number and at what time i received a text message online

    If you are on a regular postpaid account, you can log in to your My Verizon account and see the usage details for your account.

  • Reg: Personell number / Time id and Break up time in COR6N Screen

    Dear Friends ,
    In OPK1(Process order ) Confirmation profile , In area selection tab , we can see .
    Personnel numb er and time ID tabs. and break up time.
    Please let me know how to use this fields.
    Thanks in advance for your replies!!

    Hi Dayanan,
    Basically this is HR customization activity. Please follow the below steps
    1. SPRO>Enterprise Structure>Human Resources Management>Definition>Human Resources Management> Personnel Areas. Here create the Personnel information.
    2. Then do the assignment to company code as
    SPRO>Enterprise Structure>Human Resources Management>Assignment>Human Resources Management>Assignment of Personnel Area to Company Code.
    3. SPRO>Personnel Management>Personnel Administration>Organizational Data>Organizational Assignment>Define employee attributes. Here you defined employee groups and employee subgroups. In this step, you must assign one of the following statuses to those employee groups and employee subgroups:
    Activity status
    Employment status
    Education and training status
    4. Then use transaction code PO10, PO13 and PA40.
    All the best
    Thanks
    Hrishi
    Edited by: Hrishi on Feb 13, 2012 4:57 PM

Maybe you are looking for