Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Loading Product Hierarchy from BW Info Object

$
0
0

Or do the following:

Create hierarchy Transformation between your 0prod hierarchy Data Source and 0MATERIAL.

In Start routine after intervals method (if any) include this code:

 

data: wa_package like line of SOURCE_PACKAGE_3,

         RESULT_PACKAGE like SOURCE_PACKAGE_3.

 

LOOP AT SOURCE_PACKAGE_3 INTO wa_package.

 

  IF wa_package-IOBJNM <> '0HIER_NODE'.

  wa_package-IOBJNM = '0MATERIAL'.

  ENDIF.

 

APPEND wa_package TO RESULT_PACKAGE.

ENDLOOP.

 

SOURCE_PACKAGE_3 = RESULT_PACKAGE.

 

This way the loaded hierarchy will mimic the hierarchy of 0MATERIAL and you will be able to load it to BPC (provided you also loading 0PROD master data to 0MATERIAL).


Viewing all articles
Browse latest Browse all 9091

Trending Articles



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