<?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: Strings on Screens in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786189#M39649</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 been following this topic and I still have one question unanswered. I get a syntax error when I use something like this in my code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=====================================&lt;/P&gt;&lt;P&gt;parameters p_test type string.&lt;/P&gt;&lt;P&gt;=====================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message reads as "The deep data type "STRING" is not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP Help Documentation says "It is not yet possible to use strings in screens or database tables. However, strings can be stored in database tables as clusters using EXPORT and transferred using IMPORT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;SAP WebAS 6.20&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on this ?&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;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Aug 2004 09:06:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-08-16T09:06:27Z</dc:date>
    <item>
      <title>Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786178#M39638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a requirement to have a STRG type element on a screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to populate this field with data that is longer than the visible length of the field but as the field is scrollable (greyed out checkbox) and does indeed allow me to scroll I thought I would be able to pass in a string of any length.  This does not seem to be true as if I go over a certain amount of characters the program dumps with a 'field too short' error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone had much experience with strings on screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2004 13:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786178#M39638</guid>
      <dc:creator>IanStubbings</dc:creator>
      <dc:date>2004-08-12T13:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786179#M39639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand from your problem , what you need is a Long text editor to store certain values, something similar to the message text we type in this message box editor of sdn.sap.com to report our problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that SAP has provided a class, I am not quite sure which class is this but it is something cl&lt;STRONG&gt;editor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you find it useful, although I am not am able to find the correct class at the moment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2004 16:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786179#M39639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-12T16:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786180#M39640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subramanian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.  What I was hoping to do was just use a field of type string and be able to scroll the field just be using the left/right cursor keys in it.  What I can't understand is that if I am putting text in the field of type string and the screen field is type string, why do I get an error message saying the field I am putting the text into is too short??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2004 08:55:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786180#M39640</guid>
      <dc:creator>IanStubbings</dc:creator>
      <dc:date>2004-08-13T08:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786181#M39641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that the definition length of the field is big enough?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2004 12:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786181#M39641</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2004-08-13T12:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786182#M39642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surely if the definintion of the field is of type string, it doesn't have a maximum length?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The visible length is 60 and I can pass in more than this.  The defined length is greyed out and blank, presumably reinforceing paragraph one above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2004 14:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786182#M39642</guid>
      <dc:creator>IanStubbings</dc:creator>
      <dc:date>2004-08-13T14:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786183#M39643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've just tried it with a string-field on a dynpro and i encountered no problems (i've put in a string of ~3000 characters)! Could you be more precise at what lenght you get the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2004 14:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786183#M39643</guid>
      <dc:creator>mbiwer</dc:creator>
      <dc:date>2004-08-13T14:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786184#M39644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is excellent news. I may not need my workaround after all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently it is blowing at &amp;gt; 133 chars.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2004 15:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786184#M39644</guid>
      <dc:creator>IanStubbings</dc:creator>
      <dc:date>2004-08-13T15:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786185#M39645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must correct my first answer a little bit: it seems that an input field on a dynpro can not hold more than 1023 characters (I've just testet it once again ;-).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, this is more than 133 characters and should suffice ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a test-report with a global variable g_string of type string and bound this variable to an input field (with the name 'G_STRING') of my test-dynpro. The format of the input field in the dynpro is defined as STRG. Then it should work ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2004 15:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786185#M39645</guid>
      <dc:creator>mbiwer</dc:creator>
      <dc:date>2004-08-13T15:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786186#M39646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Michael. Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My screen element is not open for input. Would this make a diffenence?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My element is part of a table the field is type string and the element is of type STRG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am on a 4.6C machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Aug 2004 07:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786186#M39646</guid>
      <dc:creator>IanStubbings</dc:creator>
      <dc:date>2004-08-14T07:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786187#M39647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tested my report on a 46C-machine and then I got the error too! It's a constraint of release 46C that at most 132 characters can be transported to a dynpro-field (so stated in the SAP-Help regarding release 46C).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In release 4.70 more characters can be transported (I think 1023 or 1024 characters) and no dump occurs if the string-field contains more characters than the maximum number. But this doesn't help you much if you have only a 46C-machine ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you should consider using a TextEdit-Control in cooperation with a Custom-Control on your dynpro if you are really forced to display so much text to a user ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other possibility is to upgrade to 4.70 &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2004 07:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786187#M39647</guid>
      <dc:creator>mbiwer</dc:creator>
      <dc:date>2004-08-16T07:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786188#M39648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again for spending time to look at this problem for me, Michael.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At least I now know that I have to have the workaround.  It is unlikely that I will need the full 132 chars but if I don't cater for it someone is bound to blow the field and cause the dump, so best to cater for it anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very unlikely they will be upgrading here in the near future anyway!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2004 08:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786188#M39648</guid>
      <dc:creator>IanStubbings</dc:creator>
      <dc:date>2004-08-16T08:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Strings on Screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786189#M39649</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 been following this topic and I still have one question unanswered. I get a syntax error when I use something like this in my code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=====================================&lt;/P&gt;&lt;P&gt;parameters p_test type string.&lt;/P&gt;&lt;P&gt;=====================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message reads as "The deep data type "STRING" is not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP Help Documentation says "It is not yet possible to use strings in screens or database tables. However, strings can be stored in database tables as clusters using EXPORT and transferred using IMPORT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;SAP WebAS 6.20&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on this ?&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;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2004 09:06:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strings-on-screens/m-p/786189#M39649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-16T09:06:27Z</dc:date>
    </item>
  </channel>
</rss>

