<?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: Table Maintenance Generator with Packed Fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476362#M1744249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using the same in Event 05. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check the values which are passed from PAI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 15:34:40 GMT</pubDate>
    <dc:creator>manukapur</dc:creator>
    <dc:date>2013-05-17T15:34:40Z</dc:date>
    <item>
      <title>Table Maintenance Generator with Packed Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476360#M1744247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a TMG for a table that contains quantity fields which are packed. I am using the '01' Event to perform some validations. When I look at either the EXTRACT or TOTAL table in debug, the quantity fields are coming across as packed. So when I try to move the record to my work area, I get a short dump with an "Objects_Tables_Not_Compatible" error. I then tried using CASTING and I am no longer receiving a short dump, however, the values are not getting populated correctly into my work area. Has anyone come across this issue and if so, how do I handle it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also inserting screen shots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/216441" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/216442" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/216482" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/216483" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 20:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476360#M1744247</guid>
      <dc:creator>former_member531036</dc:creator>
      <dc:date>2013-05-13T20:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator with Packed Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476361#M1744248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there anyone that can help me with this? I've not been able to solve this yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 14:32:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476361#M1744248</guid>
      <dc:creator>former_member531036</dc:creator>
      <dc:date>2013-05-17T14:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator with Packed Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476362#M1744249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using the same in Event 05. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check the values which are passed from PAI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 15:34:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476362#M1744249</guid>
      <dc:creator>manukapur</dc:creator>
      <dc:date>2013-05-17T15:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator with Packed Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476363#M1744250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to do validation upon change, which is why I selected Event 01. I also tried to use Event 21, since that seems to get called all of the time, but for some reason, even though I am sending a message type of 'E' for an error, the record still gets saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 16:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476363#M1744250</guid>
      <dc:creator>former_member531036</dc:creator>
      <dc:date>2013-05-17T16:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator with Packed Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476364#M1744251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the vlues of table control try below code.&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOOP AT TOTAL.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "within the loop u can get values in &amp;lt;VIM_TOTAL_STRUC&amp;gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mordhwaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2013 07:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476364#M1744251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-18T07:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator with Packed Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476365#M1744252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mordhwaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you! The values show up correctly in the &amp;lt;VIM_TOTAL_STRUC&amp;gt;. But I still have one slight problem. Looping through TOTAL, gives me all of the records in that table. I only want the ones that have been changed/added. For a changed record I see that the last value in the table is 'U', but I don't know how to access that because it's not available in the &amp;lt;VIM_TOTAL_STRUC&amp;gt; table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 13:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476365#M1744252</guid>
      <dc:creator>former_member531036</dc:creator>
      <dc:date>2013-05-20T13:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator with Packed Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476366#M1744253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mordhwaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found the answer. I loop through TOTAL table and check field &amp;lt;ACTION&amp;gt; to determine if this record has been changed/created/deleted. Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 16:04:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-with-packed-fields/m-p/9476366#M1744253</guid>
      <dc:creator>former_member531036</dc:creator>
      <dc:date>2013-05-20T16:04:34Z</dc:date>
    </item>
  </channel>
</rss>

