Hi,
First thanks for your time.
I have implemented the badi /POSDW/BADI_AGGR_TRANSACTION to create some Aggregations. In this implementation, there are three methods. One of them, is the method where you can do the aggregation and in this method there is an EXPORT parameter ET_MESSAGE which is a table where you can put the error messages.
I have executed the Aggregation task for two transactions. In my implementation, there is a validation and one of these transactions doesn't pass this validation, so I add a type 'E' message to the ET_MESSAGE table. This table has a field called MESSAGERANGE which is a structure where I put the bussinesdaydate of this transaction and the index in the TRANSINDEXBEGIN and TRANSINDEXEND to identify which is the transaction that hasn't pass the validation.
Then when I go to the monitor(/POSDW/MON0) to see the status of the Aggregation task for these two transactions, I see that the status of the transaction which haven't pass the validation is "Error". This is ok, however the status of the other transaction is "Error" too, despite It has passed the validation.
How I could solve this problem? How I should fill the ET_MESSAGE table?
Is there any badi before /POSDW/BADI_AGGR_TRANSACTION where I can do the validation?
Best regards