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

Using cost center as owner dimension for work status (BPC 10.1 embedded)

Former Member
0 Kudos
1,577

Hi Gurus,

I need to know how can I setup 'manager' for work status if I use '

/ERP/COSTCNTR' as owner dimension in work status configuration.

Below is my work status configuration:

Work Status List:

0 - Unlocked (Controlled by: Owner and Manager; Manual Entry: All)

0 - In Process (Controlled by: Owner; Manual Entry: Owner)

0 - Submitted (Controlled by: Owner ; Manual Entry: None)

0 - Approved (Controlled by: Manager; Manual Entry: None)

-----------------------

Owner Dimension: /ERP/COSTCNTR

Owner Property: /ERP/RESPUSER - User Responsible

Other Dimensions: /ERP/CATEGORY, /ERP/CO_AREA, 0FISCYEAR, 0FISCVARNT

------------------------

Problem:

For cost center 10000, I have assigned my self as user responsible (used as owner property in work status configuration) in master data in on ecc side. I am able to change the work status with no issues but I am also able to approve the plan data in work status which only Manager should be able to do it.

Now I am not sure where do I assign the Manager in cost center hierarchy. On the ECC side there is no attribute of user responsible on hierarchy node of cost center.

Accepted Solutions (1)

Accepted Solutions (1)

lucas_costa3
Active Contributor
0 Kudos

I think that for this case you would need to implement BADI RSBPCB_SETUSER. Reading the Owner from

/ERP/RESPPERS and the manager from a second attribute (e.g. ZMANAGER). You'll need to enhance the hana view

FCO_C_COST_CENTER to read the manager from somewhere (e.g. table) and assign the HANA view field to /ERP/COSTCNTR.

Former Member
0 Kudos

Hi Lucas,

Thanks for answering the question.
So, it seems like BADI is going to populate the owner and manager for each cost center. Is there a way to assign the manager at higher level instead of each cost center. Client wants one manager to be assigned at the highest level who can approve the budget and don't want to maintain the manager user id in each cost center.

How to do it?

Thanks,

lucas_costa3
Active Contributor
0 Kudos

It's the same thing. Owner of the node = Manager.

Going forward the badi would be something like:

If member is base level then read the owner from Person Resp. property

If member is a node, read the owner (manager) from ... somewhere (e.g. custom table).

Cheers,

Lucas

Former Member
0 Kudos

Hi,

How and where do we maintain the owner and it's manager relationship?

If for cost center 1000 user responsible is ABC, where do we maintain the manager for ABC?

lucas_costa3
Active Contributor
0 Kudos

The easiest way is to create a Z table with CC nodes and owner, put it on SM30 and read that using the BADI I sent you.

Former Member
0 Kudos

Getting issues with BADI.

I created a ZCOSTCENTER characteristic with 2 attributes Owner and Manager

Passing my user id in both fields.

But when I open the input screen in Analysis for office, it's not allowing me to change status and complaining I am not an owner or manager.

former_member453328
Participant
0 Kudos

Hi S Q,I m facing the same issue, I wonder if you were able to solve it so maybe you can provide some guidance.

lucas_costa3
Active Contributor
0 Kudos

Have you checked snote:

2484176 - How to set up manager for BPC Embedded Work Status

It talks a lot about that BAdI and has been updated in August.
lucas_costa3
Active Contributor
0 Kudos

Another thing is to debug class CL_RSBPCW_WS_RUNTIME=>_GET_AVAILABLE_STATUS2

It was the only place I could find that message 78 being thrown.

Former Member
0 Kudos

Hi Lucas,

How can we debug the RSBPCB_SETUSER Badi? I implemented the Badi and it's active, I'm putting an external breakpoint in the class, but it's not running when trying to change Work status in Analysis for Office.

(we are on BW752, so this note (2387590) is not applicable for us 🙂

Thanks in advance!

former_member186338
Active Contributor
0 Kudos

Try endless loop at the begginning of badi code and SM50 🙂

Former Member
0 Kudos

This helped, was able to debug and understand the issue. Thanks, Vadim.

Answers (0)