Quantcast
Channel: SCN: Message List - ABAP Objects
Viewing all articles
Browse latest Browse all 159

chartdesigner640 and transformation to customize data

$
0
0

Hello

im using chartdesigner640 and transformation to customize data

 

in sap

********

 

TYPES values_type TYPE STANDARD TABLE OF f.

DATA: BEGIN OF series,

        label TYPE string,

        id TYPE string,

        values TYPE values_type,

       END OF series,

       series_table LIKE STANDARD TABLE OF series,

       categories TYPE STANDARD TABLE OF string.

 

 

in transformation

*********************

<?sap.transform simple?>

?sap.transform simple?>

<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">

  <tt:root name="CATEGORIES"/>

  <tt:root name="SERIES"/>

  <tt:template>

    <ChartData>

      <Categories>

        <tt:loop ref="CATEGORIES">

          <Category>

            <tt:value/>

          </Category>

        </tt:loop>

      </Categories>

      <tt:loop ref="SERIES">

        <Series>

          <tt:attribute name="label">

            <tt:value ref="LABEL"/>

          </tt:attribute>

          <tt:attribute name="customizing">

            <tt:value ref="ID"/>

          </tt:attribute>

          <tt:loop ref="VALUES">

            <Point>

              <Value type="y">

                <tt:value/>

                <tt:label/>

              </Value>

            </Point>

          </tt:loop>

        </Series>

      </tt:loop>

    </ChartData>

  </tt:template>

</tt:transform>

how can i add label for each point point1/1 point 1/2

can anyone send me the codes for that

tanks shlomit


Viewing all articles
Browse latest Browse all 159

Trending Articles



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