Application Development 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: 

Cost Centers associated with a given Segment

Former Member
0 Kudos
1,383

Hi Experts ,

How do I find the cost centers associated with a given Segment?

I need to know any database tables or FM for this purpose.

Thanks in advance.

8 REPLIES 8

Former Member
0 Kudos
277

Hi,

Please go thru this link

[http://help.sap.com/bp_bl603/BBLibrary/Documentation/155_BPP_60_EN_BR.doc|http://help.sap.com/bp_bl603/BBLibrary/Documentation/155_BPP_60_EN_BR.doc]

Hope it helps

Former Member
0 Kudos
277

Hi ,

Above link gives the transactions used for Cost centers maintainance.

I require a database table or a FM to retrieve all Cost centers associated with a given Segment.

Thanks for our help

0 Kudos
277

All Cost Centers are stored in CSKS table and the BAPIs to process cost centers are:

BAPI_COSTCENTER_CHANGEMULTIPLE

BAPI_COSTCENTER_CHECKMULTIPLE

BAPI_COSTCENTER_CREATEMULTIPLE

BAPI_COSTCENTER_DELETEMULTIPLE

BAPI_COSTCENTER_GETDETAIL

BAPI_COSTCENTER_GETDETAIL1

BAPI_COSTCENTER_GETLIST

BAPI_COSTCENTER_GETLIST1

Lemme know if this helps

Regards,

Kanchan Patil

0 Kudos
277

Hi,

Go thru the link

[http://www.abap.es/Descargas/TAB%20-%20Relacion%20de%20las%20tablas%20por%20modulos.PDF|http://www.abap.es/Descargas/TAB%20-%20Relacion%20de%20las%20tablas%20por%20modulos.PDF]

hope it helps

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos
277

Get segment from : FAGL_SEGM

then goto CSKS to find the assigned KOSTL.

Former Member
0 Kudos
277

Hi Ritweeka,

Following are the FM used to get details based on Cost centers.

BAPI_COSTCENTER_CHANGEMULTIPLE --> Change One or More Cost Centers

BAPI_COSTCENTER_CHECKMULTIPLE --> Check One or More Cost Centers

BAPI_COSTCENTER_CREATEMULTIPLE --> Create One or More Cost Centers

BAPI_COSTCENTER_DELETEMULTIPLE --> Delete One or More Cost Centers

BAPI_COSTCENTER_GETDETAIL --> Detailed Information About Cost Center For Key Date

BAPI_COSTCENTER_GETDETAIL1 --> Detail Information for Cost Center on Key Date (1)

BAPI_COSTCENTER_GETLIST --> List of Cost Centers Using Selection Criteria

BAPI_COSTCENTER_GETLIST1 --> List of Cost Centers for Selection Criteria (1)

I hape it will resolv your problem.

Thanks & regards,

Lokesh.

Edited by: Lokesh Tarey on May 25, 2009 8:53 AM

Former Member
0 Kudos
277

I have the Segment value for which I need to get the Cost center details.

I cannot use CSKS table because Segment is not a primary key.

Former Member
0 Kudos
277

Thanks