Skip to Content
author's profile photo Former Member
Former Member

Plz help


I want to print the cost element group higherarchy discription from the tcode KAH3.

Can any one tell how to get the discription of the higherarchy from the database.

Point will be sure.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Nov 20, 2007 at 04:37 PM

    You can use this FM to get the values:

    select single * from setheader
    into l_header
    SETNAME   = <your_costcenter_group>
    into l_setid.
    data: gt_setvalue TYPE STANDARD TABLE OF setvalues.
               client                          = sy-mandt
               langu                           = sy-langu
               setid                           = set_id
               set_values                      = gt_setvalue
               SET_NOT_FOUND                   = 1
               ILLEGAL_FIELD_REPLACEMENT       = 2
               ILLEGAL_TABLE_REPLACEMENT       = 3
               SET_IS_DAMAGED                  = 4
               OTHERS                          = 5.

    To get the description, use the values from the GT_SETVALUE and take the description from CSKT.


    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 20, 2007 at 04:24 PM

    start KAH3

    click in the field cost element group

    press F4...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.