Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Modules, for listing Cost centers Under a manager

Former Member
0 Likes
1,175

Hi All,

1. Can any one please suggest me any Function Module available for listing the cost center under a manager, given only the Manager's username or pernr.

2. And also the Function Group which has the collection of Function Modules which deals with operations and reporting on Cost centers from a Manager's Role (basically on budjet Monitoring aspects).

Thanks and Regards,

Girimurugan

4 REPLIES 4
Read only

athavanraja
Active Contributor
0 Likes
648

If this is the followup of the previous post (responsible person) and you wanted to get a list of cost centers based on that using a FM , i doubt that there is a FM available for that. You have to read the table to get the info.

When you say manager, he could be a manager for a HR organisation but the cost organization may be different. in a typical set up it would be a cost center group (which will have set of cost centers under it) and this will be linked to a hr organization.

All this is purely based on how cost center hierarchy (standard hierarchy) and hr organization maintained and how they are linked.

Regards

Raja

Read only

Former Member
0 Likes
648

Hi,

For your first question, you can have a look at BAPI_COSTCENTER_GETLIST.

I'll try to get back to you wit the answer to the second one.

regards,

Anand Mandalika.

Read only

andreas_mann3
Active Contributor
0 Likes
648

Hi,

- you can select directly from CSKS

SELECT  kostl FROM  csks INTO kostl
       WHERE  datbi  GE sy-datum
       AND    datab  LE sy-datum
       AND    verak  = p_verak.

  WRITE: / kostl.
ENDSELECT.

- or try TA KS13 with an according sel-variant

regards Andreas

Read only

0 Likes
648

Little more on your second questions.

Are you saying you will get the list of cost centers for the manager from his role?

If you already identified the cost centers for the manager the to get the costs relevant for the manage you can do the following.

1. reading COSS (secondary costs) and COSP (primaray cost) tables you can get all the costs (both actual and plan).

2. If you need CO document level info, you can read COVP .

Regards

Raja