<?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 How to store string in db table? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223070#M768666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I store a string field (user input) in a database table (r 4.6c)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alej!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: * Points will be rewarded * !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2008 08:58:12 GMT</pubDate>
    <dc:creator>alejiandro_sensejl</dc:creator>
    <dc:date>2008-01-15T08:58:12Z</dc:date>
    <item>
      <title>How to store string in db table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223070#M768666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I store a string field (user input) in a database table (r 4.6c)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alej!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: * Points will be rewarded * !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223070#M768666</guid>
      <dc:creator>alejiandro_sensejl</dc:creator>
      <dc:date>2008-01-15T08:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to store string in db table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223071#M768667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can create data element with char type and define its length (equivalent to max. length ur string can hold).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 09:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223071#M768667</guid>
      <dc:creator>divya_nayudu</dc:creator>
      <dc:date>2008-01-15T09:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to store string in db table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223072#M768668</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 do this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just create the table field with string,so that you can use it &lt;/P&gt;&lt;P&gt;to have string values in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: text_buffer TYPE string VALUE `Text`, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value assigns it a default value to it ,in the above statement&lt;/P&gt;&lt;P&gt;it gives TEXT to text_buffer string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward if helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srikanth tulasi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: srikanth tulasi on Jan 15, 2008 10:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 09:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223072#M768668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T09:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to store string in db table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223073#M768669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alej,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just remember the maximum length a single field in a DB table can be defined to is 255, hence you will have to guess the maximum length the user can enter and create those many number of fields of length 255 in your DB table and then break up the data when updating in DB from string and reverse, build back the string when retrieving from DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 09:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223073#M768669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T09:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to store string in db table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223074#M768670</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;Kindly refer the sample program for the same.&lt;/P&gt;&lt;P&gt;Here yff_test is a table with three fields fname (char15), lname (char15) and year (char4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ynrd_test_text_move.&lt;/P&gt;&lt;P&gt;TABLES yff_test.&lt;/P&gt;&lt;P&gt;PARAMETER: p_name TYPE char15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;UPDATE yff_test SET lname = p_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This program would set the last name to the string entered on the screen by user.&lt;/P&gt;&lt;P&gt;The direct updation of tables is not recommeded. We need to update tables via BAPI or FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Farheen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 09:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223074#M768670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T09:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to store string in db table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223075#M768671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's how I've done it in the end!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 19:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-string-in-db-table/m-p/3223075#M768671</guid>
      <dc:creator>alejiandro_sensejl</dc:creator>
      <dc:date>2008-01-17T19:45:06Z</dc:date>
    </item>
  </channel>
</rss>

