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: 

EC-CS Hierarchy for fs items

Former Member
0 Kudos
363

I have spent most of the day today trying to find the table where the relationship between the hierarchy and the fs items / fs items sets reside. Could you please point me to the right place.

Thanks!!

6 REPLIES 6

Former Member
0 Kudos
88

Hi,

I recommend you to use FM 'FC_ITCLG_IMPORT':


TYPE-POOLS: fc01.
DATA: t_node TYPE fc01_t_itclg_node.
DATA: d_dimen TYPE fc_dimen,
      d_itclg TYPE fc_itclg,
      d_rvers TYPE fc_rvers,
      d_ryear TYPE fc_ryear,
      d_perid TYPE fc_perid.

PARAMETERS: p_congr LIKE fcdrd-scongr OBLIGATORY.

  CALL FUNCTION 'FC_GLOBAL_PARAMETERS_IMPORT'
*   EXPORTING
*     E_UNAME       = SY-UNAME
    IMPORTING
      i_dimen       = d_dimen
      i_congr       = p_congr
*     I_BUNIT       =
      i_itclg       = d_itclg
*     I_RLDNR       =
      i_rvers       = d_rvers
      i_ryear       = d_ryear
      i_perid       = d_perid.

  CALL FUNCTION 'FC_ITCLG_IMPORT'
    EXPORTING
      e_itclg         = d_itclg
    IMPORTING
      it_node         = t_node
*     IT_ITHRY        =
*     IT_ITEM         =
    EXCEPTIONS
      not_found       = 1
      error_message   = 2
      OTHERS          = 3.

(function module FC_GLOBAL_PARAMETERS_IMPORT retrieves the global EC-CS parameters stored for your user; it's necessary in order to populate variable "d_itclg").

Pls let us know if it helped. BR,

Alvaro

Lakshmant1
Active Contributor
0 Kudos
88

Hi Kelkel,

Please check table starting with TF*

Thanks

Lakshman

Former Member
0 Kudos
88

Thank you!! I will give it a try. Yes I did look at all the TF* tables that are used for the master data package under EC-CS and did not have any luck...

Thank you for responding so quickly!!!

Former Member
0 Kudos
88

Yeah!! This is exactly what I needed!!

Thanks a million!!

0 Kudos
88

HI Kelkel,

If you found a post useful or solved your problem, reward the post accordingly and close the post if it is solved.

Thanks,

Srinivas

Former Member
0 Kudos
88

I wasted an entire day

looking for the tables

Thanks for the answer!