‎2005 May 17 12:20 PM
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
‎2005 May 17 12:31 PM
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
‎2005 May 17 12:31 PM
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.
‎2005 May 17 12:38 PM
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
‎2005 May 17 12:43 PM
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