<?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: Question with database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561362#M253810</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;  You can add a field for country in the table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  For more details check the table ADRC for the fields COUNTRY and REGION...You need to have the same setup in your custom table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GOTO SE16 for ADRC..in the country field enter US and press F4 on the region field...you will get the states only for US...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2006 16:10:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-28T16:10:32Z</dc:date>
    <item>
      <title>Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561353#M253801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to update a z custom table with a set of new rows and also modify some of the rows. Do you have any sample code for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also can you tell me what is the check table for states in usa?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 15:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561353#M253801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T15:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561354#M253802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use MODIFY ZTABLE to either insert/update the row in your custom ztable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 15:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561354#M253802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T15:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561355#M253803</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;  DATA: T_DATA TYPE STANDARD TABLE OF ZTABLE WITH HEADER &lt;/P&gt;&lt;P&gt;        LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODIFY ZTABLE FROM TABLE T_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INSERT ZTABLE FROM TABLE T_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The check table for state for US is T005S..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 15:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561355#M253803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T15:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561356#M253804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI KRISHEN,&lt;/P&gt;&lt;P&gt; do this way ..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    it_zprtow-own_balance  = it_zprtow-own_balance
                               + it_ossl-gl_trans_am.

     IF NOT it_zprtow[] IS INITIAL.
      MODIFY zprtow_eom_babal FROM TABLE it_zprtow.
      IF sy-subrc = 0.
        COMMIT WORK.
        WRITE : 'Number of Entries Updated', sy-dbcnt.
      ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 15:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561356#M253804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561357#M253805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi naren,&lt;/P&gt;&lt;P&gt;I understand. But i am just looking for states. That T005S has the details about land1 also. So, I could not figure out how to attach just the 'states' part of that check table to my 'state' field in custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 15:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561357#M253805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T15:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561358#M253806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I always have to 'commit' when I insert/modify databse tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 15:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561358#M253806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T15:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561359#M253807</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;  If you have land1 in your table while defining the foreign key, it will automatically take the value based on the field land1..Since the states is dependant in country..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 15:57:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561359#M253807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T15:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561360#M253808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. You have to give commit work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 15:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561360#M253808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T15:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561361#M253809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naren,&lt;/P&gt;&lt;P&gt;I don't have land1 field. I just have states field. The problem is when I am attaching this check table, and when I select the value from F4, only the land1 value is coming in my states field. What I am looking is just the state to come into that field. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 16:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561361#M253809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T16:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Question with database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561362#M253810</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;  You can add a field for country in the table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  For more details check the table ADRC for the fields COUNTRY and REGION...You need to have the same setup in your custom table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GOTO SE16 for ADRC..in the country field enter US and press F4 on the region field...you will get the states only for US...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 16:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-with-database-table/m-p/1561362#M253810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T16:10:32Z</dc:date>
    </item>
  </channel>
</rss>

