Dear BOPF Colleagues,
I would ask do you have any correct, working implementation, or PoC how to write correct unit test for BOPF CRUD operations without calling the determination event?
These CRUD operations are NOT actions under Business objects, we fill up the modification table with the corresponding BO operation code and then
call service manager modify and transaction manager save.
We have an normal ABAP class called Planning Profile API, which creates, updates, copies and deletes Planning Profile Object data via BOPF framework.
I tried to write ABAP unit test but either the determination is called on delete and the transaction manager doesnot save the deletion
or if I tried to mock service and transactionm manager it went into infinite loop in retieve of service manager.
Do you have any working iimplementation how to unit test a create-update-delete operation? Please help.
Thank you & regards,
Csaba