Hi all,
I try to create an entry in a custom table from the BADI BUPA_GENERAL_UPDATE. I tried to do this using persistence service, however the newly created object is not stored in the database. Somehow the change is not committed. When I run the same code outside the BADI context with an explicit COMMIT statement, the new entry is created.
When the BADI implementation is called the system already seems to be in the commit phase. Adding a COMMIT in the BADI implementation does not work, this causes a runtime exception.
Can the persistence service be used in this context? Any help would be appreciated.
Best regards,
Armin