<?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: CODE PLEASE URGENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-please-urgent/m-p/1449479#M212964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select BELNR DMBTR SHKZG&lt;/P&gt;&lt;P&gt;from BSIS&lt;/P&gt;&lt;P&gt;into itab&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt; GJAHR = P_GJAHR and&lt;/P&gt;&lt;P&gt;HKONT in (334551, 499001, 402001, 402002, 403000). &lt;/P&gt;&lt;P&gt;data s1 type i value 0.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;s1 = s1 + itab-dmbtr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read itab where index = 1.&lt;/P&gt;&lt;P&gt;itab-dmbtr = s1.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear s1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If itab1[] is not initial.&lt;/P&gt;&lt;P&gt;select BELNR DMBTR SHKZG&lt;/P&gt;&lt;P&gt;from BSIS&lt;/P&gt;&lt;P&gt;into itab2&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;BELNR = INTAB2-BELNR and&lt;/P&gt;&lt;P&gt;GJAHR = P_GJAHR and&lt;/P&gt;&lt;P&gt;HKONT in (260501, 260502 , 260503) and&lt;/P&gt;&lt;P&gt;SHKZG = &amp;#147;H&amp;#148;.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;data s2 type i value 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;s2 = s2 + itab2-dmbtr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read itab2 where index =2.&lt;/P&gt;&lt;P&gt;itab2-dmbtr = s2.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read itab2 where index =4.&lt;/P&gt;&lt;P&gt;itab2-dmbtr = s2.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear s2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2006 10:09:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-07T10:09:48Z</dc:date>
    <item>
      <title>CODE PLEASE URGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-please-urgent/m-p/1449476#M212961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI GEMS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE SEND ME THE CODE PLEASE ITS URGENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The retrieval logic is to be used only for displaying the accounting and assessment year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Accounting Year: GJAHR-(GJAHR+1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assessment Year &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; GJAHR&lt;EM&gt;1) &amp;#150; (GJAHR&lt;/EM&gt;2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Get the following details from BSIS/BSAS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSIS/BSAS &amp;#150; BELNR&lt;/P&gt;&lt;P&gt;BSIS/BSAS &amp;#150; DMBTR&lt;/P&gt;&lt;P&gt;BSIS/BSAS &amp;#150; SHKZG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;BSIS/BSAS &amp;#150; GJAHR = P_GJAHR&lt;/P&gt;&lt;P&gt;BSIS/BSAS &amp;#150; HKONT = (334551, 499001, 402001, 402002, 403000) and store them in an internal table INTAB1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summate the BSIS/BSAS &amp;#150;DMBTR and depict it in the first line of the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) For the documents contained in the INTAB1 table check whether there are any line items posted to HKONT&amp;#146;s =(260501,260502,260503) and store them in an internal table INTAB2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes then get the following fields from BSIS/BSAS table &lt;/P&gt;&lt;P&gt;BSIS/BSAS &amp;#150; BELNR&lt;/P&gt;&lt;P&gt;BSIS/BSAS &amp;#150; DMBTR&lt;/P&gt;&lt;P&gt;BSIS/BSAS &amp;#150; SHKZG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BELNR = INTAB2-BELNR&lt;/P&gt;&lt;P&gt;GJAHR = P_GJAHR&lt;/P&gt;&lt;P&gt;HKONT = (260501, 260502 and, 260503)&lt;/P&gt;&lt;P&gt;SHKZG = &amp;#147;H&amp;#148;.&lt;/P&gt;&lt;P&gt;Summate the BSIS/BSAS &amp;#150; DMBTR and depict against second line item and fourth line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Subtract line1 and line2 and depict against the 3 line.&lt;/P&gt;&lt;P&gt;5) Subtract the DMBTR of 4th line from the 2nd line DMBTR and depict against the 5th line item.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 09:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-please-urgent/m-p/1449476#M212961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T09:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: CODE PLEASE URGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-please-urgent/m-p/1449477#M212962</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;please send me (or post) your complete requirement-&lt;/P&gt;&lt;P&gt;your postings are confusing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 09:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-please-urgent/m-p/1449477#M212962</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-07-07T09:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: CODE PLEASE URGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-please-urgent/m-p/1449478#M212963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want us to write code for you? &lt;/P&gt;&lt;P&gt;Kindly post only your doubts and clarifications.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 10:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-please-urgent/m-p/1449478#M212963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T10:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: CODE PLEASE URGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-please-urgent/m-p/1449479#M212964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select BELNR DMBTR SHKZG&lt;/P&gt;&lt;P&gt;from BSIS&lt;/P&gt;&lt;P&gt;into itab&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt; GJAHR = P_GJAHR and&lt;/P&gt;&lt;P&gt;HKONT in (334551, 499001, 402001, 402002, 403000). &lt;/P&gt;&lt;P&gt;data s1 type i value 0.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;s1 = s1 + itab-dmbtr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read itab where index = 1.&lt;/P&gt;&lt;P&gt;itab-dmbtr = s1.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear s1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If itab1[] is not initial.&lt;/P&gt;&lt;P&gt;select BELNR DMBTR SHKZG&lt;/P&gt;&lt;P&gt;from BSIS&lt;/P&gt;&lt;P&gt;into itab2&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;BELNR = INTAB2-BELNR and&lt;/P&gt;&lt;P&gt;GJAHR = P_GJAHR and&lt;/P&gt;&lt;P&gt;HKONT in (260501, 260502 , 260503) and&lt;/P&gt;&lt;P&gt;SHKZG = &amp;#147;H&amp;#148;.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;data s2 type i value 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;s2 = s2 + itab2-dmbtr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read itab2 where index =2.&lt;/P&gt;&lt;P&gt;itab2-dmbtr = s2.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read itab2 where index =4.&lt;/P&gt;&lt;P&gt;itab2-dmbtr = s2.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear s2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 10:09:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-please-urgent/m-p/1449479#M212964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T10:09:48Z</dc:date>
    </item>
  </channel>
</rss>

