<?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: Includes hclpaydata , hgbpaydata. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/includes-hclpaydata-hgbpaydata/m-p/1237305#M141195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get the syntax error since these variable are declared twice within your program (but you probably know that already).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get around this issue you need to break up your program in different pieces that don't share the same memory. You can think about creating 2 functions (one that includes the part you need from RPC2RGG0 and one that includes the part from RPC2RKK0) and call these functions from your main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course without knowing any details of your program, I don't know if you can break it up into these different pieces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2006 07:19:58 GMT</pubDate>
    <dc:creator>claus_wallacher</dc:creator>
    <dc:date>2006-03-21T07:19:58Z</dc:date>
    <item>
      <title>Includes hclpaydata , hgbpaydata.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/includes-hclpaydata-hgbpaydata/m-p/1237304#M141194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi abappers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have in my code two includes "rpc2rgg0" and "rpc2rkk0" inside which there are two more includes "hclpaydata" and "hgbpaydata" respectively. There are three variables "cumul_tab_filter" , "cumul_tab_all", "payresult_addcu" which are declared in the include "hgbpaydata" and once again the same variables are declared in the include "rpc2rkk0", this gives a syntax error. all these includes are sap std and i am using this within my program. is there any way i can work my way around this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main program&lt;/P&gt;&lt;P&gt;  rpc2rgg0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    hgbpaydata.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;      DATA: cumul_tab_filter TYPE PAYGB_RESULT .&lt;/P&gt;&lt;P&gt;      DATA: cumul_tab_all TYPE PAYGB_RESULT .&lt;/P&gt;&lt;P&gt;      DATA: payresult_addcu TYPE PAYGB_RESULT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  rpc2rkk0&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    hcapaydata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      DATA: cumul_tab_filter TYPE PAYCA_RESULT .&lt;/P&gt;&lt;P&gt;      DATA: cumul_tab_all TYPE PAYCA_RESULT .&lt;/P&gt;&lt;P&gt;      DATA: payresult_addcu TYPE PAYCA_RESULT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code gives the syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz can anybody hlp me out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 06:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/includes-hclpaydata-hgbpaydata/m-p/1237304#M141194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T06:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Includes hclpaydata , hgbpaydata.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/includes-hclpaydata-hgbpaydata/m-p/1237305#M141195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get the syntax error since these variable are declared twice within your program (but you probably know that already).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get around this issue you need to break up your program in different pieces that don't share the same memory. You can think about creating 2 functions (one that includes the part you need from RPC2RGG0 and one that includes the part from RPC2RKK0) and call these functions from your main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course without knowing any details of your program, I don't know if you can break it up into these different pieces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 07:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/includes-hclpaydata-hgbpaydata/m-p/1237305#M141195</guid>
      <dc:creator>claus_wallacher</dc:creator>
      <dc:date>2006-03-21T07:19:58Z</dc:date>
    </item>
  </channel>
</rss>

