Cancellation of hours worked

Hello all,
I am new to the SAP world and could use some advise. We are using CRM field service and are using service confirmations to log our enginners time spent on the job. We also use the service confirmation for invoicing the hours worked. What we are trying to test is, if we enter hours worked change the status of the service confirmation to "In Review: which is a status used for getting approval from the manager that we delivered what we promised. In this stage hours doesn't get transferred autiomatically to ECC ( HR ) unless the status of the service confirmation is set to "Complete" However we manually ran the ECC transaction CAT7 to transfer those hours to ECC. We then changed the service confirmation status to "Cancelled" Now what we want to see is the cancellation of the confirmed hours to controlling in SAP. However now when we try to run CAT7 again there is no documents found. Does anyone know the proper process to cancelling a service confirmation so that the cancelled hours in CRM get transferred to ECC? Any advise is greatly appricated.

Hi Dean,
The data gets replicated from CRM to ECC only when the status of the Confirmation is set to "Completed". A CATS document gets created in ECC and when you run CAT7 then the actual costs (based on the actual duration of hours) is posted to the internal order.
If you want to cancel this confirmation, then you need to search for the confirmation and then click on the "Cancel Confirmation" button displayed in the search page of the confirmation. Once this is done - a cancellation status is set to the CATS document.
Now when you run CAT7 for the same CATS document - the actual costs posted to the internal order is reversed.
Regards,
Siraj

