Infotype 2002 is locked

Hello,
When a Timesheet user records time in CAT2, the system creates a record in 2002 info-type and also the locks the record. If the same is done by CATS Administrator, the system does not lock the Infotype record.
I do not want the Info-type records to be locked. Because some of our custom reports are not displaying the time data if the time Info-Type record is locked.
Can you please advice how to restrict the Users to lock Info-types when they record time in CATS.
Thank You
Mike

Hello Mike,
Just wondering if you happen to remember which authorization change needed to be done in order to fix this issue - I'm running into the same thing.
Thank you!
Leah

Similar Messages

  • How to creat the sub type in attendance infotype (2002)

    Dear Guru's,
    I have to creat a subtype in attendance infotype(2002) .
    kindly provide the way to do.
    Thanks & Regards
    Rajkumar A.

    Subtypes of attendances are nothing but types of attemdances. You can vreate these in table V_554S_B.
    Regards,
    Parul.

  • Time Operations and Infotype 2002

    hi
    Is there an operation to reterive attendacne hours in infotype 2002 .
    Currently we are using HRS but it fetches from Planned working time .(HRS=PNUM.
    This is used for overtime calculation (negative time manegment )
    Alos if there isany  alternate std Operation pls do let me know .
    Regards
    San

    HI ,
    The problem here is we need to get the hours from the attendance hours field ..
    Example currently its picking from  planned working time liek 08.00 am to say  to 19.30 == 11.50
    But it has a unpaid break of 1 hrs ..hence it  shoudl pick up 10.5 which is not happening .
    the attendance hours field in Infotype 2002 shows teh correct hours of 10.5
    Regards
    San

  • Attendance infotype  (2002)

    Hi,
    When I am creating any attendance in infotype 2002 with number of working hours. System is automatically generating start time and end time in the info type based on daily work schedule times.
    Example : Att type "ATTN-Attendance Hours(AWART)" with 5 hours(STDAZ).  System is generating Start time 8:30 (BEGUZ) end times 13:30 (ENDUZ).
    How to stop the generate this automatic generation.
    Please help me.
    From,
    CCS

    if you want to give a different start time and end time you can overwrite it.

  • User exit for infotype 2002

    Hi ,
    The requirement is making the WBS Element field mandatory ONLY for infotype 2002 cost assignment pop up in pa30.Is this any user exit check.
    regards,
    srinivas

    Hi srinivasarao,
    1. Enhancement name is PBAS0001.
    2. Inside this FM is
       EXIT_SAPFP50M_002
      (for checking while saving)
    regards,
    amit m.

  • ESS for Infotype 2002

    As we are using ESS for attendance, so whenever an employee makes a clock in & out correction from portal it should automatically update in Infotype 2002-Attendance, which is not happening. So please suggest a solution its urgent.

    Hi,
    Yes, your right system evaluate time business based on Time events also. Some tipical clients based on booking attendance only they will calculate different payments with integration of Other modules i.e CO, PM, CS and SD etc. In this kind of business process they (Clients) will consider Time events just monitoring purpose. Employee/Time Admin needs to update along with project/activity type/ WBS element etc along with Attendance throgh Time manager Work place/CATS/ESS/MSS.
    Who has post this threat  has asked required to update IT2002 also.. Please go through Starting onwards..As contributor i (We) need to provide Information relating to Business process without unnecessary discusions Becasue it would be useful for Others who are facing same kind of issues in future.
    Thanks

  • ESS for Infotype 2002-Attendance

    Infotype 2002-Attendance is not getting automatically updated from ESS, As we are making any entries or corrections in attendance from portal the changes are not automatically updating in Infotype 2002-Attendance. Please suggest a solution it is very urgent.

    Hi go to T Code PTARQ and click on Psot deocuments which is report RPTARQPOST. First run the test run and check the documents are displayed or not.
    You can check the ESS record is createed or not in the PTARQ --> Display document it will display the ESS records with status.

  • SAP learning solution - Attendance infotype 2002 update

    Hi,
    Can an employee be enrolled onto the course if the payroll control record is released for payroll? In my system it does allow us to create enrolments and creates the attendance record in the 2002 infotype. Is this normal way of handling it?
    Thanks,
    Swathi.

    It depends on when you want to create the records.
    If you want to create the record in a month for which the payroll control record is released for payroll then it gives an error or locks any changes but if you want to create record for future date then it accepts it.
    Cheers
    Ajay

  • Custom Infotype not displaying locked records in the list screen (3000)

    I have a custom infotype (9xxx) that will not display the locked records (locked indicator (sprps) is set to X) in the list screen (3000) in PA20 and PA30.
    Any ideas on what may be causing the records to not display in the list screen?
    Thanks,
    Ted

    Hi,
    for creating both employee and appliciant infotype you must check 'Both'  in PM01  IT tab.
    Regards.

  • Cost Assignment in Infotype 2002

    Dear All,
    I have a requirement with my client. The client requires that the attendance of the employees has to be distributed to different Cost centers based on different projects.
    For eg. 1 employee works in 3 different projects. His attendance is recorded in IT 2002. while recording his attendance also his project Cost center is maintained in IT 2002. When payroll is processed the cost center is populated in C1 table. But the value for the number of days is not populated. Also table APS is also not populated.
    Please let me know if the Cost center is maintained in Cost Assignment in IT 2002, the SAP Help document says that the Cost will be distrubuted to the Cost centers maintained and the balance will be debited to the Master Cost center. But the same is not happening in my case.
    Please request your help in this case.
    Thanks in Advance.
    Regards,

    Dear Swapnil / Varma,
    Thanks for the reply. I have done the same and the C1 table is getting populated with the Cost center. But the value in USD is not getting debited to the respective Cost Centers. In Table C1 the hours feild is getting displayed as 0 instead of the number of Hours entered in IT 2002. Also I could understand that the Table ALP has to be populated but the same is also blank.
    Please advised.
    Thanks in Advance.
    Regards,

  • INFOTYPE 2001 AND 2002

    When i book absence in infotype 2001 or book an attendance in infotype 2002, if i put 6.51, the system automatically changes it to 6.52 hrs. I just want the system to take 6.51. How is this possible. Can this be done through configuration. Please help
    Thanks

    hi,
    This Absence Hours is changing automatically to accomodate the absence start Time and End Time.
    Say in your eg,
    I assume Personal workshedule start Date - End date iis 8.00 - 17.00.
    You are trying to input6.51,system will automatically change to 6.52 to get the correct start Time and End Time.(eg: 08:00 - 15:31)
    Manoj.

  • Payroll area locked.How to Stop the workflow during this period ?

    Dear experts,
    In the travel workflows, after all the approvals, there is a standard task(Custom) with a custom method(BUS2089 Enhanced).
    This method updates the infotype 2002 (Attendances). This works fine for the whole month except during the  payroll run which will be for 3-4 days after 20th of every month.
    We have maintained the exception for this when the control record is in the status '1' or '4', by passing a temporary error to the workflow.
    SELECT SINGLE * FROM t569v WHERE abkrs = 'Z0'.
    IF sy-subrc EQ 0 AND ( t569v-state EQ '1' OR
                           t569v-state EQ '4' ).
      return-message_v1 = 'Employee Master data locked for Payroll'.
      exit_return 1001 return-message_v1 return-message_v2
                       return-message_v3 return-message_v4.
    As i understand the workflows can be restarted after solving the temporary errors.But this Temp error will only be solved after the payroll record is becomes 'Exit Payroll'.
    The system attempts for 3 times in the period of 30 minutes and then the tempoarry error becomes a permanent error and this way the workflows goes into a permanent error which cannot be restarted even after the payroll is exit.Due to this may workflows are unable to update the Infotyp 2002 however their trips are approved at all levels.
    This counter of 3 times and 30 minutes, I belive the system is taking from the error monitoring program (RSWWERRE / SWWERRE) in SWU3.
    I am thinking of putting the workflow into 'Wait' state till the period when the Payroll is locked. This way , we can avoid the workflow even from going into temporary error.
    Can anyone help in this regard ? Do we need to add a WAIT step in the WF Definition or control in the method code itself ?
    Does WAIT UNTIL (ABAP Keyword) works for 3-4 days of payroll run if we implement in the method code itself?
    -Anwar
    Edited by: Sameer Anwar on Aug 20, 2011 9:44 AM
    Edited by: Sameer Anwar on Aug 20, 2011 9:45 AM

    Hi Sameer,
    But , Can you pls put some more information on why we need to avoid WAIT UNTIL in Tthe ABAP ?
    Wait Steps are only used where you have 1 event which the workflow would expect ...moreover this would require more effort in terms of implementation...( you will have to create an event manually after your payroll is open).
    I would suggest create an virtual attrubute of the BO  which will populate a whetherr the Payroll is locked or unlocked... then use this attribute as a start condition in the conditions tab of your step. this would stop the workflow until the payrol is open...
    Regards
    Gautam
    Edited by: gautam maini on Aug 20, 2011 2:34 PM
    Edited by: gautam maini on Aug 20, 2011 2:35 PM

  • Longtext in custom infotype

    Hi ,
    I am trying to upload long-text for a particular pernr in a custom infotype.
    But the text is not coming in PA30.
    Below is the code.
    DATA: wa_record_gdocs TYPE p9004,
                pskey type pskey.
    ptext-line = This is text note'.
    append ptext.
    p_pernr = '10000014'.
          MOVE: 'X' to  wa_record_gdocs-itxex,
                     p_pernr to   wa_record_gdocs-pernr,     * custom infotype 9002
                    '9002' to       wa_record_gdocs-infty,      * subtype 0002
                    '0002' to       wa_record_gdocs-subty,
                    '07122007' to wa_record_gdocs-endda,
                    '01011999' to wa_record_gdocs-begda.
          MOVE-CORRESPONDING wa_record_gdocs TO PSKEY.
          pcl1-histo = 'X'.
          pcl1-uname = SY-UNAME.
          pcl1-aedtm = SY-DATUM.
    export ptext to database pcl1(TX) id pskey.
    commit work.
    Please guide me in this. Where could I have gone wrong.
    Thanks a lot in advance.
    Regards
    Ananya

    hi Ananya
    please refer to this . will solve ur problem
    <b>Description:
    A simple code that will insert infotype data and Maintain Text data.
    For the sample I use infotype 2002 (Attendances).</b>
    Type and Data declaration:
    TYPES BEGIN OF text_version.
    TYPES   nummer TYPE x.
    TYPES END OF text_version.
    DATA: PERSONALDATAKEY      LIKE BAPIPAKEY.
    DATA: RETURN           LIKE BAPIRETURN1.
    DATA: P2002           LIKE P2002.
    DATA: PSKEY           TYPE PSKEY.
    DATA: IT_TEXT           TYPE HRPAD_TEXT_TAB .
    DATA: LINE           TYPE HRPAD_TEXT.
    DATA: version           TYPE text_version.
    DATA: pcl1           TYPE pcl1.
    Input Parameters:
    PARAMETERS:  PERNR  LIKE PA2002-PERNR  DEFAULT '1004511',
                 AWART  LIKE PA2002-AWART  DEFAULT 'LW',
                 BEGDA  LIKE PA2002-BEGDA  DEFAULT SY-DATUM,
                 ENDDA  LIKE PA2002-ENDDA  DEFAULT SY-DATUM,
                 BEGUZ  LIKE PA2002-BEGUZ,
                 ENDUZ  LIKE PA2002-ENDUZ.
    Lock Personnel Number:
    START-OF-SELECTION.
      CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
            EXPORTING
              number = PERNR
            IMPORTING
              RETURN = RETURN.
      IF RETURN-NUMBER IS NOT INITIAL.
        EXIT.
      ENDIF.
    Insert infotype data:
    * ADD DATA
      CLEAR: P2002.
      P2002-PERNR = PERNR.
      P2002-SUBTY = AWART.
      P2002-ENDDA = BEGDA.
      P2002-BEGDA = BEGDA.
      P2002-BEGUZ = BEGUZ.
      P2002-ENDUZ = ENDUZ.
      P2002-AWART = AWART.
      P2002-ITXEX = 'X'.
    * WRITE DATA
      CLEAR: RETURN, PERSONALDATAKEY.
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
             EXPORTING
                  INFTY          = '2002'
                  NUMBER         = PERNR
                  SUBTYPE        = AWART
                  VALIDITYEND    = BEGDA
                  VALIDITYBEGIN  = BEGDA
                  RECORD         = P2002
                  OPERATION      = 'INS'
                  NOCOMMIT       = ''
                  TCLAS          = 'A'
             IMPORTING
                  RETURN         = RETURN
                  KEY            = PERSONALDATAKEY
             EXCEPTIONS
                  OTHERS         = 0.
      IF RETURN-NUMBER IS INITIAL.
        COMMIT WORK AND WAIT.
      ELSE.
        ROLLBACK WORK.
        EXIT.
      ENDIF.
    Insert Maintain Text data:
    * ADD DATA
      CLEAR: PSKEY, IT_TEXT[].
      pskey-pernr = PERNR.
      pskey-infty = '2002'.
      pskey-subty = AWART.
      pskey-endda = BEGDA.
      pskey-begda = ENDDA.
      pskey-seqnr = PERSONALDATAKEY-RECORDNR.
      version-nummer = '02'.
      pcl1-histo = 'X'.
      pcl1-uname = SY-UNAME.
      pcl1-aedtm = SY-DATUM.
    * ADD IT_TEXT DATA
      CLEAR: LINE.
      LINE = 'Sample text:'.
      APPEND LINE TO IT_TEXT.
      CLEAR: LINE.
      LINE = 'Here you can store your information.'.
      APPEND LINE TO IT_TEXT.
      EXPORT
        text-version FROM version
        ptext        FROM IT_TEXT
      TO DATABASE pcl1(TX) ID pskey
        FROM pcl1.
    Unlock Personnel Number:
    CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
          EXPORTING
            number = PERNR
          IMPORTING
            RETURN = RETURN.
    regards
    ravish
    <b>plz dont forget to reward points if useful</b>

  • HR_BLP_SAVE_TIMEDATA and how to load high volume records onto Infotype 2001

    Because of high data volume (estimated 1 million records each run) and short SLA time requirement (runs every 2 hours), we chose to use functions that are called by CAT6 (Skipping the CATS to HR info types loading process) to load the time records directly into Infotype 2001 and Infotype 2002. 
    Now we discover that some records (sporadically and randomly) don't get loaded onto the infotype and they don't return from the error message table either.  We are wondering whether anyone has used these functions before, and how they resolve the issues of missing records / error handling. 
    We are also wondering if there is any other feasible solution to meet our customer's need.
    The two functions we use are:   HR_BLP_MAINTAIN_TIMEDATA and HR_BLP_SAVE_TIMEDATA

    Hi Curt,
    No, they are 32 bit RGB. I have just made an 8 bit RGB and it gives me the option. Thank you for your help

  • Standard programs to upload / update infotypes

    Please provide updates for this question:
    What are the standard SAP programs to update infotypes ( Ex: 001 / 002 / 003 ) .
    I will be uploading data from legacy system ( Excel / Text file ) and would like to use standard programs
    before going ahead with BDC .
    Thanks
    Rohan

    Please provide updates for this question:
    What are the standard SAP programs to update infotypes ( Ex: 001 / 002 / 003 ) .
    I will be uploading data from legacy system ( Excel / Text file ) and would like to use standard programs
    before going ahead with BDC .
    Thanks
    Rohan
    Hi Rohan ,
         you can update you infotype using 'HR_INFOTYPE_OPERATION' function module .
    1)   transfer all your excel data  into internal table .
    2)   loop at internal table
    3)  fill all the required field of that infotype .
    4) lock table
    5) call that functuion module .
    6) unlock table
    for this fallow the below code...
    DATA: it_p0169 TYPE STANDARD TABLE OF pa0169 WITH HEADER LINE.  (make internal table according to your requirment)
    DATA: wa_p0169  TYPE p0169.
    LOOP AT it_file
          v_eeamt = it_file-pct_gross.
    *Pre-Tax Contribution Percentage
          v_eepct = v_eeamt / 10.
          v_begda = it_file-datchngd .
    *Appending into header (these all are the required filed in my case )
         it_p0169-eeamt =  v_eeamt.
          it_p0169-begda =  v_begda.
          it_p0169-eepct =  v_eepct.
          it_p0169-bplan =  v_bplan .
          CLEAR wa_p0169.
          MOVE-CORRESPONDING it_p0169 TO wa_p0169.
          wa_p0169-INFTY = '0169'.    (not forget to pass infotype no in the header )
    CONSTANTS: c_action_ins  TYPE pspar-actio VALUE 'MOD',   (it can be also COP for Copy , DEL for Delete , DIS for Display , MOD to Change , LIS9 to  Delimit , INS to Create )
               c_infty_0169  TYPE prelp-infty VALUE '0169'.
    DATA: it_return  TYPE bapireturn1. (as it is )
    DATA: it_return  TYPE bapireturn1.
      CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
        EXPORTING
          number = p_pernr
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc <> 0.
         RAISE enqueue_FAILED.
      ENDIF.
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty                  = c_infty_0169
        number                 = p_wa_0169-pernr
        SUBTYPE                = '401K'
        OBJECTID               =
        LOCKINDICATOR          =
        validityend            = p_wa_0169-endda
        validitybegin          = v_begda1
        RECORDNUMBER           =
        record                 = p_wa_0169
        operation              = c_action_ins
        TCLAS                  = 'A'
        DIALOG_MODE            = '0'
        NOCOMMIT               =
        VIEW_IDENTIFIER        =
        SECONDARY_RECORD       =
      IMPORTING
        return                 = it_return.
       if it_return-MESSAGE is not initial .
         delete it_file .
       endif.
    commit work .
      CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
        EXPORTING
          number = p_pernr
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc <> 0.
         RAISE DEQUEUE_FAILED.
      ENDIF.
    Enjoy
    Priyank

Maybe you are looking for