<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>HUSEYIN AKTURK</title>
	<atom:link href="http://www.huseyinakturk.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huseyinakturk.net</link>
	<description>Knowledge is power !</description>
	<pubDate>Fri, 12 Mar 2010 13:02:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RFC Server : Complete Example for Connection from SAP to .NET Application</title>
		<link>http://www.huseyinakturk.net/2009/03/rfc-listener-complete-example-for-connection-from-sap-to-net-application/</link>
		<comments>http://www.huseyinakturk.net/2009/03/rfc-listener-complete-example-for-connection-from-sap-to-net-application/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 22:33:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ABAP]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[GMail]]></category>

		<category><![CDATA[RFC]]></category>

		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP .NET Connector]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.huseyinakturk.net/?p=427</guid>
		<description><![CDATA[&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
Downloadable Files :

Visual Studio .NET 2003 Project Application

&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
In some cases, we need a system that SAP maybe a client, and our unSAP application maybe a server. Although SAP is a comprehensive solution center for all enterprise needs, sometimes SAP can not give answer for all of our needs. Think that you need to supply data [...]]]></description>
			<content:encoded><![CDATA[<h4><span style="color: #ff0000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></h4>
<h4>Downloadable Files :</h4>
<ul>
<li><a href="http://www.huseyinakturk.net/wp-content/uploads/2009/03/sap_rfc_listener.rar">Visual Studio .NET 2003 Project Application</a></li>
</ul>
<h4><span style="color: #ff0000;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</strong></span></h4>
<p>In some cases, we need a system that SAP maybe a client, and our <span style="text-decoration: underline;">unSAP</span> application maybe a server. Although SAP is a comprehensive solution center for all enterprise needs, sometimes SAP can not give answer for all of our needs. Think that you need to supply data to outer database that is not your application server&#8217;s database. And think that your application server&#8217;s database does not give permission to use native SQL commands. What will you do in this case?</p>
<p>Problems maybe more, such as you want to send SMS from SAP, or you want to send fax [I am accepting SAP has an integrated solution for sending fax, but in some firms, respect to SAP application server's version sending fax is not possible]. You can imagine more problems.</p>
<p>In such a case, there maybe several solutions. One of the solutions is that SAP will be client and our outer application will be server. So, when SAP wants to connect our system, this architecture will be used.</p>
<p>Up to now, we have mentioned about connection from VS.NET to SAP. What about connection from SAP to VS.NET? Of course, this is possible <img src='http://www.huseyinakturk.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Not only from SAP to VS.NET, also connection from SAP to Java or to any other develepment tool program that SAP permitted is possible.</p>
<p>In this article, I want to take care attention how to connect our .NET application from SAP synchronously. So, I will do a small application in NET. This application will send mail respect to our parameters. After examining my example, I am sure, you will have lots of idea where to use this solution. Such as, if you run across a problem as I mentioned in first paragraph, you can do my solution.</p>
<p>Let&#8217;s look at what we need :<br />
<span id="more-427"></span></p>
<h4><span style="color: #ff0000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></h4>
<h4>Required :</h4>
<ul>
<li>Visual Studio .NET 2003</li>
<li>SAP Application Server [ Any acceptable version for RFC]</li>
<li>SAP .NET Connector 2.0</li>
<li>Gmail Account</li>
</ul>
<h4><span style="color: #ff0000;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</strong></span></h4>
<p>At first let&#8217;s look at SAP side. Firstly, we need to create an RFC function in SAP.</p>
<p><img class="aligncenter size-full wp-image-447" title="rfc_listener_1" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_1.jpg" alt="rfc_listener_1" width="613" height="450" /></p>
<p>As seen above, your function should be an RFC type.</p>
<p><img class="aligncenter size-full wp-image-448" title="rfc_listener_2" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_2.jpg" alt="rfc_listener_2" width="497" height="223" /></p>
<p>And we have declareted the import parameters of our function.</p>
<p><img src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_12.jpg" alt="rfc_listener_12" title="rfc_listener_12" width="704" height="164" class="aligncenter size-full wp-image-479" /></p>
<p>Above seen, there is one export parameter for our function. This will show the result of sending mail. </p>
<p><img class="aligncenter size-full wp-image-449" title="rfc_listener_3" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_3.jpg" alt="rfc_listener_3" width="507" height="141" /></p>
<p>There is one table parameter of our function and that is body of our mail. The signature of this table is below.</p>
<p><img class="aligncenter size-full wp-image-451" title="rfc_listener_5" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_5.jpg" alt="rfc_listener_5" width="565" height="193" /></p>
<p><img class="aligncenter size-full wp-image-450" title="rfc_listener_4" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_4.jpg" alt="rfc_listener_4" width="568" height="375" /></p>
<p>And as seen, no need to code, we only use this function module&#8217;s signature while connection to .NET. </p>
<p>Next step is creating a .NET project. This project can be a library application, windows service application, windows application or console application or any another suitable application. I have just created a console application. Later on, I have created a SAPProxy class. If you don&#8217;t know the basic .NET Connector creation SAPProxy and SAP logon operations, you can find detailed information from <a href="http://www.huseyinakturk.net/2008/12/a-complete-sample-connection-to-sap-from-visual-studio-net-2003-via-rfc/">my this article</a>.</p>
<p>Then, I have defined my YSEND_MAIL function in SAPProxy1 class.</p>
<p><img class="aligncenter size-full wp-image-457" title="rfc_listener_6" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_6.jpg" alt="rfc_listener_6" width="410" height="199" /></p>
<p>Because of we are applying this application as a server, you have to change the SAPProxy1 class property&#8217;s as I have shown.</p>
<p><img class="aligncenter size-full wp-image-458" title="rfc_listener_7" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_7.jpg" alt="rfc_listener_7" width="374" height="234" /></p>
<p>After changing, the proxy type as Server, you will see SAPProxy1Impl.cs created under Solution Explorer. Then open SAPProxy1Impl.cs file and add an additional constructor as :</p>
<p><code><span style="color: #ff6600;">public SAPProxy1Impl(string programId, string gwhost, string sapgwxx, string codepage, SAP.Connector.SAPServer host) : base(programId, gwhost, sapgwxx, codepage, host) {}</span><br />
</code></p>
<p>You will also see, the YSEND_MAIL method as :</p>
<p><code><span style="color: #ff6600;">protected override void YSEND_MAIL(string IM_BCC, string IM_CC, string IM_SUBJECT, string IM_TO, out string EX_RESULT, ref ZMAIL_BODYTable T_BODY)</span><br />
</code></p>
<p>When SAP function has called this method will be called. We will change this method as belown.</p>
<p><span style="color: #ff6600;"><code>string body = "";<br />
System.Data.DataTable dt = T_BODY.ToADODataTable();<br />
for (int i = 0; i &lt; dt.Rows.Count; i++ )<br />
{<br />
body += dt.Rows[i][0].ToString();<br />
}<br />
string result;<br />
ISMTP gMail = new GMailSMTP();<br />
gMail.send(IM_TO, IM_CC, IM_BCC, &#8220;&#8221;,&#8221;", IM_SUBJECT, body, out result);</code></span></p>
<p>I have deleted the Main method of mSAPProxy1Impl class and placed the reqiured code into the Main method of Class1.</p>
<p><span style="color: #ff6600;"><code>SAPServerHost host = new SAPServerHost();<br />
SAPProxy1Impl impl = new SAPProxy1Impl("SENDING_MAIL", "", "sapgw00", "", host);</code></span></p>
<p>While creating SAPProxy1Impl, we are declaring the program name parameter as &#8220;SENDING MAIL&#8221;, gateway host is your application server&#8217;s ip address or name, gateway service as &#8220;sapgw00&#8243;, codepage as &#8220;&#8221; and last the host object.</p>
<p><strong>And important point,</strong> if your application server has load balancing property, you should declare load balance application server&#8217;s ip address or name for gateway host parameter.</p>
<p>Later on, we are starting our rfc listener as:</p>
<p><span style="color: #ff6600;"><code>host.Start();</code></span></p>
<p>Our server will be remain while .net application is live. Otherwise it will be terminated. So, you need to insert a loop code after starting server !!</p>
<p>At this point, we have completed the required operations in .NET side. The last operation in again SAP. Now, let&#8217;s go on SM59 t-code in SAP. You need to create a TCP/IP RFC Connection. I have shown below.</p>
<p><img class="aligncenter size-full wp-image-465" title="rfc_listener_8" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_8.jpg" alt="rfc_listener_8" width="590" height="528" /></p>
<p>While creating the screen should be as below.</p>
<p><img class="aligncenter size-full wp-image-466" title="rfc_listener_9" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_9.jpg" alt="rfc_listener_9" width="553" height="605" /></p>
<p><strong>I have just taken care a point</strong>; if your application server has load balancing, you need to give load balance application server&#8217;s name into the gateway host and &#8220;sapgw00&#8243; for gateway service. Then save this RFC connection. Later on press &#8220;Test connection&#8221; button. You should see below screen.</p>
<p><img class="aligncenter size-full wp-image-472" title="rfc_listener_101" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_101.jpg" alt="rfc_listener_101" width="432" height="247" /><br />
<strong>A general error</strong> is being done while testing the connection before .net application is not running. <strong>Firstly, run .net application and then test connection. </strong></p>
<p>All of the operations are ok. But how we call .net application? How we use? Solution is very simple. In any program or function you should call the YSEND_MAIL function as belown.</p>
<p><img class="aligncenter size-full wp-image-468" title="rfc_listener_11" src="http://www.huseyinakturk.net/wp-content/uploads/2009/03/rfc_listener_11.jpg" alt="rfc_listener_11" width="491" height="286" /></p>
<p>As understood, the hint point is declaring DESTINATION as &#8220;ZSENDMAIL&#8221;. So, you are calling this function module in .NET Application side not in SAP side.</p>
<p>That&#8217;s all. You can ask question or comment for your needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huseyinakturk.net/2009/03/rfc-listener-complete-example-for-connection-from-sap-to-net-application/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A Comprehensive Example for Connection to SAP with Visual Studio 2008</title>
		<link>http://www.huseyinakturk.net/2009/01/a-comprehensive-example-for-connection-to-sap-with-visual-studio-2008/</link>
		<comments>http://www.huseyinakturk.net/2009/01/a-comprehensive-example-for-connection-to-sap-with-visual-studio-2008/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 00:06:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP .NET Connector]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<category><![CDATA[Visual Studio 2005]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://www.huseyinakturk.net/?p=387</guid>
		<description><![CDATA[&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
Required :

Visual Studio .NET 2003
Visual Studio 2008
SAP Application Server [ Any acceptable version for RFC]
SAP .NET Connector 1.1 or 2.0 [ 2.0 is suggestion]

&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
As I promised in my previous articles, I will just explain the building stones of connection to SAP using Visual Studio 2008 development tool.
Before reading this article, I suggest my readers should [...]]]></description>
			<content:encoded><![CDATA[<h4><span style="color: #ff0000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></h4>
<h4>Required :</h4>
<ul>
<li>Visual Studio .NET 2003</li>
<li>Visual Studio 2008</li>
<li>SAP Application Server [ Any acceptable version for RFC]</li>
<li>SAP .NET Connector 1.1 or 2.0 [ 2.0 is suggestion]</li>
</ul>
<h4><span style="color: #ff0000;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</strong></span></h4>
<p>As I promised in my previous articles, I will just explain the building stones of connection to SAP using Visual Studio 2008 development tool.</p>
<p>Before reading this article, I suggest my readers should firstly read my two articles. <a href="http://www.huseyinakturk.net/2008/12/a-complete-sample-connection-to-sap-from-visual-studio-net-2003-via-rfc/"><em>One of this article</em></a> is for the basic explanation of .NET Connector in Visual Studio .NET 2003. And <a href="http://www.huseyinakturk.net/2008/12/connection-to-sap-using-visual-studio-2005-2008/"><em>the second article</em></a> is for explaining the logic of connection to SAP with Visual Studio 2005 or Visual Studio 2008.</p>
<p>In this article, we will use SAP .NET Connector 2.0 version. SAP .NET Connector is an add on for Visual Studio .NET 2003.  So, we need Visual Studio .NET 2003 development tool. After installing the SAP .NET Connector add on, we will create a &#8216;class library&#8217; project in Visual Studio .NET 2003. Below, I showed this operation.</p>
<p><img class="aligncenter size-full wp-image-393" title="sap_conn_vis2008_1" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_1.jpg" alt="sap_conn_vis2008_1" width="531" height="367" /><br />
<span id="more-387"></span><br />
Next operation is adding SAP Proxy Class to our project.</p>
<p><img class="aligncenter size-full wp-image-395" title="sap_conn_vis2008_2" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_2.jpg" alt="sap_conn_vis2008_2" width="531" height="399" /></p>
<p>Because of we will make a connection to SAP, we have to look the SAP Servers under Server Explorer section. We will use one of BAPI of SAP&#8217;s user information. I have published the general view of the BOR objects below.</p>
<p><img class="aligncenter size-full wp-image-396" title="sap_conn_vis2008_3" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_3.jpg" alt="sap_conn_vis2008_3" width="393" height="731" /></p>
<p>We will use &#8216;GetDetail&#8217; method of USER object. Drag and drop this method onto the SAPProxy1.sapwsdl file. Later on, there is no need another class in our project. I am deleting the Class1.cs file.</p>
<p><img class="aligncenter size-full wp-image-397" title="sap_conn_vis2008_5" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_5.jpg" alt="sap_conn_vis2008_5" width="239" height="338" /></p>
<p>Up to now, we have completed the operation in Visual Studio .NET 2003 side. You should build your project. The output of &#8216;SAPUserDetailComponent.dll&#8217; file will be a reqiured file while connection to SAP in Visual Studio 2008.</p>
<p>Now, we will create a windows project under Visual Studio 2008.</p>
<p><img class="aligncenter size-full wp-image-400" title="sap_conn_vis2008_6" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_6.jpg" alt="sap_conn_vis2008_6" width="681" height="470" /></p>
<p>Before adding the dll file of previous project, we should add two more dll to our project.  Firstly copy &#8216;SAPUserDetailComponent.dll&#8217; file to your project folder. Then, go to &#8220;..\Program Files\SAP\SAP .NET Connector 2.0&#8243; path and copy &#8220;SAP.Connector.dll&#8221; and &#8220;SAP.Connector.Rfc.dll&#8221; files to your project folder.</p>
<p><img class="aligncenter size-full wp-image-401" title="sap_conn_vis2008_7" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_7.jpg" alt="sap_conn_vis2008_7" width="345" height="325" /></p>
<p><img class="aligncenter size-full wp-image-402" title="sap_conn_vis2008_9" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_9.jpg" alt="sap_conn_vis2008_9" width="466" height="390" /></p>
<p>We should take an attention to another point. SAP Proxy is based on SOAP protocol. So, we need to add &#8220;System.Web.Services&#8221; dll to our references.</p>
<p><img class="aligncenter size-full wp-image-403" title="sap_conn_vis2008_10" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_10.jpg" alt="sap_conn_vis2008_10" width="464" height="390" /></p>
<p>I have added simple controls into Form1. The logic is simple, an SAP username will be taken, and the profiles authorization of this user will be printed into a table to show. Form1&#8217;s view will as below.</p>
<p><img class="aligncenter size-full wp-image-404" title="sap_conn_vis2008_11" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_11.jpg" alt="sap_conn_vis2008_11" width="610" height="410" /></p>
<p>Firstly, I informed to Visual Studio builder about usage of SAPUserDetailComponent assembly file as;<br />
<code><br />
<span style="color: #ff6600;">using SAPUserDetailComponent;</span></code></p>
<p>Then, I have written the code of GetProfiles button&#8217;s click event.</p>
<p><span style="color: #ff6600;"><code>SAPProxy1 proxy = new SAPProxy1();</code></span></p>
<p><span style="color: #ff6600;"><code>BAPIADDR3 address = new BAPIADDR3();<br />
BAPIUSCOMP companyName = new BAPIUSCOMP();<br />
BAPIDEFAUL defaults = new BAPIDEFAUL();<br />
BAPILOGOND logonData = new BAPILOGOND();<br />
BAPISNCU snc = new BAPISNCU();<br />
BAPIAGRTable activeGroups = new BAPIAGRTable();<br />
BAPICOMREMTable addcomrem = new BAPICOMREMTable();<br />
BAPIADFAXTable addfax = new BAPIADFAXTable();<br />
BAPIADPAGTable addpag = new BAPIADPAGTable();<br />
BAPIADPRTTable addprt = new BAPIADPRTTable();<br />
BAPIADRFCTable addrfc = new BAPIADRFCTable();<br />
BAPIADRMLTable addrml = new BAPIADRMLTable();<br />
BAPIADSMTPTable addsmtp = new BAPIADSMTPTable();<br />
BAPIADSSFTable addssf = new BAPIADSSFTable();<br />
BAPIADTELTable addtel = new BAPIADTELTable();<br />
BAPIADTLXTable addtlx = new BAPIADTLXTable();<br />
BAPIADTTXTable addttx = new BAPIADTTXTable();<br />
BAPIADURITable adduri = new BAPIADURITable();<br />
BAPIADX400Table addx400 = new BAPIADX400Table();<br />
BAPIPARAMTable parameter = new BAPIPARAMTable();<br />
BAPIPROFTable profiles = new BAPIPROFTable();<br />
BAPIRET2Table return0 = new BAPIRET2Table();</code></span></p>
<p><span style="color: #ff6600;"><code>SAP.Connector.Destination destination = new SAP.Connector.Destination();<br />
destination.AppServerHost = YOUR HOST NAME OR IP<br />
destination.Client = YOUR CLIENT NUMBER<br />
destination.Password = USER'S PASSWORD<br />
destination.SystemNumber = SYSTEM NUMBER<br />
destination.Username = USER'S NAME</code></span></p>
<p><span style="color: #ff6600;"><code>SAP.Connector.SAPConnection connection = new SAP.Connector.SAPConnection(destination);</code></span></p>
<p><span style="color: #ff6600;"><code>proxy.Connection = connection;<br />
proxy.Connection.Open();</code></span></p>
<p><span style="color: #ff6600;"><code>proxy.Bapi_User_Get_Detail(tbUsername.Text.Trim(), out address, out companyName, out defaults, out logonData, out snc, ref activeGroups, ref addcomrem, ref addfax, ref addpag, ref addprt, ref addrfc, ref addrml, ref addsmtp, ref addssf, ref addtel, ref addtlx, ref addttx, ref adduri, ref addx400, ref parameter, ref profiles, ref return0);</code></span></p>
<p><span style="color: #ff6600;"><code>proxy.Connection.Close();</code></span></p>
<p><span style="color: #ff6600;"><code>DataTable dt = profiles.ToADODataTable();<br />
dgProfiles.DataSource = dt;</code></span></p>
<p>And the result will be as below.</p>
<p><img class="aligncenter size-full wp-image-408" title="sap_conn_vis2008_12" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/sap_conn_vis2008_12.jpg" alt="sap_conn_vis2008_12" width="611" height="410" /></p>
<p>You can comment or contact me for your questions or comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huseyinakturk.net/2009/01/a-comprehensive-example-for-connection-to-sap-with-visual-studio-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sending Synchronous Mail from SAP via Outlook using OLE2 Objects</title>
		<link>http://www.huseyinakturk.net/2009/01/sending-synchronous-mail-from-sap-via-outlook-using-ole2-objects/</link>
		<comments>http://www.huseyinakturk.net/2009/01/sending-synchronous-mail-from-sap-via-outlook-using-ole2-objects/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 18:35:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ABAP]]></category>

		<category><![CDATA[COM]]></category>

		<category><![CDATA[Document Management System]]></category>

		<category><![CDATA[MS Outlook]]></category>

		<category><![CDATA[OLE2]]></category>

		<category><![CDATA[SAP]]></category>

		<guid isPermaLink="false">http://www.huseyinakturk.net/?p=320</guid>
		<description><![CDATA[OLE2 objects are the milestone of COM technologies in SAP. You can connect any other system such as Outlook, Excel, Word, Adobe PDF from SAP with registering these assembly files of these systems.
You can not use OLE2 objects in background.  While using some functions deal with OLE2 objects, there should be a connection to [...]]]></description>
			<content:encoded><![CDATA[<p>OLE2 objects are the milestone of COM technologies in SAP. You can connect any other system such as Outlook, Excel, Word, Adobe PDF from SAP with registering these assembly files of these systems.</p>
<p>You can not use OLE2 objects in background.  While using some functions deal with OLE2 objects, there should be a connection to GUI.</p>
<p>OLE2 objects are very usefull while creating our localized applications. Such as you need to create an excel file with suppliying SAP data and so you can draw graphics in excel. We can diversify our examples. Think that you have a word template file. Such as a billing word document. You need to supply the required information to this template file. As a result, you can achieve your word document that was feeded with your SAP information as an output.</p>
<p>In our example, we will show a mail document in foreground. We will attach some documents to this mail. I have managed several document management projects in SAP. Documents are scanned and loaded into network and any document can be shown in SAP with the header information of this document. But, there is requirement that this document should be mailed easiliy. So, the fateful operation is adding the reqired documents to outlook mail message.</p>
<p>We will examine how to use the OLE2 objects from the beginning.</p>
<p><span id="more-320"></span><span style="color: #ff6600;"><code>TYPE-POOLS OLE2.</code><br />
</span><br />
<span style="color: #ff6600;"><code>DATA:</code><br />
</span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>APPOUTLOOK TYPE OLE2_OBJECT,</code><br />
</span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>APPITEM TYPE OLE2_OBJECT,</code><br />
</span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>NAMESPACE TYPE OLE2_OBJECT,</code><br />
</span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>ATTACHS TYPE OLE2_OBJECT,</span></p>
<p></code></p>
<p><span style="color: #000000;">At the first data declaretion, we need to declare the ole2 objects of the outlook. Don&#8217;t forget to declare the OLE2 type-pool.</span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>BEGIN OF ITAB_PATHS OCCURS 0,</code></span></p>
<p style="padding-left: 60px;"><span style="color: #ff6600;"><code> PATH(255),</code></span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>END OF ITAB_PATHS,</code></span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>MAIL_INDEX TYPE I.</code></span></p>
<p><span style="color: #ff6600;"><span style="color: #000000;">Second data declaretion of ITAB_PATHS and MAIL_INDEX is for attaching documents. </span><br />
</span></p>
<p><span style="color: #ff6600;"><code>CREATE OBJECT APPOUTLOOK 'outlook.application'.</code><br />
</span></p>
<p><span style="color: #ff6600;"><code>CALL METHOD OF APPOUTLOOK 'GetNameSpace' = NAMESPACE</code><br />
</span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>EXPORTING #1 = 'MAPI'.</code><br />
</span></p>
<p><span style="color: #ff6600;"><code>CALL METHOD OF APPOUTLOOK 'CreateItem' = APPITEM</code><br />
</span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>EXPORTING #1 = '0'.</code><br />
</span></p>
<p><span style="color: #ff6600;"><code>GET PROPERTY OF APPITEM 'Attachments' = ATTACHS.</code></span></p>
<p><span style="color: #ff6600;"><span style="color: #000000;">Above, we are creating outlook mail application and getting the mail attachments object. </span><br />
</span></p>
<p><span style="color: #ff6600;"><code>SET PROPERTY OF APPITEM 'to' = 'xyz@zyx.com'. </code><span style="color: #000000;">&#8221; to whom we will send mail</span><br />
</span></p>
<p><span style="color: #ff6600;"><code>SET PROPERTY OF APPITEM 'cc' = 'xyz@zyx.com; abc@cba.com'. </code></span><span style="color: #ff6600;"><span style="color: #000000;">&#8221; to whom we will send mail in cc<br />
</span></span></p>
<p><span style="color: #ff6600;"><code>SET PROPERTY OF APPITEM 'Subject' = 'The first mail with OLE2'. </code></span><span style="color: #ff6600;"><span style="color: #000000;">&#8221; mail subject<br />
</span></span></p>
<p><span style="color: #ff6600;"><code>MAIL_INDEX = 1.</code></span></p>
<p><span style="color: #ff6600;"><span style="color: #000000;">We are now adding our attachments. </span><br />
</span></p>
<p><span style="color: #ff6600;"><code>LOOP AT ITAB_PATHS.</code><br />
</span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>CALL METHOD OF ATTACHS 'Add'</code><br />
</span></p>
<p style="padding-left: 60px;"><span style="color: #ff6600;"><code>EXPORTING</code><br />
</span></p>
<p style="padding-left: 90px;"><span style="color: #ff6600;"><code>#1 = ITAB_PATHS-PATH<br />
#2 = '1'<br />
#3 = MAIL_INDEX<br />
#4 = ITAB_PATHS-PATH.</code><br />
</span></p>
<p style="padding-left: 30px;"><span style="color: #ff6600;"><code>MAIL_INDEX = MAIL_INDEX + 1.</code><br />
</span></p>
<p><span style="color: #ff6600;"><code>ENDLOOP.</code></span></p>
<p><span style="color: #ff6600;"><span style="color: #000000;">It is time to show our mail message. </span><br />
</span></p>
<p><span style="color: #ff6600;"><code>CALL METHOD OF APPITEM 'Display'.</code><br />
</span></p>
<p><span style="color: #000000;"><strong>It is important</strong> to free our ole objects. </span></p>
<p><span style="color: #ff6600;"><code>FREE: ATTACHS, APPITEM, NAMESPACE, APPOUTLOOK.</code></span></p>
<p><span style="color: #000000;">And, what is the result? </span></p>
<p><img class="aligncenter size-full wp-image-358" title="ole2" src="http://www.huseyinakturk.net/wp-content/uploads/2009/01/ole2.jpg" alt="ole2" width="537" height="584" /></p>
<p>Cool? <img src='http://www.huseyinakturk.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can comment or contact me for your questions or comments.</p>
<p><span style="color: #000000;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huseyinakturk.net/2009/01/sending-synchronous-mail-from-sap-via-outlook-using-ole2-objects/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free Chart Control for Framework 3.5 from Microsoft</title>
		<link>http://www.huseyinakturk.net/2008/12/free-chart-control-for-framework-35-from-microsoft/</link>
		<comments>http://www.huseyinakturk.net/2008/12/free-chart-control-for-framework-35-from-microsoft/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 02:42:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[.NET Framework 3.5]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[Chart Control]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://www.huseyinakturk.net/?p=146</guid>
		<description><![CDATA[Finally, Microsoft has relased his own chart control. In fact, it is more truth if we say Microsoft bought Dundas firm&#8217;s chart controls. But, as a result, Microsoft has a chart control that can integrates his own developer suites. Now, we can say the nightmare of looking for free chart controls or using Excel chart [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, Microsoft has relased his own chart control. In fact, it is more truth if we say Microsoft bought Dundas firm&#8217;s chart controls. But, as a result, Microsoft has a chart control that can integrates his own developer suites. Now, we can say the nightmare of looking for free chart controls or using Excel chart controls via COM has just finished.</p>
<p>I had been using Corlos Aguilar Mare&#8217;s chart controls in my ASP.NET projects because of being free. Now, I feel that I have to thank to Carlos. <img src='http://www.huseyinakturk.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I will give some basic knowledge about this control in this essay and complete this essay with a sample .</p>
<p>You can download this free chart control  <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5-9CA8-910AE6EA442C&amp;displaylang=en"> <em>from this link</em></a>. If you want to glance at some samples you can also reach them <a href="http://code.msdn.microsoft.com/mschart/Release/ProjectReleases.aspx?ReleaseId=1591"> <em>with this link</em></a>.</p>
<p>Microsoft presents his chart controls in two different dll groups. The first dll group is for window applications and the second is for the web applications which will be implemented with ASP.NET. Install the first executable file called &#8216;MSChart.exe&#8217; that I have referenced in first link. Later on installing, you will see 4 dll files under &#8220;&#8230;\Program Files\Microsoft Chart Controls\Assemblies&#8221; path. These dll files are:</p>
<ul>
<li>System.Web.DataVisualization.Design.dll</li>
<li>System.Web.DataVisualization.dll</li>
<li>System.Windows.Forms.DataVisualization.Design.dll</li>
<li>System.Windows.Forms.DataVisualization.dll</li>
</ul>
<p>As I mentioned just before, there are 2 dlls for windows applications and 2 dlls for web applications and therefore, there are 2 dll groups totally. The dll files that start with &#8216;System.Web&#8217; is for web group and the dll files start with &#8216;System.Windows&#8217; is for windows group.</p>
<p>You can drag and drop these dlls into toolbox of Visual Studio or you can install another add on that is developed for Visual Studio 2008. You can download this add on <a href="http://www.microsoft.com/downloads/details.aspx?familyid=1D69CE13-E1E5-4315-825C-F14D33A303E9&amp;displaylang=en"> <em>via this link</em></a>. When you downloaded and installed, you will see a control named &#8216;Chart&#8217; underlying &#8216;Data&#8217; tab of toolbox. <strong>An important point, </strong>it is not possible to use the chart control of add on without installing MSChart.exe file. But, this add on is not absolutely required. If you install MSChart.exe and if you drag and drop the dll files that I have mentioned above into toolbox is an another solution to use chart control.</p>
<p>Before stepping to my sample, let&#8217;s look at the examples of &#8216;WebSamples&#8217; that I have mentioned above.</p>
<p><span id="more-146"></span></p>
<p><img class="aligncenter size-large wp-image-191" title="chart1" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/chart1-1024x452.jpg" alt="chart1" width="1024" height="452" /></p>
<p><img class="aligncenter size-full wp-image-186" title="chart2" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/chart2.jpg" alt="chart2" width="684" height="520" /></p>
<p><img class="aligncenter size-full wp-image-188" title="chart3" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/chart3.jpg" alt="chart3" width="683" height="832" /></p>
<p>They are so beatiful, aren&#8217;t? You can find more examples in &#8216;WebSamples&#8217;.</p>
<p>Let&#8217;s step to my sample. This sample will be a plain sample. I intend to analyze detailed examinations in my next essays.</p>
<h3><strong>Simple Chart Application</strong></h3>
<p>I have created this web application with Visual Studio 2008. I dragged and dropped chart control from toolbox into Default.aspx.  And I changed html code of chart control. Let&#8217;s look at the html code of Default.aspx file.</p>
<p><code><br />
<span style="color: #0000ff;"><strong>&lt;asp:CHART ID=&#8221;Chart1&#8243; runat=&#8221;server&#8221; BackColor=&#8221;243, 223, 193&#8243;<br />
</strong></span></code></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>BackGradientStyle=&#8221;TopBottom&#8221; BorderColor=&#8221;#B54001&#8243; BorderDashStyle=&#8221;Solid&#8221;<br />
</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>BorderWidth=&#8221;2px&#8221; Height=&#8221;296px&#8221;<br />
</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>ImageLocation=&#8221;~/TempImages/ChartPic_#SEQ(300,3)&#8221; Width=&#8221;590px&#8221;&gt;<br />
</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&lt;legends&gt;<br />
</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>&lt;asp:Legend BackColor=&#8221;Transparent&#8221; Enabled=&#8221;False&#8221;<br />
</strong></span></p>
<p style="padding-left: 90px;"><span style="color: #0000ff;"><strong>Font=&#8221;Trebuchet MS, 8.25pt, style=Bold&#8221; IsTextAutoFit=&#8221;False&#8221; Name=&#8221;Default&#8221;&gt;<br />
</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>&lt;/asp:Legend&gt;<br />
</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&lt;/legends&gt;<br />
</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&lt;borderskin SkinStyle=&#8221;Emboss&#8221; /&gt;</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&lt;chartareas&gt;<br />
</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>&lt;asp:ChartArea BackColor=&#8221;OldLace&#8221; BackGradientStyle=&#8221;TopBottom&#8221;<br />
</strong></span></p>
<p style="padding-left: 90px;"><span style="color: #0000ff;"><strong>BackSecondaryColor=&#8221;White&#8221; BorderColor=&#8221;64, 64, 64, 64&#8243; BorderDashStyle=&#8221;Solid&#8221;<br />
</strong></span></p>
<p style="padding-left: 90px;"><span style="color: #0000ff;"><strong>Name=&#8221;ChartArea1&#8243; ShadowColor=&#8221;Transparent&#8221;&gt;<br />
</strong></span></p>
<p style="padding-left: 90px;"><span style="color: #0000ff;"><strong>&lt;area3dstyle Inclination=&#8221;40&#8243; IsClustered=&#8221;False&#8221; IsRightAngleAxes=&#8221;False&#8221;<br />
</strong></span></p>
<p style="padding-left: 120px;"><span style="color: #0000ff;"><strong>LightStyle=&#8221;Realistic&#8221; Perspective=&#8221;9&#8243; Rotation=&#8221;25&#8243; WallWidth=&#8221;3&#8243; /&gt;<br />
</strong></span></p>
<p style="padding-left: 90px;"><span style="color: #0000ff;"><strong>&lt;axisy LineColor=&#8221;64, 64, 64, 64&#8243;&gt;<br />
</strong></span></p>
<p style="padding-left: 120px;"><span style="color: #0000ff;"><strong>&lt;LabelStyle Font=&#8221;Trebuchet MS, 8.25pt, style=Bold&#8221; /&gt;<br />
</strong></span></p>
<p style="padding-left: 120px;"><span style="color: #0000ff;"><strong>&lt;MajorGrid LineColor=&#8221;64, 64, 64, 64&#8243; /&gt;<br />
</strong></span></p>
<p style="padding-left: 90px;"><span style="color: #0000ff;"><strong>&lt;/axisy&gt;<br />
</strong></span></p>
<p style="padding-left: 90px;"><span style="color: #0000ff;"><strong>&lt;axisx LineColor=&#8221;64, 64, 64, 64&#8243;&gt;<br />
</strong></span></p>
<p style="padding-left: 120px;"><span style="color: #0000ff;"><strong>&lt;LabelStyle Font=&#8221;Trebuchet MS, 8.25pt, style=Bold&#8221; /&gt;<br />
</strong></span></p>
<p style="padding-left: 120px;"><span style="color: #0000ff;"><strong>&lt;MajorGrid LineColor=&#8221;64, 64, 64, 64&#8243; /&gt;<br />
</strong></span></p>
<p style="padding-left: 90px;"><span style="color: #0000ff;"><strong>&lt;/axisx&gt;<br />
</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>&lt;/asp:ChartArea&gt;<br />
</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&lt;/chartareas&gt;<br />
</strong></span></p>
<p><span style="color: #0000ff;"><strong>&lt;/asp:CHART&gt;</strong></span></p>
<p>Then, I changed the Page_Load method as below.</p>
<p><code><span style="color: #0000ff;"><span style="color: #000000;"><span style="color: #0000ff;"><strong> <span style="color: #ff0000;">protected void Page_Load(object sender, EventArgs e)<br />
{<br />
</span></strong></span></span></span></code></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><span style="color: #000000;"><span style="color: #0000ff;"><strong><span style="color: #ff0000;">Chart1.Series.Add(&#8221;Product X&#8221;);<br />
Chart1.Series["Product X"].ChartType = SeriesChartType.Line;<br />
Chart1.Series["Product X"].BorderWidth = 2;</span></strong></span></span></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong>Chart1.Series["Product X"].Points.AddXY(&#8221;January&#8221;, 50);<br />
Chart1.Series["Product X"].Points.AddXY(&#8221;February&#8221;, 35);<br />
Chart1.Series["Product X"].Points.AddXY(&#8221;March&#8221;, 30);<br />
Chart1.Series["Product X"].Points.AddXY(&#8221;April&#8221;, 60);<br />
Chart1.Series["Product X"].Points.AddXY(&#8221;May&#8221;, 40);<br />
Chart1.Series["Product X"].Points.AddXY(&#8221;June&#8221;, 72);</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong>Chart1.Series.Add(&#8221;Product Y&#8221;);<br />
Chart1.Series["Product Y"].ChartType = SeriesChartType.Line;<br />
Chart1.Series["Product Y"].BorderWidth = 2;</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong>Chart1.Series["Product Y"].Points.AddXY(&#8221;January&#8221;, 40);<br />
Chart1.Series["Product Y"].Points.AddXY(&#8221;February&#8221;, 55);<br />
Chart1.Series["Product Y"].Points.AddXY(&#8221;March&#8221;, 90);<br />
Chart1.Series["Product Y"].Points.AddXY(&#8221;April&#8221;, 47);<br />
Chart1.Series["Product Y"].Points.AddXY(&#8221;May&#8221;, 80);<br />
Chart1.Series["Product Y"].Points.AddXY(&#8221;June&#8221;, 60);</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong>Chart1.Legends[0].Enabled = true;<br />
</strong></span></p>
<p><span style="color: #ff0000;"><strong>}</strong></span></p>
<p>Let&#8217;s mention about the mission of this application. The type of chart control is LineChart type. There are two products called &#8216;Product X&#8217; and &#8216;Product Y&#8217;. This chart shows the sales amount of these products. After run this application, the screen shot will be as below.</p>
<p><img class="aligncenter size-full wp-image-189" title="sonuc" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/sonuc.jpg" alt="sonuc" width="611" height="314" /></p>
<p>You can comment or contact me for your questions or comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huseyinakturk.net/2008/12/free-chart-control-for-framework-35-from-microsoft/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Maps in Visual Studio</title>
		<link>http://www.huseyinakturk.net/2008/12/google-maps-in-visual-studio/</link>
		<comments>http://www.huseyinakturk.net/2008/12/google-maps-in-visual-studio/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 02:54:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<category><![CDATA[Google Maps]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.huseyinakturk.net/?p=87</guid>
		<description><![CDATA[I will give information about the usage of Google Maps that is free if not used for trading in Visual Studio development tool. It is not difficult to have your own google maps application. Because, Google made this technology so easy usage and so, you have  one work that is only using it. Not [...]]]></description>
			<content:encoded><![CDATA[<p>I will give information about the usage of Google Maps that is free if not used for trading in Visual Studio development tool. It is not difficult to have your own google maps application. Because, Google made this technology so easy usage and so, you have  one work that is only using it. Not only for Visual Studio also Google represents a Google Maps API for Eclipse and Netbeans. We will work the Google Maps API for Visual Studio development tool.</p>
<p>First of all, we need to download Google Maps API for Visual Studio.</p>
<p>You can download this API <em><a href="http://en.googlemaps.subgurim.net/descargar.aspx">from this link</a></em>.</p>
<p>Select free download and download the API. Then create a web application called GoogleMaps as I did in Visual Studio. Create a new tab called &#8216;Google Maps&#8217; in toolbox of Visual Studio. You will find a dll file called &#8216;GMaps.dll&#8217; under the file that you have just downloaded. Drag and drop this dll file into &#8216;Google Maps&#8217; tab. The screen shot of after completing this operation will be as below.</p>
<p><img class="aligncenter size-full wp-image-195" title="googlemap1" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/googlemap1.jpg" alt="googlemap1" width="255" height="346" /></p>
<p>As seen, there are several controls. GMap, GMoonMap, GEarthMap, GMarsMap, vs. Super <img src='http://www.huseyinakturk.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> !!!</p>
<p>We will use Gmap control from these several controls. We have just created a web application. Let&#8217;s open Default.aspx file and drag and drop GMap control. The last screen shot will be as below.</p>
<p><span id="more-87"></span></p>
<p><img class="aligncenter size-full wp-image-196" title="googlemap2" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/googlemap2.jpg" alt="googlemap2" width="695" height="465" /></p>
<p>I want to engage your attention into a section of the html code of Default.aspx file that is registered Google Maps.</p>
<p><span style="color: #0000ff;"><strong><code>&lt;%@ Register assembly="GMaps" namespace="Subgurim.Controles" tagprefix="cc1" %&gt;</code></strong></span></p>
<p>Also, the below code is placed into the body tags.</p>
<p><span style="color: #0000ff;"><code><strong>&lt;cc1:GMap ID=&#8221;GMap1&#8243; runat=&#8221;server&#8221; Height=&#8221;400px&#8221; Width=&#8221;600px&#8221; /&gt;</strong></code></span></p>
<p>GMap1 represents an object that is derived from GMAP class.</p>
<p>Then, you should put the below code into the Default1.aspx file.</p>
<p><code><span style="color: #ff0000;"><strong>using Subgurim.Controles;</strong></span></code></p>
<p>You need a key to use the Google Map control. You can supply this key  <em><a href="http://code.google.com/intl/tr/apis/maps/signup.html">from this link</a>.</em> I have supplied this key for my web address. You should enter your web address into the URL region and get the key as I shown below.</p>
<p><img class="aligncenter size-full wp-image-197" title="googlemap3" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/googlemap3.jpg" alt="googlemap3" width="567" height="375" /></p>
<p>After generated api key, the screen shot will be as below.</p>
<p><img class="aligncenter size-full wp-image-198" title="googlemap4" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/googlemap4.jpg" alt="googlemap4" width="694" height="188" /></p>
<p>Now, we will place this key into web.config file. If you don&#8217;t have a web.config, create one. Then place the code as below.</p>
<p><code><span style="color: #0000ff;"><strong>&lt;configuration&gt;</strong></span></code></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&#8230;<br />
</strong></span></p>
<p style="padding-left: 30px;"><code><span style="color: #0000ff;"><strong>&lt;appSettings&gt;<br />
</strong></span></code></p>
<p style="padding-left: 60px;"><code><span style="color: #0000ff;"><strong>&lt;add key=&#8221;googlemaps.subgurim.net&#8221; value=&#8221;YOUR KEY&#8221; /&gt;<br />
</strong></span></code></p>
<p style="padding-left: 30px;"><code><span style="color: #0000ff;"><strong>&lt;/appSettings&gt;</strong></span></code></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&#8230;<br />
</strong></span></p>
<p><code><span style="color: #0000ff;"><strong>&lt;/configuration&gt;</strong></span> </code></p>
<p>After modifying web.config file, replace the code blocks in head tags of html as shown below.</p>
<p><span style="color: #0000ff;"><strong>&lt;head runat=&#8221;server&#8221;&gt;<br />
</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&lt;style type=&#8221;text/css&#8221;&gt;<br />
</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>v\:* { behavior:url(#default#VML); }<br />
</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&lt;/style&gt;<br />
</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;"><strong>&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xmlns:v=&#8221;urn:schemas-microsoft-com:vml&#8221;&gt;<br />
</strong></span></p>
<p><span style="color: #0000ff;"><strong>&lt;/head&gt;</strong></span></p>
<p>Now, we can run our application. But I want to do some modification operations to make this essay more individual. Let&#8217;s change the Page_Load method as below.</p>
<p><strong><code> <span style="color: #ff0000;">protected void Page_Load(object sender, EventArgs e)<br />
{<br />
</span> </code></strong></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code> GMap1.enableHookMouseWheelToZoom = true; </code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>// Zoom with scrool button of mouse<br />
</code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>GMap1.enableDoubleClickZoom = true; </code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>// Zoom when left double click to mouse<br />
</code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>GLatLng latlong = new GLatLng(38.4578777778, 27.2137145163); </code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>// Define a coordinate<br />
</code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>GMap1.setCenter(latlong, 16); </code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>// Point map to our coordinate </code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>// Define zoom factor to 16X<br />
</code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>GMap1.addControl(new GControl(GControl.preBuilt.SmallMapControl, new GControlPosition(GControlPosition.position.Top_Right)));<br />
</code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>// Create new control to go left, go right, go up, go down,<br />
</code></strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;"><strong><code>// zoom in and zoom out<br />
</code></strong></span></p>
<p><span style="color: #ff0000;"><strong><code>}</code></strong></span></p>
<p>Now, we have just completed our application. This application only starting point for introduction to Google Map control. We will examine Google Map API in detailed in my next essays.</p>
<p>When we run application the screen will be as below.</p>
<p><img class="aligncenter size-full wp-image-199" title="googlemap5" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/googlemap5.jpg" alt="googlemap5" width="605" height="511" /></p>
<p>Maybe you are now asking where this map shows. <img src='http://www.huseyinakturk.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Here is vicinity of Ege University Computer Engineering department where I completed my master education. Here is Bornova, Izmir, campus of Bonova Metro <img src='http://www.huseyinakturk.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can comment or contact me for your questions or comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huseyinakturk.net/2008/12/google-maps-in-visual-studio/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A Complete Sample : Connection to SAP from Visual Studio .NET 2003 via RFC.</title>
		<link>http://www.huseyinakturk.net/2008/12/a-complete-sample-connection-to-sap-from-visual-studio-net-2003-via-rfc/</link>
		<comments>http://www.huseyinakturk.net/2008/12/a-complete-sample-connection-to-sap-from-visual-studio-net-2003-via-rfc/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 19:51:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ABAP]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP .NET Connector]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.huseyinakturk.net/?p=27</guid>
		<description><![CDATA[In this article, we will send a material number and get this material&#8217;s stock information using Visual Studio .NET 2003 development tool with creating connection to SAP. Before explaining SAP .NET Connector side, let&#8217;s look at the required operations in SAP.
It is required that a function has to be defined in SAP to get a [...]]]></description>
			<content:encoded><![CDATA[<p>In this article, we will send a material number and get this material&#8217;s stock information using Visual Studio .NET 2003 development tool with creating connection to SAP. Before explaining SAP .NET Connector side, let&#8217;s look at the required operations in SAP.</p>
<p>It is required that a function has to be defined in SAP to get a database table&#8217;s information or to modify a database table if we are using SAP RFC(Remote Function CALL) way. In this function, input and output parameters are defined. Respect to our example, the signature of our function will be as below.</p>
<p><strong>IM_MATNR</strong> (Material number) : Input<br />
<strong>TABLE_MARD</strong> (Stock Information) : Output (Table)<br />
<strong>EX_RESULT</strong> (Result) : Output</p>
<p>Let&#8217;s look at the picture below.</p>
<p><img class="aligncenter size-full wp-image-201" title="8" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/8.jpg" alt="8" width="445" height="360" /></p>
<p>As seen in this picture, we named our function as ZGET_MATERIAL_STOCK_INFO. We defined &#8216;Remote-enabled mode&#8217; for processing type. Selecting the processing type as &#8216;Remote-enabled mode&#8217; is required information because of we have to inform SAP that we will call this function via RFC.</p>
<p>Let&#8217;s look at the import parameters of our function.</p>
<p><img class="aligncenter size-full wp-image-202" title="9" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/9.jpg" alt="9" width="733" height="203" /></p>
<p>Respect to these parameters, there is an input parameter called &#8216;IM_MATNR&#8217;. The type of this parameter is MATNR reference type.</p>
<p>One of the important point in above picture, parameters should be called as &#8216;pass by value&#8217;. So, we selected &#8216;Pass Value&#8217; selection. Otherwise, we will get compile error.</p>
<p>Let&#8217;s look at the output parameters.</p>
<p><img class="aligncenter size-full wp-image-203" title="101" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/101.jpg" alt="101" width="643" height="158" /></p>
<p>There is only one paramater is returning and it&#8217;s name is &#8216;EX_RESULT&#8217;. &#8216;Pass Value&#8217; should be selected in output paremeters like input parameters.</p>
<p>Let&#8217;s look at the tables which will be used in our function. The tables during function call can be both input and output.</p>
<p><span id="more-27"></span><br />
<img class="aligncenter size-full wp-image-204" title="11" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/11.jpg" alt="11" width="603" height="158" /></p>
<p>As seen above picture, we have a table parameter called &#8216;TABLE_MARD&#8217; and the type of this parameter is MARD reference type.</p>
<p>Let&#8217;s look at the source code of our function.</p>
<p><img class="aligncenter size-full wp-image-205" title="121" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/121.jpg" alt="121" width="592" height="440" /></p>
<p>As seen in the source code, the stock information is got from MARD table respect to our material number and information is filled into our TABLE_MARD output parameter. This code is so simple to explain our subject. Of course, there may be other criterions while getting stock information.</p>
<p>Also, EX_RESULT parameter is set to some values respect to whether TABLE_MARD table has records or not.</p>
<p><!--more--><br />
Thus far stage is implementing some requirements about function defining. Now, we will look how the works are done in .NET side.</p>
<p>We are assuming that you have SAP .NET Connector 2.0 add on program and installed. If you don&#8217;t have, contact to your system administrator and so you can download it from SAP Marketplace.</p>
<p>Firstful, we are creating a windows application in Visual Studio .NET 2003. This article will explain .NET Connector with a windows application. But, it is possible to use SAP .NET connector in web projects.</p>
<p><img class="aligncenter size-full wp-image-207" title="1" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/1.jpg" alt="1" width="529" height="394" /></p>
<p>Then, you need to create an SAP Connector Proxy item. This item is brought with SAP .NET Connector 2.0. Detailed screen shots are given below.</p>
<p><img class="aligncenter size-full wp-image-208" title="2" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/2.jpg" alt="2" width="445" height="380" /></p>
<p><img class="aligncenter size-full wp-image-209" title="3" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/3.jpg" alt="3" width="531" height="399" /></p>
<p>When you created proxy, SAPProxy1.sapwsdl file is also created automatically.</p>
<p><img class="aligncenter size-full wp-image-210" title="4" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/4.jpg" alt="4" width="562" height="517" /></p>
<p>There can be several SAP Application Servers to be accessed from one application. You can reach SAP Application Servers under Server Explorer screen. We can see how to add an application server to Server Explorer in below picture. <strong>An important note,</strong> if you are creating SAP Application Server node for the first time, a superior menu called &#8216;SAP&#8217; may not be seen. In this case, you should press refresh button. And so, the &#8216;SAP&#8217; superior menu will be seen.</p>
<p>Now, let&#8217;s add an SAP Application Server.</p>
<p><img class="aligncenter size-full wp-image-211" title="5" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/5.jpg" alt="5" width="320" height="398" /></p>
<p>As can be understood from upper picture, &#8216;Add Application Server&#8217; is selected. Then, we will come across a windows as below.</p>
<p><img class="aligncenter size-full wp-image-212" title="6" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/6.jpg" alt="6" width="634" height="305" /></p>
<p><strong>Username :</strong> SAP username<br />
<strong>Client :</strong> SAP client code<br />
<strong>Password :</strong> SAP username&#8217;s password<br />
<strong>AppServerHost :</strong> SAP application server&#8217;s ip number or id<br />
<strong>SystemNumber :</strong> SAP application server&#8217;s system number</p>
<p>After completing the entrance of these information, out application server will be added. Now, let&#8217;s look at the Server explorer again.</p>
<p><img class="aligncenter size-full wp-image-213" title="13" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/13.jpg" alt="13" width="304" height="278" /></p>
<p>We need to create a filter to inquiry a function of SAP application server. Because of I will use only one function, the filter text will be my function&#8217;s name called &#8216;ZGET_MATERIAL_STOCK_INFO&#8217;. Then, the next screen will be as below.</p>
<p><img class="aligncenter size-full wp-image-214" title="14" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/14.jpg" alt="14" width="382" height="208" /></p>
<p>If we could reach this stage, the meaning of this our function could checked by SAP application server. Before getting the the function objects, let&#8217;s come back to the SAPProxy1.sapwsdl file that I have just created above. Right click on the form and select the &#8216;Properties&#8217;.</p>
<p><img class="aligncenter size-full wp-image-215" title="15" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/15.jpg" alt="15" width="395" height="254" /></p>
<p>The Properties screen will be as below.</p>
<p><img class="aligncenter size-full wp-image-216" title="16" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/16.jpg" alt="16" width="497" height="210" /></p>
<p>I suggest to change Beautify property to set False. Otherwise, you can get some trouble while calling function if you can not properly adjust encoding of the connector.</p>
<p>Now, it is the time to drag and drop function into the SAPProxy1.sapwsdl file. Then, the next screen will be as below.</p>
<p><img class="aligncenter size-full wp-image-217" title="17" src="http://www.huseyinakturk.net/wp-content/uploads/2008/12/17.jpg" alt="17" width="639" height="216" /></p>
<p>These items on the form, are created by SAP Connector automatically, and these items are neccessary while connection to SAP. Now, we should look at how the connection is supplied in the background, in the source code.</p>
<p>I have just created a form called Form1.cs in the project scope and added an event as I showed below.</p>
<p><strong><code>private void bExecute_Click(object sender, System.EventArgs e)<br />
{</code></strong></p>
<p><strong>}</strong></p>
<p>We need to create an SAP Destination object and the required information should be supplied.</p>
<p><strong><code><br />
SAP.Connector.Destination destination = new SAP.Connector.Destination();<br />
destination.Username = "USERNAME"; // SAP username<br />
destination.Password = "PASSWORD"; // SAP username's password<br />
destination.AppServerHost = "SERVER IP/NAME"; // SAP application server's ip number or id<br />
destination.Client = CLIENT // Client number<br />
destination.SystemNumber = APPLICATION SERVER SYSTEM NUMBER // application server system number<br />
</code></strong></p>
<p>Then, we need to create an SAP Connection object. While creating SAP Connection object, we are passing the destination object to the constructor of SAP Connection class.</p>
<p><strong><code>SAP.Connector.SAPConnection sapConnection = new SAP.Connector.SAPConnection(destination);</code></strong></p>
<p>Now, we need to create an object called &#8216;proxy&#8217; that is derived from SAPProxy1 class. After creating this object, we need to assign the sapConnection object to the Connection property of proxy object.</p>
<p><strong><code>SAPProxy1 proxy = new SAPProxy1();<br />
proxy.Connection = sapConnection;</code></strong></p>
<p>As I mentioned at the starting of this article, we are giving the material number as an input parameter to the function call. We&#8217;ll get the function result with a string parameter. Stock information of our material will be returned as a table. This table&#8217;s type will be MARDTable.</p>
<p><strong><code>MARDTable resultTable = new MARDTable();<br />
string materialNumber = tbMaterial.Text.Trim();<br />
string resultOfFunc = "";</code></strong></p>
<p>After all configuration and these codes, it is time to connect SAP. Firstly, we need to open SAP Connection.</p>
<p><strong><code>proxy.Connection.Open();</code></strong></p>
<p>Then, we can call function.</p>
<p><strong><code>proxy.ZGET_MATERIAL_STOCK_INFO(materialNumber, out resultOfFunc, ref resultTable);</code></strong></p>
<p>Keep eye on that materialNumber is an input parameter, resultOfFunc is an output parameter and resultTable is a reference type.</p>
<p><strong><code>proxy.Connection.Close();</code></strong></p>
<p>We need to close connection after calling function.</p>
<p>Maybe this is the most important thing that should be for developer. How to get the MARDTable type&#8217;s data into a known data type parameter? Answer is simple. Please look at the below code.</p>
<p><strong><code>DataTable dt = resultTable.ToADODataTable();</code></strong></p>
<p>So, we got the data into DataTable using toADODataTable method.</p>
<p>Think that we have a grid in Form1.cs file. We can assign DataTable to this grid&#8217;s data source. And also resultOfFunc is assigned to a label called lResult.</p>
<p><strong><code>resultGrid.DataSource = dt;<br />
lResult.Text = resultOfFunc;</code></strong></p>
<p>We reached at the end of our article.</p>
<p>While writing this article, SAP Application Server 4.6C and Visual Studio.NET 2003 are used. You can find detailed information about how to connect SAP with Visual Studio 2005 or Visual Studi0 2008 in my next articles.</p>
<p>You can comment or contact me for your questions or comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huseyinakturk.net/2008/12/a-complete-sample-connection-to-sap-from-visual-studio-net-2003-via-rfc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Connection to SAP using Visual Studio 2005 &#038; 2008</title>
		<link>http://www.huseyinakturk.net/2008/12/connection-to-sap-using-visual-studio-2005-2008/</link>
		<comments>http://www.huseyinakturk.net/2008/12/connection-to-sap-using-visual-studio-2005-2008/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 13:00:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP .NET Connector]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.huseyinakturk.net/?p=20</guid>
		<description><![CDATA[SAP has not developed a connector API for Visual Studio 2005 and Visual Studio 2008 yet. I think the reason of not developing a connector API depends on some marketing strategies and the feasibility that can be developed web service that comes with the SAP 6.0, so the technology that can be developed web service [...]]]></description>
			<content:encoded><![CDATA[<p>SAP has not developed a connector API for Visual Studio 2005 and Visual Studio 2008 yet. I think the reason of not developing a connector API depends on some marketing strategies and the feasibility that can be developed web service that comes with the SAP 6.0, so the technology that can be developed web service in SAP will replace the connector API.</p>
<p>But, there is an important reality that some Visual Studio .NET 2003 projects which were developed before are connecting to SAP with SAP .NET Connector API. There is a &#8216;technology problem&#8217; that has to be considered by developers if they want to migrate these projects to Visual Studio 2005 or Visual Studio 2008. Respect to this technology problem, SAP firstly suggest to their customers for examining SAP Application Server version whether higher than or equal to 6.0 or not and if higher than or equal to 6.0, developing a web service in SAP Application Server and solving the required connection via this web service. Of course, this is only one solution in all of solutions to this technology problem.</p>
<p>But, what happen if our SAP Application Server version is lower than 6.0 or we don&#8217;t want to connect SAP with web service respect to our analyzing decisions although our application server version is higher than or equal to 6.0? SAP has already a solution to this question, too. In fact, this is not an original solution, it is possible that every software specialist can find this solution after thought a while.<br />
<span id="more-20"></span><br />
In fact, we are now mentioning a solution using SAP .NET Connector in Visual Studio 2005 or in Visual Studio 2008. So, how can do this operation? We have to use Visual Studio .NET 2003 to implement this solution although we are developing our applications with Visual Studio 2005 or Visual Studio 2008. Because, 2.0 version is the last version of SAP .NET Connector is produced for Visual Studio .NET 2003. The meaning of this that, SAP .NET Connector 2.0 is an add on API for only Visual Studio .NET 2003.</p>
<p>Alright, what is the solution method?</p>
<p>The solution method is so simple. We need to create a class library project using Visual Studio .NET 2003. With this project, we will define the desired SAP Application Server(s) and create connection to these servers. Then, we will choose the required functions/bapis of SAP Application servers. Finally, we will have a dll that belongs to this application, so this dll will be a reference for Visual Studio 2005 or Visual Studio 2008 project. I will explain in detailed this solution method of SAP Connection methods with practises in my next essays.</p>
<p>We have mentioned a problem of this solution method. What happen if we don&#8217;t have Visual Studio .NET 2003? Unfortunately, you can not use this solution method. The mean of this that there is a must that SAP says; &#8216;If you will use this solution method, you have to use Visual Studio .NET 2003&#8242;.</p>
<p>There are some third party programs that can connect to SAP Application Servers with Visual Studio 2005 or Visual Studio 2008. But, there is reality for enterprise firms; &#8216;If we are using SAP for ERP sulution, and if I need to connect to SAP via other systems, I should take care the suggestions of SAP priorly&#8217;. The mean of this that &#8216;if we need connector, we should use SAP connector&#8217;. I think this is the true approach. Because, if there is a problem based on third party program while our project is in live usage, you have to give a solution to this problem, and your customers will see you as person addressed who is responsible for this problem. So, now the technology problem has to have good analyzing in deep that you did not do before.</p>
<p><span style="color: #ff0000;"><strong>________</strong></span></p>
<p><span style="color: #ff0000;"><strong>News !!</strong></span></p>
<p>I have published a new essay about connection to SAP via Visual Studio 2008 with an example. You can access this essay from <a href="http://www.huseyinakturk.net/2009/01/a-comprehensive-example-for-connection-to-sap-with-visual-studio-2008/"><em>this link</em></a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huseyinakturk.net/2008/12/connection-to-sap-using-visual-studio-2005-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Starting with thanks..</title>
		<link>http://www.huseyinakturk.net/2008/12/starting-with-thanks/</link>
		<comments>http://www.huseyinakturk.net/2008/12/starting-with-thanks/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 23:10:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.huseyinakturk.net/?p=7</guid>
		<description><![CDATA[I thank to Ramazan Ayyildiz for helps in hosting of my blog site.
This site will be my technical blog site that I will serve to my readers. I am waiting your assessments..
]]></description>
			<content:encoded><![CDATA[<p>I thank to Ramazan Ayyildiz for helps in hosting of my blog site.</p>
<p>This site will be my technical blog site that I will serve to my readers. I am waiting your assessments..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huseyinakturk.net/2008/12/starting-with-thanks/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
