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

Re: Populating InfoCube from CSV

$
0
0

Hello Fahim,

 

I have 5 lines in the source file, which represents the yearly values.

 

I inserted the below-stated code in Endroutine area.

 

If i run DTP and check the data I see 5 lines and key figure values just zero

 

 

DATAlt_kam_plan TYPE TABLE OF /BIC/B0004199,

        ls_kam_plan type /BIC/B0004199.

 

Data: lv_kpi1 like ls_kam_plan-zprodamt,

       lv_kpi2 like ls_kam_plan-zprodprc.

 

LOOP AT RESULT_PACKAGE assigning <RESULT_FIELDS> .

 

<result_fields>-calday = sy-datum.

<result_fields>-/BIC/ZPRODAMT = lv_kpi1 / 365.

<result_fields>-/BIC/ZRODPRC = lv_kpi2 / 365.

 

 

endloop.

 


Best

Eddy


Viewing all articles
Browse latest Browse all 3585

Trending Articles



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