Environment: SAP EPM 10.0 NW
We submit dimension member information as comment from workbook along with data, which will be used in the custom logic BADI to do further processing on that data.
We trigger the custom logic BADI in the default logic to process incoming data on the fly as they get submitted.
Even when data and comments get submitted , BADI doesn't see the latest comment when queried for processing from comment table.
Looks like the comment is not saved by the time default logic is triggered. Is our understanding correct, if so, how to read the in flight comment.
Appreciate your help and suggestions
~Dilkins
"Looks like the comment is not saved by the time default logic is triggered. Is our understanding correct, if so, how to read the in flight comment."
It's correct and there is no badi to trigger when comment is saved.
The only way is to modify BPC code but I don't like this idea 😊
P.S. And this question was discussed already in this forum...
Hi Andrew,
If I remember well comments are saved before the custom logic badi code is executed.
What I believe is happening in your case is that you may have more than one entry for the same region, and your select is getting the first one (Oldest comment). Remember that comments are saved with a timestamp, which means it will keep all comments entered for that region. In that case, you need to get last timestamp. Therefore, select from the commentary table and then SORT by TIMESTAMP DESCENDING...
Cheers,
Lucas
Add a comment