ASSERTION FAILED dump in STORE_BUT020_IN_VERSION_MEMORY
[assertion] [assertion failed] [BPTIME_VERSION] [BUPA_ADDRESS_UPD_CONSISTENT] [BUPA_INBOUND_MAIN_SAVE] [dump memory] [f_addr_r_single_bas] [LBUBA_5F18] [memory dump] [STORE_BUT020_IN_VERSION_MEMORY]
Related:
- BP_VER: Error message AM 054 when creating new BP w/ addressSymptom You create new business partners with address data using...
Symptom
When business partner addresses are created using the Complex Interface module BUPA_INBOUND_MAIN_SAVE, an ASSERTION FAILED short dump occurs in the method STORE_BUT020_IN_VERSION_MEMORY of Class BPTIME_VERSION.
Other terms
BPTIME_VERSION STORE_BUT020_IN_VERSION_MEMORY BUPA_ADDRESS_UPD_CONSISTENT BUPA_INBOUND_MAIN_SAVE LBUBA_5F18 f_addr_r_single_bas
Reason and Prerequisites
The Address Export BADI BUPA_ADDR_EXPORT was called with the address number passed as space. This is not permissible for the FS implementations.
The reason for the address number being space -
When an address is being created, the address does not have a number at the time of export, it only has a handle. The handle does not get passed to the export BADI since this field is not available in the interface structure LT_BUT020_EXT.
Solution
Implement the corrections of this note. It contains the following corrections :
1.The Export BADI was called from f_addr_r_single_bas. This call has been removed since the export is finally called from BUPA_ADDRESS_UPD_CONSISTENT.
2.In case the address number is space while calling the Export BADI, the value of address handle is filled into field ADDRNUMBER and then exported.