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: 

Find Profit centers based on profit center group

Former Member
0 Kudos

1) If I know profit center group how to pick profit centers which belongs to that profit center group.the tcode is (KCH3)

2) In the tree there may be many levels I mean for the profit center also contain other profit centers, just to display in the same way as like in KCH3 tcode, how we are going to maintain in alv trees

1 ACCEPTED SOLUTION

Former Member
0 Kudos

1. use this BAPI <b>BAPI_PROFITCENTERGRP_GETDETAIL</b>

2. the table HIERARCHYNODES of the above bapi will return accordingly, u can loop at that and write

3 REPLIES 3

Former Member
0 Kudos

Hi,

Use SETNODE and SETLEAF tables to get the Profit center group by passing setnode-setclass = '0106'.

Also you can use the following fun modules:

G_SET_TREE_IMPORT

G_SET_GET_ALL_VALUES.

rEGARDS,

aNJI

Former Member
0 Kudos

Hello,

Check the tables:

<b>SETLEAF

SETNODE

go through this link which ll give you clear idea about the profit center group.

http://help.sap.com/bestpractices/industry/serviceindustries/v346c_us/BBLibrary/documentation/B30_BP...

go through these tables.

CEPC Profit Center Master Data Table

CEPCT Texts for Profit Center Master Data

</b>

REgards,

Vasanth

Former Member
0 Kudos

1. use this BAPI <b>BAPI_PROFITCENTERGRP_GETDETAIL</b>

2. the table HIERARCHYNODES of the above bapi will return accordingly, u can loop at that and write