03-08-2007 9:24 AM
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
03-08-2007 9:29 AM
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
03-08-2007 9:27 AM
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
03-08-2007 9:28 AM
Hello,
Check the tables:
<b>SETLEAF
SETNODE
go through this link which ll give you clear idea about the profit center group.
go through these tables.
CEPC Profit Center Master Data Table
CEPCT Texts for Profit Center Master Data
</b>
REgards,
Vasanth
03-08-2007 9:29 AM
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