SAP Note 397366 - HR-CA-ALE: SAPSQL_ARRAY_INSERT_DUPREC in SAPLRHA2

Component : Distribution -

Solution : https://service.sap.com/sap/support/notes/397366 (SAP Service marketplace login required)

Summary :
In SAP HR environments, the ALE mechanism distributing HR master data via the HRMD_A message category encounters ABAP runtime errors labeled SAPSQL_ARRAY_INSERT_DUPREC. This is often due to discrepancies in the IDocs' expected and actual formats. Errors typically occur during data insertion in routines from program SAPLRHA2 due to customer-specific adjustments, altered IDoc data, or edited IDocs. To resolve issues, refer to SAP Note 134085 to ensure IDoc structural integrity and understand specific segments and update modes. Keywords include HRMD_ABA, PFAL, and RBDAPP01 among others.

Key words :
runtime errorabap runtime errors    sapsql_array_insert_duprecin program saplrha2, expected standard program format, additional key words hrmd_aba, symptom hr master data, hrmd_a message category, customer-specific programs, original data, include lrha2f02, routine insert_pa_pb_objects, table prel_db

Related Notes :

200343HR-CA-ALE: Composite SAP note re distributing HR master data
134085HR-CA-ALE: Structure/creation of an HRMD_A-IDoc