<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Routine Value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-value/m-p/3285914#M785972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;         C let me explain u clearly .I'm picking some value where STUNR is 103 and i'm calculating some value n i'm putting that value where KSCHL is ZR01 ok . n next where stunr is 105 ...calculating something and putting that where kschl is ZR02.ok .now that  final value is overlapping here ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2008 05:37:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-07T05:37:55Z</dc:date>
    <item>
      <title>Routine Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-value/m-p/3285912#M785970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;                    I created a routine , i'm getting a problem of overlapping routine value for 2 conditions . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table xkomv with key stunr = '103'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;v_qty = xkomv-kawrt / 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if factor ne 0 .&lt;/P&gt;&lt;P&gt;conv_fac = ( xkomv-kbetr * factor ) / 10000000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;conv_fac = ( xkomv-kwert * 10000000 ) / factor .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;read table xkomv with key kschl = 'ZR01'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;xkomv-kbetr = ( conv_fac / v_qty ) * 100.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;xkomv-kbetr = conv_fac.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;xkomv-kpein = v_qty / 100 .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;xkomv-kwert = conv_fac .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xkwert = ( conv_fac * v_qty ) / 100 .&lt;/P&gt;&lt;P&gt;clear conv_fac.&lt;/P&gt;&lt;P&gt;modify xkomv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table xkomv with key stunr = '105'.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;v_qty = xkomv-kawrt / 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if factor ne 0.&lt;/P&gt;&lt;P&gt;conv_fac = ( xkomv-kbetr * factor ) / 10000000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;read table xkomv with key kschl = 'ZR02'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xkomv-kbetr = conv_fac.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xkwert = ( conv_fac * v_qty ) / 100 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code where my value is overlapping here .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me out for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp; Regards&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 04:57:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-value/m-p/3285912#M785970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T04:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Routine Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-value/m-p/3285913#M785971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, The Code is similar to both STUNR and KSCHL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exactly What help do u want ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-value/m-p/3285913#M785971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T05:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Routine Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-value/m-p/3285914#M785972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;         C let me explain u clearly .I'm picking some value where STUNR is 103 and i'm calculating some value n i'm putting that value where KSCHL is ZR01 ok . n next where stunr is 105 ...calculating something and putting that where kschl is ZR02.ok .now that  final value is overlapping here ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-value/m-p/3285914#M785972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T05:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Routine Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-value/m-p/3285915#M785973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think u shud write them in 2 routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e different routines for 103 and 105.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 05:49:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-value/m-p/3285915#M785973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T05:49:41Z</dc:date>
    </item>
  </channel>
</rss>

