<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4142792607025213438</id><updated>2012-02-19T11:20:35.815+05:30</updated><category term='mobile'/><category term='debug'/><category term='screen'/><category term='MOINC'/><category term='bulk fetch'/><category term='WMMBXY'/><category term='nested loop'/><category term='LG phones'/><category term='random'/><category term='/AFS/WMMBID02'/><category term='tooltip'/><category term='web Services'/><category term='exits'/><category term='badi'/><category term='button'/><category term='war'/><category term='concatenate'/><category term='SAP'/><category term='CIF'/><category term='Refresh'/><category term='Gaza'/><category term='crime'/><category term='html'/><category term='APO'/><category term='ABAP'/><category term='unlock'/><category term='selection screen'/><category term='ALV'/><category term='grid computing'/><category term='performance'/><category term='IDOCS'/><category term='sort table'/><category term='menu exit'/><category term='axis2'/><title type='text'>my collection</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-4355192774944184789</id><published>2011-07-11T12:57:00.000+05:30</published><updated>2011-07-11T12:57:13.958+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='APO'/><category scheme='http://www.blogger.com/atom/ns#' term='CIF'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>SAP APO enhancement for AFS</title><content type='html'>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:TrackMoves/&gt;   &lt;w:TrackFormatting/&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:DoNotPromoteQF/&gt;   &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;    &lt;w:SplitPgBreakAndParaMark/&gt;    &lt;w:DontVertAlignCellWithSp/&gt;    &lt;w:DontBreakConstrainedForcedTables/&gt;    &lt;w:DontVertAlignInTxbx/&gt;    &lt;w:Word11KerningPairs/&gt;    &lt;w:CachedColBalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathPr&gt;    &lt;m:mathFont m:val="Cambria Math"/&gt;    &lt;m:brkBin m:val="before"/&gt;    &lt;m:brkBinSub m:val="&amp;#45;-"/&gt;    &lt;m:smallFrac m:val="off"/&gt;    &lt;m:dispDef/&gt;    &lt;m:lMargin m:val="0"/&gt;    &lt;m:rMargin m:val="0"/&gt;    &lt;m:defJc m:val="centerGroup"/&gt;    &lt;m:wrapIndent m:val="1440"/&gt;    &lt;m:intLim m:val="subSup"/&gt;    &lt;m:naryLim m:val="undOvr"/&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"  DefSemiHidden="true" DefQFormat="false" DefPriority="99"  LatentStyleCount="267"&gt;   &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;   &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/&gt;   &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"/&gt;   &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"/&gt;   &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/&gt;   &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Title"/&gt;   &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/&gt;   &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/&gt;   &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Strong"/&gt;   &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"   UnhideWhenUsed="false" Name="Table Grid"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/&gt;   &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/&gt;   &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/&gt;   &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/&gt;   &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/&gt;   &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/&gt;   &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/&gt;   &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/&gt;   &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"/&gt;   &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt; /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}&lt;/style&gt; &lt;![endif]--&gt;  &lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;Recently I had to work on a project were the customer was planning to implement SAP AFS and SAP APO to handle their business requirements. The development challenge on this requirement was to maintain 2 different locations for each plant created in AFS side. This was required in order to plan for wholesaled and retail requirements of the business. This was maintained in AFS side on the category structure in for a given material.&lt;/div&gt;&lt;div class="MsoNormal"&gt;I have mentioned the exits used I used during this modification. Hope this will be helpful for someone who need to modify data which is gets transferred to APO.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;SAP standard industrial enhancement BADI:&lt;/div&gt;&lt;div class="MsoNormal"&gt;CIF_EXT_IS_INTERNAL&lt;/div&gt;&lt;div class="MsoNormal"&gt;AFS implementation name: /AFS/NDIF_APO&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;User exits for each area&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;1)&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enhancement for plant data transfer :&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;User exits: EXIT_SAPLCLOC_001&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;Enhancement: CIFLOC01 Enhancement for Transferring Customer-Specific Loc. Fields&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;2)&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enhancement for material data transfer :&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;User exits: EXIT_SAPLCMAT_001&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;Enhancement: CIFMAT01 Enhancement for Transferring Customer-Specific Matl Fields&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;3)&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enhancement for PO/POC/PR &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;data transfer :&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;User exits: EXIT_SAPLMEAP_001&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;Enhancement: CIFPUR01 Enhancement for Transferring Customer-Specific PO Fields&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;4)&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enhancement for SO data transfer:&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;User exit: EXIT_SAPLCSLS_002&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;Enhancement: CIFSLS03 Influencing of Sales Order Data Prior to Dispatch&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;5)&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enhancement for Source of supply or Purchase info record &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;data transfer:&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;User exit: EXIT_SAPLCSRS_003&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;Enhancement: CIFSRC01 Enhancement for Transferring Customer-Specific SS Fields&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;6)&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enhancement for stock data transfer:&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;User exit: EXIT_SAPLCSTK_001&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;Enhancement: CIFSTK01 Enhancement for Transferring Customer-Specific Stock Fields&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;7)&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enhancement for Batches transfer :&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle"&gt;User exits: EXIT_SAPLCCHG_001&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast"&gt;Enhancement: CIFBTC01 Enhancement for Transferring Customer-Specific Batch Fields&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-4355192774944184789?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/4355192774944184789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=4355192774944184789&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4355192774944184789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4355192774944184789'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2011/07/sap-apo-enhancement-for-afs.html' title='SAP APO enhancement for AFS'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-6298098731942624217</id><published>2010-10-09T05:26:00.001+05:30</published><updated>2010-10-11T20:16:09.742+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='screen'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>The final touch (add a htmp page on SAP screen)</title><content type='html'>&lt;div class="MsoNormal"&gt;It's a known fact that however complex your program is when it come to the user. The look and feel of the output is what matters most. This is blog post is about a simple trick that we can do to make the look and feel better.&lt;/div&gt;&lt;div class="MsoNormal"&gt;Have you ever wondered that when you develop a tool to your customer on a area ( eg: Order Automation tool ). That its better if you can get them a initial screen with some fancy graphics on it where you will be able to give multiple links to different Transactions.&lt;/div&gt;&lt;div class="MsoNormal"&gt;If yes this is one approach that I figured out &lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Adding a HTML page on SAP &lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;Ok now that I have given a brief idea on what I am talking about. I’ll just walk you through example where a html page is added to initial transaction of a automation tool &lt;/div&gt;&lt;div class="MsoNormal"&gt;Below Is the final output what we are going to get (I have added some SAP images since it is a example case )&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_UfInfZb9zSI/TK-vhPTPaqI/AAAAAAAAAKo/p-NGTDwrX34/s1600/sap.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="183" src="http://2.bp.blogspot.com/_UfInfZb9zSI/TK-vhPTPaqI/AAAAAAAAAKo/p-NGTDwrX34/s320/sap.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&amp;nbsp;Ok now some basic steps we need to create the above &lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in;"&gt;1)&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The html page uploaded to your SAP system (tcode : SMW0)&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-indent: -0.25in;"&gt;2)&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The images you required to be uploaded in the SAP system )(tcode : SMW0)&lt;/div&gt;&lt;div class="MsoNormal"&gt;Please note that to trigger the event you need something similar to the below part to be added to the html code&lt;/div&gt;&lt;div class="MsoNormal" style="background: none repeat scroll 0% 0% white; line-height: normal; margin-bottom: 0.0001pt; text-indent: -6pt;"&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;a&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;href&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;=SAPEVENT:ZORD_SPLIT &amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;strong&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;i&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;Order Split&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;i&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;strong&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;a&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;The code to call the relevant transaction is as below&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;class&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;cl_myevent_handler&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;definition&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;public&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;section&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;methods&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;:&amp;nbsp;on_sapevent&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;event&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;sapevent&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;of&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;cl_gui_html_viewer&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;importing&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;action&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;frame&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;getdata&amp;nbsp;postdata&amp;nbsp;query_table.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;endclass&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;data&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;:&amp;nbsp;evt_receiver&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;type&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;ref&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;to&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;cl_myevent_handler.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;*&amp;nbsp;CLASS&amp;nbsp;CL_GUI_CFW&amp;nbsp;DEFINITION&amp;nbsp;LOAD.&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;class&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;cl_myevent_handler&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;implementation&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;on_sapevent.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;case&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;action.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;WHEN&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;'ZORD'&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;CALL&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;TRANSACTION&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;'ZORD'&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;WHEN&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;'ZORD_SPLIT'&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;CALL&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;TRANSACTION&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;'ZORD_SPLIT'&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;endcase&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;endmethod&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;In this test case I have created a container as HTML_CONTROL&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;html_control&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;is&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;initial&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;prog_repid&amp;nbsp;=&amp;nbsp;sy-repid.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;create&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;object&amp;nbsp;my_container&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;exporting&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;container_name&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;'HTML_CONTROL'&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;create&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;object&amp;nbsp;html_control&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;exporting&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parent&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;my_container.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;sy-subrc&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;ne&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s321"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;do&amp;nbsp;nothing.&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;endif&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;*&amp;nbsp;register&amp;nbsp;event&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;myevent-eventid&amp;nbsp;=&amp;nbsp;html_control-&amp;gt;m_id_sapevent.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;myevent-appl_event&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;'x'&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;append&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;myevent&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;to&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;myevent_tab.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;call&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;html_control-&amp;gt;set_registered_events&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;exporting&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;events&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;=&amp;nbsp;myevent_tab.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;create&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;object&amp;nbsp;evt_receiver.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;set&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;handler&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;evt_receiver-&amp;gt;on_sapevent&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;html_control.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;perform&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;load_graphics.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;perform&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;load_home_page.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;endif&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-size: 10pt; line-height: 115%;"&gt;You can call load graphics and map you html image with your image uploaded to SAP&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;call&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;html_control-&amp;gt;load_mime_object&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;exporting&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;object_id&amp;nbsp;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;'ZSAP_IMG'&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;object_url&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;‘image.jpeg’&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;exceptions&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;others&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="l1s321"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;The once load call your html page as below&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;call&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;html_control-&amp;gt;load_html_document&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;exporting&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document_id&amp;nbsp;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;'ZTEST_PAGE_6'&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;importing&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;assigned_url&amp;nbsp;=&amp;nbsp;doc_url&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;exceptions&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;others&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="l1s321"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;sy-subrc&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;eq&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s321"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;call&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&amp;nbsp;html_control-&amp;gt;show_url&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;exporting&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;url&amp;nbsp;=&amp;nbsp;doc_url.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;endif&lt;/span&gt;&lt;/span&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-size: 10pt; line-height: 115%;"&gt;If you call your screen now you should see the html page with all the images and links .&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="background: none repeat scroll 0% 0% white; color: black; font-size: 10pt; line-height: 115%;"&gt;For a abaper this is not a big piece of work but adding something like this will always give you some extra hip &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-6298098731942624217?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/6298098731942624217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=6298098731942624217&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6298098731942624217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6298098731942624217'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2010/10/final-touch-add-htmp-page-on-sap-screen.html' title='The final touch (add a htmp page on SAP screen)'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_UfInfZb9zSI/TK-vhPTPaqI/AAAAAAAAAKo/p-NGTDwrX34/s72-c/sap.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-4537441141166961009</id><published>2010-06-03T10:24:00.000+05:30</published><updated>2010-06-03T10:24:28.448+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='exits'/><category scheme='http://www.blogger.com/atom/ns#' term='badi'/><title type='text'>How to find BAdi</title><content type='html'>This post is taken from &lt;a href="http://erpgenie.com/abaptips/content/view/594/40/"&gt;http://erpgenie.com/abaptips/content/view/594/40/&lt;/a&gt;&lt;br /&gt;I have added this here since it might be useful to me if in case I forget how to find a BADI :)&lt;br /&gt;&lt;br /&gt;Business Add-Ins (BAdis) are a &amp;nbsp;SAP enhancement technique based on ABAP Objects.&amp;nbsp;Two parts - Definition and its Implementation - definition can either be SAP provided or user may also create it.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;You can look for BAdi definition in IMG and in component hierarchy. But there are some easier methods to find a BAdi. They are follows:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Method 1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;These steps should enable you to find a BAdi related to any transaction in a matter of minutes.&lt;/div&gt;&lt;ul&gt;&lt;li&gt;1) Go to the transaction SE37 to find your function module.&lt;/li&gt;&lt;li&gt;2) Locate the function SXV_GET_CLIF_BY_NAME.&lt;/li&gt;&lt;li&gt;3) Put a break-point there.&lt;/li&gt;&lt;li&gt;4) Now open a new session.&lt;/li&gt;&lt;li&gt;5) Go to your transaction.&lt;/li&gt;&lt;li&gt;6) At that time, it will stop this function.&lt;/li&gt;&lt;li&gt;7) Double click on the function field NAME.&lt;/li&gt;&lt;li&gt;8) That will give you name of the BAdi that is provided in your transaction.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Method 2&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;1.&amp;nbsp;Goto SE80, &amp;nbsp;open CL_EXITHANDLER (Class)&lt;/li&gt;&lt;li&gt;2.&amp;nbsp;Goto Method, GET_INSTANCE&lt;/li&gt;&lt;li&gt;3. Set a break point at&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;CALL METHOD cl_exithandler=&amp;gt;get_class_name_by_interface&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;EXPORTING&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;instance &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= instance&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;IMPORTING&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;class_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= class_name&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;CHANGING&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;exit_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = exit_name&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;EXCEPTIONS&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;no_reference &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;no_interface_reference &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;no_exit_interface &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;data_incons_in_exit_managem &amp;nbsp; = 4&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;class_not_implement_interface = 5&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;OTHERS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 6.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;CASE sy-subrc.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;WHEN 1.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;RAISE no_reference.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;WHEN 2.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;RAISE no_interface_reference.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;WHEN 3.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;RAISE no_exit_interface.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;WHEN 4.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;RAISE data_incons_in_exit_managem.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;WHEN 5.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;RAISE class_not_implement_interface.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;ENDCASE.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;4) Now open a new session.&lt;/li&gt;&lt;li&gt;5) Go to your transaction.&lt;/li&gt;&lt;li&gt;6) At that time, it will stop this function.&lt;/li&gt;&lt;li&gt;7) Double click on the function field EXIT_NAME.&lt;/li&gt;&lt;li&gt;8) That will give you name of the BAdi that is provided in your transaction.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Method 3:&lt;/strong&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;1.&amp;nbsp;Goto ST05&lt;/li&gt;&lt;li&gt;2.&amp;nbsp;Select SQL trace and buffer trace&lt;/li&gt;&lt;li&gt;3.&amp;nbsp;Activate trace&lt;/li&gt;&lt;li&gt;4.&amp;nbsp;Now run your transaction&lt;/li&gt;&lt;li&gt;5.&amp;nbsp;Deactivate trace&lt;/li&gt;&lt;li&gt;6.&amp;nbsp;Display trace7.&amp;nbsp;A pop will come&lt;/li&gt;&lt;li&gt;8. Enter V_EXT_ACT and V_EXT_IMP as the 2 objects&lt;/li&gt;&lt;li&gt;9.&amp;nbsp;Now display the trace results.&amp;nbsp;It will return all the BAPI and enhancement list in order of their execution.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-4537441141166961009?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/4537441141166961009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=4537441141166961009&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4537441141166961009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4537441141166961009'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2010/06/how-to-find-badi.html' title='How to find BAdi'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-2849147012731366413</id><published>2010-03-19T15:18:00.000+05:30</published><updated>2010-03-19T15:18:30.264+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='IDOCS'/><category scheme='http://www.blogger.com/atom/ns#' term='WMMBXY'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='/AFS/WMMBID02'/><title type='text'>IDOC /AFS/WMMBID02 message type : WMMBXY</title><content type='html'>i have been stuck with the idoc /AFS/WMMBID02 message type WMMBXY giving an error when ever i try to do a movement type 122.&lt;br /&gt;I was Debugging the stranded code for more than 2 days and later i Found out that this occurs since the idoc requires few more information. this was mentioned on SAP note 833603.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Symptom&lt;/b&gt;&lt;br /&gt;You want to post goods receipt for a stock transport order using an IDoc .&lt;br /&gt;&lt;br /&gt;&lt;b&gt;More Terms&lt;/b&gt;&lt;br /&gt;WMMBXY, WMMBID01, WMMBID02, MBGMCR, L_IDOC_INPUT_WMMBXY&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Cause and Prerequisites&lt;/b&gt;&lt;br /&gt;It is not clear how the segments are to be filled, to ensure correct&lt;br /&gt;assignment and updating of the delivery if necessary.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt;The following sections only take into account processing with SAP core s&lt;br /&gt;tandard functions and do not include industry solutions.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Goods receipt for delivery&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;a) WMMBXY (WMMBID01, WMMBID02)&lt;/b&gt;&lt;br /&gt;The following fields in the segment E1MBXYI must be filled:&lt;br /&gt;EBELN Purchase order number&lt;br /&gt;EBELP Purchase order item&lt;br /&gt;KZBEW Movement indicator = 'B'&lt;br /&gt;POSNR Delivery item (with leading zeros)&lt;br /&gt;VBELN Delivery (with leading zeros)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;b) MBGMCR (MBGMCR01, MBGMCR02)&lt;/b&gt;&lt;br /&gt;Prerequisite: Note 356665 and basic type MBGMCR02 (not MBGMCR01).&lt;br /&gt;The segment E1BP2017_GM_CODE receives the value GM_CODE = '01'.&lt;br /&gt;In the segment E1BP2017_GM_ITEM_CREATE, the following must be&lt;br /&gt;filled:&lt;br /&gt;PO_NUMBER Purchase order number&lt;br /&gt;PO_ITEM Purchase order item&lt;br /&gt;MVT_IND Movement indicator = 'B'&lt;br /&gt;In the subordinate segment E1BP2017_GM_ITEM_CREATE1, the following&lt;br /&gt;must be filled:&lt;br /&gt;DELIV_NUMB Delivery (with leading zeros)&lt;br /&gt;DELIV_ITEM Delivery item (with leading zeros)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Goods receipt for the inbound delivery&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;a) WMMBXY (WMMBID01, WMMBID02)&lt;/b&gt;&lt;br /&gt;In the segment E1MBXYI, no purchase order must be assigned. The&lt;br /&gt;fields EBELN and EBELP remain blank. The movement indicator (KZBEW)&lt;br /&gt;&lt;br /&gt;receives the value 'B'.&lt;br /&gt;In the subordinate segment E1MBXYJ, the following are to be filled:&lt;br /&gt;VLIEF_AVIS Inbound delivery&lt;br /&gt;VBELP_AVIS Inbound delivery item&lt;br /&gt;&lt;br /&gt;&lt;b&gt;b) MBGMCR&lt;/b&gt;&lt;br /&gt;The segment E1BP2017_GM_CODE receives the value GM_CODE = '01'.&lt;br /&gt;In the segment E1BP2017_GM_ITEM_CREATE, no purchase order must be&lt;br /&gt;assigned. The fields PO_NUMBER and PO_ITEM remain blank. The&lt;br /&gt;following must be filled:&lt;br /&gt;MVT_IND Movement indicator = 'B'&lt;br /&gt;DELIV_NUMB_TO_SEARCH Inbound delivery (with leading zeros)&lt;br /&gt;DELIV_ITEM_TO_SEARCH Inbound delivery item (with leading zeros)&lt;br /&gt;&lt;br /&gt;IDOCs of the message type WMMBXY are updated using the function&lt;br /&gt;module L_IDOC_INPUT_WMMBXY. In this module, you can change data&lt;br /&gt;using the user exit 'EXIT_SAPLLMDE_002'. Here, use Transaction CMOD&lt;br /&gt;to activate the SAP enhancement MWMIDO08 and implement the required&lt;br /&gt;changes in the exit function module EXIT_SAPLLMDE_002.&lt;br /&gt;&lt;br /&gt;hope this post will help someone else who might get stuck like me&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-2849147012731366413?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/2849147012731366413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=2849147012731366413&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/2849147012731366413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/2849147012731366413'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2010/03/idoc-afswmmbid02-message-type-wmmbxy.html' title='IDOC /AFS/WMMBID02 message type : WMMBXY'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-8621876938362455247</id><published>2010-03-09T10:33:00.000+05:30</published><updated>2010-03-09T10:33:55.571+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='selection screen'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>selection option recommended sign</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_UfInfZb9zSI/S5XViSveA4I/AAAAAAAAAIs/j5pt65QMCrs/s1600-h/recommened+screen.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_UfInfZb9zSI/S5XViSveA4I/AAAAAAAAAIs/j5pt65QMCrs/s320/recommened+screen.bmp" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;most of the time when we develop a report program or a selection screen. We have to remove the standard validation which comes when we define a selection option as mandatory and add a custom validation. In such cases we are unable to display the selection option as a mandatory sign. To do this we can make the input field recommended which will give the sign. bellow is the code how to do it.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;AT SELECTION-SCREEN OUTPUT.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;LOOP AT SCREEN.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;     IF screen-name EQ 'S_WERKS-LOW'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;       screen-required = 2. "2 is recommended&lt;br /&gt;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&amp;nbsp;     MODIFY SCREEN.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;ENDLOOP.&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-8621876938362455247?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/8621876938362455247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=8621876938362455247&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/8621876938362455247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/8621876938362455247'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2010/03/selection-option-recommended-sign.html' title='selection option recommended sign'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_UfInfZb9zSI/S5XViSveA4I/AAAAAAAAAIs/j5pt65QMCrs/s72-c/recommened+screen.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-7524784181167950352</id><published>2010-03-08T11:03:00.000+05:30</published><updated>2010-03-08T11:03:37.043+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='selection screen'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>selection screen with tabs</title><content type='html'>This post is about selection screen with tabs. Selection screen with tabs are not that hard to implement on ABAP and I am sure if you search online you will always get the code for it.... but just to start things ill just give the code no a basic selection screen with tabs...&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN .&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;SELECT-OPTIONS: s_ebeln FOR zconf_stage-ebeln,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_ebelp FOR zconf_stage-ebelp,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_bsart FOR ekko-bsart,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_werks FOR ekpo-werks,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_matnr FOR ekpo-matnr,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_lifnr FOR ekko-lifnr,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_ekgrp FOR ekko-ekgrp,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_budat FOR zconf_stage-budat,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_kunnr FOR vbpa-kunnr.&lt;br /&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN END OF SCREEN 101.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN BEGIN OF SCREEN 102 AS SUBSCREEN .&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.&lt;br /&gt;&lt;br /&gt;SELECT-OPTIONS: s_ebeln1 FOR zconf_stage-ebeln,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_bsart1 FOR ekko-bsart,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_werks1 FOR ekpo-werks ,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_matnr1 FOR ekpo-matnr,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_lifnr1 FOR ekko-lifnr,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_ekgrp1 FOR ekko-ekgrp,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_budat1 FOR zconf_stage-budat,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_kunnr1 FOR vbpa-kunnr.&lt;br /&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN END OF SCREEN 102.&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 24 LINES,&lt;br /&gt;TAB (30) button1 USER-COMMAND on,&lt;br /&gt;TAB (30) button2 USER-COMMAND auto,&lt;br /&gt;END OF BLOCK mytab.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;INITIALIZATION.&lt;br /&gt;&amp;nbsp; button1 = text-011.&lt;br /&gt;&amp;nbsp; button2 = text-012.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; mytab-prog = sy-repid.&lt;br /&gt;&amp;nbsp; mytab-dynnr = 101.&lt;br /&gt;&amp;nbsp; mytab-activetab = 'BUTTON1'.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AT SELECTION-SCREEN .&lt;br /&gt;&lt;br /&gt;&amp;nbsp; IF sy-batch = 'X'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-dynnr = 102.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-activetab = 'BUTTON2'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sy-ucomm = 'AUTO'.&lt;br /&gt;&amp;nbsp; ENDIF.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; CASE sy-dynnr.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 1000.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CASE sy-ucomm.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'ON'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-dynnr = 101.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-activetab = 'BUTTON1'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'AUTO'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-dynnr = 102.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-activetab = 'BUTTON2'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcase.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 0101.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-dynnr = 101.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-activetab = 'BUTTON1'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'ONLI'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERFORM screen_validation101.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDCASE.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 0102.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-dynnr = 102.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mytab-activetab = 'BUTTON2'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case sy-ucomm.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'ONLI'.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERFORM screen_validation102.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDCASE.&lt;br /&gt;&amp;nbsp; ENDCASE.&lt;br /&gt;&lt;br /&gt;START-OF-SELECTION.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; CASE mytab-activetab.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'BUTTON1'."online mode&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'BUTTON2'." when automatic&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp; ENDCASE.&lt;br /&gt;&lt;br /&gt;now the above code is to a selection screen with tabs that you code using a report program.( this code cannot be used in module pool program )&lt;br /&gt;&lt;br /&gt;When a customer request to a selection screen with tabs there can be 2 reasons.&lt;br /&gt;&lt;br /&gt;1) To group a selection on one out put ( I mean the final out-put is one but selection screen can be with tabs to make things clear for e.g on SD related report the tabs can be Material selection , SO selection like wise )&lt;br /&gt;&lt;br /&gt;2) The user requires different kind of out comes with different tabs... for e.g tab no1 to work during online operations and tab no 2 to work on background operations.&lt;br /&gt;&lt;br /&gt;The above requirement 1 which will be totally fine with the code given on top. But the requirement 2 will be a issue when it comes to the above code. As most of the developers know on a selection screen we will always have mandatory fields. when switching between tabs the selection screen first calls the validation and then it calls the normal screen code ( as you know the validation is automatic if me make a selection option mandatory and we have no say on it ).&lt;br /&gt;&amp;nbsp; So in case if the user wants the functionality of the tab 2 he first has to fill all the mandatory fields on tab 1 so that the error wont occur. This was a error I had to face during my development for this there are 2 way outs&lt;br /&gt;&lt;br /&gt;1) do the validation by your self ( draw back : you wont get the mandatory sign on the selection screen )&lt;br /&gt;2) write a selection screen with tabs ( draw back : the user wont be able to save variants or this part has to be coded which will be a messy job )&amp;nbsp; &lt;br /&gt;&lt;br /&gt;for the 2nd option on above to make sure the tab switching with happen without first validating you have to do the codding as follows &lt;br /&gt;&lt;br /&gt;PROCESS BEFORE OUTPUT.&lt;br /&gt;&amp;nbsp; MODULE STATUS_0100.&lt;br /&gt;&amp;nbsp; MODULE set_tabs.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; call SUBSCREEN SUB INCLUDING sy-repid gv_dynnr.&lt;br /&gt;*&lt;br /&gt;PROCESS AFTER INPUT.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; MODULE exit_comm.&lt;br /&gt;&amp;nbsp; MODULE switch_tab.&lt;br /&gt;&amp;nbsp; CALL SUBSCREEN SUB.&lt;br /&gt;&amp;nbsp; MODULE screen_comm.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; MODULE USER_COMMAND_0100.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;before call sub screen you have to call a module switch tabs.&lt;br /&gt;&lt;br /&gt;on my case my customer wanted the variants to be there. Therefore they agreed to the validation by code where the mandatory sign is not displayed.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_UfInfZb9zSI/S5SJxfMzX6I/AAAAAAAAAIk/bjzUdihpwPY/s1600-h/screen.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_UfInfZb9zSI/S5SJxfMzX6I/AAAAAAAAAIk/bjzUdihpwPY/s320/screen.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-7524784181167950352?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/7524784181167950352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=7524784181167950352&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/7524784181167950352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/7524784181167950352'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2010/03/selection-screen-with-tabs.html' title='selection screen with tabs'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_UfInfZb9zSI/S5SJxfMzX6I/AAAAAAAAAIk/bjzUdihpwPY/s72-c/screen.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-4445855833026663357</id><published>2010-03-02T12:39:00.001+05:30</published><updated>2010-03-02T12:39:46.632+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='random'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><title type='text'>five months of busy work</title><content type='html'>For the past 5 moths I have been really busy that I didn't have anytime to blog or contribute to SCN on SAP. During these 5 months I was working for 1 main client on one main area it was all about Vendor confirmations. I have been so much into it that now I know a lot about the confirmation process. There were two main developments where one was on SAP user level and other was on customer level which was a web Dynpro development. During this period I gained lots of functional Exp but on technical side it was noting much same old ABAP.&lt;br /&gt;&lt;br /&gt;but there were few limitations which I came a cross when I developed tab striped selection screen which I am hoping to blog sometime in the future.&lt;br /&gt;&lt;br /&gt;till then enjoy reading my old post's on SAP but still there is nothing much since from the time I joined my work place I hardly had any free time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-4445855833026663357?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/4445855833026663357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=4445855833026663357&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4445855833026663357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4445855833026663357'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2010/03/five-months-of-busy-work.html' title='five months of busy work'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-4254960907122171052</id><published>2009-09-16T10:12:00.000+05:30</published><updated>2009-09-16T10:12:14.029+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>when and where we can use parallel cursor</title><content type='html'>&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 12" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 12" name="Originator"&gt;&lt;/meta&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CNAFRAN%7E1.AHA%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CNAFRAN%7E1.AHA%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CNAFRAN%7E1.AHA%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"&gt;&lt;/link&gt;    &lt;m:smallfrac m:val="off"&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val="0"&gt;    &lt;m:rmargin m:val="0"&gt;    &lt;m:defjc m:val="centerGroup"&gt;    &lt;m:wrapindent m:val="1440"&gt;    &lt;m:intlim m:val="subSup"&gt;    &lt;m:narylim m:val="undOvr"&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;&lt;!-- /* Font Definitions */ @font-face	{font-family:Courier;	panose-1:2 7 4 9 2 2 5 2 4 4;	mso-font-charset:0;	mso-generic-font-family:modern;	mso-font-format:other;	mso-font-pitch:fixed;	mso-font-signature:3 0 0 0 1 0;}@font-face	{font-family:"Cambria Math";	panose-1:2 4 5 3 5 4 6 3 2 4;	mso-font-charset:0;	mso-generic-font-family:roman;	mso-font-pitch:variable;	mso-font-signature:-1610611985 1107304683 0 0 159 0;}@font-face	{font-family:Calibri;	panose-1:2 15 5 2 2 2 4 3 2 4;	mso-font-charset:0;	mso-generic-font-family:swiss;	mso-font-pitch:variable;	mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal	{mso-style-unhide:no;	mso-style-qformat:yes;	mso-style-parent:"";	margin-top:0in;	margin-right:0in;	margin-bottom:10.0pt;	margin-left:0in;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}.MsoChpDefault	{mso-style-type:export-only;	mso-default-props:yes;	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}.MsoPapDefault	{mso-style-type:export-only;	margin-bottom:10.0pt;	line-height:115%;}@page Section1	{size:8.5in 11.0in;	margin:1.0in 1.0in 1.0in 1.0in;	mso-header-margin:.5in;	mso-footer-margin:.5in;	mso-paper-source:0;}div.Section1	{page:Section1;}--&gt;&lt;/style&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;Loop AT i_primary into wa_primary.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;Loop AT i_secondary into wa_secondary from lv_index.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;If ( wa_primary-field1 NE wa_secondary-field1 ) or&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;( wa_primary-field2 NE wa_secondary-field2 ).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;Lv_index = sy-tabix.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;Endif. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;“ your code comes here “ &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;Endloop.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;Endloop.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 12" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 12" name="Originator"&gt;&lt;/meta&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CNAFRAN%7E1.AHA%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CNAFRAN%7E1.AHA%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CNAFRAN%7E1.AHA%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"&gt;&lt;/link&gt;    &lt;m:smallfrac m:val="off"&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val="0"&gt;    &lt;m:rmargin m:val="0"&gt;    &lt;m:defjc m:val="centerGroup"&gt;    &lt;m:wrapindent m:val="1440"&gt;    &lt;m:intlim m:val="subSup"&gt;    &lt;m:narylim m:val="undOvr"&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;&lt;!-- /* Font Definitions */ @font-face	{font-family:"Cambria Math";	panose-1:2 4 5 3 5 4 6 3 2 4;	mso-font-charset:0;	mso-generic-font-family:roman;	mso-font-pitch:variable;	mso-font-signature:-1610611985 1107304683 0 0 159 0;}@font-face	{font-family:Calibri;	panose-1:2 15 5 2 2 2 4 3 2 4;	mso-font-charset:0;	mso-generic-font-family:swiss;	mso-font-pitch:variable;	mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal	{mso-style-unhide:no;	mso-style-qformat:yes;	mso-style-parent:"";	margin-top:0in;	margin-right:0in;	margin-bottom:10.0pt;	margin-left:0in;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph	{mso-style-priority:34;	mso-style-unhide:no;	mso-style-qformat:yes;	margin-top:0in;	margin-right:0in;	margin-bottom:10.0pt;	margin-left:.5in;	mso-add-space:auto;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst	{mso-style-priority:34;	mso-style-unhide:no;	mso-style-qformat:yes;	mso-style-type:export-only;	margin-top:0in;	margin-right:0in;	margin-bottom:0in;	margin-left:.5in;	margin-bottom:.0001pt;	mso-add-space:auto;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle	{mso-style-priority:34;	mso-style-unhide:no;	mso-style-qformat:yes;	mso-style-type:export-only;	margin-top:0in;	margin-right:0in;	margin-bottom:0in;	margin-left:.5in;	margin-bottom:.0001pt;	mso-add-space:auto;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast	{mso-style-priority:34;	mso-style-unhide:no;	mso-style-qformat:yes;	mso-style-type:export-only;	margin-top:0in;	margin-right:0in;	margin-bottom:10.0pt;	margin-left:.5in;	mso-add-space:auto;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}.MsoChpDefault	{mso-style-type:export-only;	mso-default-props:yes;	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}.MsoPapDefault	{mso-style-type:export-only;	margin-bottom:10.0pt;	line-height:115%;}@page Section1	{size:8.5in 11.0in;	margin:1.0in 1.0in 1.0in 1.0in;	mso-header-margin:.5in;	mso-footer-margin:.5in;	mso-paper-source:0;}div.Section1	{page:Section1;} /* List Definitions */ @list l0	{mso-list-id:1211066273;	mso-list-type:hybrid;	mso-list-template-ids:1103781472 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}@list l0:level1	{mso-level-text:"%1\)";	mso-level-tab-stop:none;	mso-level-number-position:left;	text-indent:-.25in;}@list l0:level2	{mso-level-number-format:alpha-lower;	mso-level-tab-stop:none;	mso-level-number-position:left;	text-indent:-.25in;}ol	{margin-bottom:0in;}ul	{margin-bottom:0in;}--&gt;&lt;/style&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;To use this following should be true&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in;"&gt;1)&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Both tables should be sorted with the same key ( in the above case field1 and field2 )&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in;"&gt;2)&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The mapping between primary to secondary tables should be&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin-left: 1in; text-indent: -0.25in;"&gt;a.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;one to many ( for one record in primary there are multiple records in secondary ) &lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-indent: -0.25in;"&gt;b.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;one to one (for one record in primary there is only one in secondary )&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;Please note that other than the above 2 other 2 scenarios (many to many &amp;amp; many to one) will not work with the above logic and make sure you don’t use in such case.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in;"&gt;3)&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The secondary table should not contain a record which does not map to the primary table ( this will not happen if the secondary is fetched using for all entries from primary )&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-indent: -0.25in;"&gt;4)&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Please make sure you do not delete any record from primary before using the logic which will make the point 3 false &amp;nbsp;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="text-indent: -0.25in;"&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 12" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 12" name="Originator"&gt;&lt;/meta&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CNAFRAN%7E1.AHA%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CNAFRAN%7E1.AHA%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CNAFRAN%7E1.AHA%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"&gt;&lt;/link&gt;    &lt;m:smallfrac m:val="off"&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val="0"&gt;    &lt;m:rmargin m:val="0"&gt;    &lt;m:defjc m:val="centerGroup"&gt;    &lt;m:wrapindent m:val="1440"&gt;    &lt;m:intlim m:val="subSup"&gt;    &lt;m:narylim m:val="undOvr"&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;&lt;!-- /* Font Definitions */ @font-face	{font-family:"Cambria Math";	panose-1:2 4 5 3 5 4 6 3 2 4;	mso-font-charset:0;	mso-generic-font-family:roman;	mso-font-pitch:variable;	mso-font-signature:-1610611985 1107304683 0 0 159 0;}@font-face	{font-family:Calibri;	panose-1:2 15 5 2 2 2 4 3 2 4;	mso-font-charset:0;	mso-generic-font-family:swiss;	mso-font-pitch:variable;	mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal	{mso-style-unhide:no;	mso-style-qformat:yes;	mso-style-parent:"";	margin-top:0in;	margin-right:0in;	margin-bottom:10.0pt;	margin-left:0in;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph	{mso-style-priority:34;	mso-style-unhide:no;	mso-style-qformat:yes;	margin-top:0in;	margin-right:0in;	margin-bottom:10.0pt;	margin-left:.5in;	mso-add-space:auto;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst	{mso-style-priority:34;	mso-style-unhide:no;	mso-style-qformat:yes;	mso-style-type:export-only;	margin-top:0in;	margin-right:0in;	margin-bottom:0in;	margin-left:.5in;	margin-bottom:.0001pt;	mso-add-space:auto;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle	{mso-style-priority:34;	mso-style-unhide:no;	mso-style-qformat:yes;	mso-style-type:export-only;	margin-top:0in;	margin-right:0in;	margin-bottom:0in;	margin-left:.5in;	margin-bottom:.0001pt;	mso-add-space:auto;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast	{mso-style-priority:34;	mso-style-unhide:no;	mso-style-qformat:yes;	mso-style-type:export-only;	margin-top:0in;	margin-right:0in;	margin-bottom:10.0pt;	margin-left:.5in;	mso-add-space:auto;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}.MsoChpDefault	{mso-style-type:export-only;	mso-default-props:yes;	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-fareast-font-family:Calibri;	mso-fareast-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}.MsoPapDefault	{mso-style-type:export-only;	margin-bottom:10.0pt;	line-height:115%;}@page Section1	{size:8.5in 11.0in;	margin:1.0in 1.0in 1.0in 1.0in;	mso-header-margin:.5in;	mso-footer-margin:.5in;	mso-paper-source:0;}div.Section1	{page:Section1;} /* List Definitions */ @list l0	{mso-list-id:1211066273;	mso-list-type:hybrid;	mso-list-template-ids:1103781472 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}@list l0:level1	{mso-level-text:"%1\)";	mso-level-tab-stop:none;	mso-level-number-position:left;	text-indent:-.25in;}@list l0:level2	{mso-level-number-format:alpha-lower;	mso-level-tab-stop:none;	mso-level-number-position:left;	text-indent:-.25in;}ol	{margin-bottom:0in;}ul	{margin-bottom:0in;}--&gt;&lt;/style&gt;5)&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If you were to use a 'AND' in where statement of the inner loop you should use or in the inner loop if condition in the above logic.&amp;nbsp;  &lt;br /&gt;&lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;/div&gt;&amp;nbsp;  &lt;span style="font-family: Courier;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Courier;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-4254960907122171052?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/4254960907122171052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=4254960907122171052&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4254960907122171052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4254960907122171052'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/09/when-and-where-we-can-use-parallel.html' title='when and where we can use parallel cursor'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-8055285967174012425</id><published>2009-09-11T15:55:00.000+05:30</published><updated>2009-09-11T15:55:18.046+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>Copy to Clipborad SAP</title><content type='html'>copy to clipborad&lt;br /&gt;&lt;br /&gt;Bellow code is how to copy data to clipboard. This feature helps you when there is a BDC recording and you want to add selection extended options&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA: v_rc TYPE I,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_data TYPE STANDARD TABLE OF CHAR128,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_data TYPE char128.&lt;br /&gt;&lt;br /&gt;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;CLIPBOARD_EXPORT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING DATA = it_data&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHANGING RC = v_rc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-8055285967174012425?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/8055285967174012425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=8055285967174012425&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/8055285967174012425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/8055285967174012425'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/09/copy-to-clipborad-sap.html' title='Copy to Clipborad SAP'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-6137178116539024070</id><published>2009-08-31T08:55:00.006+05:30</published><updated>2009-08-31T09:27:48.242+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='button'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>How to add a button on selection screen</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_UfInfZb9zSI/SptJno3055I/AAAAAAAAAHI/gDhV8tt2uI4/s1600-h/sel.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://4.bp.blogspot.com/_UfInfZb9zSI/SptJno3055I/AAAAAAAAAHI/gDhV8tt2uI4/s320/sel.JPG" alt="" id="BLOGGER_PHOTO_ID_5375971525532116882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;one small thing I came across on a customer development was to add a button on the selection screen. I have not done such a requirement before for any customer so i didn't any idea on how to do it.&lt;br /&gt;&lt;br /&gt;After doing some searching this is what I found out was :).&lt;br /&gt;&lt;br /&gt;For a selection screen you can put up to 5 buttons this is a default feature which is available to use if you want.&lt;br /&gt;For that these are the steps you have to do&lt;br /&gt;&lt;br /&gt;I have added the button in two ways one is just the button with the text next one button with a icon.&lt;br /&gt;&lt;br /&gt;The data declarations for these are.&lt;br /&gt;&lt;style type="text/css"&gt; SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L1S52 { color: #0000FF; } &lt;/style&gt; &lt;span&gt;&lt;span class="L1S52"&gt;TABLES&lt;/span&gt;: sscrfields.&lt;/span&gt;&lt;br /&gt;&lt;style type="text/css"&gt; SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L1S33 { color: #4DA619; } .L1S52 { color: #0000FF; } &lt;/style&gt; &lt;span&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt;: functxt &lt;span class="L1S52"&gt;TYPE&lt;/span&gt; smp_dyntxt.&lt;/span&gt;  &lt;style type="text/css"&gt;SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L1S31 { font-style: italic; color: #808080; } .L1S32 { color: #3399FF; } .L1S33 { color: #4DA619; } .L1S52 { color: #0000FF; } &lt;/style&gt; &lt;span&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span&gt;SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; &lt;span class="L1S52"&gt;BEGIN&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; &lt;span class="L1S52"&gt;BLOCK&lt;/span&gt; block1 &lt;span class="L1S52"&gt;WITH&lt;/span&gt; &lt;span class="L1S52"&gt;FRAME&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;TITLE&lt;/span&gt; &lt;span class="L1S52"&gt;TEXT&lt;/span&gt;-&lt;span class="L1S32"&gt;001&lt;/span&gt;.&lt;br /&gt;&lt;span class="L1S52"&gt;SELECT&lt;/span&gt;-OPTIONS: p_ktopl &lt;span class="L1S52"&gt;FOR&lt;/span&gt; t030-ktopl.&lt;br /&gt;&lt;br /&gt;SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; &lt;span class="L1S52"&gt;END&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; &lt;span class="L1S52"&gt;BLOCK&lt;/span&gt; block1.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;style type="text/css"&gt; SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L1S32 { color: #3399FF; } .L1S52 { color: #0000FF; } &lt;/style&gt; &lt;span&gt;SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S52"&gt;KEY&lt;/span&gt; &lt;span class="L1S32"&gt;1&lt;/span&gt;.&lt;br /&gt;SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S52"&gt;KEY&lt;/span&gt; &lt;span class="L1S32"&gt;2&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;style type="text/css"&gt; SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L1S32 { color: #3399FF; } .L1S33 { color: #4DA619; } .L1S52 { color: #0000FF; } &lt;/style&gt; &lt;span&gt;functxt-icon_id   = ICON_HISTORY.&lt;br /&gt;functxt-quickinfo = &lt;span class="L1S33"&gt;'log'&lt;/span&gt;(&lt;span class="L1S32"&gt;001&lt;/span&gt;).&lt;br /&gt;sscrfields-functxt_01 = functxt.&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;MOVE&lt;/span&gt; &lt;span class="L1S33"&gt;'Maintain Item Cat.'&lt;/span&gt; &lt;span class="L1S52"&gt;TO&lt;/span&gt; sscrfields-functxt_02.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-6137178116539024070?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/6137178116539024070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=6137178116539024070&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6137178116539024070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6137178116539024070'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/08/how-to-add-button-on-selection-screen.html' title='How to add a button on selection screen'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_UfInfZb9zSI/SptJno3055I/AAAAAAAAAHI/gDhV8tt2uI4/s72-c/sel.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-1111398150026969403</id><published>2009-07-16T10:23:00.002+05:30</published><updated>2009-08-19T20:17:55.020+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='tooltip'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>how to add tooltip to icon</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_UfInfZb9zSI/Sl6y6frUT6I/AAAAAAAAAHA/HPUeRA-5BTE/s1600-h/icon.bmp"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 231px;" src="http://2.bp.blogspot.com/_UfInfZb9zSI/Sl6y6frUT6I/AAAAAAAAAHA/HPUeRA-5BTE/s320/icon.bmp" alt="" id="BLOGGER_PHOTO_ID_5358917324622811042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;its very easy to add tooltip to icon's&lt;br /&gt;&lt;br /&gt;1) have a icon field in output table ( this can be a char field with 25 characters)&lt;br /&gt;&lt;br /&gt;2) in case if you cant to add the lock icon for that icon field put&lt;br /&gt;  &lt;gfs_catsdb&gt;-icon = '@06\QIn process@'.&lt;br /&gt;&lt;br /&gt;  in this @06@ is the icon when you give the tooltip with '\QXXXtooltipXXX'&lt;br /&gt;  insert this part beore last @.&lt;br /&gt;&lt;br /&gt;Note: if you want to find the icons check icon table :)&lt;br /&gt;&lt;br /&gt;3) field catalog make the icon field 'X'.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;there is a SAP example on program: BCALV_DEMO_TOOLTIP&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/gfs_catsdb&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-1111398150026969403?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/1111398150026969403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=1111398150026969403&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/1111398150026969403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/1111398150026969403'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/07/how-to-add-tooltip-to-icon.html' title='how to add tooltip to icon'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_UfInfZb9zSI/Sl6y6frUT6I/AAAAAAAAAHA/HPUeRA-5BTE/s72-c/icon.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-1440309750962455729</id><published>2009-06-23T15:31:00.002+05:30</published><updated>2009-06-23T15:35:05.180+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='debug'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>How to Debug any screen on SAP</title><content type='html'>its very simple just put this code on a text file and save it with what even name you want e.g debug&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;[FUNCTION]&lt;br /&gt;Command=/H&lt;br /&gt;Title=Debugger&lt;br /&gt;Type=SystemCommand&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;when ever you want to debug you dont have to use /h but just drag and drop this on the SAP screen this enables you to debug on popup screens&lt;br /&gt;&lt;br /&gt;Hope this will be useful&lt;br /&gt;&lt;br /&gt;nafran&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-1440309750962455729?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/1440309750962455729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=1440309750962455729&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/1440309750962455729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/1440309750962455729'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/06/how-to-debug-any-screen-on-sap.html' title='How to Debug any screen on SAP'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-9081517219148495059</id><published>2009-06-10T09:16:00.002+05:30</published><updated>2009-06-10T09:20:08.203+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>how to get the  first day and last day SAP</title><content type='html'>Most of the time when we need the first day and the last day of a given month we always run to get a function. why use a function when its so easy to code it&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;*get first and last date of month and year&lt;br /&gt;  CONCATENATE s_bdatj-low s_mnr-low '01' INTO gv_date1.&lt;br /&gt;&lt;br /&gt;  gv_month = s_mnr-low .&lt;br /&gt;  gv_month = gv_month + 01.&lt;br /&gt;&lt;br /&gt;  CONCATENATE s_bdatj-low gv_month '01' INTO gv_date2.&lt;br /&gt;&lt;br /&gt;  gv_date2 = gv_date2 - 1.&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-9081517219148495059?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/9081517219148495059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=9081517219148495059&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/9081517219148495059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/9081517219148495059'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/06/how-to-get-first-day-and-last-day-sap.html' title='how to get the  first day and last day SAP'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-6222290380455185734</id><published>2009-06-08T09:10:00.009+05:30</published><updated>2009-09-08T14:24:44.022+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='bulk fetch'/><title type='text'>only way of parallel or Multi Threading on SAP</title><content type='html'>&lt;span style="font-size: 100%;"&gt;&lt;span style="font-family: georgia;"&gt;Sometimes you get programs where you might have done almost all the programming best practices and Indexing and other stuff but still the program will run very slow.On a time like this sometimes we might wonder is there anyway to do parallel processing or something like multi treading on SAP.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Hmm.... there is only one way that I can think about in SAP and we can get all most all features on Parallel processing from this way.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;CALL FUNCTION &lt;span style="color: navy;"&gt;'Fetch_Data'&lt;/span&gt;&lt;br /&gt;STARTING NEW TASK &lt;span style="color: navy;"&gt;'Fetch'&lt;br /&gt;performing RETURN_FROM_WAIT ON END OF TASK&lt;/span&gt;&lt;/code&gt;&lt;style&gt;&lt;br /&gt;!--  /* Font Definitions */  @font-face  {font-family:"Cambria Math";  panose-1:2 4 5 3 5 4 6 3 2 4;  mso-font-charset:1;  mso-generic-font-family:roman;  mso-font-format:other;  mso-font-pitch:variable;  mso-font-signature:0 0 0 0 0 0;} @font-face  {font-family:Calibri;  panose-1:2 15 5 2 2 2 4 3 2 4;  mso-font-charset:0;  mso-generic-font-family:swiss;  mso-font-pitch:variable;  mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-parent:"";  margin-top:0in;  margin-right:0in;  margin-bottom:10.0pt;  margin-left:0in;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:Calibri;  mso-fareast-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} span.l1s521  {mso-style-name:l1s521;  mso-style-unhide:no;  mso-ansi-font-size:10.0pt;  mso-bidi-font-size:10.0pt;  font-family:"Courier New";  mso-ascii-font-family:"Courier New";  mso-hansi-font-family:"Courier New";  mso-bidi-font-family:"Courier New";  color:blue;  background:white;} .MsoChpDefault  {mso-style-type:export-only;  mso-default-props:yes;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:Calibri;  mso-fareast-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} .MsoPapDefault  {mso-style-type:export-only;  margin-bottom:10.0pt;  line-height:115%;} @page Section1  {size:8.5in 11.0in;  margin:1.0in 1.0in 1.0in 1.0in;  mso-header-margin:.5in;  mso-footer-margin:.5in;  mso-paper-source:0;} div.Section1  {page:Section1;} --&gt; &lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;code class="jive-code jive-java"&gt;     EXPORTING&lt;br /&gt;input            = input&lt;br /&gt;TABLES&lt;br /&gt;output             = output&lt;br /&gt;EXCEPTIONS&lt;br /&gt;COMMUNICATION_FAILURE = 1&lt;br /&gt;SYSTEM_FAILURE        = 2.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Important : you cant use any import parameters on the function no this&lt;br /&gt;method the only option is to using the &lt;/span&gt;&lt;/code&gt;&lt;span style="-moz-background-clip: -moz-initial; -moz-background-inline-policy: -moz-initial; -moz-background-origin: -moz-initial; background: white none repeat scroll 0% 0%; color: black; font-family: &amp;quot;; font-size: 100%; line-height: 115%;"&gt;RETURN_FROM_WAIT&lt;/span&gt; &lt;span style="font-style: italic;"&gt;which is a&lt;br /&gt;perform.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 100%;"&gt;&lt;span style="font-family: georgia;"&gt;For Eg when you want to fetch data parallel do it using 2 functions and using &lt;/span&gt;&lt;span style="font-family: georgia;"&gt;the perform&lt;br /&gt;you can have  a flag to make sure that fetching is completed.&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;code class="jive-code jive-java"&gt;&lt;span style="font-style: italic;"&gt;  &lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;This is just a over view I got this document from Daniel Perecky&lt;br /&gt;&lt;a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/Performance%20Tuning%20Using%20RFC.pdf"&gt;&lt;span style="text-decoration: underline;"&gt;Multi Threading&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;this has lots of information no how to program this way.&lt;br /&gt;I would love to see some comments about this :)&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-6222290380455185734?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/6222290380455185734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=6222290380455185734&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6222290380455185734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6222290380455185734'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/06/only-way-of-parallel-or-multi-threading.html' title='only way of parallel or Multi Threading on SAP'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-4673870903253589646</id><published>2009-05-22T16:52:00.002+05:30</published><updated>2009-05-22T17:11:47.958+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='menu exit'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><title type='text'>create custom menu exits</title><content type='html'>I got this spacial requirement when i was working with a project.&lt;br /&gt;&lt;br /&gt;where a generic menu bar is required which can add items according to the customer.&lt;br /&gt;&lt;br /&gt;the first thing to do in such  requirement is to add a fcode in menu painter starting with +XXX ( replace X).&lt;br /&gt;&lt;br /&gt;once this is done handle the fcode using a function&lt;br /&gt;&lt;br /&gt; CALL CUSTOMER-FUNCTION '010'.&lt;br /&gt;&lt;br /&gt;with in this function you can do what ever you what to do for when that item is clicked.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;then on a standard SAP enhancement(smod) add your program name and the fcode and add your function exit on it.&lt;br /&gt;&lt;br /&gt;create a project on cmod and add the enhancement you will find the exit and the menu exit.&lt;br /&gt;&lt;br /&gt;if this is not clear pls post a comment ( coz i just wrote it in a way how i will understand)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-4673870903253589646?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/4673870903253589646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=4673870903253589646&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4673870903253589646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4673870903253589646'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/05/create-custom-menu-exits.html' title='create custom menu exits'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-1302210502737571050</id><published>2009-05-07T10:42:00.005+05:30</published><updated>2009-05-07T12:00:31.452+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='nested loop'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><title type='text'>best way to code nested loops SAP</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_UfInfZb9zSI/SgJvl5YBxdI/AAAAAAAAAFs/qliisTwptI8/s1600-h/loop.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 307px; height: 400px;" src="http://1.bp.blogspot.com/_UfInfZb9zSI/SgJvl5YBxdI/AAAAAAAAAFs/qliisTwptI8/s400/loop.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5332947605607531986" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;font-size:10.0pt;"&gt;REPORT&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;  ZPARALLEL_CURSOR.&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TABLES&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:&lt;br /&gt;  likp,&lt;br /&gt;  lips.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;DATA&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:&lt;br /&gt;      t_likp  &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;TABLE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;OF&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; likp,&lt;br /&gt;      t_lips  &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;TABLE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;OF&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; lips,&lt;br /&gt;      t_lips1 &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;SORTED&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TABLE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;OF&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; lips&lt;br /&gt;      &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WITH&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; NON-&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;UNIQUE&lt;/span&gt;&lt;/span&gt;&lt;span style=" line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;KEY&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; vbeln.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;DATA&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:&lt;br /&gt;      w_runtime1 &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;I&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;,&lt;br /&gt;      w_runtime2 &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;I&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;,&lt;br /&gt;      w_counter &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;I&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;,&lt;br /&gt;      w_index &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;LIKE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; sy-&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;INDEX&lt;/span&gt;&lt;/span&gt;&lt;span style=" line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;DATA&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:&lt;br /&gt;      likp_l &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;I&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;,&lt;br /&gt;      lips_l &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;I&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;PARAMETERS&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;: &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;rows&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TYPE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;i&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; OBLIGATORY.&lt;br /&gt;&lt;br /&gt;START-&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;OF&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;-SELECTION.&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;SELECT&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; *&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; likp&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;TABLE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_likp &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;up&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;to&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;rows&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;ROWS&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;DESCRIBE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;TABLE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_likp &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;LINES&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; likp_l.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:/ &lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;'records in likp: '&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; .&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; likp_l.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;SELECT&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; *&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;TABLE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_lips&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; lips&lt;br /&gt;  &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;font-size:10.0pt;"&gt;FOR&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;ALL&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; ENTRIES &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;IN&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_likp&lt;br /&gt;  &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;font-size:10.0pt;"&gt;WHERE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; vbeln = t_likp-vbeln.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;DESCRIBE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;TABLE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_lips &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;LINES&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; lips_l.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:/ &lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;'records in lips: '&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; .&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; lips_l.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;**********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;**********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;**********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;GET&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;RUN&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TIME&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;FIELD&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; w_runtime1.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;LOOP&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;AT&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_likp &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; likp.&lt;br /&gt;  &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;font-size:10.0pt;"&gt;LOOP&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;AT&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_lips &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; lips &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WHERE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; vbeln &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;EQ&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; likp-vbeln.&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;font-size:10.0pt;"&gt;ENDLOOP&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;ENDLOOP&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;GET&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;RUN&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TIME&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;FIELD&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; w_runtime2.&lt;br /&gt;&lt;br /&gt;w_runtime2 = w_runtime2 - w_runtime1.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:/.&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:/&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;'Time taken on normal where condition:'&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;: w_runtime2.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;**********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;**********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;**********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;GET&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;RUN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;TIME&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;FIELD&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; w_runtime1.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;SORT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; t_likp &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;BY&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; vbeln.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;SORT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; t_lips &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;BY&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; vbeln.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;LOOP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;AT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; t_likp &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; likp.&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;LOOP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;AT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; t_lips &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; lips &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; w_index.&lt;br /&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;IF&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; likp-vbeln &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;NE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; lips-vbeln.&lt;br /&gt;      w_index = sy-tabix.&lt;br /&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;EXIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;.&lt;br /&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;ENDIF&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;.&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;ENDLOOP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;ENDLOOP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;GET&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;RUN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;TIME&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;FIELD&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; w_runtime2.&lt;br /&gt;&lt;br /&gt;w_runtime2 = w_runtime2 - w_runtime1.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;:/.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;:/.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;:/&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;'Time taken with parallel cursor:'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt; , w_runtime2.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;**********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;**********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;**********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;GET&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;RUN&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TIME&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;FIELD&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; w_runtime1.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;SORT&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_lips &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;BY&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; vbeln.&lt;br /&gt;t_lips1[] = t_lips[].&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;LOOP&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;AT&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_likp &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; likp.&lt;br /&gt;  &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;font-size:10.0pt;"&gt;LOOP&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;AT&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; t_lips1 &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; lips &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WHERE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; vbeln &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;EQ&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; likp-vbeln.&lt;br /&gt;  &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;font-size:10.0pt;"&gt;ENDLOOP&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;ENDLOOP&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;GET&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;RUN&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;TIME&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;FIELD&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; w_runtime2.&lt;br /&gt;&lt;br /&gt;w_runtime2 = w_runtime2 - w_runtime1.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:/.&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:/.&lt;br /&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;font-size:10.0pt;"&gt;WRITE&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt;:/&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style=" line-height:115%;font-size:10.0pt;"&gt;'Time taken for a sorted table with where condition:'&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; , w_runtime2.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span"   style="  line-height: 14px;font-family:'Courier New';font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span"   style="  line-height: 14px;font-family:'Courier New';font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;span class="Apple-style-span"   style="  line-height: 14px;font-family:'Courier New';font-size:13px;"&gt;&lt;/span&gt;&lt;col width="134" style="mso-width-source:userset;mso-width-alt:4900;width:101pt"&gt;  &lt;col width="115" style="mso-width-source:userset;mso-width-alt:4205;width:86pt"&gt;  &lt;col width="152" style="mso-width-source:userset;mso-width-alt:5558;width:114pt"&gt;  &lt;col width="210" style="mso-width-source:userset;mso-width-alt:7680;width:158pt"&gt;  &lt;tr height="20" style="height:15.0pt"&gt;   &lt;td height="20" width="134" style="height:15.0pt;width:101pt"&gt;&lt;/td&gt;&lt;td width="115" style="width:86pt"&gt;&lt;/td&gt;&lt;td width="152" style="width:114pt"&gt;&lt;/td&gt;&lt;td width="210" style="width:158pt"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height="20" style="height:15.0pt"&gt;&lt;td height="20" align="right" style="height:15.0pt"&gt;&lt;/td&gt;&lt;td align="right"&gt;&lt;/td&gt;&lt;td align="right"&gt;&lt;/td&gt;&lt;td align="right"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr height="20" style="height:15.0pt"&gt;   &lt;td height="20" style="height:15.0pt"&gt;&lt;/td&gt;   &lt;td&gt;&lt;/td&gt;   &lt;td&gt;&lt;/td&gt;   &lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span"   style="  line-height: 14px;font-family:'Courier New';font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-1302210502737571050?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/1302210502737571050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=1302210502737571050&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/1302210502737571050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/1302210502737571050'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/05/best-way-to-code-nested-loops-sap.html' title='best way to code nested loops SAP'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_UfInfZb9zSI/SgJvl5YBxdI/AAAAAAAAAFs/qliisTwptI8/s72-c/loop.JPG' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-2828211010794652530</id><published>2009-04-23T10:25:00.000+05:30</published><updated>2009-04-23T10:26:35.774+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>Use of binary search option</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;When a     programmer uses the read command, the table is sequentially     searched. This slows down the processing. Instead of this, use the     binary search addition. The binary search algorithm helps faster     search of a value in an internal table. It is advisable to sort the     internal table before doing a binary search. Binary search     repeatedly divides the search interval in half. If the value to be     searched is less than the item in the middle of the interval, the     search is narrowed to the lower half, otherwise the search is     narrowed to the upper half. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;Not     Recommended&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;                Read table int_fligh with key  airln = ‘LF’.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;Recommended&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;                Read table int_fligh with key  airln = ‘LF’ binary search.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;span lang="EN-US"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;source: http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_BinarySearch.asp&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-2828211010794652530?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/2828211010794652530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=2828211010794652530&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/2828211010794652530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/2828211010794652530'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/04/use-of-binary-search-option.html' title='Use of binary search option'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-7968130993088572725</id><published>2009-04-23T10:20:00.001+05:30</published><updated>2009-04-23T10:23:12.122+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>Modifying a group of lines of an internal table</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;Use the     variations of the modify command to speed up this kind of     processing.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt; Not     recommended&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;                Loop at int_fligh.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;                 If int_fligh-flag is initial.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;                            Int_fligh-flag = ‘X’.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;             Endif.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;                 Modify int_fligh.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;                Endloop.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;Recommended&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;                Int_fligh-flag = ‘X’.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="font-family:Arial;"&gt;   &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;                Modify int_fligh transporting flag where flag is initial.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;span lang="EN-US"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;source: http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_ModifyingGroupOfLines.asp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-7968130993088572725?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/7968130993088572725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=7968130993088572725&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/7968130993088572725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/7968130993088572725'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/04/modifying-group-of-lines-of-internal.html' title='Modifying a group of lines of an internal table'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-617775236467492573</id><published>2009-04-15T17:28:00.001+05:30</published><updated>2009-04-15T17:30:35.607+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ALV'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>copy ALV layouts from a one program to another</title><content type='html'>&lt;style type="text/css"&gt; SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L1S31 { font-style: italic; color: #808080; } .L1S32 { color: #3399FF; } .L1S33 { color: #4DA619; } .L1S52 { color: #0000FF; } &lt;/style&gt; &lt;span&gt;&lt;span class="L1S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp; Report  Z_COPY_ALV_VARNTS_PROG_TO_PROG&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;REPORT&lt;/span&gt;  Z_COPY_ALV_VARNTS_PROG_TO_PROG.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* Data Declarations Section&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : &lt;span class="L1S52"&gt;BEGIN&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; MYLTDX &lt;span class="L1S52"&gt;OCCURS&lt;/span&gt; &lt;span class="L1S32"&gt;0&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;INCLUDE&lt;/span&gt; &lt;span class="L1S52"&gt;STRUCTURE&lt;/span&gt; LTDX .&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : &lt;span class="L1S52"&gt;END&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; MYLTDX .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : &lt;span class="L1S52"&gt;BEGIN&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; MYLTDXT &lt;span class="L1S52"&gt;OCCURS&lt;/span&gt; &lt;span class="L1S32"&gt;0&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;INCLUDE&lt;/span&gt; &lt;span class="L1S52"&gt;STRUCTURE&lt;/span&gt; LTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : &lt;span class="L1S52"&gt;END&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : &lt;span class="L1S52"&gt;BEGIN&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; MYLTDXD &lt;span class="L1S52"&gt;OCCURS&lt;/span&gt; &lt;span class="L1S32"&gt;0&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;INCLUDE&lt;/span&gt; &lt;span class="L1S52"&gt;STRUCTURE&lt;/span&gt; LTDXD .&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : &lt;span class="L1S52"&gt;END&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; MYLTDXD .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : MANS(&lt;span class="L1S32"&gt;1&lt;/span&gt;) &lt;span class="L1S52"&gt;TYPE&lt;/span&gt; &lt;span class="L1S52"&gt;C&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : PROGRAMM &lt;span class="L1S52"&gt;LIKE&lt;/span&gt; RS38M-PROGRAMM .&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : &lt;span class="L1S52"&gt;BEGIN&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; MDYNPFIELDS &lt;span class="L1S52"&gt;OCCURS&lt;/span&gt; &lt;span class="L1S32"&gt;1&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;INCLUDE&lt;/span&gt; &lt;span class="L1S52"&gt;STRUCTURE&lt;/span&gt; DYNPREAD .&lt;br /&gt;&lt;span class="L1S52"&gt;DATA&lt;/span&gt; : &lt;span class="L1S52"&gt;END&lt;/span&gt; &lt;span class="L1S52"&gt;OF&lt;/span&gt; MDYNPFIELDS .&lt;br /&gt;&lt;span class="L1S52"&gt;CONSTANTS&lt;/span&gt; BUTTONSELECTED(&lt;span class="L1S32"&gt;1&lt;/span&gt;) &lt;span class="L1S52"&gt;TYPE&lt;/span&gt; &lt;span class="L1S52"&gt;C&lt;/span&gt; &lt;span class="L1S52"&gt;VALUE&lt;/span&gt; &lt;span class="L1S33"&gt;'X'&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* Macro for Inputing Filenames&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;DEFINE&lt;/span&gt; GET_FILENAME .&lt;br /&gt;&lt;span class="L1S52"&gt;CALL&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S33"&gt;'WS_FILENAME_GET'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* DEF_FILENAME = ' '&lt;/span&gt;&lt;br /&gt;DEF_PATH = &amp;amp;&lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;MASK&lt;/span&gt; = &lt;span class="L1S33"&gt;',*.*,*.*.'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;MODE&lt;/span&gt; = &lt;span class="L1S33"&gt;'0'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* TITLE = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;IMPORTING&lt;/span&gt;&lt;br /&gt;FILENAME = &amp;amp;&lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* RC =&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;INV_WINSYS = &lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;NO_BATCH = &lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;SELECTION_CANCEL = &lt;span class="L1S32"&gt;3&lt;/span&gt;&lt;br /&gt;SELECTION_ERROR = &lt;span class="L1S32"&gt;4&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;OTHERS&lt;/span&gt; = &lt;span class="L1S32"&gt;5&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;END&lt;/span&gt;-&lt;span class="L1S52"&gt;OF&lt;/span&gt;-&lt;span class="L1S52"&gt;DEFINITION&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* Macro for Downloading to ASCII Files&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;DEFINE&lt;/span&gt; DOWNLOAD_TO_ASCII .&lt;br /&gt;&lt;span class="L1S52"&gt;CALL&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S33"&gt;'WS_DOWNLOAD'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* BIN_FILESIZE = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* CODEPAGE = ' '&lt;/span&gt;&lt;br /&gt;FILENAME = &amp;amp;&lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;FILETYPE = &lt;span class="L1S33"&gt;'DAT'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* MODE = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* WK1_N_FORMAT = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* WK1_N_SIZE = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* WK1_T_FORMAT = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* WK1_T_SIZE = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* COL_SELECT = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* COL_SELECTMASK = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* NO_AUTH_CHECK = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* IMPORTING&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* FILELENGTH =&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;TABLES&lt;/span&gt;&lt;br /&gt;DATA_TAB = &amp;amp;&lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* FIELDNAMES =&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;FILE_OPEN_ERROR = &lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;FILE_WRITE_ERROR = &lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;INVALID_FILESIZE = &lt;span class="L1S32"&gt;3&lt;/span&gt;&lt;br /&gt;INVALID_TABLE_WIDTH = &lt;span class="L1S32"&gt;4&lt;/span&gt;&lt;br /&gt;INVALID_TYPE = &lt;span class="L1S32"&gt;5&lt;/span&gt;&lt;br /&gt;NO_BATCH = &lt;span class="L1S32"&gt;6&lt;/span&gt;&lt;br /&gt;UNKNOWN_ERROR = &lt;span class="L1S32"&gt;7&lt;/span&gt;&lt;br /&gt;GUI_REFUSE_FILETRANSFER = &lt;span class="L1S32"&gt;8&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;OTHERS&lt;/span&gt; = &lt;span class="L1S32"&gt;9&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;END&lt;/span&gt;-&lt;span class="L1S52"&gt;OF&lt;/span&gt;-&lt;span class="L1S52"&gt;DEFINITION&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* Macro for uploading Data from ASCII files&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;DEFINE&lt;/span&gt; UPLOAD_FROM_ASCII .&lt;br /&gt;&lt;span class="L1S52"&gt;CALL&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S33"&gt;'WS_UPLOAD'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* CODEPAGE = ' '&lt;/span&gt;&lt;br /&gt;FILENAME = &amp;amp;&lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;FILETYPE = &lt;span class="L1S33"&gt;'DAT'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* HEADLEN = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* LINE_EXIT = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* TRUNCLEN = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* USER_FORM = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* USER_PROG = ' '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* IMPORTING&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* FILELENGTH =&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;TABLES&lt;/span&gt;&lt;br /&gt;DATA_TAB = &amp;amp;&lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;CONVERSION_ERROR = &lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;FILE_OPEN_ERROR = &lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;FILE_READ_ERROR = &lt;span class="L1S32"&gt;3&lt;/span&gt;&lt;br /&gt;INVALID_TABLE_WIDTH = &lt;span class="L1S32"&gt;4&lt;/span&gt;&lt;br /&gt;INVALID_TYPE = &lt;span class="L1S32"&gt;5&lt;/span&gt;&lt;br /&gt;NO_BATCH = &lt;span class="L1S32"&gt;6&lt;/span&gt;&lt;br /&gt;UNKNOWN_ERROR = &lt;span class="L1S32"&gt;7&lt;/span&gt;&lt;br /&gt;GUI_REFUSE_FILETRANSFER = &lt;span class="L1S32"&gt;8&lt;/span&gt;&lt;br /&gt;CUSTOMER_ERROR = &lt;span class="L1S32"&gt;9&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;OTHERS&lt;/span&gt; = &lt;span class="L1S32"&gt;10&lt;/span&gt;.&lt;br /&gt;&lt;span class="L1S52"&gt;END&lt;/span&gt;-&lt;span class="L1S52"&gt;OF&lt;/span&gt;-&lt;span class="L1S52"&gt;DEFINITION&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* Selection Screen Default&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;PARAMETERS&lt;/span&gt; : P_FROM_P &lt;span class="L1S52"&gt;LIKE&lt;/span&gt; RS38M-PROGRAMM OBLIGATORY .&lt;br /&gt;&lt;span class="L1S52"&gt;PARAMETERS&lt;/span&gt; : P_TO_P &lt;span class="L1S52"&gt;LIKE&lt;/span&gt; RS38M-PROGRAMM OBLIGATORY .&lt;br /&gt;&lt;span class="L1S52"&gt;PARAMETERS&lt;/span&gt; : P_SAME_S &lt;span class="L1S52"&gt;RADIOBUTTON&lt;/span&gt; &lt;span class="L1S52"&gt;GROUP&lt;/span&gt; GRP1 &lt;span class="L1S52"&gt;DEFAULT&lt;/span&gt; &lt;span class="L1S33"&gt;'X'&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;PARAMETERS&lt;/span&gt; : P_DOWNLD &lt;span class="L1S52"&gt;RADIOBUTTON&lt;/span&gt; &lt;span class="L1S52"&gt;GROUP&lt;/span&gt; GRP1 .&lt;br /&gt;&lt;span class="L1S52"&gt;PARAMETERS&lt;/span&gt; : P_UPLOAD &lt;span class="L1S52"&gt;RADIOBUTTON&lt;/span&gt; &lt;span class="L1S52"&gt;GROUP&lt;/span&gt; GRP1 .&lt;br /&gt;&lt;span class="L1S52"&gt;PARAMETERS&lt;/span&gt; : P_FILE_x &lt;span class="L1S52"&gt;LIKE&lt;/span&gt; RLGRAP-FILENAME &lt;span class="L1S52"&gt;DEFAULT&lt;/span&gt; &lt;span class="L1S33"&gt;'c:\LTDX.txt'&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;PARAMETERS&lt;/span&gt; : P_FILE_t &lt;span class="L1S52"&gt;LIKE&lt;/span&gt; RLGRAP-FILENAME &lt;span class="L1S52"&gt;DEFAULT&lt;/span&gt; &lt;span class="L1S33"&gt;'c:\LTDXT.txt'&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;PARAMETERS&lt;/span&gt; : P_FILE_d &lt;span class="L1S52"&gt;LIKE&lt;/span&gt; RLGRAP-FILENAME &lt;span class="L1S52"&gt;DEFAULT&lt;/span&gt; &lt;span class="L1S33"&gt;'c:\LTDXD.txt'&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* At Selection Screen Events&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;AT&lt;/span&gt; SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; .&lt;br /&gt;PROGRAMM = P_FROM_P .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;AT&lt;/span&gt; SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; &lt;span class="L1S52"&gt;ON&lt;/span&gt; &lt;span class="L1S52"&gt;VALUE&lt;/span&gt;-REQUEST &lt;span class="L1S52"&gt;FOR&lt;/span&gt; P_FILE_x .&lt;br /&gt;GET_FILENAME &lt;span class="L1S33"&gt;'c:\LTDX.txt'&lt;/span&gt; P_FILE_x .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;AT&lt;/span&gt; SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; &lt;span class="L1S52"&gt;ON&lt;/span&gt; &lt;span class="L1S52"&gt;VALUE&lt;/span&gt;-REQUEST &lt;span class="L1S52"&gt;FOR&lt;/span&gt; P_FILE_t .&lt;br /&gt;GET_FILENAME &lt;span class="L1S33"&gt;'c:\LTDXT.txt'&lt;/span&gt; P_FILE_t .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;AT&lt;/span&gt; SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; &lt;span class="L1S52"&gt;ON&lt;/span&gt; &lt;span class="L1S52"&gt;VALUE&lt;/span&gt;-REQUEST &lt;span class="L1S52"&gt;FOR&lt;/span&gt; P_FILE_d .&lt;br /&gt;GET_FILENAME &lt;span class="L1S33"&gt;'c:\LTDXD.txt'&lt;/span&gt; P_FILE_d .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;AT&lt;/span&gt; SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; &lt;span class="L1S52"&gt;ON&lt;/span&gt; &lt;span class="L1S52"&gt;VALUE&lt;/span&gt;-REQUEST &lt;span class="L1S52"&gt;FOR&lt;/span&gt; P_FROM_P .&lt;br /&gt;&lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MDYNPFIELDS . &lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MDYNPFIELDS .&lt;br /&gt;MDYNPFIELDS-FIELDNAME = &lt;span class="L1S33"&gt;'P_FROM_P'&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;APPEND&lt;/span&gt; MDYNPFIELDS .&lt;br /&gt;&lt;span class="L1S52"&gt;CALL&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S33"&gt;'DYNP_VALUES_READ'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;DYNAME = SY-CPROG&lt;br /&gt;DYNUMB = SY-DYNNR&lt;br /&gt;&lt;span class="L1S52"&gt;TABLES&lt;/span&gt;&lt;br /&gt;DYNPFIELDS = MDYNPFIELDS&lt;br /&gt;&lt;span class="L1S52"&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;INVALID_ABAPWORKAREA = &lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;INVALID_DYNPROFIELD = &lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;INVALID_DYNPRONAME = &lt;span class="L1S32"&gt;3&lt;/span&gt;&lt;br /&gt;INVALID_DYNPRONUMMER = &lt;span class="L1S32"&gt;4&lt;/span&gt;&lt;br /&gt;INVALID_REQUEST = &lt;span class="L1S32"&gt;5&lt;/span&gt;&lt;br /&gt;NO_FIELDDESCRIPTION = &lt;span class="L1S32"&gt;6&lt;/span&gt;&lt;br /&gt;INVALID_PARAMETER = &lt;span class="L1S32"&gt;7&lt;/span&gt;&lt;br /&gt;UNDEFIND_ERROR = &lt;span class="L1S32"&gt;8&lt;/span&gt;&lt;br /&gt;DOUBLE_CONVERSION = &lt;span class="L1S32"&gt;9&lt;/span&gt;&lt;br /&gt;STEPL_NOT_FOUND = &lt;span class="L1S32"&gt;10&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;OTHERS&lt;/span&gt; = &lt;span class="L1S32"&gt;11&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;READ&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MDYNPFIELDS &lt;span class="L1S52"&gt;INDEX&lt;/span&gt; &lt;span class="L1S32"&gt;1&lt;/span&gt; .&lt;br /&gt;PROGRAMM = MDYNPFIELDS-FIELDVALUE .&lt;br /&gt;&lt;span class="L1S52"&gt;CALL&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S33"&gt;'REPOSITORY_INFO_SYSTEM_F4'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;OBJECT_TYPE = &lt;span class="L1S33"&gt;'PROG'&lt;/span&gt;&lt;br /&gt;OBJECT_NAME = PROGRAMM&lt;br /&gt;&lt;span class="L1S52"&gt;IMPORTING&lt;/span&gt;&lt;br /&gt;OBJECT_NAME_SELECTED = PROGRAMM&lt;br /&gt;&lt;span class="L1S52"&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;CANCEL = &lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;WRONG_TYPE = &lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;OTHERS&lt;/span&gt; = &lt;span class="L1S32"&gt;3&lt;/span&gt;.&lt;br /&gt;P_FROM_P = PROGRAMM .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;AT&lt;/span&gt; SELECTION-&lt;span class="L1S52"&gt;SCREEN&lt;/span&gt; &lt;span class="L1S52"&gt;ON&lt;/span&gt; &lt;span class="L1S52"&gt;VALUE&lt;/span&gt;-REQUEST &lt;span class="L1S52"&gt;FOR&lt;/span&gt; P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MDYNPFIELDS . &lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MDYNPFIELDS .&lt;br /&gt;MDYNPFIELDS-FIELDNAME = &lt;span class="L1S33"&gt;'P_TO_P'&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;APPEND&lt;/span&gt; MDYNPFIELDS .&lt;br /&gt;&lt;span class="L1S52"&gt;CALL&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S33"&gt;'DYNP_VALUES_READ'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;DYNAME = SY-CPROG&lt;br /&gt;DYNUMB = SY-DYNNR&lt;br /&gt;&lt;span class="L1S52"&gt;TABLES&lt;/span&gt;&lt;br /&gt;DYNPFIELDS = MDYNPFIELDS&lt;br /&gt;&lt;span class="L1S52"&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;INVALID_ABAPWORKAREA = &lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;INVALID_DYNPROFIELD = &lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;INVALID_DYNPRONAME = &lt;span class="L1S32"&gt;3&lt;/span&gt;&lt;br /&gt;INVALID_DYNPRONUMMER = &lt;span class="L1S32"&gt;4&lt;/span&gt;&lt;br /&gt;INVALID_REQUEST = &lt;span class="L1S32"&gt;5&lt;/span&gt;&lt;br /&gt;NO_FIELDDESCRIPTION = &lt;span class="L1S32"&gt;6&lt;/span&gt;&lt;br /&gt;INVALID_PARAMETER = &lt;span class="L1S32"&gt;7&lt;/span&gt;&lt;br /&gt;UNDEFIND_ERROR = &lt;span class="L1S32"&gt;8&lt;/span&gt;&lt;br /&gt;DOUBLE_CONVERSION = &lt;span class="L1S32"&gt;9&lt;/span&gt;&lt;br /&gt;STEPL_NOT_FOUND = &lt;span class="L1S32"&gt;10&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;OTHERS&lt;/span&gt; = &lt;span class="L1S32"&gt;11&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;READ&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MDYNPFIELDS &lt;span class="L1S52"&gt;INDEX&lt;/span&gt; &lt;span class="L1S32"&gt;1&lt;/span&gt; .&lt;br /&gt;PROGRAMM = MDYNPFIELDS-FIELDVALUE .&lt;br /&gt;&lt;span class="L1S52"&gt;CALL&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S33"&gt;'REPOSITORY_INFO_SYSTEM_F4'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;OBJECT_TYPE = &lt;span class="L1S33"&gt;'PROG'&lt;/span&gt;&lt;br /&gt;OBJECT_NAME = PROGRAMM&lt;br /&gt;&lt;span class="L1S52"&gt;IMPORTING&lt;/span&gt;&lt;br /&gt;OBJECT_NAME_SELECTED = PROGRAMM&lt;br /&gt;&lt;span class="L1S52"&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;CANCEL = &lt;span class="L1S32"&gt;1&lt;/span&gt;&lt;br /&gt;WRONG_TYPE = &lt;span class="L1S32"&gt;2&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;OTHERS&lt;/span&gt; = &lt;span class="L1S32"&gt;3&lt;/span&gt;.&lt;br /&gt;P_TO_P = PROGRAMM .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* Start of Selection&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* =====================================================================&lt;/span&gt;&lt;br /&gt;START-&lt;span class="L1S52"&gt;OF&lt;/span&gt;-SELECTION .&lt;br /&gt;&lt;span class="L1S52"&gt;CASE&lt;/span&gt; BUTTONSELECTED.&lt;br /&gt;&lt;span class="L1S52"&gt;WHEN&lt;/span&gt; P_SAME_S .&lt;br /&gt;&lt;span class="L1S52"&gt;PERFORM&lt;/span&gt; COPY_FROM_PROG_TO_PROG .&lt;br /&gt;&lt;span class="L1S52"&gt;WHEN&lt;/span&gt; P_DOWNLD .&lt;br /&gt;&lt;span class="L1S52"&gt;PERFORM&lt;/span&gt; VDOWNLOAD .&lt;br /&gt;&lt;span class="L1S52"&gt;WHEN&lt;/span&gt; P_UPLOAD .&lt;br /&gt;&lt;span class="L1S52"&gt;PERFORM&lt;/span&gt; VUPLOAD .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDCASE&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp; Form COPY_FROM_PROG_TO_PROG&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* text&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*----------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* --&gt; p1 text&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* &lt;-- p2 text&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*----------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;FORM&lt;/span&gt; COPY_FROM_PROG_TO_PROG.&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;CALL&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S33"&gt;'POPUP_TO_CONFIRM_STEP'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* DEFAULTOPTION = 'Y'&lt;/span&gt;&lt;br /&gt;TEXTLINE1 = &lt;span class="L1S33"&gt;'Are you sure you want to copy Variants ? '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* TEXTLINE2 = ' '&lt;/span&gt;&lt;br /&gt;TITEL = &lt;span class="L1S33"&gt;'Confirmation '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* START_COLUMN = 25&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* START_ROW = 6&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* CANCEL_DISPLAY = 'X'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;IMPORTING&lt;/span&gt;&lt;br /&gt;ANSWER = MANS&lt;br /&gt;&lt;span class="L1S52"&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;OTHERS&lt;/span&gt; = &lt;span class="L1S32"&gt;1&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;IF&lt;/span&gt; MANS = &lt;span class="L1S33"&gt;'J'&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MYLTDX . &lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MYLTDX .&lt;br /&gt;&lt;span class="L1S52"&gt;SELECT&lt;/span&gt; * &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDX &lt;span class="L1S52"&gt;INTO&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDX&lt;br /&gt;&lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_FROM_P.&lt;br /&gt;&lt;span class="L1S52"&gt;LOOP&lt;/span&gt; &lt;span class="L1S52"&gt;AT&lt;/span&gt; MYLTDX .&lt;br /&gt;MYLTDX-&lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;MODIFY&lt;/span&gt; MYLTDX .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDLOOP&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;IF&lt;/span&gt; SY-SUBRC = &lt;span class="L1S32"&gt;0&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;DELETE&lt;/span&gt; &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDX &lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;INSERT&lt;/span&gt; LTDX &lt;span class="L1S52"&gt;FROM&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDX .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDIF&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MYLTDXT . &lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;SELECT&lt;/span&gt; * &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;INTO&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDXT&lt;br /&gt;&lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_FROM_P.&lt;br /&gt;&lt;span class="L1S52"&gt;LOOP&lt;/span&gt; &lt;span class="L1S52"&gt;AT&lt;/span&gt; MYLTDXT .&lt;br /&gt;MYLTDXT-&lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;MODIFY&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDLOOP&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;IF&lt;/span&gt; SY-SUBRC = &lt;span class="L1S32"&gt;0&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;DELETE&lt;/span&gt; &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;INSERT&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;FROM&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDIF&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MYLTDXT . &lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;SELECT&lt;/span&gt; * &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;INTO&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDXT&lt;br /&gt;&lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_FROM_P.&lt;br /&gt;&lt;span class="L1S52"&gt;LOOP&lt;/span&gt; &lt;span class="L1S52"&gt;AT&lt;/span&gt; MYLTDXT .&lt;br /&gt;MYLTDXT-&lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;MODIFY&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDLOOP&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;IF&lt;/span&gt; SY-SUBRC = &lt;span class="L1S32"&gt;0&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;DELETE&lt;/span&gt; &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;INSERT&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;FROM&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDIF&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;ENDIF&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;ENDFORM&lt;/span&gt;. &lt;span class="L1S31"&gt;" COPY_FROM_PROG_TO_PROG&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp; Form VDOWNLOAD&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* text&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*----------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* --&gt; p1 text&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* &lt;-- p2 text&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*----------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;FORM&lt;/span&gt; VDOWNLOAD.&lt;br /&gt;&lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MYLTDX . &lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MYLTDX .&lt;br /&gt;&lt;span class="L1S52"&gt;SELECT&lt;/span&gt; * &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDX &lt;span class="L1S52"&gt;INTO&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDX&lt;br /&gt;&lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_FROM_p.&lt;br /&gt;DOWNLOAD_TO_ASCII P_FILE_x MYLTDX .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MYLTDXT . &lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;SELECT&lt;/span&gt; * &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;INTO&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDXT&lt;br /&gt;&lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_FROM_P.&lt;br /&gt;DOWNLOAD_TO_ASCII P_FILE_t MYLTDXT .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MYLTDXT . &lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;SELECT&lt;/span&gt; * &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDXD &lt;span class="L1S52"&gt;INTO&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDXT&lt;br /&gt;&lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_FROM_P.&lt;br /&gt;DOWNLOAD_TO_ASCII P_FILE_d MYLTDXT .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;ENDFORM&lt;/span&gt;. &lt;span class="L1S31"&gt;" VDOWNLOAD&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp; Form VUPLOAD&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* text&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*----------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* --&gt; p1 text&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* &lt;-- p2 text&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;*----------------------------------------------------------------------*&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;FORM&lt;/span&gt; VUPLOAD.&lt;br /&gt;&lt;span class="L1S52"&gt;CALL&lt;/span&gt; &lt;span class="L1S52"&gt;FUNCTION&lt;/span&gt; &lt;span class="L1S33"&gt;'POPUP_TO_CONFIRM_STEP'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;EXPORTING&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* DEFAULTOPTION = 'Y'&lt;/span&gt;&lt;br /&gt;TEXTLINE1 =&lt;br /&gt;&lt;span class="L1S33"&gt;'Are you sure you want to upload Variants ? '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* TEXTLINE2 = ' '&lt;/span&gt;&lt;br /&gt;TITEL = &lt;span class="L1S33"&gt;'Confirmation '&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* START_COLUMN = 25&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* START_ROW = 6&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S31"&gt;* CANCEL_DISPLAY = 'X'&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;IMPORTING&lt;/span&gt;&lt;br /&gt;ANSWER = MANS&lt;br /&gt;&lt;span class="L1S52"&gt;EXCEPTIONS&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;OTHERS&lt;/span&gt; = &lt;span class="L1S32"&gt;1&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;IF&lt;/span&gt; MANS = &lt;span class="L1S33"&gt;'J'&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MYLTDX . &lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MYLTDX .&lt;br /&gt;UPLOAD_FROM_ASCII P_FILE_x MYLTDX .&lt;br /&gt;&lt;span class="L1S52"&gt;LOOP&lt;/span&gt; &lt;span class="L1S52"&gt;AT&lt;/span&gt; MYLTDX .&lt;br /&gt;MYLTDX-&lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;MODIFY&lt;/span&gt; MYLTDX .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDLOOP&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;IF&lt;/span&gt; SY-SUBRC = &lt;span class="L1S32"&gt;0&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;DELETE&lt;/span&gt; &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDX &lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;INSERT&lt;/span&gt; LTDX &lt;span class="L1S52"&gt;FROM&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDX .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDIF&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MYLTDXT . &lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MYLTDXT .&lt;br /&gt;UPLOAD_FROM_ASCII P_FILE_t MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;LOOP&lt;/span&gt; &lt;span class="L1S52"&gt;AT&lt;/span&gt; MYLTDXT .&lt;br /&gt;MYLTDXT-&lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;MODIFY&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDLOOP&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;IF&lt;/span&gt; SY-SUBRC = &lt;span class="L1S32"&gt;0&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;DELETE&lt;/span&gt; &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;INSERT&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;FROM&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDIF&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;REFRESH&lt;/span&gt; MYLTDXD . &lt;span class="L1S52"&gt;CLEAR&lt;/span&gt; MYLTDXD .&lt;br /&gt;UPLOAD_FROM_ASCII P_FILE_d MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;LOOP&lt;/span&gt; &lt;span class="L1S52"&gt;AT&lt;/span&gt; MYLTDXT .&lt;br /&gt;MYLTDXT-&lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;MODIFY&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDLOOP&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;IF&lt;/span&gt; SY-SUBRC = &lt;span class="L1S32"&gt;0&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S52"&gt;DELETE&lt;/span&gt; &lt;span class="L1S52"&gt;FROM&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;WHERE&lt;/span&gt; &lt;span class="L1S52"&gt;REPORT&lt;/span&gt; = P_TO_P .&lt;br /&gt;&lt;span class="L1S52"&gt;INSERT&lt;/span&gt; LTDXT &lt;span class="L1S52"&gt;FROM&lt;/span&gt; &lt;span class="L1S52"&gt;TABLE&lt;/span&gt; MYLTDXT .&lt;br /&gt;&lt;span class="L1S52"&gt;ENDIF&lt;/span&gt; .&lt;br /&gt;&lt;span class="L1S31"&gt;* ---------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;ENDIF&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span class="L1S52"&gt;ENDFORM&lt;/span&gt;. &lt;span class="L1S31"&gt;" VUPLOAD&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-617775236467492573?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/617775236467492573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=617775236467492573&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/617775236467492573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/617775236467492573'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/04/copy-alv-layouts-from-one-program-to.html' title='copy ALV layouts from a one program to another'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-8718988944081033799</id><published>2009-04-06T16:31:00.002+05:30</published><updated>2009-04-23T10:27:55.743+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='sort table'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>Using Sorted table and Index while processing Internal tables</title><content type='html'>&lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;There would have been many instances where we would have to process large entries in an internal table with a WHERE condition. This article is intended to demonstrate the comparison between three different methods in handling this situation.   &lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;First Method&lt;/span&gt;&lt;/b&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;: The normal method used by most of us. Standard internal table processing using WHERE condition &lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;Second Method&lt;/span&gt;&lt;/b&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;: Same as above, but here we would be using the Sorted table &lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;Third Method&lt;/span&gt;&lt;/b&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;: Sorted table and using the Index   &lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;Following is the demo program illustrating the above three methods:&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;REPORT ZINTERNAL_TABLE_OPERATIONS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* Program to find the best method in reading the internal tables&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* Author: Suresh Kumar Parvathaneni&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* Type declaration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;TYPES:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;BEGIN OF TY_MARA,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;MATNR LIKE MARA-MATNR,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;MTART LIKE MARA-MTART,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;END OF TY_MARA.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* Internal table declaration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;DATA:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;T_MARA TYPE STANDARD TABLE OF TY_MARA,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;T_MARA1 TYPE SORTED TABLE OF TY_MARA&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;          &lt;/span&gt;WITH NON-UNIQUE KEY MTART.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* Variable declaration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;DATA:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;W_COUNTER TYPE I,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;W_RUNTIME1 TYPE I,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;W_RUNTIME2 TYPE I,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;W_TABIX LIKE SY-TABIX.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* Table workarea definition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;DATA:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;WA_MARA TYPE TY_MARA.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;SELECT MATNR&lt;span style=""&gt;                           &lt;/span&gt;" Material Number&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;       &lt;/span&gt;MTART&lt;span style=""&gt;                           &lt;/span&gt;" Material Type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;FROM MARA&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;INTO TABLE T_MARA.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;T_MARA1[] = T_MARA[].&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* CASE 1: Processing internal table using LOOP..WHERE Condition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;GET RUN TIME FIELD W_RUNTIME1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;LOOP AT T_MARA INTO WA_MARA WHERE MTART EQ 'FHMI'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;ADD 1 TO W_COUNTER.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;ENDLOOP.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;GET RUN TIME FIELD W_RUNTIME2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* Calculate Runtime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;W_RUNTIME2 = W_RUNTIME2 - W_RUNTIME1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;WRITE W_RUNTIME2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;CLEAR W_COUNTER.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* CASE 2: Using a Sorted table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;GET RUN TIME FIELD W_RUNTIME1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;LOOP AT T_MARA1 INTO WA_MARA WHERE MTART EQ 'FHMI'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;ADD 1 TO W_COUNTER.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;ENDLOOP.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;GET RUN TIME FIELD W_RUNTIME2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* Calculate Runtime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;W_RUNTIME2 = W_RUNTIME2 - W_RUNTIME1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;WRITE W_RUNTIME2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;CLEAR W_COUNTER.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* CASE 3: Using INDEX on a sorted table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;GET RUN TIME FIELD W_RUNTIME1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;READ TABLE T_MARA1 INTO WA_MARA WITH KEY MTART = 'FHMI'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;IF SY-SUBRC EQ 0.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;W_TABIX = SY-TABIX + 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;ADD 1 TO W_COUNTER.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;LOOP AT T_MARA1 INTO WA_MARA FROM W_TABIX.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;IF WA_MARA-MTART NE 'FHMI'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;      &lt;/span&gt;EXIT.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;ENDIF.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;ADD 1 TO W_COUNTER.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;ENDLOOP.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;ENDIF.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;GET RUN TIME FIELD W_RUNTIME2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;* Calculate Runtime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;W_RUNTIME2 = W_RUNTIME2 - W_RUNTIME1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;WRITE W_RUNTIME2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; source &lt;a href="http://www.saptechnical.com/Tutorials/ABAP/InternalTable/Processing.htm"&gt;http://www.saptechnical.com/Tutorials/ABAP/InternalTable/Processing.htm&lt;/a&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-8718988944081033799?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/8718988944081033799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=8718988944081033799&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/8718988944081033799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/8718988944081033799'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/04/using-sorted-table-and-index-while.html' title='Using Sorted table and Index while processing Internal tables'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-2013645221704328121</id><published>2009-04-06T12:18:00.004+05:30</published><updated>2009-04-23T10:30:13.095+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='nested loop'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>Performance Tuning using Parallel Cursor</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;font-family:Arial;font-size:13;"  &gt;check link&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;font-family:Arial;font-size:13;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;font-family:Arial;font-size:13;"  &gt;&lt;a href="http://www.saptechnical.com/Tutorials/ABAP/ParallelCursor.htm"&gt;http://www.saptechnical.com/Tutorials/ABAP/ParallelCursor.htm&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;font-family:Arial;font-size:13;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-2013645221704328121?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/2013645221704328121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=2013645221704328121&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/2013645221704328121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/2013645221704328121'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/04/performance-tuning-using-parallel.html' title='Performance Tuning using Parallel Cursor'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-6445211312205075786</id><published>2009-04-03T11:09:00.002+05:30</published><updated>2009-04-03T11:12:17.345+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='concatenate'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>CONCATENATE a  " ' "</title><content type='html'> &lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px; "&gt;CONCATENATE ''''   &lt;----------4 times to get one quote&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px;"&gt;data: out(3).&lt;br /&gt;Concatenate a `'` into out.&lt;br /&gt;write out.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px;"&gt;data : b type string.&lt;br /&gt;concatenate 'a' '''' into b.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px;"&gt;hope this will help&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-6445211312205075786?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/6445211312205075786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=6445211312205075786&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6445211312205075786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6445211312205075786'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/04/concatenate.html' title='CONCATENATE a  &quot; &apos; &quot;'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-290686627338108007</id><published>2009-04-03T10:16:00.005+05:30</published><updated>2009-04-03T11:13:21.333+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SAP'/><category scheme='http://www.blogger.com/atom/ns#' term='Refresh'/><category scheme='http://www.blogger.com/atom/ns#' term='ABAP'/><title type='text'>how to refersh a SAP Module pool program</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style=" line-height: 14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;use this code in PBO and in PAI catch the refresh user command and do what ever is required &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;MODULE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; test &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;OUTPUT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;*               WAIT UP TO 10 SECONDS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;*                  STARTING NEW TASK 'WAITING'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;*                     PERFORM RETURN_FROM_WAIT .&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;CALL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;FUNCTION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style=" line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;'RFC_PING_AND_WAIT'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=" line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;STARTING&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=" line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;NEW&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;TASK&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;'WAITING'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;    PERFORMING RETURN_FROM_WAIT &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;END&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;OF&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;TASK&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;EXPORTING&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=" line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;      SECONDS               = &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s321"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;10&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style=" line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;EXCEPTIONS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=" line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;      COMMUNICATION_FAILURE = &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s321"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;      SYSTEM_FAILURE        = &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s321"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;*CALL FUNCTION 'RFC_PING_AND_WAIT' in background task .&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;*  PERFORM RETURN_FROM_WAIT ON END OF TASK.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s311"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;*   EXPORTING SECONDS = 10.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ENDMODULE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;.      &lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;span class="Apple-style-span"  style=" line-height: normal; font-size:16px;"&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt;FORM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt; RETURN_FROM_WAIT  &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt;USING&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt; TASKNAME.&lt;span class="Apple-style-span"  style=" line-height: normal; font-size:16px;"&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style=" line-height: normal; font-size:16px;"&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt;&lt;span class="Apple-style-span"  style=" line-height: normal; font-size:16px;"&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height: 115%;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt;set&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%; Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt; user-command &lt;/span&gt;&lt;/span&gt;&lt;span class="l1s331"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt;'REFRESH'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="l1s521"&gt;&lt;span style="line-height:115%;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ENDFORM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:115%;Courier New&amp;quot;; background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;.   &lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height:115%;Courier New&amp;quot;;background:whitefont-family:&amp;quot;;color:black;"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-290686627338108007?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/290686627338108007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=290686627338108007&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/290686627338108007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/290686627338108007'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/04/how-ro-refersh-sap-module-pool-program.html' title='how to refersh a SAP Module pool program'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-4368972097513206515</id><published>2009-02-19T21:06:00.004+05:30</published><updated>2009-02-19T21:20:38.805+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='LG phones'/><category scheme='http://www.blogger.com/atom/ns#' term='unlock'/><title type='text'>How to Unlock LG mobiles</title><content type='html'>Hi,&lt;div&gt;you wont &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;believe&lt;/span&gt; that a LG mobile phone can be unlock so easily. I tried this with 2 mobile phones both worked.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;step 1&lt;/span&gt;: &lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "&gt;without &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;sim&lt;/span&gt; 2945#*# and choose factory reset&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "&gt;in lg 3g phone 277634#*# ( i &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;have&lt;/span&gt; not tested to 3g phones i got some other codes also so if that &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_3"&gt;doesn't&lt;/span&gt; work uses these and see 47328545454# &amp;amp; 277634#*# ) &lt;span class="Apple-style-span" style="font-style: italic;"&gt;if it worked u should get a spacial menu screen&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; font-style: italic; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;step 2&lt;/span&gt;:On this screen there will be 2 options one will be factory setting one of them will be factory reset first do the other and then do the factory reset the &lt;span class="Apple-style-span" style="font-style: italic;"&gt;phone might switch off once you do this&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; font-style: italic; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;step 3&lt;/span&gt;:Now put the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;sim&lt;/span&gt; and switch on the phone and go to settings on connections change the frequency to your country frequency ( i am in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;sri&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;lnaka&lt;/span&gt; so i used &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_8"&gt;Europe&lt;/span&gt; which works for me ).make sure that the network selection is auto.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Step 4&lt;/span&gt;:restart the phone &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_9"&gt;again&lt;/span&gt; :) it should work now. if it does &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_10"&gt;don't&lt;/span&gt; forget to leave a comment so that i know that it helped.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;i checked this with LG 1400i and LG C1500. &lt;span class="Apple-style-span" style="font-style: italic;"&gt;both worked fine :)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; font-style: italic; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "&gt;i got some other links for sites but thous are not &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;tested&lt;/span&gt; ill put it here so that it might help. you can try some and see if your willing to.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;a href="http://www.gsmliberty.net/shop/nokia_unlock.php"&gt;http://www.gsmliberty.net/shop/nokia_unlock.php&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;a href="http://unlock.nokiafree.org/"&gt;http://unlock.nokiafree.org/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;a href="http://www.unlockme.co.uk/unlockme.html"&gt;http://www.unlockme.co.uk/unlockme.html&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;a href="http://www.mobilecodez.com/unlocking/unlock-lg.php"&gt;http://www.mobilecodez.com/unlocking/unlock-lg.php&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;enjoy :)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: 13px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;nafi&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-4368972097513206515?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/4368972097513206515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=4368972097513206515&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4368972097513206515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/4368972097513206515'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/02/how-to-unlock-lg-mobiles.html' title='How to Unlock LG mobiles'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-864269856715946870</id><published>2009-01-10T08:40:00.003+05:30</published><updated>2009-01-10T08:52:57.865+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gaza'/><category scheme='http://www.blogger.com/atom/ns#' term='crime'/><category scheme='http://www.blogger.com/atom/ns#' term='war'/><title type='text'>War on Gaza 15 days and still going</title><content type='html'>&lt;span class="Apple-style-span"  style="  white-space: pre-wrap; font-family:-webkit-monospace;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Gazans flee homes and seek refuge in UN schools&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/KDDEozxtX3I&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/KDDEozxtX3I&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" font-weight: bold; font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Trapped Gaza journalist talks to Al Jazeera&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;object width="480" height="295"&gt;&lt;param name="movie" value="http://www.youtube.com/v/NBWQJ1BxMrI&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/NBWQJ1BxMrI&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style=" font-weight: bold; font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Gaza families mourn dead after UN school bombed - 07 Jan 09&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;object width="480" height="295"&gt;&lt;param name="movie" value="http://www.youtube.com/v/-K8caHPpInE&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/-K8caHPpInE&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-864269856715946870?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/864269856715946870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=864269856715946870&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/864269856715946870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/864269856715946870'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/01/war-on-gaza-15-days-and-still-going.html' title='War on Gaza 15 days and still going'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-6096232714281293821</id><published>2009-01-10T08:27:00.005+05:30</published><updated>2009-01-10T08:38:53.159+05:30</updated><title type='text'>War on Gaza ( way of self defence of Israel )</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_UfInfZb9zSI/SWgQwmOFOoI/AAAAAAAAAFc/1Sp7YJYigj4/s1600-h/image007.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 399px; height: 270px;" src="http://2.bp.blogspot.com/_UfInfZb9zSI/SWgQwmOFOoI/AAAAAAAAAFc/1Sp7YJYigj4/s400/image007.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5289496189426023042" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Verdana; font-size: 13px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;a title="Click to join nidokidos" href="http://groups.yahoo.com/subscribe/nidokidos" target="_blank" style="text-decoration: none; color: rgb(6, 88, 181); "&gt;Palestinian children from the Balosha family, who were all killed in the same Israeli missile strike, are seen in the morgue before their burial at Kamal Edwan hopsital in Beit Lahiya, northern Gaza Strip, Monday, Dec. 29, 2008&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_UfInfZb9zSI/SWgQJqJFsPI/AAAAAAAAAFU/EoCciuQ5Pyo/s1600-h/image004.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 277px;" src="http://2.bp.blogspot.com/_UfInfZb9zSI/SWgQJqJFsPI/AAAAAAAAAFU/EoCciuQ5Pyo/s400/image004.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5289495520463925490" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:Verdana;"&gt;&lt;a title="Click to join nidokidos" href="http://groups.yahoo.com/subscribe/nidokidos" target="_blank" style="text-decoration: none; color: rgb(6, 88, 181); "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Palestinians bury the body of 4-year-old Lama Hamdan at Beit Hanoun cemetery in the northern Gaza Strip December 30, 2008&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_UfInfZb9zSI/SWgPx17XYfI/AAAAAAAAAFM/VrGgVBk6Svc/s1600-h/image003.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 279px;" src="http://1.bp.blogspot.com/_UfInfZb9zSI/SWgPx17XYfI/AAAAAAAAAFM/VrGgVBk6Svc/s400/image003.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5289495111310729714" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:Verdana;"&gt;&lt;a title="Click to join nidokidos" href="http://groups.yahoo.com/subscribe/nidokidos" target="_blank" style="text-decoration: none; color: rgb(6, 88, 181); "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Palestinians carry the body of 4-year-old Lama Hamdan during her funeral in the town of Beit Hanoun in the northern Gaza Strip December 30, 2008&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_UfInfZb9zSI/SWgPZFk1c2I/AAAAAAAAAFE/TRgfhiNGDjw/s1600-h/image001.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 273px;" src="http://4.bp.blogspot.com/_UfInfZb9zSI/SWgPZFk1c2I/AAAAAAAAAFE/TRgfhiNGDjw/s400/image001.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5289494686014468962" /&gt;&lt;/a&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:Verdana;"&gt;&lt;a title="Click to join nidokidos" href="http://groups.yahoo.com/subscribe/nidokidos" target="_blank" style="text-decoration: none; color: rgb(6, 88, 181); "&gt;&lt;span class="Apple-style-span" style=" ;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;The bodies of two girls, aged four and 11, who were killed in an Israeli air strike in Beit Hanun in the northern Gaza Strip Strip December 30, 2008&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="border-collapse: collapse;   -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-family:Verdana;font-size:13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="border-collapse: collapse;   -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-family:Verdana;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="border-collapse: collapse;   -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-family:Verdana;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="border-collapse: collapse;   -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-family:Verdana;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="border-collapse: collapse;   -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-family:Verdana;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="border-collapse: collapse;   -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-family:Verdana;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Verdana; font-size: 48px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-6096232714281293821?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/6096232714281293821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=6096232714281293821&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6096232714281293821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/6096232714281293821'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2009/01/war-on-gaza-way-of-self-defence-of.html' title='War on Gaza ( way of self defence of Israel )'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_UfInfZb9zSI/SWgQwmOFOoI/AAAAAAAAAFc/1Sp7YJYigj4/s72-c/image007.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-1947954577963680310</id><published>2008-11-25T20:56:00.004+05:30</published><updated>2008-11-25T21:07:29.729+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOINC'/><category scheme='http://www.blogger.com/atom/ns#' term='grid computing'/><title type='text'>MOINC Agent</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_UfInfZb9zSI/SSwblwpu06I/AAAAAAAAAEk/Qtoa6n1BG3Q/s1600-h/moinc_logo_3_img.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 114px;" src="http://4.bp.blogspot.com/_UfInfZb9zSI/SSwblwpu06I/AAAAAAAAAEk/Qtoa6n1BG3Q/s400/moinc_logo_3_img.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5272619599273055138" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span"   style="  line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:Verdana;font-size:13px;"&gt;&lt;h1 style="font-weight: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:48px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style="font-weight: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt;on my final year project i am working on a project call MOINC (Mora Open Infrastructure of network computing) and i am working on teh Agent client part so thought about putting some information about it in teh blog :) &lt;/span&gt;&lt;/h1&gt;&lt;h1 style="font-size: 1.5em; font-weight: normal; "&gt;Introduction&lt;/h1&gt;&lt;p align="justify"&gt;The MOINC agent is the actual service runtime of the entire MOINC project. This is actually the client software that should be installed in all the computers that are volunteering to the grid. This piece of software works on Windows and Linux operating systems and is built using Java technologies. MOINC agent runs at operating system startup and functions as a background process to monitor user inactivity in order to start executions.&lt;br /&gt;&lt;br /&gt;The MOINC agent uses Axis2 as its service runtime engine. In other words all web service requests are executed using the Axis 2 environment. The main goal of this client software is to execute web service requests when the computer is idling. The web service requests are handed down by the MOINC server.&lt;br /&gt;&lt;br /&gt;The following steps outline how the MOINC agent functions once installed in a computer:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The software monitors keyboard and mouse hits and waits till no events occur for a specified time period.&lt;/li&gt;&lt;li&gt;As soon as this time period is elapsed, the MOINC agent informs the MOINC server that the client machine is idling.&lt;/li&gt;&lt;li&gt;The MOINC agent will then execute web service requests handed by the MOINC server.&lt;/li&gt;&lt;li&gt;During the period in which the MOINC agent functions a screen saver will be displayed on the screen which informs the user about the current activities.&lt;/li&gt;&lt;li&gt;If a keyboard hit or a mouse event occurs when MOINC agent is running, the software will automatically finish what it was doing and shutdown thus giving the full processing power of the computer to the user.    &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;MOINC agent is a collection of loosely coupled set of modules that carry out well defined tasks. The modules and their functionality are listed below.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;State Detector Module&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Determine when the computer is idling.&lt;/li&gt;&lt;li&gt;Inform MOINC server that the client is ready to receive web service requests.&lt;/li&gt;&lt;li&gt;Inform the module which launches the screen saver.&lt;/li&gt;&lt;li&gt;Inform the module which handles Axis2.&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;Service Deployer&lt;/strong&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Launch Axis2 runtime.&lt;/li&gt;&lt;li&gt;Execute service requests on top of Axis2.&lt;/li&gt;&lt;li&gt;Acquire points information.  &lt;/li&gt;&lt;/ul&gt;&lt;p align="justify"&gt;&lt;strong&gt;Screen Saver Invocator&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Invoke the MOINC screen saver when MOINC agent runs.&lt;/li&gt;&lt;li&gt;Shutdown the screen saver when MOINC stops functioning.&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;Points Notifier&lt;/strong&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Inform the MOINC Server Management Module about the CPU usage of web service requests in order to give points to the particular client.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;All communications between the MOINC Agent and the MOINC Server and the MOINC Server Management Module are carried out via the Thisara messaging protocol.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;h1 style="font-size: 1.5em; font-weight: normal; "&gt;Design/Architecture&lt;/h1&gt;&lt;div align="justify"&gt;Object oriented design principles have been incorporated in building the MOINC Agent application. Design patterns are used where possible to make sure the application evolves with time and is easily extensible.&lt;br /&gt;&lt;br /&gt;As mentioned earlier in this write-up, MOINC Agent is a collection of loosely coupled modules that perform well defined tasks. This in fact gives the ability to team members to easily enhance the functionality of the application as well as add new features without changing the existing system.&lt;br /&gt;&lt;br /&gt;More details about the design and architecture aspects of MOINC Agent can be found in the software design document which is available in the resources section.&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;for more information refer &lt;a href="http://www.moinc.org/"&gt;http://www.moinc.org&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-1947954577963680310?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/1947954577963680310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=1947954577963680310&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/1947954577963680310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/1947954577963680310'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2008/11/moinc-agent.html' title='MOINC Agent'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_UfInfZb9zSI/SSwblwpu06I/AAAAAAAAAEk/Qtoa6n1BG3Q/s72-c/moinc_logo_3_img.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-5290230382729199567</id><published>2008-11-24T16:17:00.003+05:30</published><updated>2008-11-24T16:57:49.813+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='axis2'/><category scheme='http://www.blogger.com/atom/ns#' term='web Services'/><title type='text'>How to deploy specified web services in a remote repository</title><content type='html'>While working in my project MOINC ( &lt;a href="http://www.moinc.org"&gt;http://www.moinc.org&lt;/a&gt; ).  I had two specified requirements &lt;div&gt;&lt;ul&gt;&lt;li&gt;work in a remote repository&lt;/li&gt;&lt;li&gt;deploy only specified web services from that repository&lt;/li&gt;&lt;/ul&gt;in my project MOINC Agent the remote repository i used was a common repository which is used by many computers. Therefore my second requirement of deploying specified services cannot be handled by editing the services.list file since its a common file for all computers.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The selution i came up with is hacking axis2 source code where i changed the services.list file to a local directory.&lt;/div&gt;&lt;div&gt;To do this i had to change module kernel package deployment and class deployment engine&lt;/div&gt;&lt;div&gt;the method loadServicesFromUrl&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;old code&lt;/div&gt;&lt;div&gt;&lt;div&gt;URL servicesDir = new URL(repoURL, path);&lt;/div&gt;&lt;div&gt;URL filelisturl = new URL(servicesDir ,"services.list");&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;new code&lt;/div&gt;&lt;/div&gt;&lt;div&gt;URL servicesDir = new URL(repoURL, path);&lt;/div&gt;&lt;div&gt;URL filelisturl = new URL("http://localhost:port/services.list");&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;so now i will keep the services.list file in the localhost root directory where i specify the services required to be deployed.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-5290230382729199567?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/5290230382729199567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=5290230382729199567&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/5290230382729199567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/5290230382729199567'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2008/11/how-to-deploy-specified-web-services-in.html' title='How to deploy specified web services in a remote repository'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4142792607025213438.post-788383255559181489</id><published>2008-11-23T21:29:00.005+05:30</published><updated>2008-11-24T17:05:43.214+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='axis2'/><category scheme='http://www.blogger.com/atom/ns#' term='web Services'/><title type='text'>how to work with a remote repository axis2</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_UfInfZb9zSI/SSmDYLB9zpI/AAAAAAAAAD4/iQ3dz_IvgB8/s1600-h/axis2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 110px;" src="http://1.bp.blogspot.com/_UfInfZb9zSI/SSmDYLB9zpI/AAAAAAAAAD4/iQ3dz_IvgB8/s400/axis2.JPG" alt="" id="BLOGGER_PHOTO_ID_5271889290115010194" border="0" /&gt;&lt;/a&gt;Hi,&lt;br /&gt;if any one is has a requirement on how to work in a remote repository using axis2 this is one way to do it.&lt;br /&gt;if your using this way you have to use axis2 on top of tomcat where you deploy the axis2 war file in to the webapp folder in axis2.&lt;br /&gt;its a very simple thing what you have to do it after the first deployment tomcat will unpack axis2 in to a folder in webapp directory. find the web.xml file and do the above change.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;by changing the axis2 xml tag you can work with a remote axis2.xml file also.&lt;br /&gt;when your working with a remote repo you will have to give up hot deployment.&lt;br /&gt;but you can change the web.xml file while tomcat is running it will automatically ditect it and will do the updating part.&lt;br /&gt;&lt;br /&gt;if you wish to get this thing done without tomcat refer to this blog&lt;br /&gt;&lt;a href="http://www.blogger.com/%20http://blogs.deepal.org/2008/02/starting-axis2-using-wso2-registry.html"&gt;&lt;br /&gt;http://blogs.deepal.org/2008/02/starting-axis2-using-wso2-registry.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4142792607025213438-788383255559181489?l=nafran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nafran.blogspot.com/feeds/788383255559181489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4142792607025213438&amp;postID=788383255559181489&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/788383255559181489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4142792607025213438/posts/default/788383255559181489'/><link rel='alternate' type='text/html' href='http://nafran.blogspot.com/2008/11/how-to-work-with-remote-repository.html' title='how to work with a remote repository axis2'/><author><name>nafi925</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_UfInfZb9zSI/SSmDYLB9zpI/AAAAAAAAAD4/iQ3dz_IvgB8/s72-c/axis2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
