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

cost element group

Former Member
0 Likes
1,273

hello,

How to get all cost elements from cost element group .?

thanx n regards

Anshul

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,087

Hi,

try BAPI: BAPI_COSTELEMENTGRP_GETDETAIL

Regards, Dieter

hello,

How to get all cost elements from cost element group .?

thanx n regards

Anshul

4 REPLIES 4
Read only

GauthamV
Active Contributor
0 Likes
1,087

hi,

use KAH3 transaction.

also u can use these tables.

TSC0C

TSC0I.

Read only

Former Member
0 Likes
1,088

Hi,

try BAPI: BAPI_COSTELEMENTGRP_GETDETAIL

Regards, Dieter

Read only

0 Likes
1,087

THANX Dieter ,

My issue is resolved.

Read only

Former Member
0 Likes
1,087

  CONCATENATE c_0102
              c_xx00
              p_1kstar
         INTO w_setid.

  CALL FUNCTION 'K_HIERARCHY_TABLES_READ'
    EXPORTING
      e_class                     = c_0102
      e_setid                     = w_setid
      e_kokrs                     = c_kokrs
    TABLES
      t_nodes                     = t_nodes
      t_values                    = t_values
    CHANGING
      c_info                      = e_info
      c_overwrite                 = e_over