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 module to find cost elements in a cost element group?

Former Member
0 Likes
2,915

Can any one please help me find all the cost elements in a cost element group?

Regards,

ABAPer

Can any one please help me find all the cost elements in a cost element group?

Regards,

ABAPer

2 REPLIES 2
Read only

anversha_s
Active Contributor
0 Likes
1,298

hi,

Look at table SETHEADER. For Cost Center Groups, use SETCLASS = '0101'; for Order Groups, use SETCLASS = '0103'.

<b>cost center

BAPI_COSTCENTERGROUP_GETDETAIL

the return structure HIERARCHYVALUES will hold all children cost centers.

cost elements.

BAPI_COSTELEMENTGRP_GETDETAIL</b>

rgds

anver

Message was edited by: Anversha s

Read only

0 Likes
1,298

Hi Anver,

Thanks for your reply, It was helpful and i rewarded it.

I have a query, hope you would help it.

There is an input parameter to that FM , CHARTOFACCOUNTS, what would be the input to this.

And i need to create a search help for costelementgroup & costcentergroup, so can i use that setheader table.

Please do reply me.

Thanking you in advance.

Regards,

ABAPer