Skip to Content
0
Apr 10, 2007 at 10:38 AM

Time depend hierarchy of 0profit_ctr (set calday on EXIT_SAPLRSAP_004)

23 Views

Hi,

I would like to set Time depend hierarchy (not by nodes, but all hierarchy) on the 0profit_ctr. but unfortunately, 0profit_ctr is not time depend. So I would like to add calday on the EXIT_SAPLRSAP_004(cmod) on the source system.

But I am no idea how to code it...

what I would like to do is to set DATETO and DATEFROM of the hierarhcy header.

parameter of the EXIT_SAPLRSAP_004 is below.

*" IMPORTING

*" VALUE(I_DATASOURCE) TYPE RSAOT_OLTPSOURCE

*" VALUE(I_S_HIEBAS) TYPE RSAP_S_HIEBAS

*" VALUE(I_S_HIEFLAG) TYPE RSAP_S_HIEFLAG

*" VALUE(I_S_HIER_SEL) TYPE RSAP_S_HIER_LIST

*" VALUE(I_S_HEADER3) OPTIONAL

*" TABLES

*" I_T_LANGU TYPE SBIWA_T_LANGU

*" C_T_HIETEXT TYPE RSAP_T_HIETEXT

*" C_T_HIENODE TYPE RSAP_T_HIENODE

*" C_T_FOLDERT TYPE RSAP_T_FOLDERT

*" C_T_HIEINTV TYPE RSAP_T_HIEINTV

*" C_T_HIENODE3 OPTIONAL

*" C_T_HIEINTV3 OPTIONAL

*" C_T_MESSAGES STRUCTURE BALMI OPTIONAL

*" EXCEPTIONS

*" RSAP_CUSTOMER_EXIT_ERROR

I guess I_S_HIER_SEL seems to me the hierarhcy header. but I could not find which fields of the TABLES are corresponding this hierarchy header.

Or is it impossible to set what I want to do on this exit?

Hope your help..

Kind regards,

Masaaki