<?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: Dictionary, Table, Counter Question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-table-counter-question/m-p/879098#M51287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SE11 will help you only to create a table, but not to add any special functionality (as far as i have known) the CUST_ID can be made as counter only by programming. while moving data use a variable to get the previous maximum CUST_ID value from the tabel and increment it before you insert the value into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. To give long descriptions declare the CUST_DESC as LCHR or LRAW types, i am not sure whether it will hold 5kb of data. Then searching for a particular word will not be a problem  you can use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH &amp;lt;c&amp;gt; FOR &amp;lt;str&amp;gt; &amp;lt;options&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;option&amp;gt; in the SEARCH FOR statement can be any of the following: &lt;/P&gt;&lt;P&gt;ABBREVIATED&lt;/P&gt;&lt;P&gt;STARTING AT &amp;lt;n1&amp;gt;&lt;/P&gt;&lt;P&gt;ENDING AT &amp;lt;n2&amp;gt;&lt;/P&gt;&lt;P&gt;AND MARK&lt;/P&gt;&lt;P&gt;can be used to find the required word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I think this is what you meant -  if a data element is created by a domain, the technical attributes of the domain are inherited by data elements and these domains can be used by any number of data elements, besides you can also create data elements by refering to the existing data elements using 'TYPE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jan 2005 13:50:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-01-06T13:50:49Z</dc:date>
    <item>
      <title>Dictionary, Table, Counter Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-table-counter-question/m-p/879096#M51285</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;I'm trying to create a special customer table (SE11) with the following fields and have question regarding TYPE etc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fields of table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CUST_ID     &lt;/P&gt;&lt;P&gt;CUST_NAME&lt;/P&gt;&lt;P&gt;CUST_DESC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. CUST_ID should work as a counter (increment by 1 every time.) What kind of TYPE should I use ?&lt;/P&gt;&lt;P&gt;(How do i do the increment stuff...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. CUST_DESC should be able to take approx 5 kb of data and be searchable in WHERE clause. What kind of TYPE should I use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Is there any advantages of creating/using Data Element instead of Build-in type ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Martin Andersson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2005 13:19:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-table-counter-question/m-p/879096#M51285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-06T13:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dictionary, Table, Counter Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-table-counter-question/m-p/879097#M51286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must create a number range using transaction code SNRO. &lt;/P&gt;&lt;P&gt;When adding new records to database use FM Number_get_next to find next available number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For CUST_DESC u can use data element DI_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------" /&gt;&lt;P&gt;If it helps please give points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2005 13:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-table-counter-question/m-p/879097#M51286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-06T13:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dictionary, Table, Counter Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-table-counter-question/m-p/879098#M51287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SE11 will help you only to create a table, but not to add any special functionality (as far as i have known) the CUST_ID can be made as counter only by programming. while moving data use a variable to get the previous maximum CUST_ID value from the tabel and increment it before you insert the value into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. To give long descriptions declare the CUST_DESC as LCHR or LRAW types, i am not sure whether it will hold 5kb of data. Then searching for a particular word will not be a problem  you can use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH &amp;lt;c&amp;gt; FOR &amp;lt;str&amp;gt; &amp;lt;options&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;option&amp;gt; in the SEARCH FOR statement can be any of the following: &lt;/P&gt;&lt;P&gt;ABBREVIATED&lt;/P&gt;&lt;P&gt;STARTING AT &amp;lt;n1&amp;gt;&lt;/P&gt;&lt;P&gt;ENDING AT &amp;lt;n2&amp;gt;&lt;/P&gt;&lt;P&gt;AND MARK&lt;/P&gt;&lt;P&gt;can be used to find the required word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I think this is what you meant -  if a data element is created by a domain, the technical attributes of the domain are inherited by data elements and these domains can be used by any number of data elements, besides you can also create data elements by refering to the existing data elements using 'TYPE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2005 13:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-table-counter-question/m-p/879098#M51287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-06T13:50:49Z</dc:date>
    </item>
  </channel>
</rss>

