Quantcast
Channel: SCN : Discussion List - BOPF Application Framework
Viewing all articles
Browse latest Browse all 249

Error handling transaction manager

$
0
0

Dear BOPF experts,

I want to develop an interface to create a mass of SAP TM Forwarding Orders.  

  

I learned that BOPF is designed to handle mass data. All validations, determinations, actions and so on have a table of keys as importing parameter to do something for a mass of data. 


I want to use this performance advantage in the interface. I want to pass the modify method of the service manager a package of forwarding orders to create them and call then the save method of the transaction manager. This seems to work fine, but I’m facing issues with the error handling. The transaction manager saves by default nothing if an error occurs during the consistence validation. 


I need another error handling:

When the service manager creates the nodes then errors can occur based on validations. In this case I want to protocol the errors and remove these corrupted forwarding orders from the transactional changes, but the correct forwarding orders shall be created. When I call the save method of the transaction manager then it executes the consistence validation again. If errors occur at this time then I want to save the correct forwarding orders, protocol the errors and discard the corrupt ones.


Is there a way to do this with BOPF, or do I have to create all forwarding orders one by one? 

  

Best regards 

Frank 


Viewing all articles
Browse latest Browse all 249

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>