<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Graph in Excel using OLE2 - properties in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763137#M1676644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I 've developed the Graphing Feature using OLE2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unable to change the Chart Title and unable to create X-Axis &amp;amp; Y-Axis Labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the screenshot of the output below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/102058" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I'm trying to write like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PROPERTY OF h_chart3 'ChartTitle' = h_title.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET PROPERTY OF h_title 'Chart title' = l_header.&lt;/P&gt;&lt;P&gt;&amp;nbsp; GET PROPERTY OF h_chart3 'Chart Options' = h_title.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET PROPERTY OF h_title 'Category (X) axis' = l_xaxis.&lt;/P&gt;&lt;P&gt;&amp;nbsp; GET PROPERTY OF h_chart3 'Chart Options' = h_title.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET PROPERTY OF h_title 'Category (Y) axis' = l_yaxis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Can someone help me on this - on how to change the Title, insert Labels for X-Axis , Y-Axis?&lt;/P&gt;&lt;P&gt;2) How do I get all the Properties of OLE2?&lt;/P&gt;&lt;P&gt;3) I believe OLE2 is Obsolete. Does it affects if we use OLE2? Is there any better way to implement the Excel-Graph?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sowmya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2012 09:44:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-05-16T09:44:53Z</dc:date>
    <item>
      <title>Graph in Excel using OLE2 - properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763137#M1676644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I 've developed the Graphing Feature using OLE2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unable to change the Chart Title and unable to create X-Axis &amp;amp; Y-Axis Labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the screenshot of the output below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/102058" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I'm trying to write like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PROPERTY OF h_chart3 'ChartTitle' = h_title.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET PROPERTY OF h_title 'Chart title' = l_header.&lt;/P&gt;&lt;P&gt;&amp;nbsp; GET PROPERTY OF h_chart3 'Chart Options' = h_title.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET PROPERTY OF h_title 'Category (X) axis' = l_xaxis.&lt;/P&gt;&lt;P&gt;&amp;nbsp; GET PROPERTY OF h_chart3 'Chart Options' = h_title.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET PROPERTY OF h_title 'Category (Y) axis' = l_yaxis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Can someone help me on this - on how to change the Title, insert Labels for X-Axis , Y-Axis?&lt;/P&gt;&lt;P&gt;2) How do I get all the Properties of OLE2?&lt;/P&gt;&lt;P&gt;3) I believe OLE2 is Obsolete. Does it affects if we use OLE2? Is there any better way to implement the Excel-Graph?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sowmya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 09:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763137#M1676644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-16T09:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Graph in Excel using OLE2 - properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763138#M1676645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use the same method than &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://answers.sap.com/people/kartik.p" id="jive-7403113808775516579668"&gt;Kartik P&lt;/A&gt; described in &lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-28271"&gt;Copying data from Microsoft Excel to ABAP using OLE&lt;/A&gt;, Change those attributes in Excel while recording a macro and analyze the macro generated code to find the methods/attributes to use and on which objects to apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 09:53:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763138#M1676645</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-05-16T09:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Graph in Excel using OLE2 - properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763139#M1676646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can find the properties in the excel macros and change the required things and insert also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 09:56:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763139#M1676646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-16T09:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Graph in Excel using OLE2 - properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763140#M1676647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Raymond... &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/746/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 10:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763140#M1676647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-16T10:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Graph in Excel using OLE2 - properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763141#M1676648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since I'm new to this. I'm facing little difficulty in converting to ABAP. Could you please help me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I got the Macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Graph_Macro1()&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;' Graph_Macro1 Macro&lt;/P&gt;&lt;P&gt;' Macro recorded 5/16/2012 by ! on KNTTS3C66&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; With ActiveChart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .HasTitle = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;STRONG&gt;ChartTitle.Characters.Text = "Inventory"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Axes(xlCategory, xlPrimary).HasTitle = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;.Axes(xlCategory, xlPrimary).AxisTitle.Characters.Text = "Date"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Axes(xlValue, xlPrimary).HasTitle = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;STRONG&gt;Axes(xlValue, xlPrimary).AxisTitle.Characters.Text = "MB"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End With&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the proper ABAP code for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sowmya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 11:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-in-excel-using-ole2-properties/m-p/8763141#M1676648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-16T11:12:25Z</dc:date>
    </item>
  </channel>
</rss>

