<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>pascal renet &#187; SAP</title>
	<atom:link href="http://www.renet-web.net/category/sap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.renet-web.net</link>
	<description>The ramblings of a frog in Oz</description>
	<lastBuildDate>Mon, 31 Oct 2011 12:31:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>Copyright &#xA9; renet@web 2010 </copyright>
	<managingEditor>wordpress@renet-web.net (pascal renet)</managingEditor>
	<webMaster>wordpress@renet-web.net (pascal renet)</webMaster>
	<image>
		<url>http://www.renet-web.net/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>pascal renet</title>
		<link>http://www.renet-web.net</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Just not another WordPress weblog</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>pascal renet</itunes:author>
	<itunes:owner>
		<itunes:name>pascal renet</itunes:name>
		<itunes:email>wordpress@renet-web.net</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.renet-web.net/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Mastering Supply Chain Conference</title>
		<link>http://www.renet-web.net/2010/09/17/mastering-supply-chain-conference/</link>
		<comments>http://www.renet-web.net/2010/09/17/mastering-supply-chain-conference/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 11:39:44 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[eventful]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[PLAUT]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[supply chain]]></category>
		<category><![CDATA[thought leader]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/?p=873</guid>
		<description><![CDATA[<p>This week Melbourne hosted the 7th <a href="http://www.masteringsap.com/scm/">Mastering Supply Chain Management</a> with <a href="http://www.sap.com/">SAP</a>. This is a great event that is organised by eventful management and whilst a little pricey is well worth the investment. It is a great venue&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>This week Melbourne hosted the 7th <a href="http://www.masteringsap.com/scm/">Mastering Supply Chain Management</a> with <a href="http://www.sap.com/">SAP</a>. This is a great event that is organised by eventful management and whilst a little pricey is well worth the investment. It is a great venue for not only networking and meeting your peers but also for learning new things.<br />
In conjunction with Geoff Armstrong (National BI Solution Lead at <a href="http://www.plaut.com.au/">PLAUT</a>) we presented &#8216;Enabling Reporting and Analytics for Your Supply Chain&#8217;.<span id="more-873"></span></p>
<p>The elements I covered were:</p>
<ul>
<li>Reporting and Analytics &#8211; context</li>
<li>Defining Supply Chain KPIS&#8217;s Pre-requisites</li>
<li>Defining Supply Chain KPIS&#8217;s</li>
<li>A word on the importance of <em>dater qwality</em></li>
<li>Identifying your KPI&#8217;s</li>
<li>Understanding your KPI&#8217;s</li>
<li>Set Goals, monitor and improve or correct</li>
</ul>
<p>If you would like further information on this or would like to talk about your Supply Chain issues with us, then contact me using the <a href="http://www.renet-web.net/contact/">&#8216;get in touch&#8217;</a> page.</p>
<p><strong>Some photos of the event:</strong></p>
<div id="PictoBrowser100917214433">Get the flash player here: http://www.adobe.com/flashplayer</div>
<p><script type="text/javascript" src="http://www.db798.com/pictobrowser/swfobject.js"></script><script type="text/javascript">var so = new SWFObject("http://www.db798.com/pictobrowser.swf", "PictoBrowser", "500", "500", "8", "#DDDDDD"); so.addParam("quality", "low"); so.addParam("scale", "noscale"); so.addParam("align", "mid"); so.addVariable("ids", "72157624833781207"); so.addVariable("names", "Mastering Supply Chain Management with SAP 2010"); so.addVariable("userName", "Eventful Management"); so.addVariable("userId", "45059409@N08"); so.addVariable("source", "sets"); so.write("PictoBrowser100917214433");	</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2010/09/17/mastering-supply-chain-conference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mastering Supply Chain Management with SAP</title>
		<link>http://www.renet-web.net/2010/07/15/mastering-supply-chain-management-with-sap/</link>
		<comments>http://www.renet-web.net/2010/07/15/mastering-supply-chain-management-with-sap/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 13:21:20 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[SAP]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/?p=679</guid>
		<description><![CDATA[I will be a <a href="http://www.masteringsap.com/scm/speakers">guest speaker</a> at the <a href="http://www.masteringsap.com/scm">Mastering Supply Chain Management with SAP</a> conference (Sep 13 to 15) that will be held in Melbourne at the Grand Hyatt Hotel.

I will be talking about 'Enabling Reporting and Analytics for your Supply Chain. I will be delivering this presentation with Geoff Armstrong - National Service Line Lead Business Intelligence, <a href="http://www.plaut.com.au/">Plaut IT Australia Pty Ltd</a>.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.renet-web.net/wp-content/uploads/2010/07/SAPSCMBIG2.jpg" alt="" title="SAPSCMBIG2" width="500" height="312" class="aligncenter size-full wp-image-690" /><br />
I will be a <a href="http://www.masteringsap.com/scm/speakers">guest speaker</a> at the <a href="http://www.masteringsap.com/scm">Mastering Supply Chain Management with SAP</a> conference (Sep 13 to 15) that will be held in Melbourne at the Grand Hyatt Hotel.</p>
<p>I will be talking about &#8216;Enabling Reporting and Analytics for your Supply Chain&#8217;. I will be delivering this presentation with Geoff Armstrong &#8211; National Service Line Lead Business Intelligence, <a href="http://www.plaut.com.au/">Plaut IT Australia Pty Ltd</a>.<span id="more-679"></span></p>
<p>All together there will be 34 presentations and the highlights include:</p>
<ul>
<li>Most up to date SAP product releases available in the market</li>
<li>Access More Supply Chain Data with SAP BusinessObjects to Extend Your Reporting Capabilities</li>
<li>Take Control of Master Data by Centralising Control, Addressing Change Management Issues and Training Staff</li>
<li>Rethink Services Procurement in Mining: Lessons for Other Spend Categories and Industries</li>
<li>Get Past &#8220;We’re Different&#8221; and Standardise BI Reports Across Your Enterprise</li>
<li>How Coca-Cola Manages Direct Store Deliveries Using Strategic Route Optimisation and Vehicle Space Optimisation Solutions</li>
<li>The Future Direction of Sales and Operations Planning in SAP</li>
<li>Make Warehouses and Logistics More Efficient Through Voice Picking</li>
<li>Integrate APO to Drive the S&#038;OP Process</li>
<li>Automate Employee-Facing Transactions in the Supply Chain</li>
<li>Get Your Inventory Basics Right with WMS</li>
<li>Use SAP Solutions for Enterprise Contract Management</li>
<li>Use Outline Agreements for Service Contracts</li>
<li>Initiate Cultural Change in Supplier and Operations Relationships with Invoice Automation</li>
<li>Sell the Proposition of Procurement Beyond Just Reducing Costs &#8211; Into Delivering Higher Value and Generating Revenue</li>
<li>Analyse Supplier Enablement Solutions in Conjunction with Your SAP Solution and How to Determine ROI for Such an Implementation</li>
</ul>
<p><a href="https://register.eventfulmanagement.com/registerme/scm/register.php">Register</a> today to be part of this great event.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2010/07/15/mastering-supply-chain-management-with-sap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upload of Planned Independent Requirements made easy</title>
		<link>http://www.renet-web.net/2009/08/06/upload-of-planned-independent-requirements-made-easy/</link>
		<comments>http://www.renet-web.net/2009/08/06/upload-of-planned-independent-requirements-made-easy/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 03:47:28 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[MD61]]></category>
		<category><![CDATA[MD62]]></category>
		<category><![CDATA[PIR]]></category>
		<category><![CDATA[Planned Independent Requirement]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/?p=606</guid>
		<description><![CDATA[ You only need to go through the forums on <a href="https://www.sdn.sap.com/">SDN</a> to realise that there are people out there that actually write programs or develop LSMW’s to upload Planned Independent Requirements (PIR) into <a href="http://www.sap.com/">SAP</a>.]]></description>
			<content:encoded><![CDATA[<p> You only need to go through the forums on <a href="https://www.sdn.sap.com/">SDN</a> to realise that there are people out there that actually write programs or develop LSMW’s to upload Planned Independent Requirements (PIR) into <a href="http://www.sap.com/">SAP</a>. Whilst I am sure that there are many valid reasons for wanting to develop your own upload programs, it is a shame to do so especially in light of the fact that SAP offers standard methods for you to do this. I know of at least two:</p>
<ul>
<li>You can use the BAPI BAPI_REQUIREMENTS_CREATE. This BAPI is RFC enabled so it is a good candidate if you are using an external application to perform your forecast and want to replicate them in SAP by making a remote function call.</li>
<li>Another option is to use the standard upload program RM60IN01 – which is a direct input program that reads a formatted file to create your PIRs in SAP’s demand management (the RM60IN01 program can also be used in LSMW in concert wth object 0180).</li>
</ul>
<p>In this post, I shall explore the second option. The aim of this is to have PIR figures uploaded in SAP’s demand management – i.e data populated in the table below, such that it can be taken into account by the MRP run (or not if you do not set the active indicator):</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot004.jpg" alt="ScreenShot004" title="ScreenShot004" width="500" height="224" class="aligncenter size-full wp-image-607" /></p>
<p>To illustrate this scenario, I’ll work through a simple case but it should give you all the tools you need to do further exploration on your own. So I will show you here how you can upload PIR quantities for multiple schedule lines for multiples materials – all in one go. Also we will want for these requirements to be active such that they are immediately taken into account during the next MRP run.</p>
<p>To start of let’s try and execute the program to see how it presents itself. Using transaction SE38, execute the program RM60IN01.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot002.jpg" alt="ScreenShot002" title="ScreenShot002" width="500" height="157" class="aligncenter size-full wp-image-609" /><br />
<span id="more-606"></span><br />
In the next screen you will see this.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot003.jpg" alt="ScreenShot003" title="ScreenShot003" width="499" height="149" class="aligncenter size-full wp-image-612" /></p>
<p>SAP defaults the sequential file name to PP_INDEP_REQMTS_DIRECT_INPUT. I.e that is the logical filename that SAP will read to upload your PIR’s. That logical filename is transparent to the user, but it is actually mapped to a specific location – the one where the physical file will need to reside if SAP is going to be able to read it.<br />
By default PP_INDEP_REQMTS_DIRECT_INPUT maps to a filename called RM60IN00 in SAP’s  DIR_TEMP directory. If that is not a convenient place for you, that is something that you can always change. To do so go into customizing (based on ECC6.0) and follow the path <em>SAP NetWeaver / Application Server / System Administration / Platform Independent File Names / Cross-client Maintenance of file names and paths</em> (the corresponding transaction code is conveniently called FILE).<br />
So at this point what we are missing is the file format expected by SAP and in order to get that information, the easiest way is to let SAP do the work for us!<br />
Go to transaction MD61 and create some demand for anyone of your products.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot005.jpg" alt="ScreenShot005" title="ScreenShot005" width="500" height="247" class="aligncenter size-full wp-image-614" /></p>
<p>Add some requirements in your planning table and save your changes.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot006.jpg" alt="ScreenShot006" title="ScreenShot006" width="500" height="135" class="aligncenter size-full wp-image-615" /></p>
<p>Now go to transaction SXDB. You will come to a screen that looks like the one below (maybe some projects will be there).</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot007.jpg" alt="ScreenShot007" title="ScreenShot007" width="500" height="178" class="aligncenter size-full wp-image-616" /></p>
<p>Select the menu entry <em>Goto / DX tools</em>. This will take you to the Data transfer – tools screen. In that screen type the information as it is indicated below.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot008.jpg" alt="ScreenShot008" title="ScreenShot008" width="499" height="220" class="aligncenter size-full wp-image-617" /></p>
<p>From this screen we are going to generate a template upload file. You’ll be able to use that file to get a feel for what data has to be uploaded, where it fits in the file and how it has to be formatted if you want to successfully upload your planned independent requirements.<br />
So the next step is to generate that file by populating it with some demo data. To do that, click the “From Test Program” button located at the top of the screen. In the next screen that comes up, type the data that corresponds to the material for which we created some requirements earlier on and just click execute.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot009.jpg" alt="ScreenShot009" title="ScreenShot009" width="500" height="243" class="aligncenter size-full wp-image-618" /></p>
<p>What this has done, is to create a ready for upload file using the data we created earlier on. If all goes well, you should have a message coming up, such as the one below.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot010.jpg" alt="ScreenShot010" title="ScreenShot010" width="500" height="134" class="aligncenter size-full wp-image-620" /></p>
<p>If we use transaction AL11 to navigate to the logical file name PP_INDEP_REQMTS_DIRECT_INPUT which is DIR_TEMP/RM60IN00) we have should see:</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot017.jpg" alt="ScreenShot017" title="ScreenShot017" width="500" height="239" class="aligncenter size-full wp-image-621" /></p>
<p>So there we have it – a template with live data!<br />
If you go back to the DX tools screen and additional feature here, is that you can edit the file you just generated. To do so, go click on the “change” button.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot019.jpg" alt="ScreenShot019" title="ScreenShot019" width="499" height="237" class="aligncenter size-full wp-image-622" /></p>
<p>SAP shows you the template file you generated in a different light.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot020.jpg" alt="ScreenShot020" title="ScreenShot020" width="500" height="205" class="aligncenter size-full wp-image-623" /></p>
<p>What you can also do here is to edit existing segment as well as delete or add some – just double click on a segment to do so. Any changes you do can be saved to the template file.<br />
I also suggest that you look at every segment so as to see what other information could be contained in them. Note that if you are using configurable materials additional segments can be used to populate characteristics and their associated values. If that is your case, use the B60C1 structure segment to hold that information (as shown below).</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot024.jpg" alt="ScreenShot024" title="ScreenShot024" width="500" height="191" class="aligncenter size-full wp-image-624" /></p>
<p>At this point, I would like to point what seems to be a bug. If you change a record B60BL (the one that contains the material number) and save your changes and then try to process that file you will get an error message saying  <em>Number :61262 &#8216;Project and/or WBS element does not exist&#8217;</em>.  If you run across that problem, apply OSS note 594774 and you should be right after that.<br />
What you can now do, is to download your file onto your PC so as to further study the file structure.<br />
To do so, from the transfer tools menu, click the “copy” button.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot026.jpg" alt="ScreenShot026" title="ScreenShot026" width="499" height="230" class="aligncenter size-full wp-image-625" /></p>
<p>Indicate the source file (the template we generated) and the target file (the one we’ll save on the PC). Note that you can use the same method to upload your file onto the server (switching the target and the source of course).</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot029.jpg" alt="ScreenShot029" title="ScreenShot029" width="500" height="421" class="aligncenter size-full wp-image-626" /></p>
<p>There we go – we have our template file in notepad.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot030.jpg" alt="ScreenShot030" title="ScreenShot030" width="500" height="81" class="aligncenter size-full wp-image-627" /></p>
<p>We’ll  now try to upload a new file. This one will have two materials and for the second material, we’ll upload not monthly but weekly buckets.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot034.jpg" alt="ScreenShot034" title="ScreenShot034" width="499" height="181" class="aligncenter size-full wp-image-628" /></p>
<p>So let’s upload our new file and process it.<br />
Note that you can, execute the program in test mode first if you prefer.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot003.jpg" alt="ScreenShot003" title="ScreenShot003" width="499" height="149" class="aligncenter size-full wp-image-612" /></p>
<p>If things work out without a hitch, you will just get an information message appear at the bottom of your screen:</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot036.jpg" alt="ScreenShot036" title="ScreenShot036" width="500" height="65" class="aligncenter size-full wp-image-629" /></p>
<p>You might also get warning messages (especially if requirements already existed).</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot037.jpg" alt="ScreenShot037" title="ScreenShot037" width="500" height="210" class="aligncenter size-full wp-image-630" /></p>
<p>So let’s see what has happened.<br />
If we look at the first material Z127 this is the material we uploaded in monthly buckets.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot040.jpg" alt="ScreenShot040" title="ScreenShot040" width="500" height="326" class="aligncenter size-full wp-image-631" /></p>
<p>And if we have a quick look at the stock and requirements list, we see the requirements are ready to be planned:</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot041.jpg" alt="ScreenShot041" title="ScreenShot041" width="499" height="147" class="aligncenter size-full wp-image-632" /></p>
<p>If we now look at the other material Z126, this was the material we uploaded in weekly buckets.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/08/ScreenShot044.jpg" alt="ScreenShot044" title="ScreenShot044" width="500" height="292" class="aligncenter size-full wp-image-633" /></p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2009/08/06/upload-of-planned-independent-requirements-made-easy/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Linking your SAP ERP to Solution Manager for service messaging</title>
		<link>http://www.renet-web.net/2009/07/24/linking-your-sap-erp-to-solution-manager-for-service-messaging/</link>
		<comments>http://www.renet-web.net/2009/07/24/linking-your-sap-erp-to-solution-manager-for-service-messaging/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 22:38:44 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[7.0]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[service desk]]></category>
		<category><![CDATA[solman]]></category>
		<category><![CDATA[solution manager]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/?p=593</guid>
		<description><![CDATA[This is really a quick tip that I'm posting more for me, but which I thought I'd share with the rest of the community.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/linkerptosolman.jpg" alt="" title="linkerptosolman" width="500" height="301" class="aligncenter size-full wp-image-790" /><br />
This is really a quick tip that I&#8217;m posting more for me, but which I thought I&#8217;d share with the rest of the community.</p>
<p>If you are using the Service Desk functionality of <a href="http://www.sap.com/platform/netweaver/components/solutionmanager/index.epx">Solution Manager</a>, you may know that it is possible to create support requests right from your satelite SAP system. <span id="more-593"></span>This is a really neat functionality because it allows you to report an incident right there and then when it happens &#8211; i.e there is no need for you to connect to a solution manager system, either via the SAP GUI or portal to report the incident. </p>
<p>To do that, you will find a &#8220;Create suport message&#8221; menu entry that allows you to do just that.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0031.jpg" alt="ScreenShot003" title="ScreenShot003" width="500" height="194" class="aligncenter size-full wp-image-594" /></p>
<p>The trouble is that if your system administrator has not done the customising that enables for your <a href="http://www.sap.com/">SAP</a> system to know the destination of the incident (the rfc destination of you solution manager system), then you will get an error message such as the one below.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0041.jpg" alt="ScreenShot004" title="ScreenShot004" width="500" height="164" class="aligncenter size-full wp-image-595" /><br />
<!--more--><br />
So to correct this you need to add an entry in the table BCOS_CUST. To add that entry go to transaction SM31 in maintenance mode.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot001.jpg" alt="ScreenShot001" title="ScreenShot001" width="500" height="315" class="aligncenter size-full wp-image-596" /></p>
<p>You then need to add an entry identical to the one below (except that you must of course indicate the rfc destination of your Solution Manager system).</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0022.jpg" alt="ScreenShot002" title="ScreenShot002" width="499" height="162" class="aligncenter size-full wp-image-597" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2009/07/24/linking-your-sap-erp-to-solution-manager-for-service-messaging/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Automated emails in SAP Solution Manager made easy</title>
		<link>http://www.renet-web.net/2009/07/23/automated-emails-in-sap-solution-manager-made-easy/</link>
		<comments>http://www.renet-web.net/2009/07/23/automated-emails-in-sap-solution-manager-made-easy/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 07:15:21 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[7.0]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[solman]]></category>
		<category><![CDATA[solution manager]]></category>
		<category><![CDATA[VAR]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/?p=551</guid>
		<description><![CDATA[What I will explain here is particularly useful if you are using <a href="http://www.sap.com/">SAP</a> Solution Manager, but it could also be applied to SAP CRM.
Solution Manager offers a very powerful functionality in that which is Service Desk. ]]></description>
			<content:encoded><![CDATA[<p>What I will explain here is particularly useful if you are using <a href="http://www.sap.com/">SAP</a> Solution Manager, but it could also be applied to SAP CRM.<br />
Solution Manager offers a very powerful functionality in that which is Service Desk. However I think that you are missing an important aspect of it if you do not set up automatic email notification. What is the point of logging a priority 1 service request if you have to wait for a support consultant to log on to the service desk and see what messages have been created? The same courtesy is expected of customers – they also need to be pro-active if they want you to fix their problems. In this post I shall discuss the setups that are required to trigger the sending of emails to your customers, whenever the status requests for the customer to act on it.</p>
<p>In the VAR scenario, the customer is expected to act on a message when the status is :</p>
<ul>
<li>Author Action (further information is expected from him)</li>
<li>Proposed Solution (a working solution has been tested and is proposed to the customer)</li>
</ul>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0021.jpg" alt="ScreenShot002" title="ScreenShot002" width="500" height="204" class="aligncenter size-full wp-image-552" /></p>
<p>Now that we have set what we want to achieve, let’s go and customise it.<br />
<em>==> It is assumed that transaction SCOT has already been configured in your system to send emails.</em></p>
<h3>Check your action and status profiles</h3>
<p>The first thing you need to do is to check the action profile that is assigned to the transaction type you want to customise. In my case, I’m using message SLFN and the action profile assigned to it is AI_SDK_STANDARD. Whilst we are here we&#8217;ll also note down the status profile we are using.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot070.jpg" alt="ScreenShot070" title="ScreenShot070" width="499" height="195" class="aligncenter size-full wp-image-555" /><br />
<span id="more-551"></span></p>
<h3>Customise the smartform</h3>
<p>If you use the standard action that comes packaged in SAP, your customers will simply get an email message titled “Service message w. Transaction”  and an attachment (if SCOT is set to send pdf’s) that give more information than is necessary. The point of all this, is to send a message to the customer to let him know that he is required to take action on a service request that he logged so you want this to be specific, short and sweet.</p>
<p>This step is optional – you can do it now or later.</p>
<p>Go to transaction SMARTFORMS. Select the form called CRM_REMINDER_MAIL_01 and make a copy of it.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0061.jpg" alt="ScreenShot006" title="ScreenShot006" width="500" height="215" class="aligncenter size-full wp-image-556" /></p>
<p>I have called mine “ZRM_REMINDER_MAIL_01”.<br />
Go to the Form Attributes and change the description to something meaningful.<br />
Note in my exampe that the description terminates with a “&#038;” Character. This character will be replaced with the Service Request number in the email.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0081.jpg" alt="ScreenShot008" title="ScreenShot008" width="500" height="137" class="aligncenter size-full wp-image-557" /></p>
<p>Once you have done that go down to the mail content and change it to suit your requirement.<br />
In my case I have conveniently added the link to the service desk portal and re-iterated essential Support Desk information like contact numbers.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0101.jpg" alt="ScreenShot010" title="ScreenShot010" width="499" height="309" class="aligncenter size-full wp-image-558" /></p>
<p>This is the text of my mail.<br />
<em>Dear Customer,<br />
A service request &#8211; Number: &#038;orderadm_h-object_id&#038; and description<br />
 &#038;orderadm_h-description&#038; &#8211; logged in the Service Desk has been<br />
actionned and re-assigned to you.</p>
<p>Please logon to the service desk portal to check the status of the request.</p>
<p>The portal can be accessed at:</p>
<p>https://path_to_the_server:port/sap/bc/webdynpro/sap/ags_workcenter</p>
<p>Please do not respond to this mail, as it was automatically generated.</p>
<p>Best Wishes &#8211; Service Desk Support<br />
Tel:99999 999 999<br />
</em></p>
<p>Activate your smartform and leave the transaction.</p>
<h3>Define a new action</h3>
<p>Now go to transaction SPPFCADM. Here we will add an action to our action profile (the one we determined earlier).<br />
Select the application CRM_ORDER and click on Define Action Profile and Actions.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot012.jpg" alt="ScreenShot012" title="ScreenShot012" width="499" height="501" class="aligncenter size-full wp-image-559" /></p>
<p>In the next screen, select your action profile and double click on action definition.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0141.jpg" alt="ScreenShot014" title="ScreenShot014" width="500" height="206" class="aligncenter size-full wp-image-560" /></p>
<p>Switch to change mode and click the new entries button.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot016.jpg" alt="ScreenShot016" title="ScreenShot016" width="499" height="250" class="aligncenter size-full wp-image-561" /></p>
<p>Define a new action as I have done it here.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot019.jpg" alt="ScreenShot019" title="ScreenShot019" width="499" height="487" class="aligncenter size-full wp-image-562" /></p>
<p>Two important switches here are:<br />
The partner function – in my case SLFN0002 the message reporter. In my context, the reporter is the customer, the person that logs the service request. You could change it to another partner function to suit your needs.<br />
Action merging. This setting defines how many times the message will be sent. In my case I want a message to be triggered every time (not just the first time) the status of the message is “author action” or “proposed solution”.<br />
Now go to the “action description” tab and add a small text description for your action.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0211.jpg" alt="ScreenShot021" title="ScreenShot021" width="499" height="268" class="aligncenter size-full wp-image-563" /></p>
<p>Now double click on processing type.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0231.jpg" alt="ScreenShot023" title="ScreenShot023" width="499" height="264" class="aligncenter size-full wp-image-564" /></p>
<p>Add the processing type and mail setting as shown below.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0251.jpg" alt="ScreenShot025" title="ScreenShot025" width="499" height="358" class="aligncenter size-full wp-image-565" /></p>
<p>Note that the form name is the smartform I created earlier. If you did not do that step, then use the form CRM_REMINDER_MAIL_01.<br />
Save your work and step back to the PPF:Applications in customizing screen. Again select the application CRM_ORDER and this time click on Condition Configuration (transportable conditions).<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot027.jpg" alt="ScreenShot027" title="ScreenShot027" width="499" height="463" class="aligncenter size-full wp-image-566" /></p>
<p>If you are having difficulty location your action profile, click on the Technical Names button.<br />
This will show the language independent name of your action profile.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0301.jpg" alt="ScreenShot030" title="ScreenShot030" width="499" height="428" class="aligncenter size-full wp-image-567" /></p>
<p>Switch to change mode if your are not already in it.<br />
To add the action you created, click on the create button and it from the drop down list.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot032.jpg" alt="ScreenShot032" title="ScreenShot032" width="499" height="502" class="aligncenter size-full wp-image-568" /></p>
<p>As a result, your action will be added to the list of existing actions.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0341.jpg" alt="ScreenShot034" title="ScreenShot034" width="499" height="88" class="aligncenter size-full wp-image-569" /></p>
<p>Double click on it and then go through the tabs as I shown below.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot035.jpg" alt="ScreenShot035" title="ScreenShot035" width="499" height="159" class="aligncenter size-full wp-image-570" /></p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot036.jpg" alt="ScreenShot036" title="ScreenShot036" width="499" height="139" class="aligncenter size-full wp-image-571" /></p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0371.jpg" alt="ScreenShot037" title="ScreenShot037" width="499" height="138" class="aligncenter size-full wp-image-572" /></p>
<p>Click on Edit Condition.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot039.jpg" alt="ScreenShot039" title="ScreenShot039" width="499" height="139" class="aligncenter size-full wp-image-573" /></p>
<p>In the next screen, give the condition a name, then click the text displayed that says “click here to create new condition (not the Create button).</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot041.jpg" alt="ScreenShot041" title="ScreenShot041" width="499" height="324" class="aligncenter size-full wp-image-574" /></p>
<p>This will take you to the condition editor.<br />
Remember that we want to trigger the email if the user status is author action or proposed solution.<br />
Double click User Status. This will update the condition expression.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0441.jpg" alt="ScreenShot044" title="ScreenShot044" width="500" height="384" class="aligncenter size-full wp-image-575" /></p>
<p>Now click on the “=” button (we want the expression to be equal to…)</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot045.jpg" alt="ScreenShot045" title="ScreenShot045" width="499" height="133" class="aligncenter size-full wp-image-576" /></p>
<p>Now use the search help in the constant field to find the status “author action”.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot050.jpg" alt="ScreenShot050" title="ScreenShot050" width="499" height="484" class="aligncenter size-full wp-image-577" /></p>
<p>Your selection will now be displayed in the constant field.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot052.jpg" alt="ScreenShot052" title="ScreenShot052" width="499" height="323" class="aligncenter size-full wp-image-579" /></p>
<p>Then click the selection icon to copy the value in the expression editor.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot054.jpg" alt="ScreenShot054" title="ScreenShot054" width="499" height="379" class="aligncenter size-full wp-image-580" /></p>
<p>Now repeat the same steps to add an OR logic to add the “proposed solution” status. Your equation should then look like:</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0551.jpg" alt="ScreenShot055" title="ScreenShot055" width="500" height="148" class="aligncenter size-full wp-image-581" /></p>
<p>Save your work and leave the transaction.</p>
<h3>Putting it all together</h3>
<p>We have a message and we change the status from “in process” to “Author action”.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot058.jpg" alt="ScreenShot058" title="ScreenShot058" width="499" height="272" class="aligncenter size-full wp-image-582" /></p>
<p>If I check my email inbox, I have an incoming message.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot061.jpg" alt="ScreenShot061" title="ScreenShot061" width="500" height="134" class="aligncenter size-full wp-image-583" /></p>
<p>Notice that the service desk number appears in my message.<br />
The details of the request are sent as an pdf attachment. Again note that the service desk number and title come through nicely in the message.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot068.jpg" alt="ScreenShot068" title="ScreenShot068" width="500" height="218" class="aligncenter size-full wp-image-584" /></p>
<p>If you do not want to send messages as attachment  files, you can send them as text. You can control this in transaction SCOT.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0651.jpg" alt="ScreenShot065" title="ScreenShot065" width="500" height="129" class="aligncenter size-full wp-image-585" /></p>
<p>We’ll switch to text and see what happens when the status becomes “proposed solution”.<br />
This time you see that the text of the message is the body of the email.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0671.jpg" alt="ScreenShot067" title="ScreenShot067" width="499" height="208" class="aligncenter size-full wp-image-586" /></p>
<p>There you go – emails made easy in SAP Solution Manager (or CRM)</p>
<p>Recommended additional reading:<br />
<a href="https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7318">Sending E-Mail from Support Message</a> on SDN by Dolores Correa</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2009/07/23/automated-emails-in-sap-solution-manager-made-easy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SLA&#8217;s made easy in SAP Solution Manager</title>
		<link>http://www.renet-web.net/2009/07/21/slas-made-easy-in-sap-solution-manager/</link>
		<comments>http://www.renet-web.net/2009/07/21/slas-made-easy-in-sap-solution-manager/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 05:47:20 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[service desk]]></category>
		<category><![CDATA[SLA]]></category>
		<category><![CDATA[solman]]></category>
		<category><![CDATA[solution manager]]></category>
		<category><![CDATA[VAR]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/?p=503</guid>
		<description><![CDATA[<p>The details herein contained in this post relate to the solution manager VAR scenario – i.e your organisation acts as a service desk for your <a href="http://www.sap.com">SAP</a> customers. Whilst some of the concepts explained here might be of use to&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>The details herein contained in this post relate to the solution manager VAR scenario – i.e your organisation acts as a service desk for your <a href="http://www.sap.com">SAP</a> customers. Whilst some of the concepts explained here might be of use to a <a href="http://www.sap.com/solutions/business-suite/crm/index.epx">CRM</a> consultant, they are first and foremost destined for <a href="http://www.sap.com/platform/netweaver/components/solutionmanager/index.epx">Solution Manager</a> consultants setting up their system to track and monitor<a href="http://en.wikipedia.org/wiki/Service_level_agreement"> SLA</a> (Service Level Agreement) response and resolution times (which would probably also apply to an internal support desk as well). This document is merely an extension to the excellent guide that you can find on the<a href="http://service.sap.com/"> SAP service Marketplace</a> called <a href="http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000722612&#038;_OBJECT=011000358700000122472008E ">“SAP Solution Manager – Service Desk  for Service Providers”</a> &#8211; an S number is required to access this resource. This document explains in great detail what you need to do to setup SLA’s in the context of the VAR scenario, but I find that there is a piece missing in it – the setting up of the actual contract and its determination is not explained, nor does it offer advice on how or where this information can be tracked – so my document is the missing link for that.</p>
<p>I will first recap elements that I have setup in my system (that you can also find in the afore mentioned SAP document) and add the elements that I find are missing.<br />
As usual, I encourage you to do test this in a test system before rolling it out to your productive clients.</p>
<h2>Master data checks and setups</h2>
<h3>Check your business partner(s)</h3>
<p>The service desk messages created in your system will use several partner functions, one of which is the sold-to party – these are your customers. So first check and make sure that your customers have the ‘sold-to party’ partner functions active. To check this, go to transaction BP and search for the organizational object “organizations”.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot020.jpg" alt="ScreenShot020" title="ScreenShot020" width="499" height="209" class="aligncenter size-full wp-image-505" /><br />
Double click on your selected business partner to navigate to its record and drop down the list of partner functions.<span id="more-503"></span><br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot021.jpg" alt="ScreenShot021" title="ScreenShot021" width="500" height="154" class="aligncenter size-full wp-image-506" /><br />
If you do not see the partner function “sold-to party” (in display mode) , then you need to go and create that partner function for your customer.</p>
<h3>Check your IBASE settings</h3>
<p>When your customer creates a service desk message, one of the key elements that he will add to his message is the IBASE for which he is reporting the service request. The IBASE (Installed BASE) in this context is a concatenation of characters that identify the system ID + the installation number + the client number. You need to make sure that your customers’ IBASE have been assigned to the correct “sold-to party” business partner. That way, when a message is created the sold to party will automatically be attached to the service request.<br />
To check this, go to transaction IB52 and display your IBASE (usually 1 in the standard system). As you see in my example below, there are multiple SAP clients within one system. I could have the same sold-to party for all clients or individual ones for each one. Business partners can be assigned locally to each client or once for all clients.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0241.jpg" alt="ScreenShot024" title="ScreenShot024" width="500" height="222" class="aligncenter size-full wp-image-508" /><br />
I will add the sold-to party once for all clients. To do so, I select my entire system node and select the menu path Goto / partner.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot026.jpg" alt="ScreenShot026" title="ScreenShot026" width="500" height="279" class="aligncenter size-full wp-image-509" /><br />
In the next window I indicate the business partner number that corresponds to my customer.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0281.jpg" alt="ScreenShot028" title="ScreenShot028" width="499" height="145" class="aligncenter size-full wp-image-510" /><br />
Save your entry.</p>
<h3>Check your organizational model</h3>
<p>Your organization (sales and service departments) have to be mapped in SAP Solution Manager using transaction PPOMA_CRM. Each organizational structure is super specific to every company, but you can if you want use the one that comes shipped with Solution Manager. Use the SAP guide “SAP Solution Manager – Service Desk  for Service Providers”  to help you set it up if needed. In the case of this example, I have adapted the one shipped by SAP to my context  &#8211; SAP uses country DE, but I and my customers are in country AU – I have therefore used that country.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot002.jpg" alt="ScreenShot002" title="ScreenShot002" width="499" height="292" class="aligncenter size-full wp-image-511" /></p>
<h3>Set up your product hierarchy</h3>
<p>Whether you understand the benefits of this step or not it does not matter, this is simply something that you have to do. The hierarchy could potentially be copied from your SAP ERP system if it existed there or you can maintain it locally in your SAP Solution Manager system. The hierarchy essentially helps you structure and segregate your products – for example you may wish to differentiate service products from say educational products, on site from off site service, internal services from external services. If you want to get this step over and done with just to get SLA’s calculated in your system, then again, just follow the “SAP Solution Manager – Service Desk  for Service Providers” guide.<br />
Below are snap shots of how I set up the hierarchy in my system. The hierarchy maintenance transaction is COMM_HIERARCHY.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot003.jpg" alt="ScreenShot003" title="ScreenShot003" width="499" height="433" class="aligncenter size-full wp-image-513" /><br />
The following set types have been defined.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot004.jpg" alt="ScreenShot004" title="ScreenShot004" width="499" height="460" class="aligncenter size-full wp-image-514" /></p>
<h3>Define your support product(s)</h3>
<p>The next step of the process is to setup a product – the one that we will include in the contract with the customer. I have created a simple product of type “service” called SUPPORT_DESK. The transaction to maintain products is COMPR01. Notice of the product is linked to the category of my hierarchy.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot006.jpg" alt="ScreenShot006" title="ScreenShot006" width="500" height="444" class="aligncenter size-full wp-image-515" /></p>
<p>Add the item category group SRVP. We could add the service and response profiles here in the product, but we will add this information in our contract.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot008.jpg" alt="ScreenShot008" title="ScreenShot008" width="499" height="255" class="aligncenter size-full wp-image-516" /><br />
Assign it to the sales area Sales/01/01.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot010.jpg" alt="ScreenShot010" title="ScreenShot010" width="499" height="369" class="aligncenter size-full wp-image-517" /><br />
Save your product.</p>
<h2>Customizing changes and setups</h2>
<h3>Adding your response and service profiles</h3>
<p>The point of all this process is to be able to mirror SLA’s that I have with my customers, in my Solution Manager system. Doing so means that you have contractually agreed with your customers that you will respond  to all his service requests within a certain  amount of time and that you will provide him with a solution – that resolves the issue &#8211; within a set timeframe. To add complexity to this, these time windows are more than likely to be variable depending on how critical the request is. Below are the times that I shall be using in my example.</p>
<p>Priority &#8211; - >                     Response time &#8211; - >                             Resolution time<br />
1 &#8211; - >                                    1 Hour &#8211; - >                                          4 Hours<br />
2 &#8211; - >                                    4 Hours &#8211; - >                                         2 Days<br />
3 &#8211; - >                                    8 Hours &#8211; - >                                         4 Days<br />
4 &#8211; - >                                   16 Hours &#8211; - >                                        8 Days</p>
<p>To set these parameters up in the system, use transaction CRMD_SERV_SLA.<br />
You first need to setup a service profile. The service profile essentially dictates the hours during which your service desk operates.<br />
Click the clock icon to maintain your “open for business” hours.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot014.jpg" alt="ScreenShot014" title="ScreenShot014" width="500" height="111" class="aligncenter size-full wp-image-518" /><br />
The service desk is open Monday to Friday from 08:30 to 17:30. Also, notice that the indicated time zone is UTC + 00.<br />
I found that by using my actual time zone which is AUSVIC (UTC + 9), the SLA calculated times were during non business hours (eg 2am). Setting the time zone to UTC+00 has fixed my issues – so I assume that SAP automatically makes that time zone transformation.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot018.jpg" alt="ScreenShot018" title="ScreenShot018" width="499" height="663" class="aligncenter size-full wp-image-519" /><br />
The next thing we need to add, is the response and resolution times. I have chosen to only use the priorities of the service requests. I.e for each priority I shall indicate the response and resolution times.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot030.jpg" alt="ScreenShot030" title="ScreenShot030" width="499" height="143" class="aligncenter size-full wp-image-520" /><br />
For each priority I have maintained the SRV_RF_DURA (Duration Until first reaction) and SRV_RR_DURA (Duration until service end).<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot034.jpg" alt="ScreenShot034" title="ScreenShot034" width="499" height="561" class="aligncenter size-full wp-image-521" /></p>
<h3>Check the SLFN message settings</h3>
<p>I am of course assuming that you are using the standard SLFN service desk message. You need to make a couple of adjustments to it. Go into customizing to SAP solution manager / Configuration / Scenario specific settings / Service Desk / service Desk / General settings / Define transaction types.<br />
If the below settings are not yet made, do them. Essentially we need to indicate how the contract selection will occur and also the how the sales and service entities will be determined in your service message.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot037.jpg" alt="ScreenShot037" title="ScreenShot037" width="500" height="533" class="aligncenter size-full wp-image-522" /></p>
<h3>Add your product to the action definition AI_SDK_ADD_PRODUCT</h3>
<p>Remember that your contract will only be selected if certain elements that can be found in both the contract and the service request are identical. The service product is one of those elements. We will therefore customise the action definition AI_SDK_ADD_PRODUCT to add our service product to inbound service requests.<br />
To do so go to transaction SPPFCADM. Pick the application CRM_ORDER and click the button as shown below (Define action profile and actions).<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot042.jpg" alt="ScreenShot042" title="ScreenShot042" width="500" height="258" class="aligncenter size-full wp-image-523" /></p>
<p>Assuming you are using the SLFN message for the VAR service desk process, you need to change the action definition AI_SDK_ADD_PRODUCT that is in the profile AI_SDK_STANDARD.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot044.jpg" alt="ScreenShot044" title="ScreenShot044" width="500" height="181" class="aligncenter size-full wp-image-524" /><br />
Select the line AI_SDK_ADD_PRODUCT and double click on processing types.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot046.jpg" alt="ScreenShot046" title="ScreenShot046" width="500" height="132" class="aligncenter size-full wp-image-525" /><br />
Switch to change mode and click the change icon as shown.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot048.jpg" alt="ScreenShot048" title="ScreenShot048" width="500" height="341" class="aligncenter size-full wp-image-526" /><br />
In the next window that pops up, click the create icon.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot051.jpg" alt="ScreenShot051" title="ScreenShot051" width="500" height="263" class="aligncenter size-full wp-image-527" /><br />
Create the container element with the following parameters. Translated, this will add the order product  to the business transaction (the SLFN message) at the item level.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot053.jpg" alt="ScreenShot053" title="ScreenShot053" width="500" height="435" class="aligncenter size-full wp-image-528" /><br />
Finally and this is very important, you  have to indicate the product that you want to add to the SLFN service message. Indicate the product code you created earlier.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot055.jpg" alt="ScreenShot055" title="ScreenShot055" width="500" height="435" class="aligncenter size-full wp-image-529" /><br />
Validate your entry and you will now see that the container editor looks something like below.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot056.jpg" alt="ScreenShot056" title="ScreenShot056" width="500" height="88" class="aligncenter size-full wp-image-530" /><br />
Save your work and leave the transaction – we can now go and create our contract!</p>
<h2>Putting it all together</h2>
<h3>Create the service contract</h3>
<p>Go to transaction CRMD_ORDER and create a transaction of type SLFV – service desk contract. Indicate your business partners and indicate the product you created earlier as well as a quantity (in my case I have indicated 1000 hours).<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot059.jpg" alt="ScreenShot059" title="ScreenShot059" width="500" height="377" class="aligncenter size-full wp-image-531" /><br />
At this stage you can click on the ‘Organization” tab of your service contract and see that sales and services organizations have been determined – you can also click the “log” icon to see how those entities were determined or not!).<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot065.jpg" alt="ScreenShot065" title="ScreenShot065" width="500" height="510" class="aligncenter size-full wp-image-532" /><br />
We now need to indicate the IBASE/systems for which this contract can be selected. In your contract item, indicate the system for which this contract can be selected. In my example, this contract can only be selected for two SAP clients that exist in the same system.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot071.jpg" alt="ScreenShot071" title="ScreenShot071" width="500" height="132" class="aligncenter size-full wp-image-533" /><br />
Remember that we also went to the trouble of adding response and resolution profiles earlier? Let’s use them. Go to the item data of your service product and in the service data tab, add your profiles.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot067.jpg" alt="ScreenShot067" title="ScreenShot067" width="500" height="287" class="aligncenter size-full wp-image-534" /><br />
Lastly we need to release the contract otherwise it is of no use – you need to do this for the header and item level. Go to your contract header – status tab and change the status to Released. Do the same thing at the item level.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot069.jpg" alt="ScreenShot069" title="ScreenShot069" width="499" height="322" class="aligncenter size-full wp-image-535" /><br />
Save your contract – you&#8217;re done.</p>
<h3>Setting up a working layout</h3>
<p>This step is optional &#8211; it is just going to make you work easier. All the fields that will be populated via this process appear in transaction CRM_DNO_MONITOR in green.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot072.jpg" alt="ScreenShot072" title="ScreenShot072" width="500" height="267" class="aligncenter size-full wp-image-536" /><br />
To fully test your work, you will probably create multiple messages and quite possibly go into this transaction multiple times. As it can be a bit annoying to change the layout every time you use this transaction during the testing phase, I created a layout variant called GREEN_SCREEN that only shows the columns that could be populated via this SLA calculation process.<br />
So let’s go and try to create some service desk messages. I’ll create three messages with three different priorities to see how the dates are calculated.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot090.jpg" alt="ScreenShot090" title="ScreenShot090" width="500" height="500" class="aligncenter size-full wp-image-537" /><br />
If I now switch to Solution Manager and call up transaction CRM_DNO_MONITOR with my screen layout I get the following.<br />
You can see that system now calculates my initial response and completion dates/times based on my agreed SLA’s.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot092.jpg" alt="ScreenShot092" title="ScreenShot092" width="499" height="188" class="aligncenter size-full wp-image-538" /></p>
<p>So there you &#8211; more to follow soon.</p>
<p>Disclaimer &#8211; I make no guarantees nor do I take any responsibility for you replicating these actions in your system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2009/07/21/slas-made-easy-in-sap-solution-manager/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Building RIA&#8217;s using SAP, Flex and Php</title>
		<link>http://www.renet-web.net/2009/07/20/building-rias-using-sap-flex-and-php/</link>
		<comments>http://www.renet-web.net/2009/07/20/building-rias-using-sap-flex-and-php/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 12:00:39 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[FLEX]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[saprfc]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/?p=427</guid>
		<description><![CDATA[<a href="http://www.renet-web.net/wp-content/uploads/2009/07/RIASMALL.jpg"><img src="http://www.renet-weAccording to <a href="http://en.wikipedia.org/">Wikipedia</a>, "<a href="http://en.wikipedia.org/wiki/Rich_Internet_application">Rich Internet Applications</a> are web applications that have most of the characteristics of desktop applications, typically delivered by way of standards based web browser plug-ins or independently via sandboxes or virtual machines". ]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot028.jpg" alt="ScreenShot028" title="ScreenShot028" width="500" height="170" class="aligncenter size-full wp-image-475" /></p>
<p>According to <a href="http://en.wikipedia.org/">Wikipedia</a>, &#8220;<a href="http://en.wikipedia.org/wiki/Rich_Internet_application">Rich Internet Applications</a> are web applications that have most of the characteristics of desktop applications, typically delivered by way of standards based web browser plug-ins or independently via sandboxes or virtual machines&#8221;. I don&#8217;t think that this definition does do it any justice &#8211; I think that RIA&#8217;s are:</p>
<ul>
<li>Applications that offer a visually rich and engaging user interface</li>
<li>Applications that offer content richness and useful and diverse functionalities</li>
</ul>
<p>In other words it has to deliver functionality and it has to do so in an engaging UI &#8211; the argument being that such applications will deliver a greater employee productivity and/or customer loyalty. I would certainly vouch for that &#8211; go see <a href="https://create.ondemand.com/explorer">a demo</a> of <a href="http://www.sap.com/">SAP</a> <a href="http://www.sap.info/en/solutions/business_user_business_objects/neue_BI-Loesungen_en.html">Business Explorer </a>to see what I mean (you can even<br />
upload your own data and play around with that).</p>
<p>As a continuation to my <a href="http://www.renet-web.net/2006/05/22/re-writing-sap-with-php-part-15/">experiments</a> in marrying technologies such as <a href="http://www.php.net/">Php</a>, <a href="http://pear.php.net/">Pear</a> &#038; Ajax to query a <a href="http://www.sap.com/">SAP</a> database and expose the data to a user in a visually appealing form, it seemed only fitting that I would give this RIA thing a shot too. You only need to google terms such as &#8220;<a href="http://www.google.com.au/search?q=SAP+FLEX">SAP FLEX</a>&#8221; to see that there is<br />
a wealth of information out there on that topic showcasing these two platforms with plenty of whoa factor. Being from a logistics background I thought it would be appropriate to use logistics functions in my examples.</p>
<p>So in this post I&#8217;ll be looking at the following scenarios:</p>
<ul>
<li>A sales application using SAP, Flex and Php (http service call method)</li>
<li>A production order application using SAP, Flex and Php (http service call method)</li>
<li>A sample sales application using SAP and Flex (web service call method)</li>
</ul>
<p>The tools of choice for my experiments today are:</p>
<ul>
<li><a href="http://www.adobe.com/">Adobe</a> <a href="http://www.adobe.com/products/flex/">Flex</a> (which is built on top of <a href="http://www.eclipse.org/">Eclipse</a> &#8211; the same tool used to build the SAP Developer Studio). Adobe is very generously offering you the chance to download a try-before-you-buy fully functional demo version for 60 days (if you have already have Eclipse or SAP developer Studio you may elect to download the plug-in instead &#8211; although I have not tried that). </li>
<li><a href="http://www.easyphp.org/">Easyphp</a> which is a nice WAMP (Windows Apache Mysql Php) package that I have been using for years &#8211; php in version 5.2.8</li>
<li>The <a href="http://saprfc.sourceforge.net/">SAPrfc</a> extension module for Php</li>
<li>Of course SAP. The SAP backend system I&#8217;ll be using is a SAP ECC 6.0 system.</li>
</ul>
<p><span id="more-427"></span></p>
<p>In the first two scenarios, I&#8217;ll be using php as the go between Flex and SAP.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot0221.jpg" alt="ScreenShot022" title="ScreenShot022" width="500" height="274" class="aligncenter size-full wp-image-471" /><br />
Essentially the Flex application will call an http service that is a php script to which we&#8217;ll be posting some variables. Php will then wrap those variables in an RF call to the SAP backend system. Assuming all goes well, SAP will send a response that needs to be formatted in a xml like structure so that that it can be properly interpreted by the Flex application &#8211; again php will take care of that.</p>
<pre class="brush: php; title: ; notranslate">
echo &quot;&lt;CUSTRECS&gt;\n&quot;;
		for($i=1; $i&lt;=$ADDRESSDATA ; $i++){
			$DATA = saprfc_table_read ($fce,&quot;ADDRESSDATA&quot;,$i);
			echo &quot;&lt;CUSTREC&gt;\n&lt;CUSTNUMB&gt;&quot; . $DATA[&quot;CUSTOMER&quot;] . &quot;&lt;/CUSTNUMB&gt;\n&quot;;
			echo &quot;&lt;CUSTADR&gt;&quot; . $DATA[&quot;STREET&quot;] . &quot;&lt;/CUSTADR&gt;\n&quot;;
			echo &quot;&lt;CUSTCOUNT&gt;&quot; . $DATA[&quot;COUNTRY&quot;] . &quot;&lt;/CUSTCOUNT&gt;\n&quot;;
			echo &quot;&lt;CUSTCITY&gt;&quot; . $DATA[&quot;CITY&quot;] . &quot;&lt;/CUSTCITY&gt;\n&quot;;
			echo &quot;&lt;CUSTNAME&gt;&quot; . $DATA[&quot;NAME&quot;] . &quot;&lt;/CUSTNAME&gt;\n&lt;/CUSTREC&gt;\n&quot;;
		}
echo &quot;&lt;/CUSTRECS&gt;&quot;;
</pre>
<p>will yield an xml response to the Flex application as below,</p>
<pre class="brush: xml; title: ; notranslate">
&lt;CUSTRECS&gt;
	&lt;CUSTREC&gt;
		&lt;CUSTNUMB&gt;0000100000&lt;/CUSTNUMB&gt;
		&lt;CUSTADR&gt;800 Gardiner Street&lt;/CUSTADR&gt;
		&lt;CUSTCOUNT&gt;AU&lt;/CUSTCOUNT&gt;
		&lt;CUSTCITY&gt;Darwin&lt;/CUSTCITY&gt;
		&lt;CUSTNAME&gt;Customer domestic 00&lt;/CUSTNAME&gt;
	&lt;/CUSTREC&gt;
&lt;/CUSTRECS&gt;
</pre>
<p>and in the Flex script below, on lines 5 and 6, you can see how I&#8217;ll be retrieving the customer number (CUSTNUMB) and customer name (CUSTNAME) in my Flex datagrid.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;mx:DataGrid dataProvider=&quot;{srv3.lastResult.CUSTRECS.CUSTREC}&quot;
width=&quot;368&quot; height=&quot;119&quot; y=&quot;10&quot; x=&quot;10&quot; id=&quot;dg1&quot;
change=&quot;dgChangeHandler()&quot; dropShadowEnabled=&quot;true&quot;&gt;
	&lt;mx:columns&gt;
		&lt;mx:DataGridColumn dataField=&quot;CUSTNUMB&quot; headerText=&quot;Customer Number&quot;/&gt;
		&lt;mx:DataGridColumn dataField=&quot;CUSTNAME&quot; headerText=&quot;Customer Name&quot; textAlign=&quot;left&quot;/&gt;
	&lt;/mx:columns&gt;
&lt;/mx:DataGrid&gt;
</pre>
<p>So, without further adue, below are explanations and swf animations for each process.</p>
<h3>A simple sales order application</h3>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot023.jpg" alt="ScreenShot023" title="ScreenShot023" width="500" height="384" class="aligncenter size-full wp-image-472" /><br />
This application uses multiple http service calls and its key elements are:</p>
<ul>
<li>An http service calling BAPI_CUSTOMER_GETLIST is used to populate one datagrid</li>
<li>An http service calling BAPI_MATERIAL_GETLIST  is used to populate another datagrid. The product pictures are stored locally on the web server, and the picture filename corresponds to the material number in SAP (eg if the material is called Y126, we have a picture file called Y126.jpg)</li>
<li>The user will then pick the customer expected delivery date, the required quantity and indicate a selling price</li>
<li>The Order button will then post the data to another http service in order to create the sales order (by calling the FM CREATE_SD_ORDERDAT1) in SAP. If all goes well a response with the sales order number will be issued to the user.</li>
</ul>
<p>* Note that some values have been hard-coded in the php files (but they could just as well have come from posted variables). Also, the user will be required to type in his SAP credentials (the SAP server information has been hardcoded in the php file, but we are passing the SAP username and password to the script).</p>
<p>Here is a swf example of this application.<br />
<a href="http://www.renet-web.net/wp-content/uploads/2009/07/sales_demo.swf" lightbox.[width]="1131"  lightbox.height="743"  title="Give it time to load - Wait a few seconds" class="lightbox"><img src="http://www.renet-web.net/wp-content/uploads/2009/07/prodsales.jpg" width="500" height="236" /></a></p>
<h3>A simple production order application</h3>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot025.jpg" alt="ScreenShot025" title="ScreenShot025" width="500" height="269" class="aligncenter size-full wp-image-474" /><br />
This application uses multiple http service calls and its key elements are:</p>
<ul>
<li>There are two tabs in this application. One tab will show the data in a tabular form whilst the other tab is geared toward delivering the information graphically.</li>
<li>An initial http service calling BAPI_PRODORD_GET_LIST is used to populate a datagrid containing production order header details. The response provided by SAP is first interpreted and transformed into xml by Php.</li>
<li>The same http service above will not only deliver production order header data, but also aggregated data that will be used to drive some of the charts in the graphical dashboards. All this data is delivered in one xml formatted stream.</li>
<li>Whenever a line is selected in the production order header datagrid, it will trigger for another service call to be executed and this time call BAPI_PRODORD_GET_DETAIL in order to retrieve the production order component and operation details.</li>
</ul>
<p><img src="http://www.renet-web.net/wp-content/uploads/2009/07/ScreenShot024.jpg" alt="ScreenShot024" title="ScreenShot024" width="500" height="266" class="aligncenter size-full wp-image-473" /></p>
<p>Here is a swf example of this application.<br />
<a href="http://www.renet-web.net/wp-content/uploads/2009/07/prod_order_demo.swf" rev="width:1131, height:743"  rel="milkbox[gall3]" title="Give it time to load - Wait a few seconds" class="lightbox" ><img src="http://www.renet-web.net/wp-content/uploads/2009/07/prodsales.jpg" width="500" height="236" /></a></p>
<h3> A very simple production order header report</h3>
<p>In this last example, similar to the one above we will consume a web service calling BAPI_PRODORD_GET_LIST and populate the retrieved data in a Flex datagrid &#8211; nothing more here &#8211; if just to show another method to get the production order header information.</p>
<p>The corresponding Flex Project can be downloaded <a href="http://www.renet-web.net/mint/pepper/orderedlist/downloads/download.php?file=http://www.renet-web.net/wp-content/uploads/2009/07/SAP_BAPI_TST.zip">here</a>. Remember to change your server name and port before using it.</p>
<p>Here is a swf example of this application.<br />
<a href="http://www.renet-web.net/wp-content/uploads/2009/07/web_service.swf" rev="width:1131, height:743"  rel="milkbox[gall4]" title="Give it time to load - Wait a few seconds" class="lightbox" ><img src="http://www.renet-web.net/wp-content/uploads/2009/07/webserv.jpg" width="500" height="234" /></a></p>
<h3>Recommended readings</h3>
<p><a href="https://forums.sdn.sap.com:443/forum.jspa?forumID=272&#038;start=0"><br />
Rich Internet Application Development on SDN</a></br><br />
<a href="https://forums.sdn.sap.com:443/forum.jspa?forumID=124&#038;start=0">PHP Development on SDN</a></br><br />
<a href="https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7130">Engaging User Interfaces with Adobe Flex</a><br />
<a href="https://wiki.sdn.sap.com/wiki/display/EmTech/Consuming+ABAP+Web+Services+using+Flex">Consuming ABAP Web Services using Flex</a> a hands-on tutorial given by <a href="http://matthiaszeller.com/blog/">Matthias Zeller</a>, <a href="http://blog.ewherrmann.com/">Ed Herrmann</a>, and <a href="http://blog.danmcweeney.com/">Dan McWeeney</a> </p>
<p>I hope you find these examples interesting and if you do find them useful and if there is anything you&#8217;d like to share, then please do leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2009/07/20/building-rias-using-sap-flex-and-php/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>SAP Batch Determination made easy</title>
		<link>http://www.renet-web.net/2008/09/05/sap-batch-determination-made-easy/</link>
		<comments>http://www.renet-web.net/2008/09/05/sap-batch-determination-made-easy/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 05:47:29 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[SAP]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/?p=278</guid>
		<description><![CDATA[<p>[country-filter code="in"  display="0"] Recently a colleague encountered the following problem:</p>
<p>His customer tracks perishable products that are bought / inventory managed / sold using the SAP functionality Batch Management (LO-BM). The products have a shelf life and therefore a “Use&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>[country-filter code="in"  display="0"] Recently a colleague encountered the following problem:</p>
<p>His customer tracks perishable products that are bought / inventory managed / sold using the SAP functionality Batch Management (LO-BM). The products have a shelf life and therefore a “Use by/Expiration” date.  His problem was that he was able to correctly update the characteristic “Expiration date” of the batch, but was not able to select batches during the delivery stage, based on the “Expiration date” – i.e batches that were still fit for use. </p>
<p>So here is a tutorial on how to select batches during the delivery (but it could be applied to any batch search requirement) for which the shelf life has not expired. It has to be noted that SAP covers all kinds of scenario. </p>
<p>-	It might be company practice to ship out the door products with a minimum shelf life of X days<br />
-	It might be that a specific customer requires a product with a different, longer minimum remaining shelf life<br />
-	It might also be that products that are shipped to a specific country require a yet again different minimum shelf life</p>
<p>It might be that you require all three or a logical combination of all three. SAP will easily cover all those requirements and more.</p>
<p>This tutorial only covers the batch determination process in SD, but once you get the jist of it you should be able to apply this to any other module where that function is covered. I also assume that you have set up your system in such way that you are able to have products batch managed.</p>
<h3>Step 1 – Standard SAP characteristics you will import</h3>
<p>The first thing you need to do is to check that your SAP client has all the required SAP standard  characteristics. To do this go to transaction CT04 and query your system to find all characteristics that are called LOBM*. </p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot005.jpg" alt="" title="screenshot - LOBM search" width="500" height="241" class="alignnone size-full wp-image-281" /><br />
<span id="more-278"></span><br />
If a list of values such as the one below is returned then it means that you are all set to go to Step 2 &#8211; Create and assign Batch class to products. </p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot006.jpg" alt="" title="LOBM standard chars" class="alignnone size-full wp-image-284" /></p>
<p>If not it means that you need to copy them from client 000. To do that go  to customizing and follow the path indicated:    Customizing / Logistics – General / Batch Management / Batch Valuation / Updates Standard Characteristics (or transaction BMSM)</p>
<p>The following messages will be displayed if everything goes well.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot001.jpg" alt="" title="P1 std chars" class="alignnone size-full wp-image-286" /></p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot002.jpg" alt="" title="P2 std chars" class="alignnone size-full wp-image-287" /></p>
<p>Once that is done you might want to go back to transaction CT04 and query for characteristics called LOBM*.</p>
<p>Why do I need to do that do you ask? Well for one thing all the work is done for you. Secondly and more importantly the standard SAP functions that will enable us to dynamically calculate the &#8220;Expiration date&#8221; based on minimum remaining shelf life, makes use of these standard characteristics – they are hard coded in the ABAP functions.</p>
<p>Moving on to step 2 and getting your basic data right.</p>
<h3>Step 2 – Create and assign Batch class to products you will do</h3>
<p>In our case we have one product, to which we have assigned one class (of technical type 023 – batches). This class has been conveniently called “EXPIRATION” and contains only one characteristic. That characteristic is one of the standard SAP ones called &#8220;LOBM_VFDAT &#8211; Expiration date, shelf life&#8221;. The system has been set up in such a way that when ever I do a goods receipt on this product, SAP will ask me to input the production date and then based on the shelf life of the product, automatically calculate the expiration date of my batch. </p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot007.jpg" alt="" title="GR 1" width="500" height="228" class="alignnone size-full wp-image-289" /></p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot009.jpg" alt="" title="GR2" width="500" height="368" class="alignnone size-full wp-image-290" /></p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot008.jpg" alt="" title="GR3" width="500" height="212" class="alignnone size-full wp-image-291" /></p>
<p>This will update a standard SAP table field (MCHA-VFDAT / MCH1-VFDAT – depending on the validity of your batch across plants). This will in turn update the value of the characteristics LOBM-VFDAT within the batch . </p>
<p>So if we look at the shelf life list report (transaction MB5M) we see that this information concurs with that contained in the classification of our batches.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot010.jpg" alt="" title="Mb5M" width="500" height="288" class="alignnone size-full wp-image-293" /></p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot004.jpg" alt="" title="batch" width="395" height="119" class="alignnone size-full wp-image-294" /></p>
<h3>Step 3 – Create a Batch search class you will do</h3>
<p>This is a class that will be used to search and find applicable batches during batch determination. It is not directly assigned to the product – it will be assigned to the batch search strategy of the product. </p>
<p>The question is, what characteristics should we put in this class?</p>
<p>If we go back to basics, what we will want to do, is find batches that have a remaining shelf life of X days. If we view this requirement in a different way, we can say that we will want to find batches that have an expiry date that is equal or greater to &#8220;delivery date + X days&#8221; .  My class will therefore use the following characteristics:<br />
-	LOBM-VFDAT : The expiration date of the batch – that value SAP will calculate.<br />
-	LOBM-LFDAT : The delivery date – that value will be automatically updated by SAP with the delivery date from the delivery</p>
<p>All we need is a characteristic where we will be able to input the value corresponding to X (minimum remaining shelf life required). Again, we do not need to do anything, SAP provides the characteristic &#8220;LOBM_RLZ &#8211; Remaining Shelf Life for Batch&#8221;, to do just that. We therefore have a class (also of technical type 023 – batches) that looks like this.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot011.jpg" alt="" title="batch search" class="alignnone size-full wp-image-296" /></p>
<h3>Step 4 – Create a sort rule you will do</h3>
<p>It’s all good to build a batch search class to find batches, but assuming SAP finds numerous batches, how should they be sorted (i.e which should be the first one used?) ? By batch number? Of course not, we want to sort batches based on the expiration date in ascending order (the batches with the date closest to the present should be the first to go).</p>
<p>To do this, call transaction CU70.</p>
<p>Give your sort sequence a name and in the following screen, give it a description as well. </p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot012.jpg" alt="" title="sortkey" class="alignnone size-full wp-image-298" /></p>
<p>Then click on the characteristics button and assign the characteristic LOBM-VFDAT to it. Also select/amend the sort order that you want.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot013.jpg" alt="" title="sortkey" class="alignnone size-full wp-image-299" /></p>
<p>Save your sort key.</p>
<h3>Step 5 – Create a batch search strategy you will do</h3>
<p>We want to create a search strategy during delivery processing, i.e in SD – Sales and distribution. So call transaction VCH1 – to create it. We’ll create a strategy determined based on the customer and the material (standard strategy type SD01 caters for that).</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot014.jpg" alt="" title="sd01" class="alignnone size-full wp-image-300" /></p>
<p>Enter your customer and product (amend the strategy as required). </p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot015.jpg" alt="" title="searchstrat" class="alignnone size-full wp-image-301" /></p>
<p>Click on the “selection Criteria” button to assign the search class. In this case we indicated our search class, which copied across the characteristics associated with it.<br />
We also indicate the value &#8220;>=30&#8243; in the characteristic &#8220;Remaining Shelf Life for Batch&#8221; – this means that we will only want to select batches that have an expiration date that is greater or equal to delivery date + 30 days.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot018.jpg" alt="" title="searchcke" class="alignnone size-full wp-image-303" /></p>
<p>Now go back to the previous screen and now click on the “sort” button. There you will assign the sort rule you created in the previous step.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot017.jpg" alt="" title="assisirt" class="alignnone size-full wp-image-304" /></p>
<p>Save your work.</p>
<h3>Step 6 – Putting it into practice &#8211; the fruit of your efforts you will see</h3>
<p>Now that we have created all the required basic data, let’s see how it all hangs together.</p>
<p>We have a sales order for which we create a delivery – batch search will be triggered manually to better follow the process.<br />
In the delivery, we go to the batch determination screen and we see that the system has automatically searched, found and proposed batches that have a remaining shelf life that is greater or equal to 30 days only and it has sorted them according to expiration date – just what we wanted. </p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot022.jpg" alt="" title="3batches" class="alignnone size-full wp-image-305" /></p>
<p>The system here proposes 3 batches (yet remember that above, it did indicate that we had  5 batches in the system).  To get a better idea of what parameters were calculated/used to determine those three batches, click on the  “selection criteria button”.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot019.jpg" alt="" title="params" class="alignnone size-full wp-image-307" /></p>
<p>We see the >=30 that we typed in the batch search strategy. We also see that the system took the delivery date “08.09.2008” added 30 days to it and determined that the batch it was going to search for had to have an expiration date greater or equal to 08.10.2008.</p>
<p>We can also change the search parameters here (this is customizable). We’ll change the value of 30 to 4 right there in the batch determination.</p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot020.jpg" alt="" title="changestrat" class="alignnone size-full wp-image-308" /></p>
<p><img src="http://www.renet-web.net/wp-content/uploads/2008/09/screenshot021.jpg" alt="" title="more batches" class="alignnone size-full wp-image-309" /></p>
<p>This shows even more batches  &#8211; logical as we have indicated that batches should only have a remaining shelf life of 4 days or more.<br />
[/country-filter]</p>
<p>[country-filter code="in"  display="1"]<br />
This content is not available on your region.<br />
[/country-filter]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2008/09/05/sap-batch-determination-made-easy/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Integration du processus Achat d&#8217;immobilisations et creation d&#8217;equipements</title>
		<link>http://www.renet-web.net/2007/06/13/integration-du-processus-achat-dimmobilisations-et-creation-dequipements/</link>
		<comments>http://www.renet-web.net/2007/06/13/integration-du-processus-achat-dimmobilisations-et-creation-dequipements/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 01:41:01 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[SAP]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/2007/06/13/integration-du-processus-achat-dimmobilisations-et-creation-dequipements/</guid>
		<description><![CDATA[<p>Je suis toujours surpris de voir que bien des clients ne savent pas qu’il est dans <a href="http://www.sap.com/">SAP</a>, possible d’optimiser le processus d’achats d’equipements qui doivent par la suite etre immobilises. En general ce processus releve de la responsabilite de&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Je suis toujours surpris de voir que bien des clients ne savent pas qu’il est dans <a href="http://www.sap.com/">SAP</a>, possible d’optimiser le processus d’achats d’equipements qui doivent par la suite etre immobilises. En general ce processus releve de la responsabilite de plusieurs services au sein d’un societe. Dans sa forme la plus complexe on peut imaginer le service Comptabilite qui va créer la fiche immobilisation, le service Achats qui va creer la commande d’achats, le magasin qui va realiser l’entree de marchandise et quelque part dans tout cela, le service Maintenance qui va s’occuper de la gestion et mise en service de l’equipement – et je ne parle meme pas de la communication necessaire entre tous ces interlocuteurs pour mener ce<span id="more-201"></span> processus a bien.Ce billet ne vise pas a eliminer toutes ces etapes car elles seront toujours obligatoires, mais plutot a suggerer une possibilite d’optimiser la facon de proceder – le but etant de reduire le temps necessaire, le nombre d’interlocuteurs et le nombre de transactions. Etant donne qu’il s’agit aussi de ceder une part de responsabilite a un collegue, des discussions et decisions doivent etre prises et acceptees par tous les interlocuteurs concernes.Il est en effet possible d’encapsuler la creation de la fiche immobilisation, de l’equipement et la commande d’achats en une seule transaction. Tout commence par la creation de la commande d’achats. Point important de cette etape est qu’il est neccessaire d’indiquer le type d’imputation adequat – en l’occurrence ‘immobilisation’.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2007/06/screenshot1597.jpg" alt="commande HA poste" /><br />
Apres avoir indique le reste des donnees du poste a acheter, allez dans l’onglet des donnees d’imputation. Ici, plutot que d’indiquer une immobilisation existante, nous allons la créer dans la commande d’achats. Pour cela il suffit de cliquer sur le bouton de creation (‘Asset’ dans mon example).<br />
<img src="http://www.renet-web.net/wp-content/uploads/2007/06/screenshot1598.jpg" alt="imputation immo poste" /><br />
Cela ouvre la possibilite de renseigner les donnees propres a l’immobilisation (type d’immobilisation, centre de couts, etc…).<!--more--><br />
<img src="http://www.renet-web.net/wp-content/uploads/2007/06/screenshot1599.jpg" alt="donnes immo" /><br />
Il est aussi possible de naviguer jusque dans la fiche immobilisation en cours de creation.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2007/06/screenshot1600.jpg" alt="navigation immo" /><br />
Lorsque vous avez renseignez toutes les donnees necessaires vous pouvez sauvegardez votre commande d’achats.<br />
<img src="http://www.renet-web.net/wp-content/uploads/2007/06/screenshot1602.jpg" alt="imputation immo poste" /><br />
Resultat, dans la meme transaction, nous avons creer une commande d’achats, une immobilisation ainsi que le fiche equipement correspondante.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2007/06/13/integration-du-processus-achat-dimmobilisations-et-creation-dequipements/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Re-writing SAP with PHP (part 1.5)</title>
		<link>http://www.renet-web.net/2006/05/22/re-writing-sap-with-php-part-15/</link>
		<comments>http://www.renet-web.net/2006/05/22/re-writing-sap-with-php-part-15/#comments</comments>
		<pubDate>Mon, 22 May 2006 11:29:33 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[SAP]]></category>

		<guid isPermaLink="false">http://www.renet-web.net/2006/05/22/re-writing-sap-with-php-part-15/</guid>
		<description><![CDATA[<p> If things always went to plan, I guess I would now be writing part 2 and not 1.5! The truth is, I&#8217;ve had so many ideas lately that I just had to test them out and so this is&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p> If things always went to plan, I guess I would now be writing part 2 and not 1.5! The truth is, I&#8217;ve had so many ideas lately that I just had to test them out and so this is how 1.5 came to be. In this post I&#8217;m going to show you how I used PHP/SAP/PEAR/AJAX together to come up with I&#8217;m sure you&#8217;ll agree, a pretty cool result.</p>
<p>To set the scene this is what will be shown:</p>
<ul>
<li>We will first call a <a href="http://www.php.net/">PHP</a> script that uses BAPI <strong>BAPI_PRODORD_GET_LIST</strong> to retrieve a list of <a href="http://www.sap.com/">SAP</a> production orders.</li>
<li>As time goes by the amount of production orders that live in a system can be quite staggering and I didn&#8217;t want to bombard the user with thousands of production orders in one go. To solve that problem I&#8217;m using <a href="http://pear.php.net/">PEAR</a>, to be more specific I&#8217;m using the <a href="http://pear.php.net/package/Structures_DataGrid">Structures_DataGrid</a> package to setup the paged navigation and render the data in html format (I highly recommend this package as it takes care of everything for you and you can even style the output as you want it)</li>
<li>Once we have the data output (a list of production orders) we will then want to see a bit more detail for a chosen production order. This is where AJAX comes in. We will make an asynchronous call to another <a href="http://www.php.net/">PHP</a> script that calls the BAPI <strong>BAPI_PRODORD_GET_DETAIL</strong>.</li>
<li>The result of that AJAX call, is that the current page (or part of it) will be refreshed with new content. The content will be detailed production order information.</li>
</ul>
<p>If you can&#8217;t wait to read this post to the end, I&#8217;ve recorded a small flash animation that demonstrates exactly what I have outlined above. The animation can be viewed <a href="http://www.renet-web.net/wp-content/iimages/SAPRFCPART15/orderdetail.htm">here</a> (Give the file time to load as it makes approx 4.8Mb).<span id="more-154"></span></p>
<p>So we start out with a list of orders:</p>
<p><img src="/wp-content/iimages/SAPRFCPART15/listoforders.jpg" width="500" height="245" alt="listorders" title="listorders" /></p>
<p>Clicking on the detail icon will reveal detailed data about the production order:</p>
<p><img src="/wp-content/iimages/SAPRFCPART15/orderdetail.jpg" width="500" height="519" alt="detail" title="detail" /></p>
<p>Finally we&#8217;ve added an image which shows an overlay of:</p>
<ul>
<li>The list of orders</li>
<li>The order detail showing the operations and the components of the order</li>
<li>A screenshot of the operations (in SAP)</li>
<li>A screenshot of the components (in SAP)</li>
</ul>
<p><img src="/wp-content/iimages/SAPRFCPART15/collage.jpg" width="500" height="523" alt="collage" title="collage" /></p>
<p>What? No code? do I hear you say. Well as there are very rarely comments made on the code, I&#8217;m not going to bother including any in this post &#8211; it&#8217;s up to you to change that&#8230;.</p>
<p>As usual these tests have been made using an <a href="http://www.hp.com/">HP</a> (Compaq <a href="http://h30143.www3.hp.com/configure2.cfm?sid=18508&#038;jumpid=reg_R1002_USEN">nc6220</a>) laptop running on <a href="http://www.microsoft.com/windowsxp/pro/default.mspx">MS Windows XP Pro</a>, the <a href="http://httpd.apache.org/">Apache</a> server version 1.3.33 and the <a href="http://www.php.net/">PHP</a> scripting engine in version 4.3.10 and of course the <a href="http://saprfc.sourceforge.net/">SAPRfc</a> library (the Apache/PHP install was that installed via the <a href="http://www.easyphp.org/">EasyPhp</a> package). <a href="http://www.sap.com/">SAP</a> side I was using SAP ERP ECC (ERP Central Component) 5.0. I also used the <a href="http://script.aculo.us/">script.aculo.us</a> javascript libraries. You can download them <a href="http://script.aculo.us/downloads">here</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2006/05/22/re-writing-sap-with-php-part-15/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

