There are special considerations when using stored procedures and triggers to ensure that Adabas usage does not collide in any way.
A full explanation of these considerations can be found under Programming Guidelines for Stored Procedures and Triggers.