<?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: how to construct  a custom table  as below in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-construct-a-custom-table-as-below/m-p/2452504#M549672</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;Create a Dataelement with single CHAR field with description OUTPATIENT and attach this data element to a DOMAIn with length 1 type CHAR and define the values for this domain as below&lt;/P&gt;&lt;P&gt;1 - Spouse&lt;/P&gt;&lt;P&gt;2 - 1st Child&lt;/P&gt;&lt;P&gt;3  -2nd Child&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a table with the following fields&lt;/P&gt;&lt;P&gt;Employee No  - CHAR 8 or NUMC 8  data type&lt;/P&gt;&lt;P&gt;Outpatient -Single char&lt;/P&gt;&lt;P&gt;Rate  -CURR field wih 15 length and 2 decimals&lt;/P&gt;&lt;P&gt;Amount - Curr field wih 15 length and 2 decimals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Jul 2007 14:36:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-01T14:36:17Z</dc:date>
    <item>
      <title>how to construct  a custom table  as below</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-construct-a-custom-table-as-below/m-p/2452503#M549671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends&lt;/P&gt;&lt;P&gt;can any one please let me know hot to create a custom table as be             &lt;/P&gt;&lt;P&gt;                     &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;outpatient&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;|employeeno | spouse |1stchild | Rate | amount| &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;My FO wants to enter in the SM30 as above ......i.e he wants to have spouse ,1st child   one group........ So they want only Spouse and 1st child should be grouped under heading Outpatient . So i would like to how can i construct a custom table as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please could any one tell is it possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;syamala...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2007 07:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-construct-a-custom-table-as-below/m-p/2452503#M549671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-01T07:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to construct  a custom table  as below</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-construct-a-custom-table-as-below/m-p/2452504#M549672</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;Create a Dataelement with single CHAR field with description OUTPATIENT and attach this data element to a DOMAIn with length 1 type CHAR and define the values for this domain as below&lt;/P&gt;&lt;P&gt;1 - Spouse&lt;/P&gt;&lt;P&gt;2 - 1st Child&lt;/P&gt;&lt;P&gt;3  -2nd Child&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a table with the following fields&lt;/P&gt;&lt;P&gt;Employee No  - CHAR 8 or NUMC 8  data type&lt;/P&gt;&lt;P&gt;Outpatient -Single char&lt;/P&gt;&lt;P&gt;Rate  -CURR field wih 15 length and 2 decimals&lt;/P&gt;&lt;P&gt;Amount - Curr field wih 15 length and 2 decimals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2007 14:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-construct-a-custom-table-as-below/m-p/2452504#M549672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-01T14:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to construct  a custom table  as below</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-construct-a-custom-table-as-below/m-p/2452505#M549673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steps to Creating domains, Data Elements, Tables &lt;/P&gt;&lt;P&gt;To give you the steps for creating table:. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;There are two approach in creating a table. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;1. Bottom-up approach &lt;/P&gt;&lt;P&gt;2. Top-down approach.  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Both are valid and you can choose which approach is suitable for you.  I always use the bottom-up approach. Here are the steps to create the tables with this approach. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;1. SE11 will take you to the DDIC and enter the name of the new table to be created. Let us say Zname. Click create. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;2. Enter the short discription of the table and enter the field of the table.  If it is primary key and you have to check the box.  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;3. Enter the data element  and double click it, you will be asked to save and will take you to data element discription page.  Enter the short discription of the data element and enter the information of domain like the length of field and type of field. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;4. If you wanted to use the existing domain then its fine, or else, you have to create one.  Enter the domain name in the data element page and double click it.  Page will ask to save and jump to domain creation page. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;5. In the domain page, you have to save the information which you have already given in the data elements page and check it.  Before going to data element page, you have to activate the domain. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;6. Go to data element page and save, check and activate. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;7. Go to main table page and save, check, and activate.   &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;8. Also, you have to save the technical settings of the table. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;The table is now ready for operation. You can use it in your program or you can use it to enter information. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Check table:  It is the table which will have all the information about the Foreign keys which are the primary keys in the check table. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;It can be created by creating the foreign key from the main table.  Click foreign key in the main table and it will take you to a page which will ask for table name and field to which foreign key relation has to be associated. Enter the information and you can create the check table automatically. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;SM30 is used for maintenance of the table, that is to realease the errors occured during the creation of the table.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create  1  data element  with  Outpatient   and its  domain  as  Patient  datatype   Char   DATA LENGTH  1.  in the value  table of the Domain    enter  as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1  SPouse   .&lt;/P&gt;&lt;P&gt;2  Child .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the   table fields &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Employeeno   8 digit  (CHAR)&lt;/P&gt;&lt;P&gt;outpatient       1digit (C)-&amp;gt;  Domian  as  2 vaules &lt;/P&gt;&lt;P&gt;Rate               4digit (CURY)&lt;/P&gt;&lt;P&gt;Amount         15digit(CURR)    referrnce  Rate&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward  points  if it is usefull .&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 04:05:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-construct-a-custom-table-as-below/m-p/2452505#M549673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T04:05:55Z</dc:date>
    </item>
  </channel>
</rss>

