Quantcast
Viewing all articles
Browse latest Browse all 2823

Enhancement of BW data source 0EC_PCA_1 to include COnst Center (KOSTL)

Hi all,

 

I need to extract budget (planned) data into BW. The extractor 0EC_PCA_1 has almost all that I need, apart from the field KOLST (Cos Center). The thing is that per each extraction record there might be more than one Cost Center (i.e. the extractor summarizes without taking cost center into account). My immediate conclusion is that it would be necessary to enhance the extractor like follows:

 

Loop extracted records

    

     Look at the table GLPCP to see if all record corresponding to the current extracted record have the same cost center

          If yes

               add cost center to extracted record

          if no

               duplicate the extracted record so that there are as many records as different cost centers

               assign the key figures corresponding to each cost center

End loop

 

I am fairly new to ABAP coding so before starting with actual code I would like to hear if someone has a better idea or can see if this is not going to work.

 

Thanks in advance,

Efrain


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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