<?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: problem ragarding structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236863#M1629670</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;Actually you have declared ms_charg_bestand &amp;amp; ms_werks_bestand as range tables,&lt;/P&gt;&lt;P&gt;Please change the coding as give below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES :  &lt;/P&gt;&lt;P&gt;ms_charg_bestandtype TYPE RANGE OF mchb-charg,           " Table type&lt;/P&gt;&lt;P&gt;ms_werks_bestandtype  TYPE RANGE OF mchb-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ms_charg_bestand TYPE RANGE OF mchb-charg,    " Range table&lt;/P&gt;&lt;P&gt;ms_werks_bestand TYPE RANGE OF mchb-werks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM CHARGEN_BESTAND&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;CR_WERKS_BESTAND type MS_WERKS_BESTANDTYPE&lt;/P&gt;&lt;P&gt;CR_CHARG_BESTAND type MS_CHARG_BESTANDTYPE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM CHARGEN_BESTAND TABLES MS_WERKS_BESTAND MS_CHARG_BESTAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surely, it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2011 10:36:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-30T10:36:54Z</dc:date>
    <item>
      <title>problem ragarding structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236858#M1629665</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 declared &lt;/P&gt;&lt;P&gt;DATA : ms_charg_bestand TYPE RANGE OF mchb-charg,&lt;/P&gt;&lt;P&gt;            ms_werks_bestand TYPE RANGE OF mchb-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM CHARGEN_BESTAND&lt;/P&gt;&lt;P&gt;              TABLES&lt;/P&gt;&lt;P&gt;                   CR_WERKS_BESTAND STRUCTURE MS_WERKS_BESTAND&lt;/P&gt;&lt;P&gt;                   CR_CHARG_BESTAND STRUCTURE MS_CHARG_BESTAND .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM CHARGEN_BESTAND  TABLES    MS_WERKS_BESTAND     MS_CHARG_BESTAND. &lt;/P&gt;&lt;P&gt; While doing perform statement .It is throwing one error that MS_WERKS_BESTAND  MS_CHARG_BESTAND are no longer structures.So how to solve the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236858#M1629665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T10:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem ragarding structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236859#M1629666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just try to using LIKE instead of STRUCTURE in declaration.&lt;/P&gt;&lt;P&gt;This will solve the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236859#M1629666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T10:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem ragarding structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236860#M1629667</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;Avoid using TABLE identifier in your form parameter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES : ts_charg_bestand TYPE RANGE OF mchb-charg,
        ts_werks_bestand TYPE RANGE OF mchb-werks.

DATA: ms_werks_bestand TYPE ts_werks_bestand,
      ms_charg_bestand TYPE ts_charg_bestand.

FORM CHARGEN_BESTAND 
USING
CR_WERKS_BESTAND TYPE TS_WERKS_BESTAND
CR_CHARG_BESTAND TYPE TS_CHARG_BESTAND .

PERFORM CHARGEN_BESTAND USING MS_WERKS_BESTAND MS_CHARG_BESTAND. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236860#M1629667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T10:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem ragarding structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236861#M1629668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subrat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236861#M1629668</guid>
      <dc:creator>former_member186055</dc:creator>
      <dc:date>2011-09-30T10:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: problem ragarding structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236862#M1629669</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;Instead of STRUCTURE, make use of LIKE or TYPE addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Danish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:36:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236862#M1629669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T10:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: problem ragarding structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236863#M1629670</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;Actually you have declared ms_charg_bestand &amp;amp; ms_werks_bestand as range tables,&lt;/P&gt;&lt;P&gt;Please change the coding as give below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES :  &lt;/P&gt;&lt;P&gt;ms_charg_bestandtype TYPE RANGE OF mchb-charg,           " Table type&lt;/P&gt;&lt;P&gt;ms_werks_bestandtype  TYPE RANGE OF mchb-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ms_charg_bestand TYPE RANGE OF mchb-charg,    " Range table&lt;/P&gt;&lt;P&gt;ms_werks_bestand TYPE RANGE OF mchb-werks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM CHARGEN_BESTAND&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;CR_WERKS_BESTAND type MS_WERKS_BESTANDTYPE&lt;/P&gt;&lt;P&gt;CR_CHARG_BESTAND type MS_CHARG_BESTANDTYPE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM CHARGEN_BESTAND TABLES MS_WERKS_BESTAND MS_CHARG_BESTAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surely, it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236863#M1629670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T10:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem ragarding structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236864#M1629671</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;Well... better without using that TABLES parameter, which is an obsolete form of formal parameter typed as internal table with header line.... better go with USING and declare the header line locally within the form...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 10:46:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236864#M1629671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T10:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: problem ragarding structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236865#M1629672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of  ts_werks_bestand,&lt;/P&gt;&lt;P&gt;           ts_werks_bestand TYPE mchb-werks,&lt;/P&gt;&lt;P&gt;           end of ts_werks_bestand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of  ts_charg_bestand,&lt;/P&gt;&lt;P&gt;           ts_charg_bestand TYPE mchb-charg,&lt;/P&gt;&lt;P&gt;           end of  ts_charg_bestand.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ms_werks_bestand TYPE table of ts_werks_bestand,&lt;/P&gt;&lt;P&gt;             ms_charg_bestand TYPE table of ts_charg_bestand.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FORM CHARGEN_BESTAND &lt;/P&gt;&lt;P&gt;USING&lt;/P&gt;&lt;P&gt;CR_WERKS_BESTAND TYPE TS_WERKS_BESTAND&lt;/P&gt;&lt;P&gt;CR_CHARG_BESTAND TYPE TS_CHARG_BESTAND .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PERFORM CHARGEN_BESTAND USING MS_WERKS_BESTAND MS_CHARG_BESTAND.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 11:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-ragarding-structure/m-p/8236865#M1629672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-30T11:59:21Z</dc:date>
    </item>
  </channel>
</rss>