Similar Messages

  • Need to get the overtime hours worked for Report

    Dear Experts,
    We have configured Overtime for client and it is working fine.
    But for custom report development we need to get the overtime hours worked.
    We have searched in B2 cluster and not able to identify exact overtime table.
    Request your suggestionsu2026u2026..

    Hi,
    after time elavualtion use t code PT66,  in this t.code double click on the each month(period) then you can get the internal table like ZES, SALDO, ZKO. again double click on the each internal table, you can get the information through the time types.  Like , now you want the overtime hours, 0903, 0904 with this time types you can get the each employee no. of. overtime hours.
    ZL, ZES, SALDO, TIP entries are internal table , you could not get any results from this table with using se11, se16.
    With PT_BAL00 with this report also we can get the overtime hours with the help of time events.
    Good luck
    Devi

  • Cancel Query not working

    Problem Summary
    Cancel Query not working on 11.5.10
    Problem Description
    While finding orders, window pops up the cancel query but when user tries to click the cancel button, query does not cancel.

    jemar98 wrote:
    Problem Summary
    Cancel Query not working on 11.5.10
    Problem Description
    While finding orders, window pops up the cancel query but when user tries to click the cancel button, query does not cancel.Please post the details of the application release, database version and OS.
    Was this working before? If yes, any changes been done recently?
    Please review (Canceling Long Running Queries in Oracle Applications 11i [ID 138159.1]) and make sure you complete all the steps.
    Thanks,
    Hussein

  • HR tables that store hours worked on holidays

    Hi All,
    I am trying to calculate the number of hours an employee worked on holidays in a payroll period.
    Can anyone give me the name of tables in HR that store the number of hours worked on hoildays?
    Thanks in Advance..
    Sonali.

    Check with below Tables :
    View : V_T559P
    Tables : T511K
                 T510s
    Thanks
    Seshu

  • Calculate the performance of an activity according to the hours worked

    Hi for all,
    I need to calculate the performance of an activity according to the hours worked by anyone. Someone could tell me how can I do this?
    timetable of staff
    ID  HR1  HR2  HR3  HR4   DAY
    1   492  720  780  1080  Monday
    1   612  720  780  1200  Tuesday
    1   492  720  780  1080  Wednesday
    1   612  720  780  1200  Thursday
    1   492  720  780  1080  Friday
    2   492  720  780  1080  Monday
    3   492  720  780  1080  Saturday
    SQL> Select to_date(to_char(trunc(sysdate) + 492/1440,'dd/mm/yyyy HH24:MI:SS' ), 'dd/mm/yyyy HH24:MI:SS') from dual;
    TO_DATE(TO_CHAR(TRUNC(SYSDATE)
    20/01/2011 08:12:00
    Table Holidays
    ID DATE_HOLIDAY HOLIDAY
    1  01/01/2011   Holiday X
    1  03/15/2011   Holiday Y
    1  07/04/2011   Holiday Z
    2  01/01/2011   Holiday X
    Input Values
    Start Date : 17/01/2011
    Qtd Days   : 0
    Qtd Hours  : 11
    Qtd Minutes: 0
    Result
    18/01/2011 13:24Regards,

    Okay here is my second attempt.
    With schedule_of_work As
         Select 1 ID, 492 HR1, 720 HR2, 780 HR3, 1080 HR4, 'Monday'    Day_of_week from dual union all
         Select 1 ID, 612 HR1, 720 HR2, 780 HR3, 1200 HR4, 'Tuesday'   Day_of_week from dual union all
         Select 1 ID, 492 HR1, 720 HR2, 780 HR3, 1080 HR4, 'Wednesday' Day_of_week from dual union all
         Select 1 ID, 612 HR1, 720 HR2, 780 HR3, 1200 HR4, 'Thursday'  Day_of_week from dual union all
         Select 1 ID, 492 HR1, 720 HR2, 780 HR3, 1080 HR4, 'Friday'    Day_of_week from dual
    ), parameters AS
            /* Creating a single row of input values that can be used multiple times */
            SELECT TO_DATE(:job_start_date,'MM/DD/YYYY HH24:MI')             AS job_start_date
                 , TRUNC(TO_DATE(:job_start_date,'MM/DD/YYYY HH24:MI'),'IW') AS beginning_of_week
                 , NVL(:days,0)
                 + NVL(:hours,0)/24
                 + NVL(:minutes,0)/(60*24)                                   AS job_length
            FROM   dual
    ), holidays AS
            SELECT TO_DATE('01/01/2011','MM/DD/YYYY') AS dt FROM DUAL
    ), date_range AS
            /* Trying to generate a date range that should encompass the maximum date it would take
             * to complete the task. Rough estimate is number of 8 hour work days plus a padding of 10 days.
             * You may want to adjust this to something more suitable for your business or set it to an artificially
             * high value. Be aware of possible performance implicications the higher you set it.
            SELECT TRUNC(job_start_date) + (ROWNUM - 1) AS dts
            FROM   parameters
            CONNECT BY ROWNUM <= TRUNC(job_length*24/8) + 10
    ), schedule_as_dates AS
            SELECT sowo.id
                 , sowo.day_of_week
                 , dara.dts
                 , holi.dt
                 , CASE
                        /* Only perform the effective hours when the day is not a holiday
                        * and it matches a date in the date range. Otherwise set effective hours to midnight
                        * making the running sum below zero.
                      WHEN sowo.day_of_week IS NOT NULL AND holi.dt IS NULL
                       THEN dara.dts + HR1/(60*24)
                       ELSE dara.dts
                   END                                    AS start1
                 , CASE
                       WHEN sowo.day_of_week IS NOT NULL AND holi.dt IS NULL
                       THEN dara.dts + HR2/(60*24)
                       ELSE dara.dts
                   END                                    AS end1
                 , CASE
                       WHEN sowo.day_of_week IS NOT NULL AND holi.dt IS NULL
                       THEN dara.dts + HR3/(60*24)
                       ELSE dara.dts
                   END                                    AS start2
                 , CASE
                       WHEN sowo.day_of_week IS NOT NULL AND holi.dt IS NULL
                       THEN dara.dts + HR4/(60*24)
                       ELSE dara.dts
                   END                                    AS end2
            FROM      date_range       dara
            LEFT JOIN schedule_of_work sowo PARTITION BY (sowo.id) ON sowo.day_of_week = TO_CHAR(dara.dts,'FMDay','NLS_DATE_LANGUAGE=English')
            LEFT JOIN holidays         holi                        ON holi.dt          = dara.dts
    SELECT
           CASE
           /* This means that we need to go into the second shift (start2-end2) to calculate the end date */
           WHEN  work_remaining > end1 - start1
           THEN  start2 + work_remaining - ( end1 - start1 )
           /* This means we can complete the work in the first shift */
           WHEN  work_remaining < end1 - start1
           THEN  start1 + work_remaining
           END   AS finish_time
    FROM
            SELECT b.*
                 /* Determine how much work is remaining from the previous days value */
                 , job_length - prev_work_time                               AS work_remaining
                 /* Calculate the smallest delta value to pick the right day of the week
                    to calculate the end date
                 , ROW_NUMBER() OVER (partition by B.ID ORDER BY DELTA desc) AS RN
            FROM
                    SELECT a.*
                         /* This computation is used to determine which day of the week we need to use
                            to determine the end date of the task
                         , job_length - effective_work_time AS delta
                         /* retrieve the previous effective_work_time. This will be used above */
                         , LAG(effective_work_time) OVER (PARTITION BY ID order by start1) AS prev_work_time
                    FROM
                            SELECT job_start_date
                                 , job_length
                                 , id
                                 , day_of_week
                                 , start1
                                 , end1
                                 , start2
                                 , end2
                                  /* Compute the amount of time an employee can work in any given day. Then take a running total of this */
                                 , SUM
                                     CASE
                                         /* When the job_start_date is the same day as the first eligible work day we need to diskount (spam filter misspelled on purpose the
                                          * effective work hours because the job could start in the middle of the day.
                                         WHEN TRUNC(job_start_date) = TRUNC(start1)
                                         THEN
                                              CASE
                                                   WHEN job_start_date BETWEEN start1 AND end1
                                                   THEN (end1 - job_start_date) + (end2 - start2)
                                                   WHEN job_start_date BETWEEN start2 AND end2
                                                   THEN (end2 - job_start_date)
                                                   WHEN job_start_date < start1
                                                   THEN (end2 - start2) + (end1 - start1)
                                                   WHEN job_start_date > end2
                                                   THEN 0
                                              END
                                         ELSE (end2 - start2) + (end1 - start1)
                                     END
                                 ) OVER (PARTITION BY ID order by start1) AS effective_work_time
                            FROM       schedule_as_dates
                            CROSS JOIN parameters
                    ) a
            ) b
            /* Only interested in delta less than zero because the positive deltas indicate more work needs to be done. */
            WHERE delta < 0
    WHERE RN = 1I got slightly different results then you. My query got me 1/24/2011 at 13:12. I double checked the math and I think that's right.
    Hopefully this works out for you. My apologies for any mistakes.
    EDIT
    Query is fully posted now.

  • Labview Program always crashs after a few hour' work

    My Labview Program always crashs after a few hour' work. The error report is:
    #Date: 2014年7月30日 4:27:27
    #OSName: Windows 7 Ultimate
    #OSVers: 6.1
    #OSBuild: 7600
    #AppName:
    #Version: 12.0 32-bit
    #AppKind: AppLib
    #AppModDate: 07/29/2014 20:13 GMT
    #LabVIEW Base Address: 0x30000000
    <DEBUG_OUTPUT>
    2014/7/30 8:34:11.006
    DAbort 0xF50EFD7B:
    c:\builds\penguin\labview\components\mgcore\trunk\12.0\source\MemoryManager.cpp(1104) : DAbort 0xF50EFD7B:
    minidump id: 6ebe0400-78d2-41e3-b2fd-858c21e3567b
    $Id: //labview/components/mgcore/trunk/12.0/source/MemoryManager.cpp#13 $
    </DEBUG_OUTPUT>
    0x30076B23 - lvrt <unknown> + 0
    0x307D1F90 - lvrt <unknown> + 0
    0x30605C66 - lvrt <unknown> + 0
    0x6C42A045 - nivissvc <unknown> + 0
    0x075A1F00 - nivision <unknown> + 0
    0x03B0577A - <unknown> <unknown> + 0
    0xE5BA0800 - <unknown> <unknown> + 0
    Who knows what had happened? Thank you for your help.

    Thank you for your reply.
    I don't build array continuously. I just build a few queues. I am sorry the program is too large to show it to you. I have read the dump file. It seems like memory overflow. Do you think so? But it seems like there is no chance for memory overflow in Labview. The dump file is as below:
    Microsoft (R) Windows Debugger Version 6.3.9600.17029 X86
    Copyright (c) Microsoft Corporation. All rights reserved.
    Loading Dump File [D:\LabVIEW Data\LVInternalReports\1.0.0.1\51437f73-aab6-4097-b7e1-3fee8a74e4dd\6ebe0400-78d2-41e3-b2fd-858c21e3567b.dmp]
    User Mini Dump File: Only registers, stack and portions of memory are available
    ************* Symbol Path validation summary **************
    Response Time (ms) Location
    OK C:\Program Files (x86)\Symbols
    Symbol search path is: C:\Program Files (x86)\Symbols
    Executable search path is:
    Windows 7 Version 7600 MP (4 procs) Free x86 compatible
    Product: WinNt, suite: SingleUserTS
    Machine Name:
    Debug session time: Wed Jul 30 08:34:10.000 2014 (UTC + 8:00)
    System Uptime: not available
    Process Uptime: 0 days 4:06:44.000
    This dump file has an exception of interest stored in it.
    The stored exception information can be accessed via .ecxr.
    (dfc.4b8): Unknown exception - code 00000002 (first/second chance not available)
    *** WARNING: Unable to verify timestamp for ntdll.dll
    *** ERROR: Module load completed but symbols could not be loaded for ntdll.dll
    *** WARNING: Unable to verify timestamp for kernel32.dll
    *** ERROR: Module load completed but symbols could not be loaded for kernel32.dll
    eax=13dbec20 ebx=13dbe550 ecx=00000008 edx=00000008 esi=00000003 edi=13dbe570
    eip=77b564f4 esp=13dbe500 ebp=13dbe59c iopl=0 nv up ei pl zr na pe nc
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
    ntdll+0x464f4:
    77b564f4 c3 ret

  • How get the actual hours worked by the employee in SAP.

    Hello Experts,
    How to get the actual hours worked by employee in a month.( Any infotypes or tables or fm)
    I have report to get planned hours of the employee
    Thanks and Regards
    Reddy

    Hello expert,
    I am a technical guy, I dont have functional knowledge and HR functional support is not available at the moment..
    I have requriement to develop a report to caluclate the actual night shift hours worked by the employee...
    I have report : RPTEDT00 where in I have actual hours worked day and night..
    But I am not able to find how do in my custom program from the program reference...So I want to know is there any way where in I see this data in tables or infotypes
    Thanks and Regards
    Reddy

  • Hours worked uncoupled from Percent complete

    It seems that the work hours and Percent complete are tied together (for updating tasks).  is there a way to remove this feature?
    I tried looking into the enterprise custom fields, but since it is a part of project OOTB, it is not there.   is there another place i can find and change this?
    or perhaps a workaround?
    for example,  i have 1 person assigned to a single 8 hr task,   due to some unforeseen circumstance, he has worked 6 hours and is only 50% done,  however, when he goes to his tasks to update his work, he can not enter both of these at the
    same time.
    he can either update to 50% done (4 hrs filled in automatically )
    or he can enter 6 hours worked (75% done filled in automatically, overriding his 50% done if entered)

    Hi efrizzel,
       I would advise you to make your tasks as effort driven with a range of date for completion of task.  That would help you get actual reported tasks over a period of time with better accuracy. 
    Regards, Syed Faizan ur Rehman, CBPM®,PRINCE2®, MCTS

  • Total Man Hours worked

    Hi All,
    I need to find out the total man hours worked in a timeline in Plant Maintenance. Can some one please let me know as to how we can do this?
    Thanks in advance for your help,
    Kanthi.

    Greetings Kanthi,
    IW47 will give you the hours of actual work that have been Confirmed against PM orders
    Or if you have a process where you don't confirm hours manually, try Planned hours for Operations in IW37N
    Also http://forums.sdn.sap.com/thread.jspa?threadID=2014538&tstart=0

  • Hours Worked

    Gurus
    I am working on CATS.
    Is there any standard report which displays number of hours worked by an employee i.e, overtime + regular hours. and display employee who has worked more than 8hrs of overtime(including regular time).
    I want to avoid ABAP code. I tried CATS_DA  Tcode.
    Is there any other Tcode which displays data using CATSDB table
    If so how can I limit the data.

    Hi,
    Just have a look at PT_BAL00 report.
    Using this u can display the no of hours,..... all u specified and also u can display wage types so that it is easy to understand. But this report doesn't take data from CATSDB, rather it gets data from the clusters after time evalulation.
    Thanks
    SA

  • Payroll should pick no of hours worked from attendence infotype

    Hi ,
    I got one requirement. When we are running pay roll no of hours worked is picked from workschedule.But my requirement is it should pick up from attendence infotype . Can anyone tell me the rule name that attendence will be picked up.
    Please throw some light on this issue.
    Thanks and Regards
    Visali.Malepati.

    Hi Manu,
    Instead of creating a customized rule directly first  I want to know is there any SAP std rule  to do this.
    Please kindly help.
    Thanks and Regards,
    Visali.Malepati.

  • Hours worked from PS and CS

    Hi,
    I'd be grateful if anyone could indicate what standard extractors and InfoProviders one can use to extract/store information about hours worked. The hours are stored in table AFVGD and field ISMNW.
    Cheers

    Hi Markus,
    DataSource: 2LIS_18_I3OPER – Service order operation and 2LIS_17_I3OPER – Maintenance order operation
    Please see these:
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/de163d5abd752de10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/fb0d3dbd82f72ce10000000a114084/content.htm
    Hope this helps...

  • Can you turn in hours worked on exchange task lists with project server exchange integration

    Can you turn in hours worked on the task list in Exchange if you turn on exchange integration?  We are using Project Server 2010 and Exchange 2010.  We want to turn on timesheets to report time and were wondering if you can use Exhange to
    turn in hours worked on a task that you were assigned.  Most people will use timesheets but for those individuals that only rarely work on a task in a project we want to allow them to turn the hours in on Exchange.
    Cletus51

    Hi
    As per my undersatnding you want the resource to fill his no of hours  worked in exchange server,
    but the problem is like
    The data you can update is not timephased, therefore you can only update the %complete or actual work.
    You need to do some customisation to achieve the same.
    Please go through the below link which may be helpful to you
    http://appleparkltd.wordpress.com/2010/07/13/project-server-2010-%E2%80%93-exchange-integration/
    Thanks
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

  • Ok, im new to numbers but i cant work this one out. In column A is an average of hours worked. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column a

    Ok, im new to numbers but i cant work this one out. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column A. When column C is equal or greater then 8 i need column D to equal the sum of A and B.

    Hi Lucas,
    Try this:
    Formula in D2 (and Fill Down) =IF(C2<8, A2,A2+B2)
    The IF function follows the logic of if, then, else.
    IF(this is true, then do this, else do that)
    If it is raining, then stay at home, else hold a picnic .
    Regards,
    Ian.

  • After two hours working my iMac can't find HD

    After two hours working my iMac can't find HD.
    If I will try to start the iMac again, it starts showing only a white screen.
    I have done all the things that apple says except format to solve the problem.
    The problem stops only if I leave the computer for a while without working.
    The Hardware Test finds nothing and Verify Disk says that HD seems to be OK.

    If the problem with white screen apears the computer can't start even in safe mode.
    Yesterday, I tryed to format HD but I couldn't because the system could not find HD. Disk Utility from Installation Disk could not find either HD.
    I closed it and after 30 minutes I tried once again to open it.
    The computer started without any problem like magic and all worked perfectly.
    Then, my first job was to verify disk and showed that everything was OK.
    Then I restarted the iMac and same problem started again...

Maybe you are looking for