cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Comments in BPC EPM

0 Likes
1,330

Hi All,

While saving the comment from BPC EPM to BW, need to modify the comment. But unable to find any BADI / Customer Exit which gives the comments entered by the user.

For example ; User has entered Comment : 'Testing Scenario' . This comment is getting saved in the respective Table ( /1CPMB/**CMT). But before it is getting saved, I need to modify the record as 'Test Scenario Modified'.

I have tried with UJR_WRITE_BACK and UJ_CUSTOM_LOGIC. Both the BADIs are not giving me the comments entered by the user. Is there any other BADI or Customer Exit to serve this purpose ? Or is there any other way to do this ?

Thanks,

Rohith.

Accepted Solutions (0)

Answers (2)

Answers (2)

lucas_costa3
Active Contributor
0 Likes

Hi Rohit,

It seems odd the scenario you're trying to implement, but I might suggest using Custom Logic badi implementation instead of write back.

If all you need is to "copy" the entry to a different set of dimension members, at the time custom logic is triggered the comment will be already saved in your "dummy" members. Just work on your badi to filter the comments and then add them with the new members.

The class CL_UJC_CMTMANAGER with the methods below will help you manipulate the comments:

GET_CMT       Instance MethodPublic                             BPC: Get Comment Entries
DEL_CMTInstance MethodPublic                             BPC: Delete Comment Entries
UPDATE_CMTInstance MethodPublic                             BPC: Update Comment Entries
ADD_CMTInstance MethodPublic                             BPC: Add a Comment Entry

Just be careful with concurrent entries that could potentially make a mess your system. 

Cheers,

Lucas

former_member186338
Active Contributor
0 Likes

"But before it is getting saved, I need to modify the record as 'Test Scenario Modified'." - what for? Business case, please...

0 Likes

Scenario is like, all the record entered in BPC is saved against the default Employee no : EMP500 .. In the BADI , i'm changing the employee number . so that Infocube is updating with the relevant employee number.

But in the table where comment is getting saved, there the dimension Employee is saved with the value EMP500. I need to change this employee number as well.

former_member186338
Active Contributor
0 Likes

"i'm changing the employee number" - how? based on what logic?

0 Likes

Last generated employee number + 1 .

former_member186338
Active Contributor
0 Likes

And you are adding members in the write back badi? Not sure it's a good idea (dimension processing is relatively slow and will interfere with other users activities)....

0 Likes

Hi,

I just want to know if we can catch the marked Comments (Testing) in any BADI or Customer-Exit.

Once it's saved, i saw the entry in the table ( /1CPMB/**CMT) with the record ID . Need to know at which point this comment is getting saved. So that i can modify the record as per my logic.

Thank you.

former_member186338
Active Contributor
0 Likes

Sorry, but if you will be unable to effectively add members then you will not need to change the member in the comment

0 Likes

.. can't we capture the comment entered in any BADI or Customer Exit ?

former_member186338
Active Contributor
0 Likes

Only changes of standard BPC code by enhancement....

Former Member
0 Likes

Hi Rohin,

Why don't you just change the employee number in your EPMSAVECOMMENT formula?

Andy