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

<channel>
	<title>renet@web</title>
	<atom:link href="http://www.renet-web.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.renet-web.net</link>
	<description>Just not another WordPress weblog</description>
	<lastBuildDate>Wed, 24 Feb 2010 08:36:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>En route pour devenir &#8220;Aussie&#8221;</title>
		<link>http://www.renet-web.net/2009/09/01/en-route-pour-devenir-aussie/</link>
		<comments>http://www.renet-web.net/2009/09/01/en-route-pour-devenir-aussie/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 08:33:06 +0000</pubDate>
		<dc:creator>renet@web</dc:creator>
		
	<dc:subject>oz life</dc:subject>
		<guid isPermaLink="false">http://www.renet-web.net/?p=640</guid>
		<description><![CDATA[C&#8217;est aujourd&#8217;hui que Madame et moi avons passe le test de &#8220;citizenship&#8221; &#8211; derniere ligne droite avant de faire notre demande pour devenir des Aussies &#8211; citoyens de ce pays &#8211; l&#8217;Australie. Le test n&#8217;est pas particulierement difficile et il suffit de repondre correctement a 60% des 20 questions (QCM) pour obtenir un &#8220;pass&#8221;. J&#8217;ai [...]]]></description>
			<content:encoded><![CDATA[<p>C&#8217;est aujourd&#8217;hui que <a href="http://6feetdownunder.com/">Madame</a> et moi avons passe le test de &#8220;<a href="http://www.citizenship.gov.au/">citizenship</a>&#8221; &#8211; derniere ligne droite avant de faire notre demande pour devenir des <a href="http://en.wikipedia.org/wiki/Aussie">Aussies</a> &#8211; citoyens de ce pays &#8211; l&#8217;Australie. Le test n&#8217;est pas particulierement difficile et il suffit de repondre correctement a 60% des 20 questions (QCM) pour obtenir un &#8220;pass&#8221;. J&#8217;ai eu 100%&#8230;ainsi qu&#8217;<a href="http://6feetdownunder.com/">Isabelle</a>.</br><br />
<img src="http://www.renet-web.net/wp-content/uploads/2009/09/citizenship.jpg" alt="citizenship" title="citizenship" width="500" height="437" class="aligncenter size-full wp-image-639" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2009/09/01/en-route-pour-devenir-aussie/feed/</wfw:commentRss>
		<slash:comments>6</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>renet@web</dc:creator>
		
	<dc:subject>SAP</dc:subject>
		<guid isPermaLink="false">http://www.renet-web.net/?p=606</guid>
		<description><![CDATA[You only need to go through the forums on SDN to realise that there are people out there that actually write programs or develop LSMW’s to upload Planned Independent Requirements (PIR) into SAP. Whilst I am sure that there are many valid reasons for wanting to develop your own upload programs, it is a shame [...]]]></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>2</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>renet@web</dc:creator>
		
	<dc:subject>SAP</dc:subject>
		<guid isPermaLink="false">http://www.renet-web.net/?p=593</guid>
		<description><![CDATA[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.
If you are using the Service Desk functionality of Solution Manager, you may know that it is possible to create support requests right from your satelite SAP system. This is a really [...]]]></description>
			<content:encoded><![CDATA[<p>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. 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 />
<span id="more-593"></span><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>1</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>renet@web</dc:creator>
		
	<dc:subject>SAP</dc:subject>
		<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 SAP Solution Manager, but it could also be applied to SAP CRM.
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 [...]]]></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>0</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>renet@web</dc:creator>
		
	<dc:subject>SAP</dc:subject>
		<guid isPermaLink="false">http://www.renet-web.net/?p=503</guid>
		<description><![CDATA[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 SAP customers. Whilst some of the concepts explained here might be of use to a CRM consultant, they are first and foremost destined for Solution Manager consultants setting up their [...]]]></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>5</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>renet@web</dc:creator>
		
	<dc:subject>PHP</dc:subject>
	<dc:subject>SAP</dc:subject>
		<guid isPermaLink="false">http://www.renet-web.net/?p=427</guid>
		<description><![CDATA[
According to Wikipedia, &#8220;Rich Internet Applications 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:

Applications that offer a [...]]]></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>
<p>[code lang="php"]<br />
echo "<CUSTRECS>\n";<br />
		for($i=1; $i<=$ADDRESSDATA ; $i++){<br />
			$DATA = saprfc_table_read ($fce,"ADDRESSDATA",$i);<br />
			echo "<CUSTREC>\n<CUSTNUMB>" . $DATA["CUSTOMER"] . "</CUSTNUMB>\n";<br />
			echo "<CUSTADR>" . $DATA["STREET"] . "</CUSTADR>\n";<br />
			echo "<CUSTCOUNT>" . $DATA["COUNTRY"] . "</CUSTCOUNT>\n";<br />
			echo "<CUSTCITY>" . $DATA["CITY"] . "</CUSTCITY>\n";<br />
			echo "<CUSTNAME>" . $DATA["NAME"] . "</CUSTNAME>\n</CUSTREC>\n";<br />
		}<br />
echo "</CUSTRECS>";<br />
[/code]	</p>
<p>will yield an xml response to the Flex application as below,</p>
<p>[code lang="xml"]<br />
<CUSTRECS><br />
	<CUSTREC><br />
		<CUSTNUMB>0000100000</CUSTNUMB><br />
		<CUSTADR>800 Gardiner Street</CUSTADR><br />
		<CUSTCOUNT>AU</CUSTCOUNT><br />
		<CUSTCITY>Darwin</CUSTCITY><br />
		<CUSTNAME>Customer domestic 00</CUSTNAME><br />
	</CUSTREC><br />
</CUSTRECS><br />
[/code]</p>
<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>
<p>[code lang="xml"]<br />
<mx:DataGrid dataProvider="{srv3.lastResult.CUSTRECS.CUSTREC}"<br />
width="368" height="119" y="10" x="10" id="dg1"<br />
change="dgChangeHandler()" dropShadowEnabled="true"><br />
	<mx:columns><br />
		<mx:DataGridColumn dataField="CUSTNUMB" headerText="Customer Number"/><br />
		<mx:DataGridColumn dataField="CUSTNAME" headerText="Customer Name" textAlign="left"/><br />
	</mx:columns><br />
</mx:DataGrid><br />
[/code]</p>
<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" rev="width:1131, height:743"  rel="milkbox[gall2]" title="Give it time to load - Wait a few seconds"><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"><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"><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>6</slash:comments>
		</item>
		<item>
		<title>Long weekend a Brisbane</title>
		<link>http://www.renet-web.net/2009/06/10/long-weekend-a-brisbane/</link>
		<comments>http://www.renet-web.net/2009/06/10/long-weekend-a-brisbane/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 12:29:20 +0000</pubDate>
		<dc:creator>renet@web</dc:creator>
		
	<dc:subject>Travels</dc:subject>
	<dc:subject>oz life</dc:subject>
		<guid isPermaLink="false">http://www.renet-web.net/?p=350</guid>
		<description><![CDATA[En honneur de l&#8217;anniversaire de la Queen, le weekend passe fut un long weekend de 3 jours. Encore une fois c&#8217;est chez Young et Steph (et Pauline) que nous avons squatte. Voici quelques photos &#8211; pas terrible &#8211; faute d&#8217;avoir pris un appareil potable avec moi.

]]></description>
			<content:encoded><![CDATA[<p>En honneur de l&#8217;anniversaire de la Queen, le weekend passe fut un long weekend de 3 jours. Encore une fois c&#8217;est chez <a href="http://dungmsteph.blogspot.com/">Young et Steph</a> (et Pauline) que nous avons squatte. Voici quelques photos &#8211; pas terrible &#8211; faute d&#8217;avoir pris un appareil potable avec moi.</p>
<p><object width="500" height="580" align="middle"><param name="FlashVars" VALUE="ids=72157619542621948&#038;names=Brisbane 062009&#038;userName=douroudou&#038;userId=39636569@N00&#038;titles=on&#038;source=sets"></param><param name="PictoBrowser" value="http://www.db798.com/pictobrowser.swf"></param><param name="scale" value="noscale"></param><param name="bgcolor" value="#ffffff"></param><param name="wmode" value="transparent"></param><embed src="http://www.db798.com/pictobrowser.swf" FlashVars="ids=72157619542621948&#038;names=Brisbane 062009&#038;userName=douroudou&#038;userId=39636569@N00&#038;titles=on&#038;source=sets" loop="false" scale="noscale" bgcolor="#ffffff" width="500" height="580" name="PictoBrowser" align="middle" wmode="transparent"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2009/06/10/long-weekend-a-brisbane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Petit break a Phillip Island</title>
		<link>http://www.renet-web.net/2009/04/16/petit-break-a-phillip-island/</link>
		<comments>http://www.renet-web.net/2009/04/16/petit-break-a-phillip-island/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 10:40:33 +0000</pubDate>
		<dc:creator>renet@web</dc:creator>
		
	<dc:subject>Etienne</dc:subject>
	<dc:subject>Travels</dc:subject>
	<dc:subject>oz life</dc:subject>
		<guid isPermaLink="false">http://www.renet-web.net/?p=331</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.renet-web.net/wp-content/uploads/2009/04/phillip-island.jpg" alt="phillip-island" title="phillip-island" width="500" height="278" class="alignnone size-full wp-image-334" /></p>
<p><object width="500" height="580" align="middle"><param name="FlashVars" VALUE="ids=72157616761649443&#038;names=Phillip Island&#038;userName=douroudou&#038;userId=39636569@N00&#038;titles=on&#038;source=sets"></param><param name="PictoBrowser" value="http://www.db798.com/pictobrowser.swf"></param><param name="scale" value="noscale"></param><param name="bgcolor" value="#ffffff"></param><param name="wmode" value="transparent"></param><embed src="http://www.db798.com/pictobrowser.swf" FlashVars="ids=72157616761649443&#038;names=Phillip Island&#038;userName=douroudou&#038;userId=39636569@N00&#038;titles=on&#038;source=sets" loop="false" scale="noscale" bgcolor="#ffffff" width="500" height="580" name="PictoBrowser" align="middle" wmode="transparent"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2009/04/16/petit-break-a-phillip-island/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Noel avec Young et Stephanie</title>
		<link>http://www.renet-web.net/2008/12/29/noel-avec-young-et-stephanie/</link>
		<comments>http://www.renet-web.net/2008/12/29/noel-avec-young-et-stephanie/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 23:00:05 +0000</pubDate>
		<dc:creator>renet@web</dc:creator>
		
	<dc:subject>Precious</dc:subject>
	<dc:subject>oz life</dc:subject>
		<guid isPermaLink="false">http://www.renet-web.net/?p=325</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object width="500" height="580" align="middle"><param name="FlashVars" VALUE="ids=72157611749876827&#038;names=Visite Young &#038; Steph&#038;userName=renet@web&#038;userId=39636569@N00&#038;titles=on&#038;source=sets"></param><param name="PictoBrowser" value="http://www.db798.com/pictobrowser.swf"></param><param name="scale" value="noscale"></param><param name="bgcolor" value="#ffffff"></param><param name="wmode" value="transparent"></param><embed src="http://www.db798.com/pictobrowser.swf" FlashVars="ids=72157611749876827&#038;names=Visite Young &#038; Steph&#038;userName=renet@web&#038;userId=39636569@N00&#038;titles=on&#038;source=sets" loop="false" scale="noscale" bgcolor="#ffffff" width="500" height="580" name="PictoBrowser" align="middle" wmode="transparent"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2008/12/29/noel-avec-young-et-stephanie/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Maurice 2008</title>
		<link>http://www.renet-web.net/2008/10/21/maurice-2008/</link>
		<comments>http://www.renet-web.net/2008/10/21/maurice-2008/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 09:02:25 +0000</pubDate>
		<dc:creator>renet@web</dc:creator>
		
	<dc:subject>Etienne</dc:subject>
	<dc:subject>Precious</dc:subject>
	<dc:subject>Travels</dc:subject>
		<guid isPermaLink="false">http://www.renet-web.net/?p=320</guid>
		<description><![CDATA[Sans plus attendre, quelques photos de Maurice.

]]></description>
			<content:encoded><![CDATA[<p>Sans plus attendre, quelques photos de Maurice.</p>
<p><object width="500" height="580" align="middle"><param name="FlashVars" VALUE="ids=72157608227335418&#038;names=Maurice 2008&#038;userName=renet@web&#038;userId=39636569@N00&#038;titles=on&#038;source=sets"></param><param name="PictoBrowser" value="http://www.db798.com/pictobrowser.swf"></param><param name="scale" value="noscale"></param><param name="bgcolor" value="#ffffff"></param><param name="wmode" value="transparent"></param><embed src="http://www.db798.com/pictobrowser.swf" FlashVars="ids=72157608227335418&#038;names=Maurice 2008&#038;userName=renet@web&#038;userId=39636569@N00&#038;titles=on&#038;source=sets" loop="false" scale="noscale" bgcolor="#ffffff" width="500" height="580" name="PictoBrowser" align="middle" wmode="transparent"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.renet-web.net/2008/10/21/maurice-2008/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
