<?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 data type STRING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322282#M509976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have creted a ztable and in that for one field the length is to be more than 300  chars.&lt;/P&gt;&lt;P&gt;so i am using the data type directly as STRING. i tried to check the table but i am getting warning as 'data type string  not allowed in DB tables'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help what to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2007 10:13:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-18T10:13:09Z</dc:date>
    <item>
      <title>data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322282#M509976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have creted a ztable and in that for one field the length is to be more than 300  chars.&lt;/P&gt;&lt;P&gt;so i am using the data type directly as STRING. i tried to check the table but i am getting warning as 'data type string  not allowed in DB tables'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help what to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 10:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322282#M509976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T10:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322283#M509977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use the datat Type &lt;/P&gt;&lt;P&gt;LCHR&lt;/P&gt;&lt;P&gt;LRAW &lt;/P&gt;&lt;P&gt;for more number of CHAR fields like 500 and 1000&lt;/P&gt;&lt;P&gt;see the EDID4-SDATA field as an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can declare in a program as STRING&lt;/P&gt;&lt;P&gt;but in tables it gives error.&lt;/P&gt;&lt;P&gt;so better use the above data types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&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>Mon, 18 Jun 2007 10:17:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322283#M509977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T10:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322284#M509978</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 use the data element DSTRING for your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 10:17:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322284#M509978</guid>
      <dc:creator>kostas_tsioubris</dc:creator>
      <dc:date>2007-06-18T10:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322285#M509979</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;SAP wont allow declare field of string in the DB table and you can use char length of 300  CHAR300 instead of the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 10:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322285#M509979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T10:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322286#M509980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Here is the sample code to store the xml file into ABAP DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create a table called YTEST_BIN with following fileds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filed Nmae      Data Elemen     type       &lt;/P&gt;&lt;P&gt;MANDT	        MANDT 	        CLNT 	  &lt;/P&gt;&lt;P&gt;DESCRIPTION	HTTPBODY	RAWSTRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a program to read the XML file from your desktop and load it into the table. &lt;/P&gt;&lt;P&gt;Below given is the code for loading the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  y_store_xml.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: wf_filetab TYPE filetable .&lt;/P&gt;&lt;P&gt;DATA: wf_filerc TYPE i ,&lt;/P&gt;&lt;P&gt;      wf_filename TYPE string ,&lt;/P&gt;&lt;P&gt;      wf_path TYPE string ,&lt;/P&gt;&lt;P&gt;      wf_full_path TYPE string ,&lt;/P&gt;&lt;P&gt;      wf_file_length TYPE i .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: wf_extension TYPE string ,&lt;/P&gt;&lt;P&gt;      wf_fname TYPE string .&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF int_tab1 OCCURS  0,&lt;/P&gt;&lt;P&gt;        int_txt(1000) TYPE x ,&lt;/P&gt;&lt;P&gt;      END OF int_tab1.&lt;/P&gt;&lt;P&gt;DATA: upd_tab TYPE STANDARD TABLE OF ytest_bin .&lt;/P&gt;&lt;P&gt;DATA: wa_upd_tab LIKE LINE OF upd_tab .&lt;/P&gt;&lt;P&gt;DATA: temp_xstring TYPE xstring .&lt;/P&gt;&lt;P&gt;PARAMETERS: p_file LIKE file_table-filename LOWER CASE  VISIBLE LENGTH 80  .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  PERFORM browse_file CHANGING p_file .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON p_file .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF p_file IS INITIAL .&lt;/P&gt;&lt;P&gt;    MESSAGE e398(00) WITH&lt;/P&gt;&lt;P&gt;       'Enter Filename and path' .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;START-OF-SELECTION .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CLEAR wf_filename .&lt;/P&gt;&lt;P&gt;  MOVE: p_file TO wf_filename .&lt;/P&gt;&lt;P&gt;  PERFORM load_file USING wf_filename .&lt;/P&gt;&lt;P&gt;  PERFORM save_file_contents .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  browse_file&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     &amp;lt;--P_P_FILE  text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM browse_file  CHANGING p_p_file.&lt;/P&gt;&lt;P&gt;  CLEAR wf_filename .&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;file_open_dialog&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      window_title            = 'Select the File'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DEFAULT_EXTENSION       = cl_gui_frontend_services=&amp;gt;FILETYPE_TEXT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DEFAULT_FILENAME        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FILE_FILTER             = cl_gui_frontend_services=&amp;gt;FILETYPE_EXCEL&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   INITIAL_DIRECTORY       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MULTISELECTION          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      file_table              = wf_filetab&lt;/P&gt;&lt;P&gt;      rc                      = wf_filerc&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   USER_ACTION             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      file_open_dialog_failed = 1&lt;/P&gt;&lt;P&gt;      cntl_error              = 2&lt;/P&gt;&lt;P&gt;      error_no_gui            = 3&lt;/P&gt;&lt;P&gt;      not_supported_by_gui    = 4&lt;/P&gt;&lt;P&gt;      OTHERS                  = 5&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e398(00) WITH 'Error Opening File' .&lt;/P&gt;&lt;P&gt;  ELSE .&lt;/P&gt;&lt;P&gt;    READ TABLE wf_filetab INDEX 1 INTO p_file .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                    " browse_file&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  load_file&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_WF_FILENAME  text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM load_file  USING    p_wf_filename.&lt;/P&gt;&lt;P&gt;  CLEAR int_tab1 .&lt;/P&gt;&lt;P&gt;  REFRESH int_tab1 .&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                      = p_wf_filename&lt;/P&gt;&lt;P&gt;      filetype                      = 'BIN'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   filelength                    = wf_file_length&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                      = int_tab1&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     file_open_error               = 1&lt;/P&gt;&lt;P&gt;     file_read_error               = 2&lt;/P&gt;&lt;P&gt;     no_batch                      = 3&lt;/P&gt;&lt;P&gt;     gui_refuse_filetransfer       = 4&lt;/P&gt;&lt;P&gt;     invalid_type                  = 5&lt;/P&gt;&lt;P&gt;     no_authority                  = 6&lt;/P&gt;&lt;P&gt;     unknown_error                 = 7&lt;/P&gt;&lt;P&gt;     bad_data_format               = 8&lt;/P&gt;&lt;P&gt;     header_not_allowed            = 9&lt;/P&gt;&lt;P&gt;     separator_not_allowed         = 10&lt;/P&gt;&lt;P&gt;     header_too_long               = 11&lt;/P&gt;&lt;P&gt;     unknown_dp_error              = 12&lt;/P&gt;&lt;P&gt;     access_denied                 = 13&lt;/P&gt;&lt;P&gt;     dp_out_of_memory              = 14&lt;/P&gt;&lt;P&gt;     disk_full                     = 15&lt;/P&gt;&lt;P&gt;     dp_timeout                    = 16&lt;/P&gt;&lt;P&gt;     OTHERS                        = 17&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e398(00) WITH 'File may be open - Error loading' .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                    " load_file&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  save_file_contents&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM save_file_contents .&lt;/P&gt;&lt;P&gt;  CLEAR :wa_upd_tab , temp_xstring .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT int_tab1 .&lt;/P&gt;&lt;P&gt;    CONCATENATE temp_xstring int_tab1-int_txt  INTO temp_xstring  IN BYTE MODE.&lt;/P&gt;&lt;P&gt;  ENDLOOP .&lt;/P&gt;&lt;P&gt;  IF NOT temp_xstring IS INITIAL .&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="7" type="ul"&gt;&lt;P&gt;optional&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    TRY.&lt;/P&gt;&lt;P&gt;        CALL METHOD cl_abap_gzip=&amp;gt;compress_binary&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            raw_in   = temp_xstring&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            gzip_out = wa_upd_tab-description.&lt;/P&gt;&lt;P&gt;      CATCH cx_parameter_invalid_range .&lt;/P&gt;&lt;P&gt;      CATCH cx_sy_buffer_overflow .&lt;/P&gt;&lt;P&gt;      CATCH cx_sy_compression_error .&lt;/P&gt;&lt;P&gt;    ENDTRY.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    APPEND wa_upd_tab TO upd_tab .&lt;/P&gt;&lt;P&gt;  ENDIF .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF NOT upd_tab IS INITIAL .&lt;/P&gt;&lt;P&gt;    MODIFY ytest_bin FROM TABLE upd_tab .&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0 .&lt;/P&gt;&lt;P&gt;      MESSAGE i398(00) WITH wf_filename ` Saved!`.&lt;/P&gt;&lt;P&gt;    ENDIF .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " save_file_contents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 10:20:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322286#M509980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T10:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322287#M509981</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;the dictionary type STRING can only be used in DATAELEMENT, STRUCTURE and DOMAIN. ABAP  doesn't support to allowing STRING data type directly to the table fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Character string with variable length This data type can only be used in types (data elements, structures, table types) and domains. In the Dictionary a length can be specified for this type (at least 256 characters). It may be used in database tables, however, only with restrictions. For a description of them refer to the documentation of the ABAP statement 'STRING'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashokreddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 10:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322287#M509981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T10:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322288#M509982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anji and Kostas,&lt;/P&gt;&lt;P&gt;ACTUALLY THE MAIN PROBLEM THE LENGTH THAT THE FIELD IS GOING TO TAKE IS LESS THAN 256 AND SOME TIMES MORE THAN 256.&lt;/P&gt;&lt;P&gt;which is better DSTRING or lraw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;siri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sireesha yalamanchili&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 10:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322288#M509982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T10:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322289#M509983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your field is not going to be bigger than 1000 characters it won't be a problem whatever field you choose. If your field is bigger than 1000 character you have to use dstring.I have worked with type dstring and it is very useful to store big info( i had used it for storing text history ) but it will be a little problem if you want to display it in an alv or something. You choose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 10:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322289#M509983</guid>
      <dc:creator>kostas_tsioubris</dc:creator>
      <dc:date>2007-06-18T10:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322290#M509984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kostas,&lt;/P&gt;&lt;P&gt;But when i use DSTRING as field type i am getting message data element DSTRING not available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 11:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322290#M509984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T11:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322291#M509985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Siri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I work on 4.7 and i can use dstring as data element without problems.Which version do you work on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 11:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322291#M509985</guid>
      <dc:creator>kostas_tsioubris</dc:creator>
      <dc:date>2007-06-18T11:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322292#M509986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4.6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 11:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322292#M509986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: data type STRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322293#M509987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if it is going to work in 4.6 but give it a try. Create a z data element and in the domain enter string. If this won't work in 4.6 maybe you should consider the solutions mentioned from the other people.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 12:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-string/m-p/2322293#M509987</guid>
      <dc:creator>kostas_tsioubris</dc:creator>
      <dc:date>2007-06-18T12:00:15Z</dc:date>
    </item>
  </channel>
</rss>

