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 element group

Former Member
0 Kudos

hello,

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

thanx n regards

Anshul

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

try BAPI: BAPI_COSTELEMENTGRP_GETDETAIL

Regards, Dieter

4 REPLIES 4

GauthamV
Active Contributor
0 Kudos

hi,

use KAH3 transaction.

also u can use these tables.

TSC0C

TSC0I.

Former Member
0 Kudos

Hi,

try BAPI: BAPI_COSTELEMENTGRP_GETDETAIL

Regards, Dieter

0 Kudos

THANX Dieter ,

My issue is resolved.

Former Member
0 Kudos

  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