<?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: Error in Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-table-control/m-p/5617547#M1279767</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;in PBO and PAI events of the screen where u are creating the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write.   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP  at  IT_GPDET into WA_GPDET with control &amp;lt;table_control&amp;gt;.
module display_data .
endloop.

PAI

loop at it_gpdet.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in main program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;module display_data  ouput
move-corresponding WA_GPDET  to WA_GPDET .
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;now in layout or se51 create the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this works!!!&lt;/P&gt;&lt;P&gt;best of luck! !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 May 2009 08:48:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-16T08:48:58Z</dc:date>
    <item>
      <title>Error in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-table-control/m-p/5617546#M1279766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem while making a table control . This control in based on an Internal Table whose definition goes like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_GPDET,&lt;/P&gt;&lt;P&gt;       SRNO(1) TYPE C,&lt;/P&gt;&lt;P&gt;       MATNR LIKE Z6MMAGTREQDETAIL-MATNR,&lt;/P&gt;&lt;P&gt;       MAKTX LIKE Z6MMAGTREQDETAIL-MAKTX,&lt;/P&gt;&lt;P&gt;       MEINS LIKE Z6MMAGTREQDETAIL-MEINS,&lt;/P&gt;&lt;P&gt;       VERPR LIKE Z6MMAGTREQDETAIL-VERPR,&lt;/P&gt;&lt;P&gt;       TQUAN LIKE Z6MMAGTREQDETAIL-TQUAN,&lt;/P&gt;&lt;P&gt;       NETPR LIKE Z6MMAGTREQDETAIL-NETPR,&lt;/P&gt;&lt;P&gt;       NETDT LIKE Z6MMACHLNDETAILS-NETDT,&lt;/P&gt;&lt;P&gt;       LGORT LIKE T001L-LGORT,&lt;/P&gt;&lt;P&gt;       DTRET LIKE Z6MMAGTREQDETAIL-DTRET,&lt;/P&gt;&lt;P&gt;       REFNO LIKE Z6MMAGTREQDETAIL-REFNO,&lt;/P&gt;&lt;P&gt;       TRATY LIKE TVTY-TRATY,&lt;/P&gt;&lt;P&gt;       PKTNO LIKE Z6MMAGTPASDETAIL-PKTNO,&lt;/P&gt;&lt;P&gt;       REMK1 LIKE Z6MMAGTREQDETAIL-REMK1,&lt;/P&gt;&lt;P&gt;       REMK2 LIKE Z6MMAGTREQDETAIL-REMK2,&lt;/P&gt;&lt;P&gt;       REMKC LIKE Z6MMACHLNDETAILS-REMK1,&lt;/P&gt;&lt;P&gt;       REMKS LIKE Z6MMAGTPASDETAIL-REMK1,&lt;/P&gt;&lt;P&gt;       EXT1(10) TYPE C,&lt;/P&gt;&lt;P&gt;       EXT2(10) TYPE C,&lt;/P&gt;&lt;P&gt;       END OF TY_GPDET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IT_GPDET TYPE TABLE OF TY_GPDET,&lt;/P&gt;&lt;P&gt;          WA_GPDET LIKE LINE  OF IT_GPDET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create table through a wizard. But the table is not getting created and it is throwing an error as "&lt;STRONG&gt;in DYNPFIELD_ATTR field length has the invalid value 133&lt;/STRONG&gt;" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help. I would appreciate any help on this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prashant Jha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2009 05:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-table-control/m-p/5617546#M1279766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-16T05:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-table-control/m-p/5617547#M1279767</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;in PBO and PAI events of the screen where u are creating the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write.   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP  at  IT_GPDET into WA_GPDET with control &amp;lt;table_control&amp;gt;.
module display_data .
endloop.

PAI

loop at it_gpdet.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in main program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;module display_data  ouput
move-corresponding WA_GPDET  to WA_GPDET .
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;now in layout or se51 create the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this works!!!&lt;/P&gt;&lt;P&gt;best of luck! !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2009 08:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-table-control/m-p/5617547#M1279767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-16T08:48:58Z</dc:date>
    </item>
  </channel>
</rss>

