<?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: performing calculation in write statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053829#M969062</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;ok thanks to all of you . i am rewarding points to all of you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 04:00:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T04:00:00Z</dc:date>
    <item>
      <title>performing calculation in write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053825#M969058</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;I am making a report in which i have to calculate the percentage value . i want to do the calculation in the write statement . is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz do provide me the examples for it as help will be definately rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 03:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053825#M969058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T03:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: performing calculation in write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053826#M969059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I hardly understodd what you meant.. in write statement... write is a command that just prints data on the screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all you can do is..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
a = 3.
b = 5.

c = a + b.

write:/ c .

Output.
8.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am guessing you want to calculate c in the write statement rather than above write statement.. its not possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 03:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053826#M969059</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-07-10T03:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: performing calculation in write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053827#M969060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricx,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE statement is only to output the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the calculation and store in the variable and display same in the output.&lt;/P&gt;&lt;P&gt;You can do this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WRITE: lw_vbap-VBELN,
        lw_vbap-POSNR.

lw_sum = lw-vbap-ZMENG + lw_vbap-FMENG.

WRITE: lw_sum,
lw_vbap-ZIEME,
lw_vbap-MEINS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 03:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053827#M969060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T03:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: performing calculation in write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053828#M969061</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;write statement is only for print the data in output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to do som calculations have to do before write statement and finally write the final variable .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 03:34:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053828#M969061</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-10T03:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: performing calculation in write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053829#M969062</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;ok thanks to all of you . i am rewarding points to all of you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performing-calculation-in-write-statement/m-p/4053829#M969062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:00:00Z</dc:date>
    </item>
  </channel>
</rss>

