<?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: Error in Field symbol assignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081396#M975892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I_SPLIT TYPE TABLE OF CHAR134.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it correctly updating with values. Issue in next assign statement, the value is not correctly passing in next field-symbols&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2008 15:30:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-27T15:30:07Z</dc:date>
    <item>
      <title>Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081391#M975887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is wrong in following code ???&lt;/P&gt;&lt;P&gt;At line --&amp;gt; (Bold) I am gettin sy-subrc 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;F&amp;gt; type any,&lt;/P&gt;&lt;P&gt;                     &amp;lt;FSVALUE&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SPLIT P_QUOTATION_TEXT-TEXT_LINE AT CRLF INTO TABLE I_SPLIT.&lt;/P&gt;&lt;P&gt;    IF NOT I_SPLIT[] IS INITIAL.&lt;/P&gt;&lt;P&gt;      LOOP AT I_SPLIT ASSIGNING &amp;lt;F&amp;gt;.&lt;/P&gt;&lt;P&gt; --&amp;gt;      &lt;STRONG&gt;ASSIGN COMPONENT SY-TABIX OF STRUCTURE &amp;lt;F&amp;gt; TO &amp;lt;FSVALUE&amp;gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;          WA_TEXT-ITM_NUMBER = P_QUOTATION_TEXT-ITM_NUMBER.&lt;/P&gt;&lt;P&gt;          WA_TEXT-TEXT_ID = C_HEADERTEXT.&lt;/P&gt;&lt;P&gt;          WA_TEXT-LANGU  =  'EN'.&lt;/P&gt;&lt;P&gt;          WA_TEXT-FORMAT_COL = '*'.&lt;/P&gt;&lt;P&gt;          WA_TEXT-TEXT_LINE = &amp;lt;FSVALUE&amp;gt;.&lt;/P&gt;&lt;P&gt;          APPEND WA_TEXT TO I_TEXT.&lt;/P&gt;&lt;P&gt;          CLEAR WA_TEXT.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 14:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081391#M975887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081392#M975888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can first ASSIGN the whole structure with &amp;lt;F&amp;gt; not in the loop at statement and then in other ASSIGN statement you will not get that error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 14:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081392#M975888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T14:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081393#M975889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U should use sy-index instead of sy-tabix. &lt;/P&gt;&lt;P&gt;sy-tabix holds the current record index fetched by the loop at ..endloop statement. &lt;/P&gt;&lt;P&gt;sy-index stores the counter of the loop pass of do..enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT P_QUOTATION_TEXT-TEXT_LINE AT CRLF INTO TABLE I_SPLIT.&lt;/P&gt;&lt;P&gt;IF NOT I_SPLIT[] IS INITIAL.&lt;/P&gt;&lt;P&gt;LOOP AT I_SPLIT ASSIGNING &amp;lt;F&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;do.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; ASSIGN COMPONENT &lt;STRONG&gt;SY-indeX&lt;/STRONG&gt; OF STRUCTURE &amp;lt;F&amp;gt; TO &amp;lt;FSVALUE&amp;gt;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;WA_TEXT-ITM_NUMBER = P_QUOTATION_TEXT-ITM_NUMBER.&lt;/P&gt;&lt;P&gt;WA_TEXT-TEXT_ID = C_HEADERTEXT.&lt;/P&gt;&lt;P&gt;WA_TEXT-LANGU = 'EN'.&lt;/P&gt;&lt;P&gt;WA_TEXT-FORMAT_COL = '*'.&lt;/P&gt;&lt;P&gt;WA_TEXT-TEXT_LINE = &amp;lt;FSVALUE&amp;gt;.&lt;/P&gt;&lt;P&gt;APPEND WA_TEXT TO I_TEXT.&lt;/P&gt;&lt;P&gt;CLEAR WA_TEXT.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;else.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;exit.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;enddo.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 15:00:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081393#M975889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T15:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081394#M975890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I already tried this one, but still sy-subrc is coming 4. I am totally lost now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 15:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081394#M975890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T15:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081395#M975891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the declaration of i_split?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 15:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081395#M975891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T15:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081396#M975892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I_SPLIT TYPE TABLE OF CHAR134.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it correctly updating with values. Issue in next assign statement, the value is not correctly passing in next field-symbols&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 15:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081396#M975892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T15:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081397#M975893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not working because your table doesn't have an structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would declare the table with this type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types: begin of this_type,
a type char134,
end of this_type.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would work, because that's an structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'm pretty sure that is not what you are trying to get.&lt;/P&gt;&lt;P&gt;You already have the value of the table in &amp;lt;fs&amp;gt;. Why do you want to assing the same value to another field symbol?. It doesn't make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you trying to get?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 15:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081397#M975893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T15:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081398#M975894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is, when user entered value from Portal in R/3 it stored with ## value i.e. 0D0A. Now to get rid of this symbol we are taking user entered value in i_split which is correctly populating. from i_split internal table value we r updating in BAPI structure.&lt;/P&gt;&lt;P&gt;I_SPLIT has value which I already checked through debugging. Value also assinged to &amp;lt;F&amp;gt;. But when we are assinging &amp;lt;F&amp;gt; value to another &amp;lt;FSVALUE&amp;gt; the sy-subrc is 4. &lt;/P&gt;&lt;P&gt;changing I_split decleration, I don't think so make any sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Nilesh Shete on Jun 27, 2008 9:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 15:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081398#M975894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T15:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081399#M975895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to get clearer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SPLIT P_QUOTATION_TEXT-TEXT_LINE AT CRLF INTO TABLE I_SPLIT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You are splitting at CRLF, fine. I_split &lt;STRONG&gt;has only one field&lt;/STRONG&gt; or none if you want to get more thecnical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT I_SPLIT ASSIGNING &amp;lt;F&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here you are starting to loop at each entry of i_split, assigning each entry to , again &lt;STRONG&gt;only one field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ASSIGN COMPONENT SY-TABIX OF STRUCTURE &amp;lt;F&amp;gt; TO &amp;lt;FSVALUE&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Again, this will never work because as you are declaring it i_split doesn't have an structure, also  doesn´t have an structure &lt;STRONG&gt;only one field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It doesn't make any sense that you are assigning the same field to another field-symbol when you already have one.&lt;/P&gt;&lt;P&gt;And even if you used the type I told you, it would only work in the first pass because only in the first pass you can assign the component 1 of the structure &lt;STRONG&gt;because the structure only has one field&lt;/STRONG&gt;, there would not be any component 2,3... etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again I don't understand what you are trying to do, if you want to assign that loop pass text to a table, just pass the field-symbol you already have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 15:55:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081399#M975895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T15:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Field symbol assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081400#M975896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not need problem solved with workaround solution to update long text from Portal tp SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2009 15:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-field-symbol-assignment/m-p/4081400#M975896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-02T15:39:13Z</dc:date>
    </item>
  </channel>
</rss>

