cancel
Showing results for 
Search instead for 
Did you mean: 

Handling BOI Save Sequence errors in Custom Business Object

akil-k
Explorer
0 Kudos
118

Hi there,

SAP has released BOI's for Customer and Partner Usage.

(say)

  1. A Custom BO is developed via unmanaged scenario which in-turn operate on standard BOI's during modify phase (i.e., via CREATE handler in ABP). 
  2. And, Custom BO instance creation is dependent on standard BOI operations.
  3. Failures on these BOI operations can be handled for failed instance exposed on modify phase via reported and failed structures of BOI.
  4. But, failure of these BOI operation during save sequence will result in unbound/ unspecific errors and failure of instance creation resulting in no trace of handling these errors.
  5. Rather, the requirement is to capture those errors generated and create Custom BO instance accordingly either in Modify or Save Sequence.

Is there a way within modify/ save sequence of Custom BO, we can simulate standard BOI commit and retrieve errors while also modifying Custom BO instance accordingly?

Considerations: Clean Core, Cloud-focused development.

Accepted Solutions (0)

Answers (0)