cancel
Showing results for 
Search instead for 
Did you mean: 

BAdi ECPAO_IN_EXT_PERNR_MAP Assertion Failed Error

David-Bann
Participant
0 Kudos

Hi there,

We only use an external number range for employee numbers in ERP. I have set up replication which works for updating employees in EC which already exist in ERP. However, when hiring a new employee, I get the error "Personnel number 00000000 not permitted". Note 2550459 says to solve this we must implement BAdi ECPAO_IN_EXT_PERNR_MAP. I have implemented this BAdi - for testing, the code is very simple:

pernr_external = person_id_external.

Now when replicating a new hire, I get a short dump ASSERTION_FAILED.

I assume I have not implemented the BAdi correctly - any suggestions on what I have done wrong?

Accepted Solutions (1)

Accepted Solutions (1)

David-Bann
Participant
0 Kudos

It turns out that the error was caused by the fact that I had omitted to map the event reason/action reason for info-type 0000. The BAdi implementation was not the reason for the error.

lgonzalezc
Employee
Employee
0 Kudos

Could you give more details about this? We must implement ECPAO_IN_EXT_PERNR_MAP, but I am having problems when trying to debug the BADI.

Thanks!

David-Bann
Participant
0 Kudos

I suggest you start a new question with more details of the problem you are experiencing - include some context and info so that we have a better idea of how to answer you 🙂

Answers (0)