How to unlock a record in an infotype

Hi Gurus,
I have to unlock an record in the infotype. There is a field in the infotype SPRPS which is indicated with 'x' states that it is locked. I am trying to to unlock the record by modifying the field SPRPS by using the function module hr_infotype_operation.
When I am trying to update the field SPRPS with space it is throwing error.
Previously I wrote so many programs for infotype updation every thing ran fine in those programs by using the fm 'hr_infotype_operation'.
I am throughing with error 'EPG                  009No data stored for 0170 in the selected period'
Please help me in solving this.
Ravi

Hi,
Goto PA30 and enter PERNR.
Then from the menu select Utilities --> Change entry/Leaveing date and then change the start date accordingly.
Then Save.
OR
PA30 --> Give PERNR and select 0001 and Overview.
Then select the record and then change it.
Regards,
Srini.
Edited by: Srini on Nov 24, 2008 8:04 AM

Similar Messages

  • How to unlock a record

    hi everybody
    im doing a bdc to create  customer hierachy but at each loop in the internal table, its telling customer is locked by myself
    how to unlock that?

    Hi
      May be you opened the same transaction in change mode for more than one time or somebody has opened the same transaction with the same user id, check with these 2 possibilities.
    Regards
    Haritha.

  • How to Unlock a Locked Recoed for Infotype 2010..

    Dear Expert,
    How can I unlock a locked record from Infotype 2010. When I am using BDC how should I decide which record to select in PA30 once I have passed the date and Employee Number details on the screen.
    If on the same date if there are more than one record and if the first one is not locked then the BDC is locking them insted of unlocking it.
    Is there any function module which can help me. The Code I have used is as below.
    The field SPRPS is coming during recording but bdc gives error stating this field is not there on the screen so could not use this one as well..
    IF T_REPORT-INFOTYPE = '2010'.
              PERFORM BDC_DYNPRO USING 'SAPMP50A' '1000'.
              PERFORM BDC_FIELD  USING 'BDC_OKCODE' '=LIST'.
              PERFORM BDC_FIELD  USING 'RP50G-PERNR' T_REPORT-PERNR.
              PERFORM BDC_FIELD  USING 'RP50G-TIMR6' 'X'.
              PERFORM BDC_FIELD  USING 'RP50G-BEGDA' TEMP_BEGDA.
              PERFORM BDC_FIELD  USING 'RP50G-ENDDA' TEMP_BEGDA.
              PERFORM BDC_FIELD  USING 'RP50G-CHOIC' '2010'.
              PERFORM BDC_FIELD  USING 'RP50G-SUBTY' T_REPORT-LGART.
             PERFORM BDC_FIELD  USING 'P50G-SPRPS' 'X'.
              PERFORM BDC_DYNPRO USING 'MP200000' '3450'.
              PERFORM BDC_FIELD  USING 'BDC_CURSOR' 'P2010-BEGDA(01)'.
              PERFORM BDC_FIELD  USING 'BDC_OKCODE' '=EDQ'.
              PERFORM BDC_FIELD  USING 'RP50M-BEGDA' TEMP_BEGDA.
              PERFORM BDC_FIELD  USING 'RP50M-ENDDA' TEMP_BEGDA.
              PERFORM BDC_FIELD  USING 'RP50M-PAGEA' ' 1'.
              PERFORM BDC_FIELD  USING 'RP50M-SELE2(01)' 'X'.
              PERFORM BDC_DYNPRO USING 'MP200000' '2450'.
              PERFORM BDC_FIELD  USING 'BDC_OKCODE' '/00'.
              PERFORM BDC_DYNPRO USING 'MP200000' '2450'.
              PERFORM BDC_FIELD  USING 'BDC_CURSOR' 'P2010-LGART'.
              PERFORM BDC_FIELD  USING 'BDC_OKCODE' 'UPD'.
    Unlock the Details to the R/3 using Tcode PA30.
              CALL TRANSACTION 'PA30' USING BDCDATA MODE 'P' MESSAGES INTO MESSTAB.
    Regards,
    Vidya..

    first of all, use a BAPI instead of BDC.. HR_MAINTAIN_MASTERDATA
    you may have to do some up-front logic to determine which records to unlock, if necessary.
    EDIT: that is a FM, not BAPI.
    Edited by: robert phelan on Mar 16, 2009 8:57 PM

  • How to set authorization for only Create infotype record

    How can I set the authorization so that the user can only create Infotype 14,15,2010,2001,2006 but cannot change and delete the record for these infotypes.
    But user has the authorization to create,change and delete other infotypes.

    Hi irene,
    1. For this we have to use the
       authorisation object
      P_ORGIN
    2. It has got the following fields, on which authorisations can be controlled.
    AUTHC     Authorization level
    INFTY     Infotype           
    PERSA     Personnel Area     
    PERSG     Employee Group     
    PERSK     Employee Subgroup  
    SUBTY     Subtype            
    VDSK1     Organizational Key 
    regards,
    amit m.

  • Why I can not unlock the record when close a page?

    I develop a jsp page as client,the jsp application use a business componment with statefull application module.i call a database rowset's lock function in jsp page to lock a record,now,after i close the jsp page without commit and rollback,the record is not unlocked,until i restart the oc4j application server.how can i unlock the record when close the page without commit and rollback?????

    Li Ping:
    If you lock a row in the course of a transaction, you cannot unlock the row until the end of transaction (either rollback or commit). DBMS doesn't allow this.
    Alternatively, you can try to delay locking of the row. E.g., you can try using optimistic locking. Please see the Java Doc for oracle.jbo.Transaction if you're interested in optimistic locking.
    Thanks.
    Sung

  • How to delete  the record  of saved HRA Details...

    Hi Experts,
    I have put the details of HRA Correctly.But while updating HRA In 0008 Infotype i wrongly updated the wagetype,How should i change the Wagetype.
    When i m trying to delete it is showing  RECORD CAN NOT BE DELETED (TIME CONSTRAINT 1).
    How can delete the record.
    Thanking u .
    Sai

    Hi
         Hope doing well ........ No need to delete any infotype but u can go to PA30 and in change mode their u can delete the wagetype which is wrongly entered
    Rajeshk

  • How to attach a document to an infotype?

    Hi,
    Can someone provide me with detail on how to attach a document to an infotype record. This could be any document type, i.e. word doc, jpeg, etc.
    Thank you,
    Warren.

    Thank you Rahul.
    I should have been more specific in my question.
    If I create a custom infotype for eg PA9002, and I create a record for employee 8000010, can I in that infotype 9002 record attach a document?

  • Log records for PA infotype updates

    Hi folks,
    I have a question related to the working of how the logs gets created when an infotype record is updated. Here is the scenario: I updated an action for an employee record in action infotype through PA40 and using an upload BDC program, the process took me through screens updating infotypes 0,1,2,7,8 and 19 to complete the action process.The changes are recorded in these tables. However when I checked to see the log records, a log record was created only for infotype 0.  Also I did verify that all these infotypes are entered in V_t585A, V_t585b and v_t585C to create logs.
    My question is: why the log records was not created for other infotypes inspite of defining these infotypes in the log maintainence tables? I am trying to understand this log creation process because most of our processes is directly dependant on it and poses problems .
    Any kind of help is really appreciated.
    Thanks in advance.
    SK

    It is a standard setting. The infotypes, their field groups and field group charcterstics are defined in V_T585A, V_T585B and V_T585C. I believe the end users are missing some process. Because it started to happen since a week or so. The same program was picking the records fine earlier and it has not changed.
    I do not know what kind of process they follow. what changed now? Since I am the only SAP guy out here, got to find it out.
    They are using PA30/PA40 to enroll and the web application. Both these records did not create the log data. The reocrds went through to SAP.
    Could there be any step they might be missing?
    Thanks for the quick reply,
    SK

  • How can I delete record PA0002 (pernr = 00000000 blank)?

    Hi expert.
    I implement program for hiring pernr via BDC method.
    When I recording Transaction PA30 infotype 0000.It alway popup window
    "Table  P0002 contains an entry for personnel number 00000000".
    How can I delete this record ?
    Best regards
    Sasitha K.

    Hi Experts,
    I am also experiencing the same problem. The pernr is existing in table pa0000. I tried to delete using PA30 but it's only prompting me to enter a personnel number. I've also used RPUDELPN but there is a prompt saying "Selection is initial. All pernrs will be deleted...".
    Are there other ways to delete a pernr?
    Greatly appreciate your help. Thanks in advance

  • How to Unlock root user in Linux version 4.4

    Hi All,
    Please let me know how to unlock root user as i tried to access with wrong password more than 3 times.
    Thanking you in advance

    Hi All,
    We tried to reset the root password in single user mode and tried to change the passas follows:
    we are getting error message as follows:
    sh -3.00#passwd root
    Changing password for the user root.
    New UNIX password:
    Retype New UNIX password:
    passwd: Authentication token manipulation error
    Please suggest how to change the root password in single user mode

  • How long I can record a voice memo in my iphone 5s, how long I can record a voice memo in my iphone 5s

    how long I can record a voice memo in my iphone 5s, how long I can record a voice memo in my iphone 5s

    Thanks Caramby.  I actually found another work-around
    Here's how to copy the voice memo to your laptop (and then email it if you need to):
    With iTunes open on the Voice Memo folder of your device (an iPhone 4s in my case), simply drag the required file from iTunes and onto the desktop of your pc/laptop.  It won't remove the file from your device but simply make a copy.   Then you can play the file from your pc/laptop (through Quicktime) as the file is in AAC format.  You can also attach the file to an email for sending.
    Hope this helps someone else.
    RB

  • I wanted to know how to unlock my iphone, since I had to restore it and when it restarted, it appeared this message: "The SIM card que you currently have installed in this iphone is from a carrier that is not supported under the Currently actuvation polic

    I wanted to know how to unlock my iphone, since I had to restore it and when it restarted, it appeared this message: "The SIM card que you currently have installed in this iphone is from a carrier that is not supported under the Currently actuvation policy that is assigned by the server activion. this is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request que this iphone be unlocked by your carrier. Please contact Apple for more information. "
    I need help, I use my phone for everything enclusive to work. I appreciate if you can help. I'm from Brazil. My name and giullia.

    Did you purchase this device from Apple or an authorized reseller? It sounds as if you had a device that was jailbroken/hacked to operate on your carrier. Upon updating the iOS, it is now locked back to the original carrier the device was locked to.
    Only the carrier the device is locked to can authorize an unlock. You will need to make contact with that carrier and see if they provide unlocking services, and if they do, if you qualify for an unlock. Otherwise, you are out of luck. One that carrier can take care of the unlocking.

  • How to unlock my macbook pro i forgotten my password?

    How to unlock my macbook pro i forgotten my password?

    Look on the right, under the heading More Like This.

  • How to get latest record on top of the result list

    Hi Gurus,
    How to get latest record on top of the result list when you open the record.
    saved data method in BT120H_CPL of OverView page and result list in ICCMP_INBOX.
    Regards,
    Ravi

    Hi
    Try sort descending by on fileld "changed at ".
    manipulate the sort depends on your requirement
    Regards
    Logu

  • How to create a record based on the name of a file in the file-system?

    Hi,
    With a lot of pictures I want to have a database to gather some information about these pictures.
    First question is how to generate a record based on a file in the file system?
    e.g. the pictures are "c:\fotos\2009\01\disc_001.jpg" to "c:\foto\2009\01\dis_98.jpg" .
    now i want to create records with as one of the attributes the name of the picture (not the picture itself). how to create these records (based on the information of the file-ssytem). i.e. the number of records should be the same as the number of pictures.
    any suggestions?
    any reaction will be appreciated.
    Leo

    Link to Create directory
    http://www.adp-gmbh.ch/ora/sql/create_directory.html
    You can create a list of files in the directory and read the list files from that directory.
    [UTL_FILE Documentation |http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10802/u_file.htm#996728]
    [Solution using Java|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584]
    SS

Maybe you are looking for