<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Kwanmo's Weblog</title>
	<atom:link href="http://kwanmo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kwanmo.wordpress.com</link>
	<description>Technical Kwanmo</description>
	<lastBuildDate>Wed, 20 Feb 2008 07:12:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kwanmo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Kwanmo's Weblog</title>
		<link>http://kwanmo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kwanmo.wordpress.com/osd.xml" title="Kwanmo&#039;s Weblog" />
	<atom:link rel='hub' href='http://kwanmo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Derive formula for Loan Payment</title>
		<link>http://kwanmo.wordpress.com/2008/02/20/derive-formula-for-loan-payment/</link>
		<comments>http://kwanmo.wordpress.com/2008/02/20/derive-formula-for-loan-payment/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 07:12:17 +0000</pubDate>
		<dc:creator>kwanmo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Load Payment]]></category>
		<category><![CDATA[PMT]]></category>
		<category><![CDATA[息隨本減]]></category>

		<guid isPermaLink="false">http://kwanmo.wordpress.com/?p=17</guid>
		<description><![CDATA[http://www.hughchou.org/calc/formula.html http://www.hughchou.org/calc/formula_deriv.html P = principal, the initial amount of the loan I = the annual interest rate (from 1 to 100 percent) L = length, the length (in years) of the loan, or at least the length over which the loan is amortized. J = monthly interest in decimal form = I / (12 x [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=17&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hughchou.org/calc/formula.html" target="_blank">http://www.hughchou.org/calc/formula.html</a></p>
<p><a href="http://www.hughchou.org/calc/formula_deriv.html" target="_blank">http://www.hughchou.org/calc/formula_deriv.html</a></p>
<li><b>P </b>= principal, the initial amount of the loan</li>
<li><b>I </b>= the annual interest rate  (from 1 to 100 percent)</li>
<li><b>L </b>= length, the length (in years) of the loan, or at least the length over which the loan is amortized.</li>
<li><b>J </b>= monthly interest in decimal form <b>= I / (12 x 100)</b></li>
<li><b>N </b>= number of months over which loan is  amortized <b>= L x 12</b></li>
<pre>                              J
         M  =  P  x ------------------------

                      1  - ( 1 + J ) ^ -N</pre>
<h4><u>Concept</u></h4>
<ol>
<li> Calculate H = P*J, this is your current monthly interest</li>
<li> Calculate C = M &#8211; H, this is your monthly payment minus your monthly interest, so it is the amount of principal you pay for the month.</li>
<li> Calculate Q = P &#8211; C, this is the new balance of your principal of your loan.</li>
<li> Set P = Q and repeat 1.</li>
</ol>
<p><b><font face="Arial" size="4">Definitions</font></b></p>
<pre>  N  =  No. of months of the mortgage payment
  M  =  Monthly mortgage payment
  J  =  Monthly interest rate
  P  =  Principal</pre>
<p>For the first month N = 1 :</p>
<pre>  H  =  P*J
  C  =  M - P*J
  Q  =  P - (M - P*J)
     =  P + PJ - M
     =  P(1 + J) - M</pre>
<p>For the second month N = 2 :</p>
<pre>  H  =  (P(1 + J) - M)*J
  C  =  M - [ PJ(1 + J) - MJ ]
  Q  =  P(1 + J) - M - (M - [ PJ(1 + J) - MJ ])
     =  P(1 + J) - M - M + PJ(1 + J) - MJ
     =  P(1 + J)<sup>2</sup> - M(1 + J) - M</pre>
<p>For the third month N = 3 :</p>
<pre>  H  =  (P(1 + J)<sup>2</sup> - M(1 + J) - M)*J
  C  =  M - [PJ(1 + J)<sup>2</sup> - MJ(1 + J) - MJ]
  Q  =  P(1 + J)<sup>2</sup> - M(1 + J) - M - (M - [PJ(1 + J)<sup>2</sup> - MJ(1 + J) - MJ])
     =  P(1 + J)<sup>2</sup> + PJ(1 + J)<sup>2</sup>  - M(1 + J) - MJ(1 + J) - M - MJ - M
     =  P(1 + J)<sup>3</sup> - M(1 + J)<sup>2</sup> - M(1 + J) - M           <b>[ Equation #1 ]</b></pre>
<p>Let us digress and consider the Geometric series :</p>
<p>We know :</p>
<p><b><font face="Arial" size="4">T <sub>n</sub> = a r<sup>n</sup> &#8211; 1</font></b></p>
<p>so the sum of the series is expressed as</p>
<p><b><font face="Arial" size="4">S<sub>n</sub> = a [ (1 - r<sup>n</sup> ) / ( 1 - r ) ]</font></b></p>
<p>From [ Equation 1 ] we know that</p>
<p><b>M(1 + J)<sup>2</sup> &#8211; M(1 + J) &#8211; M</b> is a Geometric series.</p>
<p>Where r is (1 + J) and a = M</p>
<p>Thus the sum of this series is equal to</p>
<pre>  S<sub>n</sub> = M [ (1- (1 + J)<sup>n</sup>) / (1- (1 + J)) ]      <b>[ Equation #2 ]</b></pre>
<p>Now substitute [ Equation 2 ] into [ Equation 1 ] and set Q = 0,</p>
<p>The reason why we set Q equal to zero is simple, when we finish paying the mortgage Q, the balance is reduced to 0.</p>
<p>So,</p>
<pre>  0  =  P(1 + J)<sup>N</sup> - M [ (1- (1 + J)<sup>N</sup>) / J) ]
  M  =  J * [ P(1 + J)<sup>N</sup> / ((1 + J)<sup>N</sup> - 1) ]
  M  =  PJ * [ (1 + J)<sup>N</sup> / ((1 + J)<sup>N</sup> - 1) ]
  M  =  PJ / [ 1 - (1 + J)<sup> -N</sup> ]</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kwanmo.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kwanmo.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kwanmo.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kwanmo.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kwanmo.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kwanmo.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kwanmo.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kwanmo.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kwanmo.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kwanmo.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kwanmo.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kwanmo.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kwanmo.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kwanmo.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kwanmo.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kwanmo.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=17&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kwanmo.wordpress.com/2008/02/20/derive-formula-for-loan-payment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25a0a767a6371aaa1058cb218a1044df?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kwanmo</media:title>
		</media:content>
	</item>
		<item>
		<title>ABAP Code Highlighter for HTML</title>
		<link>http://kwanmo.wordpress.com/2008/02/12/abap-code-highlighter-for-html/</link>
		<comments>http://kwanmo.wordpress.com/2008/02/12/abap-code-highlighter-for-html/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 06:16:09 +0000</pubDate>
		<dc:creator>kwanmo</dc:creator>
				<category><![CDATA[ABAP Programming]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[ABAP code editor]]></category>
		<category><![CDATA[jtidy.de]]></category>

		<guid isPermaLink="false">http://kwanmo.wordpress.com/?p=16</guid>
		<description><![CDATA[Though not as good as ABAP&#8217;s new code editor, JTidy.de gives us a good online code beautifier. Unfortunately, it does not support WordPress. http://jtidy.de/ WordPress has another solution for source code display from code.google.com . It&#8217;s excellent but, unfortunately, it does not support ABAP. Nothing is perfect.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=16&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Though not as good as ABAP&#8217;s <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/92a04d07-0501-0010-1f99-9c7ee0e3fab1">new code editor</a>, JTidy.de gives us a good online code beautifier. Unfortunately, it does not support WordPress. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><a href="http://jtidy.de/" target="_blank">http://jtidy.de/</a></p>
<p>WordPress has <a href="http://faq.wordpress.com/2007/09/03/how-do-i-post-source-code/" target="_blank">another solution</a> for source code display from <a href="http://code.google.com/p/syntaxhighlighter/">code.google.com</a> . It&#8217;s excellent but, unfortunately, it does not support ABAP. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Nothing is perfect.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kwanmo.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kwanmo.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kwanmo.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kwanmo.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kwanmo.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kwanmo.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kwanmo.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kwanmo.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kwanmo.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kwanmo.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kwanmo.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kwanmo.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kwanmo.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kwanmo.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kwanmo.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kwanmo.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=16&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kwanmo.wordpress.com/2008/02/12/abap-code-highlighter-for-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25a0a767a6371aaa1058cb218a1044df?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kwanmo</media:title>
		</media:content>
	</item>
		<item>
		<title>ABAP Read Unicode File</title>
		<link>http://kwanmo.wordpress.com/2008/02/12/abap-read-unicode-file/</link>
		<comments>http://kwanmo.wordpress.com/2008/02/12/abap-read-unicode-file/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 03:37:55 +0000</pubDate>
		<dc:creator>kwanmo</dc:creator>
				<category><![CDATA[ABAP Programming]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[ABAP]]></category>
		<category><![CDATA[BOM]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[Unicode]]></category>
		<category><![CDATA[UTF-16]]></category>
		<category><![CDATA[UTF-8]]></category>

		<guid isPermaLink="false">http://kwanmo.wordpress.com/?p=15</guid>
		<description><![CDATA[UTF-8 took a great step to roll back the computer world to the time before the God destroyed the Tower of Babel. However, Microsoft world is not so friendly with UTF-8. Microsoft Office 2003 is not UTF-16 but not UTF-8 when you save the file as &#8220;Unicode Text File&#8221;. ABAP does an excellent job on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=15&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>UTF-8 took a great step to roll back the computer world to the time before the God destroyed the <a href="http://en.wikipedia.org/wiki/Tower_of_Babel" target="_blank">Tower of Babel</a>. However, Microsoft world is not so friendly with UTF-8. Microsoft Office 2003 is not UTF-16 but not UTF-8 when you save the file as &#8220;Unicode Text File&#8221;.</p>
<p>ABAP does an <a href="http://help.sap.com/saphelp_nw70/helpdata/en/79/c554a0b3dc11d5993800508b6b8b11/frameset.htm" target="_blank">excellent job</a> on UTF-8 file, but may not on UTF-16, depending on your system locale setup. With the help of Google and <a href="https://forums.sdn.sap.com" title="SAP forum" target="_blank">SAP forum</a>, following code should work on both UTF-8 and UTF-16.</p>
<p>In short, it is composed of detection, parsing and conversion when necessary.</p>
<pre class="brush: sql;">
FORM read_unicode USING filename TYPE rlgrap-filename
               CHANGING fileline_tab TYPE string_table.
  DATA: message TYPE string,
        lr_conv TYPE REF TO cl_abap_conv_in_ce,
        lr_ex TYPE REF TO cx_root.

* utf-8
  DATA: file_bom TYPE sychar01,
        file_encoding TYPE sychar01,
        fileline TYPE string.

* utf-16
  DATA: str_utf16 TYPE xstring,
        str_native TYPE string,
        bom(2) TYPE x, &quot;byte order mark for UTF-16
        encoding TYPE abap_encod,
        endian TYPE abap_endia.

  CALL METHOD cl_abap_file_utilities=&gt;check_utf8
    EXPORTING
      file_name = filename
    IMPORTING
      bom       = file_bom
      encoding  = file_encoding.

  IF file_bom EQ cl_abap_file_utilities=&gt;bom_utf8 AND
     file_encoding EQ cl_abap_file_utilities=&gt;encoding_utf8.
*   work as UTF-8
    TRY .
        OPEN DATASET filename FOR INPUT
          IN TEXT MODE
          ENCODING UTF-8 SKIPPING BYTE-ORDER MARK
          WITH SMART LINEFEED.
        IF sy-subrc NE 0.
          WRITE / 'File open failure '.
          RETURN.
        ENDIF.

        DO.
          READ DATASET filename INTO fileline.
          IF sy-subrc NE 0.             &quot;EOF
            EXIT.
          ENDIF.
          APPEND fileline TO fileline_tab.
        ENDDO.

      CATCH cx_root INTO lr_ex.
        message = lr_ex-&gt;if_message~get_longtext( ).
        WRITE:/ message.
        CLOSE DATASET filename.
        RETURN.
    ENDTRY.
  ELSE.
*   work as UTF-16
    TRY .
        OPEN DATASET filename FOR INPUT IN BINARY MODE.
        IF sy-subrc NE 0.
          WRITE / 'File open failure'.
          RETURN.
        ENDIF.
        READ DATASET filename INTO str_utf16.
        CLOSE DATASET filename.

      CATCH cx_root INTO lr_ex.
        message = lr_ex-&gt;if_message~get_longtext( ).
        WRITE:/ message.
        CLOSE DATASET filename.
        RETURN.
    ENDTRY.

    bom = str_utf16.

    IF bom EQ 'FFFE'.
      encoding = '4103'. &quot;code page for UTF-16LE
      endian = 'L'.
      SHIFT str_utf16 LEFT BY 2 PLACES IN BYTE MODE.  &quot; remove byte-order-mark
    ELSEIF bom EQ 'FEFF'.
      encoding = '4102'. &quot;code page for UTF-16BE
      endian = 'B'.
      SHIFT str_utf16 LEFT BY 2 PLACES IN BYTE MODE.  &quot; remove byte-order-mark
    ELSE.
      WRITE: 'File is neither UTF-8 or UTF-16'.
      RETURN.
    ENDIF.

    TRY.
        CALL METHOD cl_abap_conv_in_ce=&gt;create
          EXPORTING
            encoding    = encoding
            endian      = endian
            replacement = '?'
          RECEIVING
            conv        = lr_conv.

        CALL METHOD lr_conv-&gt;convert
          EXPORTING
            input = str_utf16
            n     = -1
          IMPORTING
            data  = str_native.
      CATCH cx_sy_conversion_codepage.
*     replacement occurs automatically. no code is required
      CATCH cx_root INTO lr_ex.
        message = lr_ex-&gt;if_message~get_longtext( ).
        WRITE:/ message.
    ENDTRY.

    SPLIT str_native AT cl_abap_char_utilities=&gt;cr_lf INTO TABLE fileline_tab.
  ENDIF.
ENDFORM.                    &quot;read_unicode</pre>
<p>Any idea for simpler solution?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kwanmo.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kwanmo.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kwanmo.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kwanmo.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kwanmo.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kwanmo.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kwanmo.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kwanmo.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kwanmo.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kwanmo.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kwanmo.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kwanmo.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kwanmo.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kwanmo.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kwanmo.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kwanmo.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=15&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kwanmo.wordpress.com/2008/02/12/abap-read-unicode-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25a0a767a6371aaa1058cb218a1044df?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kwanmo</media:title>
		</media:content>
	</item>
		<item>
		<title>Transporting Report variant</title>
		<link>http://kwanmo.wordpress.com/2007/11/23/transporting-report-variant/</link>
		<comments>http://kwanmo.wordpress.com/2007/11/23/transporting-report-variant/#comments</comments>
		<pubDate>Fri, 23 Nov 2007 07:51:26 +0000</pubDate>
		<dc:creator>kwanmo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SAP report variant transport scc1 batch]]></category>

		<guid isPermaLink="false">http://kwanmo.wordpress.com/2007/11/23/transporting-report-variant/</guid>
		<description><![CDATA[1) Go to transaction SE38 and enter the program name. 2) Click the radio button next to the &#8220;Variants&#8221; subobject and click the &#8220;Change&#8221; button 3) On &#8220;ABAP: Variants&#8221; screen, select menu path &#8220;Utilities -&#62; Transport request&#8221; 4) Enter the variant(s) you want to copy into the &#8220;Variant name&#8221; box. 5) Click the execute button [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=5&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_155549.png" title="2007-11-23_155549.png"></a><a rel="attachment wp-att-12" href="http://kwanmo.wordpress.com/2007/11/23/transporting-report-variant/12/" title="2007-11-23_155850.png"></a><a rel="attachment wp-att-11" href="http://kwanmo.wordpress.com/2007/11/23/transporting-report-variant/11/" title="2007-11-23_155700.png"></a>1) Go to transaction SE38 and enter the program name.<br />
2) Click the radio button next to the &#8220;Variants&#8221; subobject and click the &#8220;Change&#8221; button<br />
3) On &#8220;ABAP: Variants&#8221; screen, select menu path &#8220;Utilities -&gt; Transport request&#8221;<br />
4) Enter the variant(s) you want to copy into the &#8220;Variant name&#8221; box.<br />
5) Click the execute button and save the data to a new change request.</p>
<p><img src="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_1554381.png?w=450" alt="2007-11-23_1554381.png" /></p>
<p><img src="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_155549.png?w=450" alt="2007-11-23_155549.png" /></p>
<p><img src="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_155636.png?w=450" alt="2007-11-23_155636.png" /></p>
<p><img src="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_155647.png?w=450" alt="2007-11-23_155647.png" /></p>
<p><img src="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_1557001.png?w=450" alt="2007-11-23_1557001.png" /></p>
<p><img src="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_1558501.png?w=450" alt="2007-11-23_1558501.png" /></p>
<p>To copy to new client:</p>
<p>1) Log on to target client and goto transaction SCC1.<br />
2) Enter the source client and change request number from above.<br />
3) Click the execute button.</p>
<p>Ref: <a href="http://sap.ittoolbox.com/documents/popular-q-and-a/copying-variants-from-one-client-to-another-in-sap-1560#">http://sap.ittoolbox.com/documents/popular-q-and-a/copying-variants-from-one-client-to-another-in-sap-1560</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kwanmo.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kwanmo.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kwanmo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kwanmo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kwanmo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kwanmo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kwanmo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kwanmo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kwanmo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kwanmo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kwanmo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kwanmo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kwanmo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kwanmo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kwanmo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kwanmo.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=5&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kwanmo.wordpress.com/2007/11/23/transporting-report-variant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25a0a767a6371aaa1058cb218a1044df?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kwanmo</media:title>
		</media:content>

		<media:content url="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_1554381.png" medium="image">
			<media:title type="html">2007-11-23_1554381.png</media:title>
		</media:content>

		<media:content url="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_155549.png" medium="image">
			<media:title type="html">2007-11-23_155549.png</media:title>
		</media:content>

		<media:content url="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_155636.png" medium="image">
			<media:title type="html">2007-11-23_155636.png</media:title>
		</media:content>

		<media:content url="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_155647.png" medium="image">
			<media:title type="html">2007-11-23_155647.png</media:title>
		</media:content>

		<media:content url="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_1557001.png" medium="image">
			<media:title type="html">2007-11-23_1557001.png</media:title>
		</media:content>

		<media:content url="http://kwanmo.files.wordpress.com/2007/11/2007-11-23_1558501.png" medium="image">
			<media:title type="html">2007-11-23_1558501.png</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://kwanmo.wordpress.com/2007/11/23/4/</link>
		<comments>http://kwanmo.wordpress.com/2007/11/23/4/#comments</comments>
		<pubDate>Fri, 23 Nov 2007 07:27:04 +0000</pubDate>
		<dc:creator>kwanmo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SAP batch SM36 SM37 SP02]]></category>

		<guid isPermaLink="false">http://kwanmo.wordpress.com/2007/11/23/4/</guid>
		<description><![CDATA[SAP Batch Job Relevant t-codes: SM36: Create job SM36WIZ: Create job with wizard SM37: Job Overview: release scheduled job, display Job logs and steps, etc. SM21: System Log. ST22: ABAP runtime error, here it is used to find error info of background program SP02: Display background report output which is outputed by WRITE statement. Relevant [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=4&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:14pt;font-weight:bold;" class="dark_c">            SAP Batch Job</span></p>
<p><font face="Arial"><font face="Arial"><strong>Relevant t-codes:</strong><br />
SM36: Create job<br />
SM36WIZ: Create job with wizard<br />
SM37: Job Overview: release scheduled job, display Job logs and steps, etc.<br />
SM21: System Log.<br />
ST22: ABAP runtime error, here it is used to find error info of background program<br />
SP02: Display background report output which is outputed by WRITE statement. </font></font></p>
<p><font face="Arial"><font face="Arial"><strong>Relevant FMs:</strong><br />
1. JOB_OPEN: Define a job<br />
2. JOB_SUBMIT: Append program, external command or external program to the job.<br />
=&gt;Job Status: &#8220;Scheduled&#8221;.<br />
3. JOB_CLOSE: Release a job. You can let the job run immediately, or run in specific start data &amp; time, or after which event or job.<br />
=&gt;Job Status: &#8220;Released&#8221;<br />
4. SHOW_JOBSTATE: Get job status<br />
5. BP_JOBLOG_READ: Read job log into an itab</font></font></p>
<p><font face="Arial"><font face="Arial"><strong>Useful FMs in Function Group: BTCH</strong></font></font></p>
<p>Src: <a href="http://sap.group.javaeye.com/group/blog/127587">http://sap.group.javaeye.com/group/blog/127587 </a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kwanmo.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kwanmo.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kwanmo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kwanmo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kwanmo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kwanmo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kwanmo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kwanmo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kwanmo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kwanmo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kwanmo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kwanmo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kwanmo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kwanmo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kwanmo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kwanmo.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=4&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kwanmo.wordpress.com/2007/11/23/4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25a0a767a6371aaa1058cb218a1044df?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kwanmo</media:title>
		</media:content>
	</item>
		<item>
		<title>SAP &amp; Email &#8211; SOST &amp; SCOT</title>
		<link>http://kwanmo.wordpress.com/2007/11/09/sap-email-sost-scot/</link>
		<comments>http://kwanmo.wordpress.com/2007/11/09/sap-email-sost-scot/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 02:47:00 +0000</pubDate>
		<dc:creator>kwanmo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sapconnect sost scot email]]></category>

		<guid isPermaLink="false">http://kwanmo.wordpress.com/2007/11/09/sap-email-sost-scot/</guid>
		<description><![CDATA[http://help.sap.com/saphelp_nw04s/helpdata/en/42/ea000fb4b31a71e10000000a422035/content.htm<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=3&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>http://help.sap.com/saphelp_nw04s/helpdata/en/42/ea000fb4b31a71e10000000a422035/content.htm</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kwanmo.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kwanmo.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kwanmo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kwanmo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kwanmo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kwanmo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kwanmo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kwanmo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kwanmo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kwanmo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kwanmo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kwanmo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kwanmo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kwanmo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kwanmo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kwanmo.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=3&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kwanmo.wordpress.com/2007/11/09/sap-email-sost-scot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25a0a767a6371aaa1058cb218a1044df?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kwanmo</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://kwanmo.wordpress.com/2007/11/09/hello-world/</link>
		<comments>http://kwanmo.wordpress.com/2007/11/09/hello-world/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 02:35:49 +0000</pubDate>
		<dc:creator>kwanmo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=1&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kwanmo.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kwanmo.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kwanmo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kwanmo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kwanmo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kwanmo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kwanmo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kwanmo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kwanmo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kwanmo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kwanmo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kwanmo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kwanmo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kwanmo.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kwanmo.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kwanmo.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kwanmo.wordpress.com&amp;blog=2085997&amp;post=1&amp;subd=kwanmo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kwanmo.wordpress.com/2007/11/09/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25a0a767a6371aaa1058cb218a1044df?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kwanmo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
