Personnel Number not yet assigned

Dear Gurus
I was hiring an employee through transaction PA40. after entering details on first page the employee number was assigned but i did not save the entries due to change in plans.
the issue im facing is that the personnel has been generated without any details and it does not allow me to re enter on that number it gives me the message personnel number not yet assigned.
can you tell me what should be done and how ...?
1) can we enter details in that auto generated number.
2) or can we delete that particular number?
Regards
Saad Nisar

Dear Mr. Saad,
1. In the case of missed PA40, use the same number in the PA40 screen and execute it. You should run atleast IT0000 and IT0001 and further, you can do with PA30.
2. For all of you in the forum, In case you have not saved but system is showing PERNR occupied then recheck it in PA30 and if you find that the number has no data and still system is not taking that number then do the undermentioned:
      Suppose you missed Personnel No. 101(No data)
       (a)    Go to PA04 You will find Number Range (display, create and status).
       (b)    Go to Status and see which number has been occupied. You will find last number is 101. Rewrite that number as 100, save and back.
       (c)    Now you use PA40, system will give you 101 and you can use this number again.
Try this, Pl contact if you still face any problem.
Best Wishes
Venkatesh

Similar Messages

  • Error  in RFC Code -EPG  001Personnel number not yet assigned

    Dear Freinds,
                     i have requirement where the custom infotype which has been created with
    the fields  ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH. This
    fields they want in Portal. So i have created an RFC( by making the function module
    remote enabled).
    Now to test whether the function module is working or not i have unchecked the remote enabled.
    however there is problem in my function module iam getting the error as follows
    EPG                  001Personnel number not yet assigned  from t he function module
    HR_INFOTYPE_OPERATION'.. Iam giving the code please correct me
    Import  parameters   ( i have given my custom infotype fields)
    EMPLOYEENUMBER     LIKE     P9004-PERNR        
    BEGINDATE     LIKE     P9004-BEGDA
    ENDDATE                      LIKE     P9004-ENDDA
    NOTENROLEDINSUR     LIKE     P9004-ZNOTENROLED
    EMPLOYEEINSUR     LIKE     P9004-ZEMPLOYEE1
    EMPLSPOUINSUR     LIKE     P9004-ZEMPLSPCHLD1
    EMPLCHILD1INSUR     LIKE     P9004-ZEMPCHLD1
    EMPLCHILDOINSUR     LIKE     P9004-ZEMPCHLOTH
    Export parameters
    RETURN     LIKE     BAPIRETURN1
    in the source code i have given as follows
    call function 'BAPI_EMPLOYEE_ENQUEUE'
        exporting
          number = employeenumber.
      call function 'HR_INFOTYPE_OPERATION'
           exporting
                infty          = '9004'
                number         = employeenumber
               subtype        = subtype
               objectid       = objectid
               lockindicator  = lockindicator
                validityend    = enddate
                validitybegin  = begindate
               recordnumber   = recordnumber
                record         = p9004
                operation      = 'INS'  "change
                nocommit       = ' '       " nocommit
           importing
                return         = return
           exceptions
                others         = 0.
    *deque
      call function 'BAPI_EMPLOYEE_DEQUEUE'
        exporting
          number = employeenumber.
    i have executed the function module by entering the follows
    EMPLOYEENUMBER            00002315
    BEGINDATE            01062007
    ENDDATE                            31032007
    NOTENROLEDINSUR            Space
    EMPLOYEEINSUR             X
    EMPLSPOUINSUR             Space
    EMPLCHILD1INSUR     LIKE  Space
    EMPLCHILDOINSUR     LIKE  Space
    in the return value i got the above error EPG                  001Personnel number not yet assigned  from t he function module

    Dear Thiru,
                  thank you for answering to my question you almost answered my question, but i have one more clarification please ,
           the qustion is i have already created the strucutre through infotype creation(PM01)
    the following fields ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH. for my structure (P9004).
    so as per you i have created one more structure with 5 fields ZNOTENROLED,ZEMPLOYEE1,zEMPLSPCHLD1,ZEMPCHLOTH.
    so could you pleae let me know the code which i updated in my question initially would be sufficient for calling in the portal.
    if you have any similar code please do give me so that i complete theRFC function module correctly so that it can be work in the portal
    as i havent worked on webdynpro. please help me in this regard
    thanks in advance.
    regards
    syamla

  • MIRO invoice creation with the Personnel Number in account assignment

    I am using BAPI_INCOMINGINVOICE_CREATE for creating an Invoice using MIRO transaction.
    In MIRO transaction-> PO reference-> Multiple account assignment-> we have the personnel number: In BAPI table-parameter ACCOUNTINGDATA and ITEMDATA is used to populate the account assignmet data but this structure doesn't have the Personnel Number field (PERSON_NO).
    How can i create an Invoice with the Personnel Number in Account assignment, Is there any Userexit or BADI is available ?
    Thanks,
    Fract
    Edited by: fract_get on May 23, 2011 6:49 PM

    You can use EXTENSIONIN parameter from tables. There are BADI's related to this but don't know the name of badi. Please search forum for or use transaction code SE84 to search the BADI's/
    you can check the badi: INVOICE_UPDATE and method 'before_save or something similar to map to db table fields.
    See this thread to understand how extension parameters works.
    bapi_salesorder_simulate extension bape_vbap standard field
    Edited by: Sampath Kumar on May 23, 2011 11:28 AM

  • RSBBS: field symbol not yet assigned

    Hello Gurus,
    I have a RRI for a query jumping to another query.
    But after doing some minor changes to the child and parent query, while executing the jump, an error message comes
    ' Fiel;d symbol not yet assigned'.
    Its details mention '<internal error> Cannot determine text element for the current query;.
    Please guide me as to what can be the issue and how to resolve it. I am new to RSBBS.
    Regards,
    NIKEKAB

    Hello,
    I have changed the assignment details as the type mentioned for a field was Table field (used for non BW jumps), to Generic.
    This helped me see the receiver query name when I click on GOTO.
    But even now I get the same error i.e. Field symbol not yet assigned.
    I went through some other posts but did not find answer to my doubt.
    Any other solution.
    Regards,
    NIKEKAB.

  • Hr_maintain_masterdata to create new emp, error='Pers num not yet assigned'

    Hi All,
    I'm going to need to use the fm hr_maintain_masterdata to create a new employee.  I've done up a test program just to get it working before i begin.  When i run the code below i keep getting the error 'Personnel number has not yet been assigned'.  Can anyone tell me what i'm doing wrong?  Or can anyone tell me where i can find info on how to use this FM.
      data: t_prop_vals type table of pprop,
            modified_keys type table of pskey,
            return type bapireturn,
            return1 type BAPIRET1.
      data: wa_prop_vals type pprop.
            move '0000' to wa_prop_vals-infty.
            move 'massn' to wa_prop_vals-fname.
            move 'A1' to wa_prop_vals-fval.
            append wa_prop_vals to t_prop_vals.
            move '0000' to wa_prop_vals-infty.
            move 'massg' to wa_prop_vals-fname.
            move '01' to wa_prop_vals-fval.
            append wa_prop_vals to t_prop_vals.
            move '0001' to wa_prop_vals-infty.
            move 'werks' to wa_prop_vals-fname.
            move '1101' to wa_prop_vals-fval.
            append wa_prop_vals to t_prop_vals.
            move '0001' to wa_prop_vals-infty.
            move 'persg' to wa_prop_vals-fname.
            move 'F' to wa_prop_vals-fval.
            append wa_prop_vals to t_prop_vals.
            move '0001' to wa_prop_vals-infty.
            move 'persk' to wa_prop_vals-fname.
            move '01' to wa_prop_vals-fval.
            append wa_prop_vals to t_prop_vals.
            call function 'HR_MAINTAIN_MASTERDATA'
              exporting
                pernr                    = '02000511'
                MASSN                    = 'A1'
                actio                    = 'INS'
                tclas                    = 'A'
                begda                    = '20081204'
                endda                    = '99991231'
              importing
                return                   =  return
                return1                  =  return1
              tables
                proposed_values          = t_prop_vals
                modified_keys            =  modified_keys
              exceptions
                others                   = 1.
    if not return1 is initial.
      write: return1-number.
      write: return1-message.
      else.
       message s054(hrwpc_pcr).
      endif.
    Many Thanks,
    Liz.

    Hey,
    Thanks for the response to you too.  Can you explain a little more what you mean by ' it is interfearing with number ranges'.  I've checked the documentation on se37 and didn't find it much help to be honest.
    Regards,
    Liz.

  • Follow up on case number not yet receiving email

    I have already called support About my exchange program for my 1tb seagate hard drive and told me they'll email me for my case no.. Not yet receiving any email. How to make follow up on this

    follow the directions to download:  http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • Personnel number not found

    Hi team
    we have some personnel numbers, with these we have to create portal users.
    But now we are not getting those personnel numbers i.e we searched in the filter using the personal number and the old personal number,
    Now my query: is there any table or any transaction to find these personnel numbers.
    I have checked in PA20,
    Kindly suggest, feebacks are greatly appreiciated.
    Regards
    Bhaskar

    Hi Bhaskar,
    did you check below thread?
    Re: How to get Personnel Numbers from Organizational Unit ?
    Koti Reddy

  • GETWA_NOT_ ASSIGNED, Field symbol not yet assigned yet.

    Hi,
    I am working in an Upgrade project,, from 4.6 version to ECC version.
    A program is going into a short dump.
    On debugging th program, I identified that there is a problem with a function module which triggers a standard include and this is where i am getting the error. the function module is supposed to populate a internal table is not populating it. the dump shows that the error is there in the assign statement shown below.
    <fm03> type any.
    <field> type any.
    assign <fm03> to <field>.
    can anyone help me out with this?

    if the program is a custom one then after assignment pl. check sy-subrc value
    like:
    assign <fm03> to <field>.
    if sy-subrc = 0.
    Normal processing
    else.
    Error handling here*
    endif.
    And for std. program search for notes if u think it is a bug in the program.
    Regards,
    Joy.

  • How to view songs that were recently downloaded, but not yet assigned to a play list?

    I am using the new iTunes, version 11.0.2. In the older version, there was a category for last downloads. This allowed me to to view all the downloads in one place then assign them to a playlist. Is this hidden somewhere or there is another way to see the downlods then move them?

    jofijama wrote:
    Thanks for the tip, but I do not see a "recently added" when I view playlist. Above my created playists there is one called "purchased". This reflects those I purchased plus those downloaded from Starbucks. But this is a growing list. Perhaps I need to clear it after I download.
    You cannot clear the Purchased playlist unless you delete the songs from your library. It is a smart playlist with all your purchases.
    Create a new smart playlist.
    Limit to x items/size by most recently added.

  • Unable to edit personnel number in bp transaction

    Hi experts,
    I have a employee which is created by an idoc from another system with number starting from 0H. When i go to this employee in BP transaction, if i go to identification tab and try to edit the personnel number, it is not editable. My requirement is to assign the personnel number of this employee to another employee by removing the personnel number from here. If i try to assign the personnel number of this employee to another employee, it says personnel number already been assigned.
    How can i remove the personnel number from this employee and assign the same to another employee?. Usually in bp transaction, the personnel number is editable i see.
    Any helps appreciated.
    Thanks in advance.

    Hi Faisal,
    I am facing a very similar issue.  That is, I want to edit the Personnel number on an Employee business partner in CRM, which was created when the employee was downloaded from ECC.
    Specifically, just like you, I want to remove the Personnel number from one Employee BP, and maintain that Personnel number on a second Employee BP (both BPs were created by replication of employee data from ECC).
    Did you ever find a solution for this?
    (The reason I want to do this, is that a duplicate Employee BP was inadvertently created when sending an org model transport to CRM production and then subsequently running PFAL in ECC production.)
    Thanks,
    Jeremiah

  • APPLICANT PERSONNEL NUMBER

    Hi Friends,
    Applicant's Personnel Number not updated in infotype 4005, same way Applicant Number is not updated in infotype 0139.
    Applicant data transfer is working fine, able to execute my personnel action through PBA7, but infotypes 4005 and 139 not getting updated.
    Any suggestions...
    Kind Regards,
    TG

    How did you solve this issue? I have the same problem???
    Thanks

  • Error Number range 10 is internal, do not enter a personnel number

    Hi guys, When I try to hiring new emp this message appear Number range 10 is internal, do not enter a personnel number. Why this message appear. I still want to use this emp number. TQ

    Hi,
    While hiring an employee if you want the personnel number to be given by you then go to PA04 maintain number range and mark as external.
    Go to NUMKR feature and assign your Interval No: to your employee sub group & save it.
    Then go to PA40 and enter the Number and maintain the rest of the Info types
    Regards,
    Abhee..

  • Number range 01 is internal, do not enter a personnel number

    Hi,
    Im using PA40, and when I propose a personal number, the transaction sends this message "Number range 01 is internal, do not enter a personnel number"...  BUT I NEED to propose a personal number for my employees!!!... is it possible???!!!...
    Can anybody help me?...
    Thanks in advance!.
    Alfredo.

    hi alfredo
    see "Number range 01 is internal, do not enter a personnel number"... " if the message comes like this that means that particular number range is set for the internal number range i think so you are giving the personnel number if you remove that personnel number in IT0000 then save this case if you want to take the personnel number internal. if you want to take your personnel number then go to pa04 and assign personnel number range make it as external in the last column you can see there check box just click on that check box. and assign this same personnel number range (for ex you have given in pa04 07-00000000-10000000) the 07 in my example you have to assign in the numkr feature in TCODE PE03. in that assign countrygrouping-company code-personnel area-personnel subarea-ee group-eesubgroup- number range 07. i hope it is clear
    bye
    naveen

  • RUn time error while  saving po    Field symbol has not yet been assigned.

    Hi Experts,
    I am getting abap dump while saving PO in ME21N  plz seee the below dump  plzzzzzzzzzzzzzzzzzzzzz help me
    Runtime Errors         GETWA_NOT_ASSIGNED
    Date and Time          19.06.2009 11:24:46
    Short dump has not been completely stored (too big)
    Short text
         Field symbol has not yet been assigned.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLKKBL" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         You attempted to access an unassigned field symbol
         (data segment 106).
         This error may occur if
         - You address a typed field symbol before it has been set with
           ASSIGN
         - You address a field symbol that pointed to the line of an
           internal table that was deleted
        - You address a field symbol that was previously reset using
          UNASSIGN or that pointed to a local field that no
          longer exists
        - You address a global function interface, although the
          respective function module is not active - that is, is
          not in the list of active calls. The list of active calls
          can be taken from this short dump.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "GETWA_NOT_ASSIGNED" " "
        "SAPLKKBL" or "LKKBLF99"
        "GEN_FIELD_OUT2"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    em environment
    SAP-Release 700
    Application server... "gplqty"
    Network address...... "128.12.0.19"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "8x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "GPLQTY"
    Database type..... "MSSQL"
    Database name..... "GPQ"
    Database user ID.. "gpq"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Aug 4 2008 02:33:25"
      create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
      Database version. "SQL_Server_8.00 "
      Patch level. 172
      Patch text.. " "
      Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
      SAP database version. 700
      Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
       NT 6.0"
      Memory consumption
      Roll.... 16192
      EM...... 16759360
      Heap.... 0
      Page.... 237568
      MM Used. 12036016
      MM Free. 530432
    er and Transaction
      Client.............. 410
      User................ "SAP_SUPPORT"
      Language key........ "E"
      Transaction......... "ME21N "
      Transactions ID..... "9E955CDE97CBF1648B4C001A64C7B85A"
      Program............. "SAPLKKBL"
      Screen.............. "SAPLKKBL 0500"
      Screen line......... 3
    Information on where terminated
        Termination occurred in the ABAP program "SAPLKKBL" - in "GEN_FIELD_OUT2".
        The main program was "RM_MEPO_GUI ".
        In the source code you have the termination point in line 2908
        of the (Include) program "LKKBLF99".
    Source Code Extract
    Line  SourceCde
    2878       else.
    2879         assign <fs11> to <field>.
    2880         gs_fc = gs_sfc11.
    2881       endif.
    2882     when 012.
    2883       if gs_out_flags-slave ne 'X'.
    2884         assign <fm12> to <field>.
    2885         gs_fc = gs_mfc12.
    2886       else.
    2887         assign <fs12> to <field>.
    2888         gs_fc = gs_sfc12.
    2889       endif.
    2890     when 013.
    2891       if gs_out_flags-slave ne 'X'.
    2892         assign <fm13> to <field>.
    2893         gs_fc = gs_mfc13.
    2894       else.
    2895         assign <fs13> to <field>.
    2896         gs_fc = gs_sfc13.
    2897       endif.
    2898     when 014.
    2899       if gs_out_flags-slave ne 'X'.

    Hi,
    this error occurs when you try to address a field-symbol before it has been assigned to a field or
    the assignment has failed.
    Use following code to remove this dump
    Assign <mara-matnr> to <fs>.
    if sy-subrc <> 0.
      Error Message.
    Endif.
    Hope it helps,
    Raj

  • Personnel number 00000000 could not be locked; lock 00000000 failed twice

    Hi!
    I'm trying to create new person to SAP HCM by using SAP ERP HCM Process and Forms functionality. Process is defined to be fast entry process: NO_WORKFLOW value in workflow template.
    I have defined process' attributes CENTRAL_PERSON as blank and PERNR attribute to get default value from business process logic's (DEF) from SAP_PA (infotype 1: 0001-PERNR).
    When process is trying to check values it gives me error "Perosnal number 00000000 could not be locked; lock 00000000 failed twice". Error's message class is HRASR00_FBD and message number is 011.
    I debugged the ISR process and the actual error is raised in CL_HRPA_MASTERDATA_ENQ_DEQ class' method ENQUE_BY_PERNR.
    ABAP call stack is this:
    35 CL_HRASR00_PAITF_MAPPER=======CP         CL_HRASR00_PAITF_MAPPER=======CM00F      14 METHOD                         IF_HRASR00_MAPPER~LOCK_OBJECT                               
    34 CL_HRASR00_DISPATCHER=========CP         CL_HRASR00_DISPATCHER=========CM00X      22 METHOD                         PROCESS_LOCKING                                             
    33 CL_HRASR00_DISPATCHER=========CP         CL_HRASR00_DISPATCHER=========CM017      24 METHOD                         FSCN_DO_OPERATION                                           
    32 CL_HRASR00_DISPATCHER=========CP         CL_HRASR00_DISPATCHER=========CM00R      803 METHOD                         PROCESS_DATA_CONTAINER                                      
    31 CL_HRASR00_DISPATCHER=========CP         CL_HRASR00_DISPATCHER=========CM00G      178 METHOD                         DO_OPERATION                                                
    30 CL_HRASR00_DISPATCHER=========CP         CL_HRASR00_DISPATCHER=========CM00I      24 METHOD                         IF_HRASR00_DISPATCHER~CHECK                                 
    29 CL_IM_HRASR00ISR==============CP         CL_IM_HRASR00ISR==============CM004      496 METHOD                         IF_EX_QISR1~SCENARIO_PROCESS_USER_COMMAND                   
    28 CL_EX_QISR1===================CP         CL_EX_QISR1===================CM004      16 METHOD                         IF_EX_QISR1~SCENARIO_PROCESS_USER_COMMAND                   
    27 SAPLQISR9                                QISR_CL_ISR_WEB_UI_PROXY                 2025 METHOD                         PROCESS_USER_COMMAND                                        
    26 SAPLQISR9                                LQISR9U07                                499 FUNCTION                       ISR_PROCESS_EVENT_INTERNAL                                  
    25 SAPLMPO_46CFF_ISR_SERVICE                LMPO_46CFF_ISR_SERVICEU06                184 FUNCTION                       ISR_PROCESS_EVENT                                           
    24 SAPLMPO_46CFF_ISR_SERVICE                LMPO_46CFF_ISR_SERVICEU12                157 FUNCTION                       ISR_PROCESS_EVENT_WD                                        
    23 CL_QISR_UI_PROCESS_EVENT_MODELCP         CL_QISR_UI_PROCESS_EVENT_MODELCM003      6 METHOD                         IF_QISR_UI_DATA_MODEL~EXECUTE                               
    22 /1BCWDY/9KIHZOTJM1O6VWFQPCJ4==CP         /1BCWDY/B_9KIHZOTJM1O6VWIWGPVP           2032 METHOD                         CALL_RFC_ISR_PROCESS_EVENT                                  
    21 /1BCWDY/9KIHZOTJM1O6VWFQPCJ4==CP         /1BCWDY/B_9KIHZOTJM1O6VWIWGPVP           1487 METHOD                         CALL_ISR_PROCESS_EVENT                                      
    20 /1BCWDY/9KIHZOTJM1O6VWFQPCJ4==CP         /1BCWDY/B_9KIHZOTJM1O6VWIWGPVP           108 METHOD                         IWCI_QISR_UI~CALL_ISR_PROCESS_EVENT                         
    19 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP         /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2           6357 METHOD                         _OVR_4T5KF0KFFIXZTMN23D48RVJME                              
    18 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP         /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2           127 METHOD                         IF_PROCESS_START~NAVIGATE_TO_REVIEW_FORM                    
    17 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP         /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2           5656 METHOD                         ONACTIONCHECK_AND_SEND                                      
    16 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP         /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2           976 METHOD                         IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER                
    15 CL_WDR_DELEGATING_VIEW========CP         CL_WDR_DELEGATING_VIEW========CM005      6 METHOD                         INVOKE_EVENTHANDLER                                         
    14 CL_WDR_ACTION=================CP         CL_WDR_ACTION=================CM00A      38 METHOD                         IF_WDR_ACTION~FIRE                                          
    13 CL_WDR_WINDOW_PHASE_MODEL=====CP         CL_WDR_WINDOW_PHASE_MODEL=====CM00U      95 METHOD                         DO_HANDLE_ACTION_EVENTS                                     
    12 CL_WDR_WINDOW_PHASE_MODEL=====CP         CL_WDR_WINDOW_PHASE_MODEL=====CM002      94 METHOD                         PROCESS_REQUEST                                             
    11 CL_WDR_WINDOW=================CP         CL_WDR_WINDOW=================CM00V      12 METHOD                         PROCESS_REQUEST                                             
    10 CL_WDR_MAIN_TASK==============CP         CL_WDR_MAIN_TASK==============CM00I      77 METHOD                         EXECUTE                                                     
    9 CL_WDR_MAIN_TASK==============CP         CL_WDR_MAIN_TASK==============CM00U      6 METHOD                         IF_WDR_RUNTIME~EXECUTE                                      
    8 CL_WDR_CLIENT_ABSTRACT_HTTP===CP         CL_WDR_CLIENT_ABSTRACT_HTTP===CM01A      114 METHOD                         HANDLE_REQUEST                                              
    7 CL_WDR_MAIN_TASK==============CP         CL_WDR_MAIN_TASK==============CM00J      85 METHOD                         IF_HTTP_EXTENSION~HANDLE_REQUEST                            
    6 CL_HTTP_SERVER================CP         CL_HTTP_SERVER================CM00D      594 METHOD                         EXECUTE_REQUEST                                             
    5 SAPLHTTP_RUNTIME                         LHTTP_RUNTIMEU02                         1216 FUNCTION                       HTTP_DISPATCH_REQUEST                                       
    4 SAPMHTTP                                 SAPMHTTP                                 13 MODULE (PBO)                   %_HTTP_START                                                
    3                                                                                   2 PBO MODULE                     %_HTTP_START                                                
    2 SAPMHTTP                                                                          2 PBO SCREEN                     10
    1                                                                                   0 TRANSACTION                    ()                                                         
    Our SAP levels are these:
    SAP_BASIS 731 0004 SAPKB73104
    SAP_APPL  606 0004 SAPKH60604
    SAP_HR    604 0049 SAPKE60449
    SAP_HRRXX 604 0049 SAPK-60449INSAPHRRXX
    So, I'm out of ideas. How to prevent locking for person number 00000000 when creating new employee by using SAP HCM Processes & Forms?
    Best regards,
    -Timo

    Hi!
    I asked this from SAP. I got following answer:
    Error "Personnel number &1 could not be locked; lock & failed twice - HRASR00_FBD 011" is sometimes raised due to default value of field PERSG, PERSK, and WERKS. Can you please make sure that these fields have a manual default value assigned on your process to be sure that pernr can be generated?
    You can also try to check whether standard hire processes like HIRE_01 or HIRE_10 are working correctly or same lock error is raised.
    I valuated also PERSG, PERSK and WERKS and after that the process was valuated with new personnel number taken from number range.
    So result was that new number was taken from number range immediatelly when my data entry form was shown (I use process without workflow = fast entry) --> If user uses to form without saving (= abort new employee creation), one number is taken from number range, but not used. I ended up with solution that system is not getting the number automatically in start of the process (= I don't valute those PERSG, PESK and WERKS, they are valuated in form by user anyway). Instead I take manually new number form employee's number range (RP_PREL) before the data checks by using function module NUMBER_GET_NEXT.
    Hopefully the solution by valuating PERSG, PERSK and WERKS works for you.
    -Timo
    Message was edited by: Timo Saviahde
    I tried to edit my answers text to contain readable formatting --> no matter what I do, it shows my text without correct line brakes and other stuff...

Maybe you are looking for