<?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: Warning with string placing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/warning-with-string-placing/m-p/6543993#M1428513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried this and got no warning: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONSTANTS: lc_seperator TYPE c LENGTH 1 VALUE ';'.

DATA:
lv_prefix TYPE string,
lv_domain TYPE string,
iv_prefix TYPE string.

SPLIT iv_prefix AT lc_seperator INTO lv_prefix lv_domain.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If I change it to: &lt;STRONG&gt;CONSTANTS: lc_seperator TYPE c LENGTH 1 VALUE 'abcd'.&lt;/STRONG&gt; Then I do get the warning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is lc_seperator defined?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Dec 2009 08:56:51 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2009-12-23T08:56:51Z</dc:date>
    <item>
      <title>Warning with string placing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/warning-with-string-placing/m-p/6543992#M1428512</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 want to solve warning issue but i am not sure that I know how .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 fields type string which in need to split but i get warning &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;The VALUE specification is longer than the corresponding field. The		
VALUE specification will only be passed to the field length!	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;       lv_prefix TYPE string,&lt;/P&gt;&lt;P&gt;       lv_domain TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SPLIT iv_prefix AT lc_sperator INTO lv_prefix lv_domain.	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iv_prefix is type string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how can i avoid this warning?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 08:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/warning-with-string-placing/m-p/6543992#M1428512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T08:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Warning with string placing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/warning-with-string-placing/m-p/6543993#M1428513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried this and got no warning: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONSTANTS: lc_seperator TYPE c LENGTH 1 VALUE ';'.

DATA:
lv_prefix TYPE string,
lv_domain TYPE string,
iv_prefix TYPE string.

SPLIT iv_prefix AT lc_seperator INTO lv_prefix lv_domain.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If I change it to: &lt;STRONG&gt;CONSTANTS: lc_seperator TYPE c LENGTH 1 VALUE 'abcd'.&lt;/STRONG&gt; Then I do get the warning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is lc_seperator defined?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 08:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/warning-with-string-placing/m-p/6543993#M1428513</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-12-23T08:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Warning with string placing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/warning-with-string-placing/m-p/6543994#M1428514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The VALUE specification is longer than the corresponding field. The		&lt;/P&gt;&lt;P&gt;VALUE specification will only be passed to the field length!	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;warning appers when you define some variablw with char and assign it some value and you are not assigning as many characters as the value required&lt;/P&gt;&lt;P&gt;please assign char4 if you are using value of 4 characters in lv_seperator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 08:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/warning-with-string-placing/m-p/6543994#M1428514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T08:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Warning with string placing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/warning-with-string-placing/m-p/6543995#M1428515</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;I did this as mentioned below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;lv_prefix TYPE string,&lt;/P&gt;&lt;P&gt;lv_domain TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Constants : lc_seprator value ','.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; lv_prefix = 'This is a test, do it.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT lv_prefix AT lc_seprator INTO lv_prefix lv_domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I did not get any warning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 09:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/warning-with-string-placing/m-p/6543995#M1428515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T09:01:19Z</dc:date>
    </item>
  </channel>
</rss>

