<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BinaryJam &#187; sap</title>
	<atom:link href="http://www.binaryjam.com/category/sap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.binaryjam.com</link>
	<description>A place for Sharepoint and rantings</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:42:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>SAP ALV grid program generator</title>
		<link>http://www.binaryjam.com/2007/06/06/sap-alv-grid-program-generator/</link>
		<comments>http://www.binaryjam.com/2007/06/06/sap-alv-grid-program-generator/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 11:32:41 +0000</pubDate>
		<dc:creator>Binaryjam</dc:creator>
				<category><![CDATA[sap]]></category>

		<guid isPermaLink="false">http://binaryjam.com/?p=307</guid>
		<description><![CDATA[I&#8217;m new to SAP and it blows, it doesn&#8217;t even have a built in &#8220;sql query executer&#8221;, you have to knock-up a simple program to test the queries.&#160; But to help I found this now its purpose is more than that of a query writer, but an element of it is just that.&#160; I love [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m new to SAP and it blows, it doesn&#8217;t even have a built in &#8220;sql query executer&#8221;, you have to knock-up a simple program to test the queries.&nbsp; But to help I found <a href="http://www.alvrobot.com.ar">this</a> now its purpose is more than that of a query writer, but an element of it is just that.&nbsp; I love this.</p>
<p>But then as well as the query generator it generates all the output stuff too in the most complicated grid control ever devised the ALV grid.</p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati tags: <a href="http://technorati.com/tags/sap%20blogger" rel="tag">sap blogger</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.binaryjam.com/2007/06/06/sap-alv-grid-program-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Hate SAP</title>
		<link>http://www.binaryjam.com/2007/04/05/i-hate-sap/</link>
		<comments>http://www.binaryjam.com/2007/04/05/i-hate-sap/#comments</comments>
		<pubDate>Thu, 05 Apr 2007 15:01:57 +0000</pubDate>
		<dc:creator>Binaryjam</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[sap]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://binaryjam.com/?p=231</guid>
		<description><![CDATA[There are somethings you get so used to in visual studio that they become second nature, they are part of your programming experience.  Take for example the tooltips when typing a method or function, you know the one, it shows all the parameters and their types. Now imagine that you don&#8217;t have that any more.  [...]]]></description>
			<content:encoded><![CDATA[<p>There are somethings you get so used to in visual studio that they become second nature, they are part of your programming experience.  Take for example the tooltips when typing a method or function, you know the one, it shows all the parameters and their types.</p>
<p>Now imagine that you don&#8217;t have that any more.  You just have some crappy &#8220;pattern&#8221; button where you can type in the method name and it inserts the method signature complete with blanks for you to fill in.</p>
<p>Then you still have to dip into the method code or help (if there is any such help) to figure out what types the parameters you are using are.</p>
<p>Undoubtedly SAP platform is very powerful and has a language built for helping customize and take advantage of your platform.  But the tools, the tools your given and the documentation really, really, suck. </p>
<p>I one day hope that the MS/SAP interoperaility project goes so far as to have a ABAP plugin for visual studio, complete with MSDN style documentation. </p>
<p>I can dream.</p>
<p style="display:inline;margin:0;padding:0;" class="wlWriterSmartContent">Technorati tags: <a rel="tag" href="http://technorati.com/tags/sap%20blogger">sap blogger</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.binaryjam.com/2007/04/05/i-hate-sap/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SAP Webparts</title>
		<link>http://www.binaryjam.com/2007/02/20/sap-webparts/</link>
		<comments>http://www.binaryjam.com/2007/02/20/sap-webparts/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 13:06:15 +0000</pubDate>
		<dc:creator>Binaryjam</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[sap]]></category>

		<guid isPermaLink="false">http://binaryjam.com/?p=190</guid>
		<description><![CDATA[I was going to write a piece on Sharepoint and SAP webparts that I had written, however I doubt I could do the topic justice when there is already a guide to doing this out there Technical Guidance for Connecting Microsoft® Office SharePoint® Portal Server 2003 to mySAP™ ERP This is an excellent document and [...]]]></description>
			<content:encoded><![CDATA[<p>I was going to write a piece on Sharepoint and SAP webparts that I had written, however I doubt I could do the topic justice when there is already a guide to doing this out there</p>
<blockquote><p><a href="https://weblogs.sdn.sap.com/">Technical Guidance for Connecting Microsoft® Office SharePoint® Portal Server 2003 to mySAP™ ERP</a></p>
</blockquote>
<p>This is an excellent document and covers off everything you might need to know about making SAP web parts (and what I believe are flaws especially coming from an MS background).</p>
<p>The key thing to remember before you start is that you need (list for sharepoint people really)</p>
<blockquote><p><font color="#656565">1. A SAP system to connect to<br />2. A SAP Market place user and password (cannot download tools without this)<br />3. <a href="https://websmp203.sap-ag.de/~form/sapnet?_SHORTKEY=00200797470000050068&amp;">The SAP .NET Connector</a>, version 2 of this was really easy (ish) to use.<br /></font><font color="#656565">4. An SAP developer key, without which you are not licensed to develop, it won&#8217;t prompt for it but you should have it.<br />5. A Sharepoint dev system</font></p>
<p>&nbsp;</p>
</blockquote>
<p>I did not follow the guide though, I referenced it but not having SAP experience I stuck to existing BAPI&#8217;s and very simple, if somewhat useless functionality, its a demo after all.</p>
<p>So to start with, as a sharepoint developer I suggest you leave SAP alone to start with.</p>
<p>Get the <a href="http://www.theserverside.net/tt/articles/showarticle.tss?id=ImplementingSSO">SSO</a> working, if you&#8217;ve not done this then it might present some problems.&nbsp; In the guide it stores the SSO credentials in SSO but also in WebPart properties, this is not something I recommend, If you have secure data store it only in credentials. <s>I believe it was most likely done this way as Custom ToolParts can be scary, but using a custom part can ensure better security by not storing that SSO information outside of the secure SSO components.&nbsp; Also because you are using a toolpart you can add validation, something I achieved by calling the ExistenceCheck method on the User BOR (BAPI_USER_EXISTENCE_CHECK), this might not be the correct SAP way but it appeared to work.&nbsp; Examine your SSO definitions do you need group login or user login.&nbsp;</s> *Update: Whilst I still think using WebPart properties as in the example is wrong, Just as bad is the toolpart, both methods end up posting the credentials over port 80 which is bad.&nbsp; The correct and only way is to call the GetCredentialEntryUrl() method and ensure that SSL is configured for your SSO.&nbsp; This does not give you the ability to validate your settings as my toolpart did but it guarentees security.&nbsp; If your not fussed about the very few times that those credentials are passed over http then the toolpart method I described is a better solution and the credentials are not accessible via the web part properties, whilst I havent tried to find them in the database they were not designed to be secure like credentials.</p>
<p>Once you have the web part working and the SSO working, work on a web service for the web part to get its data from,&nbsp; Displaying the data in the web parts is easy for any sharepoint developer now, just pass the credentials over the web service via SSL.</p>
<p>As I said earlier instead of using the guide&#8217;s example try your own. I decided to do a webpart that searched vendors (BAPI_VENDOR_FIND), this is an existing BAPI and once you understand the basics of BAPI calling (it is kinda weird MS guys) you can then just struggle getting the data out and in a sensible format and deal with errors etc in an MS way for your webpart to handle.</p>
<p>This post is not meant to be a guide so comes with no code, its a pointer to the guide and to hopefully point out what I think is an error in the guide regarding SSO but mainly to give you a hint of don&#8217;t blindly follow that guide as you will need ABAP skills to create the custom RFC ZIBF_OPEN_PO_NEW, stick to something already there.</p>
<p>&nbsp;However here are some videos showing the parts I wrote in operation, the data is IDES and obviously copyright of SAP</p>
<p><a href="http://www.tocker.co.uk/Files/saptest1.wmv" target="_blank">VideoOne</a> : A web part that searches for vendors via a postback then uses AJAX and sharepoint to display the Vendor and list of PO&#8217;s</p>
<p><a href="http://www.tocker.co.uk/Files/saptest2.wmv" target="_blank">VideoTwo</a> :&nbsp;Two connected web parts that searches for vendors via a postback then passes the vendor ID to the second to display the vendor and PO&#8217;s then allowed a drilldown to PO items</p>
<p>&nbsp;</p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati tags: <a href="http://technorati.com/tags/sap%20blogger" rel="tag">sap blogger</a>, <a href="http://technorati.com/tags/sap" rel="tag">sap</a>, <a href="http://technorati.com/tags/sharepoint" rel="tag">sharepoint</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.binaryjam.com/2007/02/20/sap-webparts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://www.tocker.co.uk/Files/saptest1.wmv" length="882845" type="video/x-ms-wmv" />
<enclosure url="http://www.tocker.co.uk/Files/saptest2.wmv" length="627469" type="video/x-ms-wmv" />
		</item>
	</channel>
</rss>

