Quantcast
Channel: SCN : Popular Discussions - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 945

Start Routine for 0COSTELMNT_0102_HIER

$
0
0

Hi everyone,

 

i load the Cost element Hierarchy into BW and i got an Error: The "from" value is larger than the "to" value for the interval node with ID XX and XY and node name.

On SCN Forum, i understand the Reason for the Problem : 'Intervals in IDOC format: The interval segment in IDoc format is not compatible with the interval segment of the target structure.Therefore you need to create a start routine that writes the From value of the interval to the node structure segment. The corresponding function call is created by default as a comment in a new start routine. You simply have to remove the comments and enter the correct source field of the hierarchy basis characteristic. In the interval segment you assign the LEAFTO field to the corresponding target InfoObjects.

Hierarchy Load DTP - The from-value is larger than the to-value

Creating a Transformation for a Hierarchy - Modeling - SAP Library

 

i found that there is a difference betwen the interval of Field 'Leafto' and interval of target '0COSTELMNT' and '0CO_AREA' so i write this Code on Start routine :

 

CALL METHOD cl_rstran_gen_step_hier_split=>reset_interval_nodes
EXPORTING
i_iobjnm      = ('0COSTELMNT','0CO_AREA')
i_t_intervals = SOURCE_PACKAGE_5
CHANGING
c_t_nodes     = SOURCE_PACKAGE_3.


But this Code doesn't work. Can you please help me how to fix this Code?.

Thanks




Viewing all articles
Browse latest Browse all 945

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>