<?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 CString mismatch in Smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-cstring-mismatch-in-smartforms/m-p/8277360#M1633451</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;We have created a Smartform and for printing the BOL details .&lt;/P&gt;&lt;P&gt;For getting the HU details we have used a data type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;huident_str   TYPE   string,  ( it is a string type ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The intention is that in the Smartform output we will have a final internal table where in all the Handling Unit Details ( HU Details ) would be displayed . But in the output of the smartforms we have a window to display all the Handling unit details .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what is happening is that we have nearly 100 HU details to de displayed in the same column and each HU is of 10 Char in length . So if we have nearly 52 Items in a single column the expectation is that it needs to display all the 52 line itmes .&lt;/P&gt;&lt;P&gt;So i hope it would require 52* 10 = 520 char in length but since we have declared a data type of string the value is getting truncated . Is there any soilution to increase the data type or else is there any method to display all the details .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be great helpful if we could get the necessary information .&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;Regards&lt;/P&gt;&lt;P&gt;K.Nadesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 08:19:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-26T08:19:01Z</dc:date>
    <item>
      <title>Data Type CString mismatch in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-cstring-mismatch-in-smartforms/m-p/8277360#M1633451</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;We have created a Smartform and for printing the BOL details .&lt;/P&gt;&lt;P&gt;For getting the HU details we have used a data type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;huident_str   TYPE   string,  ( it is a string type ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The intention is that in the Smartform output we will have a final internal table where in all the Handling Unit Details ( HU Details ) would be displayed . But in the output of the smartforms we have a window to display all the Handling unit details .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what is happening is that we have nearly 100 HU details to de displayed in the same column and each HU is of 10 Char in length . So if we have nearly 52 Items in a single column the expectation is that it needs to display all the 52 line itmes .&lt;/P&gt;&lt;P&gt;So i hope it would require 52* 10 = 520 char in length but since we have declared a data type of string the value is getting truncated . Is there any soilution to increase the data type or else is there any method to display all the details .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be great helpful if we could get the necessary information .&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;Regards&lt;/P&gt;&lt;P&gt;K.Nadesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 08:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-cstring-mismatch-in-smartforms/m-p/8277360#M1633451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-26T08:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type CString mismatch in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-cstring-mismatch-in-smartforms/m-p/8277361#M1633452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nadesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am giving you some example regarding your string truncation issue u can refer the link also whcih iam giving below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Input string &lt;/P&gt;&lt;P&gt;ipstr = '&amp;lt;FT&amp;gt;&amp;lt;H&amp;gt;&amp;lt;T&amp;gt; Line Clearance &amp;lt;/&amp;gt;&amp;lt;/&amp;gt;&amp;lt;/&amp;gt;'. &lt;/P&gt;&lt;P&gt;*Removing only "&amp;lt;/&amp;gt;" &lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF '&amp;lt;/&amp;gt;' IN ipstr WITH ' '. &lt;/P&gt;&lt;P&gt;*Removing only "&amp;lt;" &lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF '&amp;lt;' IN ipstr WITH ' '. &lt;/P&gt;&lt;P&gt;CONDENSE ipstr. &lt;/P&gt;&lt;P&gt;*Length of Input String &lt;/P&gt;&lt;P&gt;len = STRLEN( ipstr ). &lt;/P&gt;&lt;P&gt;  DO len TIMES. &lt;/P&gt;&lt;P&gt;*Char by Char &lt;/P&gt;&lt;P&gt;  ch = ipstr+pos(1). &lt;/P&gt;&lt;P&gt;  pos = pos + 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/fc/eb3434358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/en/fc/eb3434358411d1829f0000e829fbfe/content.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aswin Girmaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 10:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-cstring-mismatch-in-smartforms/m-p/8277361#M1633452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-26T10:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type CString mismatch in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-cstring-mismatch-in-smartforms/m-p/8277362#M1633453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz close&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 05:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-cstring-mismatch-in-smartforms/m-p/8277362#M1633453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-29T05:39:45Z</dc:date>
    </item>
  </channel>
</rss>

