<?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: Add in SCRIPTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-in-scripts/m-p/2253018#M487360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Are you using the custom script/and program for your purpose&lt;/P&gt;&lt;P&gt;or using the Std script and program &lt;/P&gt;&lt;P&gt;if you are using Std script/program, I am sure that the totals of this field will be calculated and used , try to take that field from the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is our own program, in the program itself we have capture the Sum of all the amount fields based on consition and have to use that field in the script.&lt;/P&gt;&lt;P&gt;becasue in script we can't write the code&lt;/P&gt;&lt;P&gt;just check the other fields also in the script, may be one of the field is used for this sum.&lt;/P&gt;&lt;P&gt;or define a field for sum &lt;/P&gt;&lt;P&gt;/: DEFINE &amp;amp;SUM&amp;amp; TYPE NETWR and write in the loop&lt;/P&gt;&lt;P&gt;/  &amp;amp;SUM&amp;amp;  =  &amp;amp;SUM&amp;amp;  + &amp;amp;BSEG-WRBTR&amp;amp;&lt;/P&gt;&lt;P&gt;and use this SUM field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 May 2007 10:30:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-12T10:30:36Z</dc:date>
    <item>
      <title>Add in SCRIPTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-in-scripts/m-p/2253015#M487357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;i hav a script in which i hav a fiels called &amp;amp;BSEG_HKONT&amp;amp; and this value goes through different ELEMENTS (/E) and in each ELEMENT it has different IF conditions.What i need is i need the TOTAL of &amp;amp;BSEG_HKONT&amp;amp; at the end of the script and also i should take the value only if the IF condition is passed.Like i want only the total of the values that are picked....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards &lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 09:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-in-scripts/m-p/2253015#M487357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T09:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add in SCRIPTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-in-scripts/m-p/2253016#M487358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think you are wrong&lt;/P&gt;&lt;P&gt;Do you need the total(sum) of all BSEG-HKONT field?&lt;/P&gt;&lt;P&gt;This field is the GL account number! you can't sum up these fields?&lt;/P&gt;&lt;P&gt;May be you need to sum up the totals of all amount fields (DMBTR or WRBTR) &lt;/P&gt;&lt;P&gt;for all these HKONT's .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the loop pass of the internal table you have to sum up all these amount fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 09:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-in-scripts/m-p/2253016#M487358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T09:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Add in SCRIPTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-in-scripts/m-p/2253017#M487359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;ya ur correct the field is WRBTR can u help me out,,,,please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 09:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-in-scripts/m-p/2253017#M487359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T09:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add in SCRIPTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-in-scripts/m-p/2253018#M487360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Are you using the custom script/and program for your purpose&lt;/P&gt;&lt;P&gt;or using the Std script and program &lt;/P&gt;&lt;P&gt;if you are using Std script/program, I am sure that the totals of this field will be calculated and used , try to take that field from the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is our own program, in the program itself we have capture the Sum of all the amount fields based on consition and have to use that field in the script.&lt;/P&gt;&lt;P&gt;becasue in script we can't write the code&lt;/P&gt;&lt;P&gt;just check the other fields also in the script, may be one of the field is used for this sum.&lt;/P&gt;&lt;P&gt;or define a field for sum &lt;/P&gt;&lt;P&gt;/: DEFINE &amp;amp;SUM&amp;amp; TYPE NETWR and write in the loop&lt;/P&gt;&lt;P&gt;/  &amp;amp;SUM&amp;amp;  =  &amp;amp;SUM&amp;amp;  + &amp;amp;BSEG-WRBTR&amp;amp;&lt;/P&gt;&lt;P&gt;and use this SUM field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 10:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-in-scripts/m-p/2253018#M487360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T10:30:36Z</dc:date>
    </item>
  </channel>
</rss>

