Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

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

$
0
0

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


Viewing all articles
Browse latest Browse all 7926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>