Skip to Content
author's profile photo Former Member
Former Member

Comments save sequence

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 19, 2016 at 09:11 PM

    "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...

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2016 at 04:36 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.