Hi,
We are facing the error "ERROR: Table entry already exists (termination: RABAX_STATE)" when we have used the customer like UI.
the following are the steps that we have used as part of a SAP MDG implementation:
1. Extended the BP data model with a custom entity type. Relationship has been maintained correctly.
2. In order to display the data on the UI, the an enhancement has been created for the BOL component.
3. The FPM applications have been copied and custom application configurations have been created have been created.
while testing the FPM application it throws the error as indicated above.
When i was trying to find the root cause in debug i found that the no. of instances of the object: BP_MultipleAssignment, were more than one. and in the class: CL_CRM_GENIL_CONT_SIMPLE_OBJ; Method: IF_GENIL_CONT_SIMPLE_OBJECT~SET_KEY;
A check, is performed to the data container, for duplicate entries on the basis of the Object and Object ID. If duplicate entries are not present then the object id is updated with the generated object ID. If a duplicate entry exists it gives an error as mentioned above (as in this case).
When looked up on in debug mode it was found that the object ID was updated for the first instance of BP_MultipleAssignment. Which results in error when ever the logic is performed again, as the Object ID and the Object(BP_MultipleAssignment) exist.
I have attached the error analysis from ST22 for reference.
Please provide me a solution. I will be grateful and would award points.
Thank you,
Regards,
Ram.