<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Techskills</title>
	
	<link>http://blogs.moovar.com/sap</link>
	<description />
	<pubDate>Tue, 07 Jul 2009 13:58:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Moovar-Techskills" type="application/rss+xml" /><feedburner:emailServiceId>Moovar-Techskills</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Learn SAP — Parallel Processing in ABAP programing</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/zZP2G2ndRE4/</link>
		<comments>http://blogs.moovar.com/sap/learn-sap-parallel-processing-in-abap-programing/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 03:36:26 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[Learn SAP]]></category>

		<category><![CDATA[SAP]]></category>

		<category><![CDATA[Function Moudle starting new task]]></category>

		<category><![CDATA[parallel processing]]></category>

		<category><![CDATA[Parallel processing New Task]]></category>

		<category><![CDATA[SAP Function Module Call New Task]]></category>

		<category><![CDATA[SAP Multi threading]]></category>

		<category><![CDATA[SAP Parallel Processing]]></category>

		<category><![CDATA[SAP starting new task]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=494</guid>
		<description><![CDATA[In this post let us see how we can write a parallel processing report. I explained here and the code is at end of the post.
 The usual way of programming is serial processing. The program executes one line at a time and if you call a function that will wait until the control returns from [...]]]></description>
			<content:encoded><![CDATA[<p>In this post let us see how we can write a parallel processing report. I explained here and the code is at end of the post.</p>
<p> The usual way of programming is serial processing. The program executes one line at a time and if you call a function that will wait until the control returns from the function and executes the rest of the code. In some case you might be calling the same function again and again for different set of master data. You know that there wont be any conflict between the data and you would like to execute the same function multiple times with different set of data. We need to do this in parallel processing this way the process will be completed much faster with multiple processes in different servers. Let us see how we can achieve this with an example.</p>
<p><span id="more-494"></span></p>
<p> Let us assume that we have 1 million BP and we need to check some condition and set a value Y or N according to that condition and this code is in a Z function which get input of 1000 BP at a time. Let write a program which can execute the same function multiple time until the process is ready.</p>
<p>I created a report in SE38 with name as  Z_TEST_PARALLEL .</p>
<p> First we need to get the number of max resources available and number of resources free using the following sap standard function. Only initialize only once and next times use the SPBT_GET_CURR_RESOURCE_INFO function to get the available resources.<br />
   SAP Function &#8216;SPBT_INITIALIZE&#8217;</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2944144309223940";
/* 728x90, created 5/31/08 */
google_ad_slot = "4571329625";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>    This will give you the information that we need to do the parallel processing. Now loop thru the data and gather the information that you want to process let us say like 1000 bp at a time and execute the z function with 1000 bp at a time. once you reached the max number of resource you need to wait until some resource is available and if the resource is available then continue and wait until all the process is completed. <br />
You have to call the function not using the regular call but using the new task call. See the following<br />
CALL FUNCTION &#8216;Z***(your function name)&#8217;<br />
      STARTING NEW TASK taskname<br />
      DESTINATION IN GROUP srv_grp<br />
      PERFORMING return_back_this_task<br />
      ON END OF TASK<br />
      EXPORTING<br />
        &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
      TABLES<br />
        &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
      EXCEPTIONS<br />
        resource_failure      = 1<br />
        system_failure        = 2<br />
        communication_failure = 3<br />
        OTHERS                = 4.<br />
 </p>
<p>                                    The above function is called in the new task which process in a separate session. You call the above function multiple times with 1000 records at a time and wait for the process to be completed. On each task is completed the return_back_this_task perform is executed and the result will be received from that task. Once all the results are collected the process will be completed and the control will return back to the main program. See the following sample code for parallel processing.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2944144309223940";
/* 728x90, created 5/31/08 */
google_ad_slot = "4571329625";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>

<p><a href="http://feedads.g.doubleclick.net/~a/LGYTyTzilVzmMR2EHURtVBuTE4o/0/da"><img src="http://feedads.g.doubleclick.net/~a/LGYTyTzilVzmMR2EHURtVBuTE4o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/LGYTyTzilVzmMR2EHURtVBuTE4o/1/da"><img src="http://feedads.g.doubleclick.net/~a/LGYTyTzilVzmMR2EHURtVBuTE4o/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/zZP2G2ndRE4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/learn-sap-parallel-processing-in-abap-programing/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/learn-sap-parallel-processing-in-abap-programing/</feedburner:origLink></item>
		<item>
		<title>SAP CRM — WEB IC Search view and Result view Navigation</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/d0kgkjo46PQ/</link>
		<comments>http://blogs.moovar.com/sap/sap-crm-web-ic-search-view-and-result-view-navigation/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 01:41:56 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[Learn SAP]]></category>

		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP CRM]]></category>

		<category><![CDATA[WEB-IC]]></category>

		<category><![CDATA[CRM Search Navigation]]></category>

		<category><![CDATA[CRM Search View]]></category>

		<category><![CDATA[SAP CRM BOL]]></category>

		<category><![CDATA[SAP CRM VIEW]]></category>

		<category><![CDATA[SAP CRM WEB-IC]]></category>

		<category><![CDATA[WEB-IC Component]]></category>

		<category><![CDATA[Web-ic Component Navigation]]></category>

		<category><![CDATA[web-ic view navigation]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=533</guid>
		<description><![CDATA[Let us see how we can navigate between search and result view.
To learn how to create search and result view Click Here.
Once you know created the search and result view now we need to create a search button. I added the following code in the srviewset.htm.

 &#60;%@page language=&#8221;abap&#8221; %&#62;
&#60;%@extension name=&#8221;htmlb&#8221; prefix=&#8221;htmlb&#8221; %&#62;
&#60;%@extension name=&#8221;xhtmlb&#8221; prefix=&#8221;xhtmlb&#8221; %&#62;
&#60;%@extension name=&#8221;thtmlb&#8221; prefix=&#8221;thtmlb&#8221; %&#62;
&#60;%@extension name=&#8221;crm_bsp_ic&#8221; prefix=&#8221;crmic&#8221; %&#62;
&#60;%@extension name=&#8221;bsp&#8221; prefix=&#8221;bsp&#8221; %&#62;
&#60;%@extension name=&#8221;chtmlb&#8221; prefix=&#8221;chtmlb&#8221; %&#62;
&#60;%
***  Determine if search is to be collapsed
DATA lv_show_fields TYPE string.
&#8220;  lv_show_fields = &#8217;X&#8217;.
&#8220;  IF lv_show_fields EQ abap_false.
lv_show_fields = &#8216;true&#8217;.
&#8220;  ELSE. 
&#8220; lv_show_fields = &#8217;false&#8217;.
&#8220;  ENDIF.
%&#62;
&#60;chtmlb:pageType type=&#8220;SEARCH&#8221; &#62;
&#60;thtmlb:searchFrame showSearchFields   = &#8220;&#60;%= lv_show_fields %&#62;&#8221;
onShowSearchFields = &#8220;TOGGLESEARCHDISPLAY&#8221;
onHideSearchFields = &#8220;TOGGLESEARCHDISPLAY&#8221; &#62;
&#60;thtmlb:searchCriteriaFrame&#62;
&#60;%
&#8220;  IF lv_show_fields EQ abap_false.
%&#62;
&#60;thtmlb:searchArea&#62;
&#60;thtmlb:searchTagArea&#62;
&#60;bsp:call comp_id = &#8220;&#60;%= controller-&#62;GET_VIEWAREA_CONTENT_ID( &#8217;SV&#8217; ) %&#62;&#8221;
url     = &#8220;&#60;%= controller-&#62;GET_VIEWAREA_CONTENT_URL( &#8217;SV&#8217; ) %&#62;&#8221; /&#62;
&#60;/thtmlb:searchTagArea&#62;
&#60;thtmlb:searchButtonsArea&#62;
&#60;thtmlb:button id = &#8220;SearchBtn&#8221;
design  = &#8220;EMPHASIZED&#8221;
onClick = &#8220;SEARCH&#8221;
text [...]]]></description>
			<content:encoded><![CDATA[<p>Let us see how we can navigate between search and result view.</p>
<p>To learn how to create search and result view <strong><a title="Create Search and Result view" href="http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view/" target="_blank">Click Here</a>.</strong></p>
<p>Once you know created the search and result view now we need to create a search button. I added the following code in the srviewset.htm.<br />
<span id="more-533"></span><br />
<!--StartFragment --> <span><span class="L3S54">&lt;%@page language=&#8221;abap&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;htmlb&#8221; prefix=&#8221;htmlb&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;xhtmlb&#8221; prefix=&#8221;xhtmlb&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;thtmlb&#8221; prefix=&#8221;thtmlb&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;crm_bsp_ic&#8221; prefix=&#8221;crmic&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;bsp&#8221; prefix=&#8221;bsp&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;chtmlb&#8221; prefix=&#8221;chtmlb&#8221; %&gt;</span><br />
<span class="L3S53">&lt;%</span><br />
<span class="L1S31">***  Determine if search is to be collapsed</span><br />
<span class="L1S52">DATA</span> lv_show_fields <span class="L1S52">TYPE</span> string.<br />
<span class="L1S31">&#8220;  lv_show_fields = &#8217;X&#8217;.</span><br />
<span class="L1S31">&#8220;  IF lv_show_fields EQ abap_false.</span><br />
lv_show_fields = <span class="L1S33">&#8216;true&#8217;</span>.<br />
<span class="L1S31">&#8220;  ELSE. </span><br />
<span class="L1S31">&#8220; lv_show_fields = &#8217;false&#8217;.</span><br />
<span class="L1S31">&#8220;  ENDIF.</span><br />
<span class="L3S53">%&gt;</span><br />
&lt;chtmlb:pageType <span class="L3S51">type</span>=<span class="L3S33">&#8220;SEARCH&#8221;</span> &gt;<br />
&lt;thtmlb:searchFrame showSearchFields   = <span class="L3S33">&#8220;&lt;%= lv_show_fields %&gt;&#8221;</span><br />
onShowSearchFields = <span class="L3S33">&#8220;TOGGLESEARCHDISPLAY&#8221;</span><br />
onHideSearchFields = <span class="L3S33">&#8220;TOGGLESEARCHDISPLAY&#8221;</span> &gt;<br />
&lt;thtmlb:searchCriteriaFrame&gt;<br />
<span class="L3S53">&lt;%</span><br />
<span class="L1S31">&#8220;  IF lv_show_fields EQ abap_false.</span><br />
<span class="L3S53">%&gt;</span><br />
&lt;thtmlb:searchArea&gt;<br />
&lt;thtmlb:searchTagArea&gt;<br />
&lt;bsp:call comp_id = <span class="L3S33">&#8220;&lt;%= controller-&gt;GET_VIEWAREA_CONTENT_ID( &#8217;SV&#8217; ) %&gt;&#8221;</span><br />
url     = <span class="L3S33">&#8220;&lt;%= controller-&gt;GET_VIEWAREA_CONTENT_URL( &#8217;SV&#8217; ) %&gt;&#8221;</span> /&gt;<br />
&lt;/thtmlb:searchTagArea&gt;<br />
&lt;thtmlb:searchButtonsArea&gt;<br />
&lt;thtmlb:<span class="L3S50">button</span> <span class="L3S51">id</span> = <span class="L3S33">&#8220;SearchBtn&#8221;</span><br />
design  = <span class="L3S33">&#8220;EMPHASIZED&#8221;</span><br />
<span class="L3S51">onClick</span> = <span class="L3S33">&#8220;SEARCH&#8221;</span><br />
<span class="L3S51">text</span> = <span class="L3S33">&#8220;Search&#8221;</span><br />
tooltip = <span class="L3S33">&#8220;Search&#8221;</span> /&gt;<br />
&lt;thtmlb:<span class="L3S50">button</span> <span class="L3S51">id</span> = <span class="L3S33">&#8220;Clearbtn&#8221;</span><br />
<span class="L3S51">onClick</span> = <span class="L3S33">&#8220;CLEAR&#8221;</span><br />
<span class="L3S51">text</span> = <span class="L3S33">&#8220;Clear&#8221;</span><br />
tooltip = <span class="L3S33">&#8220;Clear&#8221;</span> /&gt;<br />
&lt;/thtmlb:searchButtonsArea&gt;<br />
&lt;/thtmlb:searchArea&gt;<br />
<span class="L3S53">&lt;%</span><br />
<span class="L1S31">&#8220;Endif.</span><br />
<span class="L3S53">%&gt;</span><br />
&lt;/thtmlb:searchCriteriaFrame&gt;<br />
&lt;thtmlb:searchResultFrame&gt;<br />
&lt;bsp:call comp_id = <span class="L3S33">&#8220;&lt;%= controller-&gt;GET_VIEWAREA_CONTENT_ID( &#8217;RV&#8217; ) %&gt;&#8221;</span><br />
url     = <span class="L3S33">&#8220;&lt;%= controller-&gt;GET_VIEWAREA_CONTENT_URL( &#8217;RV&#8217; ) %&gt;&#8221;</span> /&gt;<br />
&lt;/thtmlb:searchResultFrame&gt;<br />
&lt;/thtmlb:searchFrame&gt;<br />
&lt;/chtmlb:pageType&gt;</span></p>
<p>With the above html I added the search button on the viewset. The button code is placed in between the view.</p>
<p>See the following screen shot for the button.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_01.jpg"><img class="alignnone size-full wp-image-534" title="srv_nvg_01" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_01.jpg" alt="srv_nvg_01" width="806" height="359" /></a></p>
<p>Now we have the button. We need to add the search event on the viewset as well as in the search view. See the following screen shots for event creation.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_02.jpg"><img class="alignnone size-full wp-image-534" title="srv_nvg_02" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_02.jpg" alt="srv_nvg_02" /></a></p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_03.jpg"><img class="alignnone size-full wp-image-534" title="srv_nvg_03" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_03.jpg" alt="srv_nvg_03" /></a></p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_04.jpg"><img class="alignnone size-full wp-image-534" title="srv_nvg_04" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_04.jpg" alt="srv_nvg_04" /></a></p>
<p>Add the following code in the searchadv view on the event handler.</p>
<p><strong><em>METHOD eh_onsearch.<br />
DATA: query_service TYPE REF TO cl_crm_bol_dquery_service.<br />
DATA: result TYPE REF TO if_bol_bo_col.</em></strong></p>
<p><strong><em>query_service ?= me-&gt;typed_context-&gt;<!--StartFragment --></em></strong><strong><span>TestSearch</span></strong><em><strong>-&gt;collection_wrapper-&gt;get_current( ).<br />
result = query_service-&gt;get_query_result( ).</strong></em></p>
<p><strong><em>me-&gt;typed_context-&gt;testresult-&gt;collection_wrapper-&gt;clear( ).</em></strong></p>
<p><strong><em>me-&gt;typed_context-&gt;testresult-&gt;set_collection( result ).<br />
ENDMETHOD.</em></strong></p>
<p>Once the code is added  your component should trigger when ever you click on the search and get the result and show in the result view.</p>
<p>Now we need to add some code in the DO_HANDLE_EVENT method of the implementation class of srviewset view. In that method you are asking the event to be raised for the searchadv view, so that the code in the advsearch will be called. You can directly put the code in the viewset so you no need to do the above.</p>
<p>Add the following code in the DO_HANDLE_EVENT method of the ZL_ZSRCMP1_SRVIEWSET_IMPL.</p>
<p><!--StartFragment --> <span><span class="L1S52">METHOD</span> do_handle_event.<br />
<span class="L1S31">* Eventhandler dispatching</span><br />
<span class="L1S52">DATA</span>: lv_viewname <span class="L1S52">TYPE</span> string,<br />
lr_viewctrl <span class="L1S52">TYPE</span> <span class="L1S52">REF</span> <span class="L1S52">TO</span> cl_bsp_wd_view_controller.<br />
<span class="L1S52">CASE</span> htmlb_event_ex-&gt;event_server_name.</span></p>
<p><span class="L1S31">*     Added by wizard</span><br />
<span class="L1S31">**      WHEN &#8217;SEARCH&#8217;.                                        &#8221;#EC NOTEXT</span><br />
<span class="L1S31">*        EH_ONSEARCH( htmlb_event    = htmlb_event</span><br />
<span class="L1S31">*                    htmlb_event_ex = htmlb_event_ex ).</span></p>
<p><span class="L1S52">WHEN</span> <span class="L1S52">OTHERS</span>.<br />
lv_viewname = me-&gt;get_viewarea_content( <span class="L1S33">&#8216;SV&#8217;</span> ).       <span class="L1S31">&#8220;#EC NOTEXT</span><br />
<span class="L1S52">IF</span> lv_viewname <span class="L1S52">IS</span> <span class="L1S52">NOT</span> <span class="L1S52">INITIAL</span>.<br />
lr_viewctrl = me-&gt;get_subcontroller_by_viewname( lv_viewname ).<br />
<span class="L1S52">IF</span> lr_viewctrl <span class="L1S52">IS</span> <span class="L1S52">BOUND</span>.<br />
<span class="L1S52">TRY</span>.<br />
<span class="L1S52">CALL</span> <span class="L1S52">METHOD</span> lr_viewctrl-&gt;(<span class="L1S33">&#8216;DO_HANDLE_EVENT&#8217;</span>)<br />
<span class="L1S52">EXPORTING</span><br />
<span class="L1S52">event</span> = <span class="L1S52">event</span><br />
htmlb_event     = htmlb_event<br />
htmlb_event_ex  = htmlb_event_ex<br />
global_messages = global_messages<br />
RECEIVING<br />
global_event    = global_event.</p>
<p><span class="L1S52">CATCH</span> cx_sy_dyn_call_error.<br />
<span class="L1S52">RETURN</span>.<br />
<span class="L1S52">ENDTRY</span>.<br />
<span class="L1S52">ENDIF</span>.<br />
<span class="L1S52">ENDIF</span>.<br />
<span class="L1S52">ENDCASE</span>.</p>
<p><span class="L1S52">ENDMETHOD</span>.</p>
<p>Now your code is ready to execute had show the results. See the following screen shot.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_05.jpg"><img class="alignnone size-full wp-image-539" title="srv_nvg_05" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/06/srv_nvg_05.jpg" alt="srv_nvg_05" width="721" height="461" /></a></p>
<p>Now you get the result in the result view. Let me know if you have any questions.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/X5TB9h5gt_JrHuiiidKle4BqWZU/0/da"><img src="http://feedads.g.doubleclick.net/~a/X5TB9h5gt_JrHuiiidKle4BqWZU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/X5TB9h5gt_JrHuiiidKle4BqWZU/1/da"><img src="http://feedads.g.doubleclick.net/~a/X5TB9h5gt_JrHuiiidKle4BqWZU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/d0kgkjo46PQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/sap-crm-web-ic-search-view-and-result-view-navigation/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/sap-crm-web-ic-search-view-and-result-view-navigation/</feedburner:origLink></item>
		<item>
		<title>SAP CRM — Web-IC Component — Navigation between views</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/Khr7vqYIX34/</link>
		<comments>http://blogs.moovar.com/sap/sap-crm-web-ic-component-navigation-between-views/#comments</comments>
		<pubDate>Fri, 15 May 2009 16:12:58 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP CRM]]></category>

		<category><![CDATA[WEB-IC]]></category>

		<category><![CDATA[SAP CRM WEB-IC]]></category>

		<category><![CDATA[WEB-IC configuration]]></category>

		<category><![CDATA[WEB-IC Screen Configuration]]></category>

		<category><![CDATA[WEB-IC View]]></category>

		<category><![CDATA[WEB-IC View Configuration]]></category>

		<category><![CDATA[web-ic view navigation]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=497</guid>
		<description><![CDATA[In this post let us create two view and navigate between the views.
First create a veiw firstview in the component.  (to get more information on view creation Click Here).
Once the view is created then make the view as configurable and add all the fields in structure to the screen. (for more info Click Here).
Once you made [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-13.jpg"></a>In this post let us create two view and navigate between the views.</p>
<p>First create a veiw firstview in the component.  (to get more information on view creation <strong><a href="http://blogs.moovar.com/sap/sap-crm-create-new-web-ic-component-using-bsp-wd-workbench-bsp_wd_cmpwb/" target="_blank">Click Here</a></strong>).</p>
<p>Once the view is created then make the view as configurable and add all the fields in structure to the screen. (for more info <strong><a title="Configurable view" href="http://blogs.moovar.com/sap/sap-crm-web-ic-make-view-configurable/" target="_blank">Click Here</a></strong>).</p>
<p>Once you made the view configurable then add the following code addition the the existing code.</p>
<p><!--StartFragment -->  <span>&lt;thtmlb:<span class="L3S50">button</span> <span class="L3S51">id</span>      = <span class="L3S33">&#8220;NextBtn&#8221;</span><br />
               design  = <span class="L3S33">&#8220;EMPHASIZED&#8221;</span><br />
               <span class="L3S51">onClick</span> = <span class="L3S33">&#8220;NEXT&#8221;</span><br />
               <span class="L3S51">text</span>    = <span class="L3S33">&#8220;Next&#8221;</span><br />
               tooltip = <span class="L3S33">&#8220;Second View&#8221;</span> /&gt;</span></p>
<p>This will create a button on the first view. See the following screen shot.<br />
<span id="more-497"></span><br />
<a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-01.jpg"><img class="alignnone size-full wp-image-499" title="view-nav-01" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-01.jpg" alt="view-nav-01" width="1061" height="381" /></a></p>
<p>Now we added the button to the HTML. The other steps that we need to do is add a event as we mentioned in this HTML and add the inbound and outbound plug.</p>
<p>First let us add the event for the first view.  The event name is NEXT that is what we mentioned in the OnClick html. See the following screen shot.<br />
<!--adsense--><br />
<a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-02.jpg"><img class="alignnone size-full wp-image-500" title="view-nav-02" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-02.jpg" alt="view-nav-02" width="647" height="295" /></a></p>
<p>On now the event is created.  SAP by default add EH_ON as prefix for the events.  So the event method is called as EH_ONCLICK. See the following screen shot.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-03.jpg"><img class="alignnone size-full wp-image-501" title="view-nav-03" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-03.jpg" alt="view-nav-03" width="339" height="102" /></a></p>
<p>Now let us create inbound plug and outbound plug.</p>
<p>   Inbound plug and outbound plug in a view is used to send the control to and from the view.  For example if we want to nagvigate from first view to second view then we need to use the outbound plug of firstview to the inbound plug of the second view that way the navigation know where to go and what plug to use.</p>
<p>Let us create a inbound plug as fromsecondview and a outbound plug as tosecondview.  Just right click and give the name that will create the inbound and outbound plugs. SAP by default put IP_ and OP_ inforunt of the name that you are defining for the plugs. See the following screen shots.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-04.jpg"><img class="alignnone size-full wp-image-502" title="view-nav-04" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-04.jpg" alt="view-nav-04" width="490" height="234" /></a></p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-05.jpg"><img class="alignnone size-full wp-image-503" title="view-nav-05" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/view-nav-05.jpg" alt="view-nav-05" width="482" height="118" /></a></p>
<p><!--adsense--></p>

<p><a href="http://feedads.g.doubleclick.net/~a/q_7Lz9eEer3xIuFGKldLbD1lJ5Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/q_7Lz9eEer3xIuFGKldLbD1lJ5Q/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/q_7Lz9eEer3xIuFGKldLbD1lJ5Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/q_7Lz9eEer3xIuFGKldLbD1lJ5Q/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/Khr7vqYIX34" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/sap-crm-web-ic-component-navigation-between-views/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/sap-crm-web-ic-component-navigation-between-views/</feedburner:origLink></item>
		<item>
		<title>SAP CRM — WEB IC Create a new search view and result view</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/aOaPAt0kXwQ/</link>
		<comments>http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view/#comments</comments>
		<pubDate>Sun, 10 May 2009 01:14:53 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[Learn SAP]]></category>

		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP CCS]]></category>

		<category><![CDATA[SAP CRM]]></category>

		<category><![CDATA[WEB-IC]]></category>

		<category><![CDATA[CRM Search View]]></category>

		<category><![CDATA[SAP CRM Component]]></category>

		<category><![CDATA[SAP CRM VIEW]]></category>

		<category><![CDATA[SAP CRM WEB-IC]]></category>

		<category><![CDATA[VIEW SET]]></category>

		<category><![CDATA[WEB-IC Component]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=424</guid>
		<description><![CDATA[In this post let is see how to create a search and result view and link the view to the BOL object.
To learn about Custom BOL for a Z Table Click here.
Click Here to Go thru that post to understand how to create a New component and the new view.

Pre request. A new Component and a [...]]]></description>
			<content:encoded><![CDATA[<p>In this post let is see how to create a search and result view and link the view to the BOL object.</p>
<p>To learn about Custom BOL for a Z Table <strong><a title="How to Create Custom BOL Object" href="http://blogs.moovar.com/sap/sap-crm-create-a-custom-bol-for-web-ic/" target="_blank">Click here</a>.</strong></p>
<p><strong><a title="New Component and View" href="http://blogs.moovar.com/sap/sap-crm-create-new-web-ic-component-using-bsp-wd-workbench-bsp_wd_cmpwb/" target="_blank">Click Here</a></strong> to Go thru that post to understand how to create a New component and the new view.<br />
<span id="more-424"></span><br />
Pre request. A new Component and a BOL object. Use the above link to learn about that before start going forward.</p>
<p>OK now you have a component. Let us go thru and see how we can create a search and result views.</p>
<p>For search you need to have 3 views one is search view and another is result view and a third view is the View set. In this view set you combine the view one and two. We are going to use the ZTBOL as our BOL object for this example.</p>
<p><strong>Component Initial Preparation for Search and Result View creation</strong></p>
<p>First we need to link the custom BOL object to this Component. Go to the Runtime Repository Editor and click on the edit. Now add the ztbol to this component.  See the following screen shot.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-01.jpg"><img class="alignnone size-full wp-image-425" title="search-result-01" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-01.jpg" alt="search-result-01" width="686" height="274" /></a></p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-02.jpg"><img class="alignnone size-full wp-image-426" title="search-result-02" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-02.jpg" alt="search-result-02" width="561" height="265" /></a></p>
<p><!--adsense--></p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-03.jpg"><img class="alignnone size-full wp-image-427" title="search-result-03" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-03.jpg" alt="search-result-03" width="630" height="211" /></a></p>
<p>Now the custom BOL component (ZTBOL) is added to our search and result component. Make sure you save this. </p>
<p><strong>Search View</strong></p>
<p>Create a view with the MODEL Node using the custom BOL.</p>
<p>Now click  on the browser component structure tab and go to the ZSRCMP component. Click on the View and right click to create a view. The Create New View Wizard will popup and continue the process. See the following screen shots for the process.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-05.jpg"><img class="alignnone size-full wp-image-428" title="search-result-05" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-05.jpg" alt="search-result-05" width="702" height="150" /></a></p>
<p>The Above is the name of the View.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-06.jpg"><img class="alignnone size-full wp-image-429" title="search-result-06" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/search-result-06.jpg" alt="search-result-06" width="978" height="360" /></a></p>
<p>In the above screen you need to enter the name for the model nodes(like a abap structure name) and the BOL entity that you created during the Custom BOL creation( for more info <a title="How to Create Custom BOL Object" href="http://blogs.moovar.com/sap/sap-crm-create-a-custom-bol-for-web-ic/" target="_blank"><strong>Click here</strong></a> for custom BOL)</p>
<p>Select the TestSearchAdv structure that we need for the search view. TestResult structure will be used for the result view. Now let us go to the next screen in the wizard .  Now we need to identify the attributes fields that we need to use for this model nodes.  So go to model attributes screen. Skip the value node screen. In the <strong>Add Model Attributes to Modell Node </strong>click on the + sign to add the attributes. See the following screen shot.</p>
<p><!--adsense--></p>

<p><a href="http://feedads.g.doubleclick.net/~a/DEekR55RB9-6XzncQdURlfnpC2E/0/da"><img src="http://feedads.g.doubleclick.net/~a/DEekR55RB9-6XzncQdURlfnpC2E/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DEekR55RB9-6XzncQdURlfnpC2E/1/da"><img src="http://feedads.g.doubleclick.net/~a/DEekR55RB9-6XzncQdURlfnpC2E/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/aOaPAt0kXwQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view/</feedburner:origLink></item>
		<item>
		<title>SAP CRM — Create Custom Controller for a WEB-IC Component</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/YjSMjCx3k90/</link>
		<comments>http://blogs.moovar.com/sap/sap-crm-create-custom-controller-for-a-web-ic-component/#comments</comments>
		<pubDate>Sat, 09 May 2009 16:13:16 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP CRM]]></category>

		<category><![CDATA[WEB-IC]]></category>

		<category><![CDATA[SAP CRM Context Node]]></category>

		<category><![CDATA[SAP CRM WEB-IC]]></category>

		<category><![CDATA[Web IC Component Context Node]]></category>

		<category><![CDATA[Web IC Context Node]]></category>

		<category><![CDATA[WEB-IC Component]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=432</guid>
		<description><![CDATA[In this post let us see how to create custom controller to a component.
Once the custom controller is created we need to link this custom controller in the views so that the data will be available to all views that are linked together. See the following screen shot.


Once you clicked on the create you will [...]]]></description>
			<content:encoded><![CDATA[<p>In this post let us see how to create custom controller to a component.</p>
<p>Once the custom controller is created we need to link this custom controller in the views so that the data will be available to all views that are linked together. See the following screen shot.<br />
<span id="more-432"></span><br />
<a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/custom-controller-01.jpg"><img class="alignnone size-full wp-image-433" title="custom-controller-01" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/custom-controller-01.jpg" alt="custom-controller-01" width="891" height="329" /></a></p>
<p>Once you clicked on the create you will get a pop up wizard that will take you thru the process. Let us name the custom controller as TestCuCo. See the following screen shot.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/custom-controller-02.jpg"><img class="alignnone size-full wp-image-434" title="custom-controller-02" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/custom-controller-02.jpg" alt="custom-controller-02" width="733" height="417" /></a></p>
<p>Let us go to the next screen and add the Model node. Let us add a Model node and tie that node to the custom BOL. (if you want to know about how to create the custom BOL <a title="How to Create Custom BOL Object" href="http://blogs.moovar.com/sap/sap-crm-create-a-custom-bol-for-web-ic/" target="_blank"><strong>Click here</strong></a>).</p>
<p>See the following screen shots for the Custom controller creation. The whole process is like creating the view. ( for more info about the New view creation see here <a title="New Component and View" href="http://blogs.moovar.com/sap/sap-crm-create-new-web-ic-component-using-bsp-wd-workbench-bsp_wd_cmpwb/" target="_blank"><strong>Click Here</strong></a> )</p>
<p><!--adsense--><br />
<a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/custom-controller-03.jpg"><img class="alignnone size-full wp-image-435" title="custom-controller-03" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/custom-controller-03.jpg" alt="custom-controller-03" width="696" height="418" /></a></p>
<p>I added tow Model nodes. I will be using this two nodes to pass data between two views, where I will create a link while creating the view for that particular node. Now let us go and add the attributes for these nodes. Skip the next screen and go to Add Model Attributes. See the following screen shot.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/custom-controller-04.jpg"><img class="alignnone size-full wp-image-436" title="custom-controller-04" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/custom-controller-04.jpg" alt="custom-controller-04" width="751" height="356" /></a></p>
<p>Click on the + sign and add the fields that you want. I added all the fields for each node. Let us click continue all the way and complete the process. Now our custom controller is ready for use.</p>
<p><strong><a title="Create Search and Result View in WEB IC" href="http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view" target="_blank">Click Here</a></strong>  and see how I created the links between the Model node in view to custom controller model node while creating the Search view.</p>
<p><!--adsense--></p>

<p><a href="http://feedads.g.doubleclick.net/~a/VuNDc8OGWlxG-hkY-ezjPMf3qk4/0/da"><img src="http://feedads.g.doubleclick.net/~a/VuNDc8OGWlxG-hkY-ezjPMf3qk4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/VuNDc8OGWlxG-hkY-ezjPMf3qk4/1/da"><img src="http://feedads.g.doubleclick.net/~a/VuNDc8OGWlxG-hkY-ezjPMf3qk4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/YjSMjCx3k90" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/sap-crm-create-custom-controller-for-a-web-ic-component/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/sap-crm-create-custom-controller-for-a-web-ic-component/</feedburner:origLink></item>
		<item>
		<title>SAP CRM — Create a Custom BOL for WEB-IC</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/HZ5ut4Wa1rc/</link>
		<comments>http://blogs.moovar.com/sap/sap-crm-create-a-custom-bol-for-web-ic/#comments</comments>
		<pubDate>Sat, 09 May 2009 11:12:40 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP CRM]]></category>

		<category><![CDATA[WEB-IC]]></category>

		<category><![CDATA[CRM BOL]]></category>

		<category><![CDATA[CUSTOM BOL]]></category>

		<category><![CDATA[IC WEB]]></category>

		<category><![CDATA[IC WEB BOL]]></category>

		<category><![CDATA[SAP CRM BOL]]></category>

		<category><![CDATA[WEB IC BOL]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=231</guid>
		<description><![CDATA[BOL &#8212; Business Object Layer.
Usually we no need to build a BOL object. We will end up changing the existing BOL. I came across a situation that I need a screen for a component and create a screen for add/ modify and search the Z table.
In this post let us see how we create a [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/bol-14.jpg"></a><a href="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/bol-21.jpg"></a>BOL</strong> &#8212; <strong>B</strong>usiness <strong>O</strong>bject <strong>L</strong>ayer.</p>
<p>Usually we no need to build a BOL object. We will end up changing the existing BOL. I came across a situation that I need a screen for a component and create a screen for add/ modify and search the Z table.</p>
<p>In this post let us see how we create a custom BOL object for a Z table. Once this bol is create we need to add this bol in the custom view and show that on the screen. For now let us see how we can create a custom BOL.</p>
<p><span id="more-231"></span></p>
<p>Let us create a z table(ZTEST_TEST_TBL) with name , age and sex. See the following screen shot for the table.</p>
<p><img class="alignnone size-medium wp-image-378" title="bol-01" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/bol-01-300x262.jpg" alt="bol-01" width="300" height="262" /></p>
<p>Let us use this table and create a bol for this table to add,modify and search data.</p>
<p>OK. Now we need to define two tables. One for the data elements that we are going to use in the BOL and another for the hierarchy of the data element that we are going to use in the BOL object. Once these table are defined then we need to mention the class module that we are going to use for the BOL object. All these information are configured in the spro for this bol object. See the following screen shot.</p>
<p><img class="alignnone size-full wp-image-379" title="bol-02" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/bol-02.jpg" alt="bol-02" width="600" height="362" /></p>
<p>In the above configuration if you enter the Basic setting you will see all the BOL object defined here. OK for our custom let us define the bol object as ZTBOL.  See the following screen.<br />
<!--adsense--><br />
<img class="alignnone size-full wp-image-380" title="bol-03" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/bol-03.jpg" alt="bol-03" width="666" height="160" /></p>
<p>Now select the component Definition(the first one) and click on the new entries. Let us define the BOL component and add the details. See the following screen.</p>
<p><img class="alignnone size-full wp-image-381" title="bol-04" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/bol-04.jpg" alt="bol-04" width="815" height="154" /></p>
<p>Add a Component Set Definition. See the follow screen shot.</p>
<p><img class="alignnone size-full wp-image-382" title="bol-05" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/bol-05.jpg" alt="bol-05" width="723" height="153" /></p>
<p>Now assign the Component definition to the component set definition. See the following screen shot.</p>
<p><img class="alignnone size-full wp-image-383" title="bol-06" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/05/bol-06.jpg" alt="bol-06" width="658" height="216" /></p>
<p>Now the BOL component is assigned to the Component Set definition. You can assign  More than one BOL component to the component set.<br />
<!--adsense--></p>

<p><a href="http://feedads.g.doubleclick.net/~a/1H-GGZ0aVask_-TsJZbRQRSq8Sk/0/da"><img src="http://feedads.g.doubleclick.net/~a/1H-GGZ0aVask_-TsJZbRQRSq8Sk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/1H-GGZ0aVask_-TsJZbRQRSq8Sk/1/da"><img src="http://feedads.g.doubleclick.net/~a/1H-GGZ0aVask_-TsJZbRQRSq8Sk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/HZ5ut4Wa1rc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/sap-crm-create-a-custom-bol-for-web-ic/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/sap-crm-create-a-custom-bol-for-web-ic/</feedburner:origLink></item>
		<item>
		<title>SAP CRM Create New Web IC Component using BSP WD workbench (BSP_WD_CMPWB)</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/_B1W80OnnC4/</link>
		<comments>http://blogs.moovar.com/sap/sap-crm-create-new-web-ic-component-using-bsp-wd-workbench-bsp_wd_cmpwb/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 16:20:15 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[Learn SAP]]></category>

		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP CRM]]></category>

		<category><![CDATA[WEB-IC]]></category>

		<category><![CDATA[SAP CRM Component]]></category>

		<category><![CDATA[SAP CRM WEB-IC]]></category>

		<category><![CDATA[WEB-IC Component]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=281</guid>
		<description><![CDATA[Let us see how we can create a new WEB-IC component using the BSP WD Workbench (BSP_WD_CMPWB). Once you create a component using this work bench you need to integrate this in the WEB-IC.
In this post let us see how we can create custom webic component.
Go to the workbench using the t-code BSP_WD_CMPWB. See the screen [...]]]></description>
			<content:encoded><![CDATA[<p>Let us see how we can create a new WEB-IC component using the BSP WD Workbench (BSP_WD_CMPWB). Once you create a component using this work bench you need to integrate this in the WEB-IC.</p>
<p>In this post let us see how we can create custom webic component.</p>
<p>Go to the workbench using the t-code BSP_WD_CMPWB. See the screen shots.<br />
<span id="more-281"></span><br />
<img class="alignnone size-full wp-image-283" title="cpwb-01" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/cpwb-01.jpg" alt="cpwb-01" width="820" height="259" /></p>
<p>Now  create a ztestcmp as follows.</p>
<p><img class="alignnone size-full wp-image-284" title="cpwb-02" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/cpwb-02.jpg" alt="cpwb-02" width="813" height="379" /></p>
<p><!--adsense--></p>
<p>Click OK and it will ask for the package and transport to store the information in the system. Just go thru that and give the necessary information according to your system.</p>
<p>Once your component is created just click on test you should see your component launch on the browser. If there is no issue you should see an empty screen. See the following screen shot.</p>
<p><img class="alignnone size-medium wp-image-285" title="cpwb-03" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/cpwb-03-300x158.jpg" alt="cpwb-03" width="385" height="158" /></p>
<p> Now let us create a view with some input like first name , last name and city of birth and  display the input on the screen.</p>
<p>Let us create the first view(fview). Right click on the views and click create a wizard will popup. See the following screen shot.</p>
<p><img class="alignnone size-full wp-image-286" title="cpwb-04" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/cpwb-04.jpg" alt="cpwb-04" width="358" height="281" /></p>
<p><!--adsense--></p>

<p><a href="http://feedads.g.doubleclick.net/~a/78xdycPkNKJNtrXNJqMsXvMXZYM/0/da"><img src="http://feedads.g.doubleclick.net/~a/78xdycPkNKJNtrXNJqMsXvMXZYM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/78xdycPkNKJNtrXNJqMsXvMXZYM/1/da"><img src="http://feedads.g.doubleclick.net/~a/78xdycPkNKJNtrXNJqMsXvMXZYM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/_B1W80OnnC4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/sap-crm-create-new-web-ic-component-using-bsp-wd-workbench-bsp_wd_cmpwb/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/sap-crm-create-new-web-ic-component-using-bsp-wd-workbench-bsp_wd_cmpwb/</feedburner:origLink></item>
		<item>
		<title>SAP CRM Create Context Node for Web IC component</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/1Rs1A25EsQo/</link>
		<comments>http://blogs.moovar.com/sap/sap-crm-create-context-node-for-web-ic-component/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 16:19:39 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP CRM]]></category>

		<category><![CDATA[WEB-IC]]></category>

		<category><![CDATA[SAP CRM Context Node]]></category>

		<category><![CDATA[SAP CRM WEB-]]></category>

		<category><![CDATA[Web IC Component Context Node]]></category>

		<category><![CDATA[Web IC Context Node]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=292</guid>
		<description><![CDATA[MODEL NODE(data bound to BOLobject)
Pre-requiest you need to create a empty view .  How to create a view in web-ic click here
 Let us see how to create a context node Person with the first name , last name and city of birth  for a empty view that we created.

 
After clicking the create a wizard pops up and we need [...]]]></description>
			<content:encoded><![CDATA[<p><strong>MODEL NODE</strong>(data bound to BOLobject)</p>
<p>Pre-requiest you need to create a empty view .  How to create a view in web-ic <strong><a title="How to create a new view" href="http://blogs.moovar.com/sap/sap-crm-create-new-web-ic-component-using-bsp-wd-workbench-bsp_wd_cmpwb" target="_self">click here</a></strong></p>
<p> Let us see how to create a context node Person with the first name , last name and city of birth  for a empty view that we created.<br />
<span id="more-292"></span><br />
 <img class="alignnone size-full wp-image-317" title="context-node-05" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/context-node-05.jpg" alt="context-node-05" width="519" height="273" /></p>
<p>After clicking the create a wizard pops up and we need the follow the wizard as follows.</p>
<p><img class="alignnone size-full wp-image-318" title="context-node-06" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/context-node-06.jpg" alt="context-node-06" width="691" height="519" /></p>
<p>You need to add the BOL entity if you are using the Model node. if this is not bound then create Value Node which is explained further in this post.Click Continue to the next screen. Now let us add the fields to this context node. See the following screen shot.</p>
<p> </p>
<p><img class="alignnone size-full wp-image-319" title="context-node-07" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/context-node-07.jpg" alt="context-node-07" width="670" height="220" /><br />
<!--adsense--><br />
Now you need to click on the + sign that will take you to the next screen where you can select the fields that you need for the screen.</p>
<p><img class="alignnone size-full wp-image-320" title="context-node-08" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/context-node-08.jpg" alt="context-node-08" width="898" height="630" /></p>
<p> </p>
<p>Once the file is select go next and complete the wizard. You got the attributes that you need and you added to the context node. See the following screen shot.</p>
<p><img class="alignnone size-full wp-image-321" title="context-node-09" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/context-node-09.jpg" alt="context-node-09" width="519" height="202" /></p>
<p>Now you have the Context Node &#8212; Model node added to the View. To pass the data between we need a higher level of linkage (component controller or custom controller linked to this context). I will write about that in another post.</p>
<p> <br />
<strong>VALUE NODE</strong>(data not bound with BOL)</p>
<p><!--adsense--></p>

<p><a href="http://feedads.g.doubleclick.net/~a/iXpmK2b6hRc-oRep7lgzju7EMZw/0/da"><img src="http://feedads.g.doubleclick.net/~a/iXpmK2b6hRc-oRep7lgzju7EMZw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/iXpmK2b6hRc-oRep7lgzju7EMZw/1/da"><img src="http://feedads.g.doubleclick.net/~a/iXpmK2b6hRc-oRep7lgzju7EMZw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/1Rs1A25EsQo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/sap-crm-create-context-node-for-web-ic-component/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/sap-crm-create-context-node-for-web-ic-component/</feedburner:origLink></item>
		<item>
		<title>SAP CRM Web IC make view Configurable</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/C_pCSneMjPc/</link>
		<comments>http://blogs.moovar.com/sap/sap-crm-web-ic-make-view-configurable/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 16:19:12 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[Learn SAP]]></category>

		<category><![CDATA[SAP]]></category>

		<category><![CDATA[SAP CRM]]></category>

		<category><![CDATA[WEB-IC]]></category>

		<category><![CDATA[CRM View Configuration]]></category>

		<category><![CDATA[SAP CRM WEB-IC]]></category>

		<category><![CDATA[WEB-IC Screen Configuration]]></category>

		<category><![CDATA[WEB-IC View]]></category>

		<category><![CDATA[WEB-IC View Configuration]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=300</guid>
		<description><![CDATA[In this post let us see how to make the ordinary view in to configurable.
If we create a view in the web ic the view will look like as follows.


You have only two tabs on the right hand side of the screen. This way you cannot do a drag and drop the field in the screen. [...]]]></description>
			<content:encoded><![CDATA[<p>In this post let us see how to make the ordinary view in to configurable.</p>
<p>If we create a view in the web ic the view will look like as follows.<br />
<span id="more-300"></span></p>
<p><img class="alignnone size-medium wp-image-301" title="config-view-01" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/config-view-01-300x125.jpg" alt="config-view-01" width="300" height="125" /></p>
<p>You have only two tabs on the right hand side of the screen. This way you cannot do a drag and drop the field in the screen. You need to make the screen configurable. There is no check box or any radio button that you can click and make them config. You have to go in to the HTML code and add some code that will make them config.</p>
<p>Double click on the fview .htm file. That will take you to a html editor. See the following screen shot.</p>
<p><img class="alignnone size-full wp-image-302" title="config-view-02" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/config-view-02.jpg" alt="config-view-02" width="817" height="366" /></p>
<p><!--adsense--></p>
<p>Replace the above code with the following code.</p>
<h4><span style="color: #0000ff;"><span class="L3S54">&lt;%@page language=&#8221;abap&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;htmlb&#8221; prefix=&#8221;htmlb&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;xhtmlb&#8221; prefix=&#8221;xhtmlb&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;crm_bsp_ic&#8221; prefix=&#8221;crmic&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;bsp&#8221; prefix=&#8221;bsp&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;chtmlb&#8221; prefix=&#8221;chtmlb&#8221; %&gt;</span><br />
<span class="L3S54">&lt;%@extension name=&#8221;thtmlb&#8221; prefix=&#8221;thtmlb&#8221; %&gt;</span><br />
<span class="L3S53">&lt;%</span><br />
  <span class="L1S52">DATA</span>:<br />
  lv_xml    <span class="L1S52">TYPE</span> string.<br />
  lv_xml = controller-&gt;configuration_descr-&gt;get_config_data( ).<br />
<span class="L3S53">%&gt;</span></span></h4>
<h4><span style="color: #0000ff;">&lt;chtmlb:overviewFormConfig <span class="L3S50">xml</span>  = <span class="L3S33">&#8220;&lt;%= lv_xml %&gt;&#8221;</span><br />
               mode = <span class="L3S33">&#8220;RUNTIME&#8221;</span> /&gt;</span></h4>
<p>Now activate this html and double click on the view name. You should able to see different tab with name as configuration. see the screen shot below.</p>
<p> <img class="alignnone size-medium wp-image-304" title="config-view-03" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/config-view-03-300x95.jpg" alt="config-view-03" width="300" height="95" /></p>
<p> Now click on the new configuration and click on the show avaliable fields that will show all the fields avaliable to add to the screen. See the screen shot.</p>
<p><img class="alignnone size-full wp-image-305" title="config-view-04" src="http://blogs.moovar.com/sap/wp-content/uploads/2009/04/config-view-04.jpg" alt="config-view-04" width="943" height="286" /></p>
<p><!--adsense--></p>

<p><a href="http://feedads.g.doubleclick.net/~a/GIDKGxDCIwta7tXh5VUEyV7L26s/0/da"><img src="http://feedads.g.doubleclick.net/~a/GIDKGxDCIwta7tXh5VUEyV7L26s/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/GIDKGxDCIwta7tXh5VUEyV7L26s/1/da"><img src="http://feedads.g.doubleclick.net/~a/GIDKGxDCIwta7tXh5VUEyV7L26s/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/C_pCSneMjPc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/sap-crm-web-ic-make-view-configurable/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/sap-crm-web-ic-make-view-configurable/</feedburner:origLink></item>
		<item>
		<title>Learn SAP — Batch and Background Jobs — SM37</title>
		<link>http://feedproxy.google.com/~r/Moovar-Techskills/~3/ktaSrKoINLg/</link>
		<comments>http://blogs.moovar.com/sap/learn-sap-batch-and-background-jobs-sm37/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 16:18:30 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[Learn SAP]]></category>

		<category><![CDATA[SAP]]></category>

		<category><![CDATA[Background Jobs]]></category>

		<category><![CDATA[SAP BAsic]]></category>

		<category><![CDATA[Sap Batch Jobs]]></category>

		<guid isPermaLink="false">http://blogs.moovar.com/sap/?p=228</guid>
		<description><![CDATA[In this post let us see how to look in to the SAP Batch and background Jobs.
To see all the jobs that is in the SAP system use SM37 see the screen shot below.


Here you can search by Job name or the user who created the job or if you know the SAP report name [...]]]></description>
			<content:encoded><![CDATA[<p>In this post let us see how to look in to the SAP Batch and background Jobs.</p>
<p>To see all the jobs that is in the SAP system use SM37 see the screen shot below.<br />
<span id="more-228"></span><br />
<a href="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob.jpg"><img class="alignnone size-medium wp-image-233" title="sjob" src="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-300x245.jpg" alt="" width="300" height="245" /></a></p>
<p>Here you can search by Job name or the user who created the job or if you know the SAP report name (Program Name)  you can look in to the job. As soon as you setup the job the job will be in the scheduled state. As soon as the time comes(you assigned time for the job execution) the job will change in to released and it will show active and show as finished. If there is any error in the job then it will show as the job canceled.</p>
<p>To setup up the job in the SAP system you can do that in two ways. One is by using SM36. See the following screen shots.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-1.jpg"><img class="alignnone size-medium wp-image-234" title="sjob-1" src="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-1-300x181.jpg" alt="" width="300" height="181" /></a><br />
<!--adsense--><br />
after you click the save it will take you to the next screen see the following screen shot.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-2.jpg"><img class="alignnone size-medium wp-image-235" title="sjob-2" src="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-2-300x76.jpg" alt="" width="300" height="76" /></a></p>
<p>Once you are back click on the condition and set up when and how often you want to run the job. see the screen shot.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-3.jpg"><img class="alignnone size-medium wp-image-236" title="sjob-3" src="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-3-300x260.jpg" alt="" width="300" height="260" /></a></p>
<p>Save the job now your job is ready to run.</p>
<p> The other way to setup the job is from se38 where you can setup the job directly. See the following screen shot<a href="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-4.jpg"></a>.</p>
<p><a href="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-4.jpg"><img class="alignnone size-medium wp-image-237" title="sjob-4" src="http://blogs.moovar.com/sap/wp-content/uploads/2008/10/sjob-4-300x162.jpg" alt="" width="300" height="162" /></a></p>
<p>From the above menu you can setup the job immediately.</p>
<p><!--adsense--></p>

<p><a href="http://feedads.g.doubleclick.net/~a/ItGWnBGZx7Gy_RABv8i5JHe-pNA/0/da"><img src="http://feedads.g.doubleclick.net/~a/ItGWnBGZx7Gy_RABv8i5JHe-pNA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ItGWnBGZx7Gy_RABv8i5JHe-pNA/1/da"><img src="http://feedads.g.doubleclick.net/~a/ItGWnBGZx7Gy_RABv8i5JHe-pNA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/Moovar-Techskills/~4/ktaSrKoINLg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.moovar.com/sap/learn-sap-batch-and-background-jobs-sm37/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.moovar.com/sap/learn-sap-batch-and-background-jobs-sm37/</feedburner:origLink></item>
	</channel>
</rss>
