1 Reply Latest reply: Nov 5, 2008 9:07 AM by Andreas Mann RSS

Internal order and cost element hierarchy

Sanjeev Kalia
Currently Being Moderated

Hi,

 

Can anybody tell me how to retrieve the cost element and internal order hierarchy.

 

though there is 2 FM g_set_tree_import and g_set_tree_add_pointers where i have retrieved the cost and profit center but doesnt seem internal order and cost element are possible from this.

 

can anybody explain?

 

rgds

sanjeev

  • Re: Internal order and cost element hierarchy
    Andreas Mann
    Currently Being Moderated

    here's a sample:

     

     

     

     

      CLEAR SET.

      SELECT SINGLE * FROM TKA01 WHERE KOKRS = KOKRS.

      CONCATENATE '0102' TKA01-KTOPL SSET INTO SET.

                                                                             

      CALL FUNCTION 'G_SET_TREE_IMPORT'

           EXPORTING

                SETID              = SET     "Set-ID, not the Setname!!!

                NO_TABLE_BUFFERING = ' '

           TABLES

                SET_HIERARCHY      = SETHIER

                SET_VALUES         = INTAB .

     

     

     

     

    nice day

     

    Andreas

Actions