<?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: Create dynamically a table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412568#M198613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob.  What exactly is the user going to do with this table?   Does it have to be written to the database?  Can this table be manipulated during program execution only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jul 2006 23:42:32 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-07-13T23:42:32Z</dc:date>
    <item>
      <title>Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412567#M198612</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;How easy is it to dynamically create a table for a user to work on when the user is logged in into the system and then delete the processed table the next time the user logs in? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 23:39:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412567#M198612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T23:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412568#M198613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob.  What exactly is the user going to do with this table?   Does it have to be written to the database?  Can this table be manipulated during program execution only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 23:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412568#M198613</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-13T23:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412569#M198614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is to store some of the transaction records that have been processed during the time the user is working in a transaction code that uses the Exit FM. In a way yes they have to be a datase table. It is simply a temporary table to store the data and then it is no longer needed once the user exits, not only it is used for storing but also for rerieving data records from it whhile the user is processing this transacion code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the exit ZXRSAU01 to clear the data from the temporary database table, and it seems to work, but there may be a chance that another user is running the same transaction code and in the middle of processing the same thing, and to have another user to log into the system and then clear the data base table is not the way to design this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am thinking of creating a temporary table dynamically for each user that is logged into the system for processing. I am not sure if this would be efficient. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What other approaches do I have? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 00:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412569#M198614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-14T00:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412570#M198615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that I understand, but don't pretend to know your business process.  I think I have an idea, but first, does the data in the db table have to be cleared everytime the user runs the transaction during the business day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 00:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412570#M198615</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-14T00:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412571#M198616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, are you sure that using an internal table will not work?  You can pass it to the shared buffer when coming in/going out of the user exit.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 00:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412571#M198616</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-14T00:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412572#M198617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well... Not really because the data is then retrieved based on the combinations of data selections. I have thought about just clearing the table may be once a week, but I thought it would be efficient to clear it everytime a user uses this transaction code to process their data. To do clear it once a week, I would have to schedule a job, but to do it the other way, it would be user specific and less records that have to be searched by the Exit FM. So to answer your question - it is not required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 00:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412572#M198617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-14T00:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412573#M198618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, If you can do it without have a background job, then that's the way to go.  I still don't full understand the process, but here is my idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your db table, have a field for user id.  Then in your function module only delete the records that correspond to the current user, or SY-UNAME.  This way the user is only clearing  the records that belong to him and not anyone elses.  What do ya think?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 00:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412573#M198618</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-14T00:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412574#M198619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have thought about this, and I think may be I should just to this simply rather than getting creative. Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 00:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412574#M198619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-14T00:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412575#M198620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing wrong with being creative if you have the time and patience to work thru it. But sometimes I also rely on the KISS concept.  &amp;lt;b&amp;gt;K&amp;lt;/b&amp;gt;eep &amp;lt;b&amp;gt;I&amp;lt;/b&amp;gt;t &amp;lt;b&amp;gt;S&amp;lt;/b&amp;gt;imple &amp;lt;b&amp;gt;S&amp;lt;/b&amp;gt;tupid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it works out for ya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 00:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412575#M198620</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-14T00:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412576#M198621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the Way... Is it possible to do what I orginally posted here? I just want to see if it is possible to create a Database table dynamically if the fields are known ahead of time. Have never done this before. It's  not urgent. I am just wondering. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 00:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412576#M198621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-14T00:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamically a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412577#M198622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is possible to create a database table at runtime, of course, it would be using the same code as SE11, but the problem is, that most(if not all) production systems are locked down to repository changes.  So if you coded this in your DEV system and it works good, it will not work in a production environment where the system is locked down. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a test program which creates a structure in the data dictionary at runtime, but I did this only for personal knowledge, of course this code is not being used in any production program because of the reason above.  I was not able to get the program to create a transparent table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is why we have internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 01:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamically-a-table/m-p/1412577#M198622</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-14T01:05:40Z</dc:date>
    </item>
  </channel>
</rss>

