<?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: Rounding / TYPE N / TYPE P? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367325#M524259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanQ Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. clarify,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) My main doubts is that, How the system will consider for rounding? I mean, What r the limits, Is it like, &amp;gt;5 &amp;amp; &amp;lt;5?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coz, If 2.507 wuld round to 3!, my totals wuld bcom wrong i.e. wrong report!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, wht is alternative? Shuld I use some logic manually? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2007 00:28:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-12T00:28:53Z</dc:date>
    <item>
      <title>Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367322#M524256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : my_zbd1p  LIKE  bseg-zbd1p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am manually calculationg the my_zbd1p, am getting the values like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.886,&lt;/P&gt;&lt;P&gt;2.849, &lt;/P&gt;&lt;P&gt;2.507 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I wanna display them in the report with rounding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If I declare as  DATA : my_zbd1p(11) TYPE N, Will I get rounding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2) My main doubts is that, How the system will consider for rounding?  I mean, What r the limits, Is it like, &amp;gt;5 &amp;amp; &amp;lt;5?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;3) After rounding, Wht r the values for,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.886,&lt;/P&gt;&lt;P&gt;2.849, &lt;/P&gt;&lt;P&gt;2.507 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 00:01:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367322#M524256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T00:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367323#M524257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Packed data type to get rounding..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 00:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367323#M524257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T00:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367324#M524258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare as Type I for rounding it to the nearest integer.&lt;/P&gt;&lt;P&gt;Then you would get the values&lt;/P&gt;&lt;P&gt;2,3 and 3&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 00:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367324#M524258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T00:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367325#M524259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanQ Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. clarify,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) My main doubts is that, How the system will consider for rounding? I mean, What r the limits, Is it like, &amp;gt;5 &amp;amp; &amp;lt;5?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coz, If 2.507 wuld round to 3!, my totals wuld bcom wrong i.e. wrong report!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, wht is alternative? Shuld I use some logic manually? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 00:28:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367325#M524259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T00:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367326#M524260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanQ Sheshu,&lt;/P&gt;&lt;P&gt;Pls. culd u clarify in bit details, U mean TYPE P?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 00:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367326#M524260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T00:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367327#M524261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will round based on the halfway mark.&lt;/P&gt;&lt;P&gt;anything more than .5 it will round to the next number and antthing less than .5 it will round to the number below it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to round it irrespective of the value after the decimal, then you can use the function&lt;/P&gt;&lt;P&gt;floor.&lt;/P&gt;&lt;P&gt;data: val type i.&lt;/P&gt;&lt;P&gt;val = floor( V_deci ).  "Val will have 1 if v_deci has 1.56 or 1.36&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to round it the next interger irrespective of the value after the decimal, then you can use the function&lt;/P&gt;&lt;P&gt;ceil.&lt;/P&gt;&lt;P&gt;data: val type i.&lt;/P&gt;&lt;P&gt;val = ceil( V_deci ).  "Val will have 2 if v_deci has 1.56 or 1.36&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 00:33:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367327#M524261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T00:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367328#M524262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to round the value ,the best method is declare variable type p,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose you have value 10.99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use type p,value would be 11.00 ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 00:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367328#M524262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T00:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367329#M524263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanQ Ravi for ur tips,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I observed that, in my case, Rounding is always not advisable! So, instead of manually calculation of Discount, I wanna to fetch directly from DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I am looking to pull the data of,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VF03-----&amp;gt; Header Level Cash Discount - Amount i.e. say, 3%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Where Can I get the Header level i.e. from which source/DB/tbl I can retrieve this data?,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cash Discount Amount data e.g. 3%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 11:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367329#M524263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T11:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367330#M524264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hv very prog. this prog. shuld b in such a way that, from BAPi / from SElection screen user inputs - both shuld work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the location of START-OF-SELECTION is working fine for BAPi/SUBMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, if the user comes from SELECTION SCREEN by giving some input, then, the output ALV is not coming! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, the prog. shuld b in such a way that, both shuld work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ur time permits, pls. let me know that, so that , I will send my code, and &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;let me know the correct location of START-OF-SELECTION.&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) bapi_flag = 'X' tells the prog. that, the control come from BAPi/SUBMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) This location is working for ALV output , go for CNTRL+F for following&lt;/P&gt;&lt;P&gt;*selection-screen online report location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) This location is working fine for BAPi/SUBMIT , go for CNTRL+F for following&lt;/P&gt;&lt;P&gt;*bapi report location for SOS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 15:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367330#M524264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T15:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367331#M524265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can Type P.  Check the following example;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA pack TYPE p VALUE '123.456'&lt;/P&gt;&lt;P&gt;DECIMALS 3.&lt;/P&gt;&lt;P&gt;WRITE pack DECIMALS 2.&lt;/P&gt;&lt;P&gt;WRITE: / pack ROUND -2,&lt;/P&gt;&lt;P&gt;/ pack ROUND -1,&lt;/P&gt;&lt;P&gt;/ pack ROUND 1,&lt;/P&gt;&lt;P&gt;/ pack ROUND 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ourpur:&lt;/P&gt;&lt;P&gt;123,46&lt;/P&gt;&lt;P&gt;12.345,600&lt;/P&gt;&lt;P&gt;1.234,560&lt;/P&gt;&lt;P&gt;12,346&lt;/P&gt;&lt;P&gt;1,235&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 15:33:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367331#M524265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T15:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367332#M524266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Is there any syntax for the following requirement (Other than SPLIT, CONCATENATE opertaions),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my_discount = 123.456,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna display  = 123.45&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 15:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367332#M524266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T15:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367333#M524267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes SRikhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;send me the program and i am not clear abt ur req ,could u please explian little bit more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 15:54:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367333#M524267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T15:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367334#M524268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanQ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. go thru Yahoo ID - vtkapoor2000&lt;/P&gt;&lt;P&gt;Password is---&amp;gt; &lt;/P&gt;&lt;P&gt;subject - ALV and BAPi -  Program&lt;/P&gt;&lt;P&gt;Attachment - MS word attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requiremet is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is prog. shuld work for both requiremets, i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - from selection screen by user input yielding ALV&lt;/P&gt;&lt;P&gt;2- from BAPi, shuld get data in output TABLEs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, problem is with START-OF-SELECTION location in the prog.! i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) bapi_flag = 'X' tells the prog. that, the control is come from BAPi/SUBMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) This following location (for start-of-selection) is working for ALV output(i.e. if control comes from SELECTION SCREEN) , so, go for CNTRL+F for following statement/comment in the prog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection-screen online report location&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) This following location (for start-of-selection) is working for BAPi / SUBMIT output(i.e. if control comes from BAPi) , so, go for CNTRL+F for following statement/comment ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*bapi report location for SOS&lt;/P&gt;&lt;P&gt;*START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 16:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367334#M524268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T16:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367335#M524269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls. let me know, after U downloaded/got the prog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 16:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367335#M524269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T16:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367336#M524270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Srikhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw your code and one can not understand .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. you written at selection-screen on value-request on layout after end-of-selection ( Can you keep above start-of-seklection).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd point is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF bapi_flag IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the alv output &lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do bapi function module operation since ztables are available in your program ,so i can not execute and see the results.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you explain one by one it is easy to explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 16:59:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367336#M524270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T16:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367337#M524271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanQ:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U mean like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- S...-S.... ON VALUE REQUEST&lt;/P&gt;&lt;P&gt;2 - START-OF-SELECTION&lt;/P&gt;&lt;P&gt;3- END-OF-SELECTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 17:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367337#M524271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T17:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367338#M524272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes,keep the at selection-screen event before start-of-selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 17:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367338#M524272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T17:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367339#M524273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shehsu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can understand that, its very difficult to undesratnd my prog. code.&lt;/P&gt;&lt;P&gt;So, reagarding the my problem &amp;amp; ur suggestion of changing location of START-OF-SELECTIOn, its working with F8 i.e. clock symbol(again if I comment the PERFORM chk_if_F8),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but not working with Push Button i.e. sscrefield-ucomm = 'STA'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later added notes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I got one idea that,&lt;/P&gt;&lt;P&gt;As its ur suggestion is working with clock symbol i.e. F8, i.e. sy-ucomm = 'ONLI', so I am explicitly writing the code like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sscrfiled-ucomm = 'ONLI' under AT SELECTION SCREEN and pressing the Push button, so, even though the push button is carrying the UCOMM as STA, its over writing with ONLI (I hv written explicitly), then working for both i.e. BAPi and selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Now,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is,&lt;/P&gt;&lt;P&gt;1) If user press, F8, shuld come warning message,&lt;/P&gt;&lt;P&gt;2)If user press Push button, shuld get ALV - thing thing am achieving now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the issue is with F8?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, any clue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 20:30:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367339#M524273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T20:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367340#M524274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is F8 Function code ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sekhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in start-of-selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the code like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'ALV Push button'. use function code&lt;/P&gt;&lt;P&gt;use alv logic here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'F8" .. use function code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 21:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367340#M524274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T21:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding / TYPE N / TYPE P?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367341#M524275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 02:54:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-type-n-type-p/m-p/2367341#M524275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T02:54:01Z</dc:date>
    </item>
  </channel>
</rss>

