<?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 ASSIGN syntax... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637148#M875986</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;do this way  .. declare the field symbols as type any ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONSTANTS: lv_table TYPE c LENGTH 30 VALUE '(SAPMV45A)VBAK'.
FIELD-SYMBOLS: &amp;lt;fs_table&amp;gt; TYPE any.
 
ASSIGN (lv_table) TO &amp;lt;fs_table&amp;gt;. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 08:56:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-16T08:56:57Z</dc:date>
    <item>
      <title>Error in ASSIGN syntax...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637145#M875983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an ABAP dump with my code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONSTANTS: lv_table TYPE c LENGTH 30 VALUE '(SAPMV45A)VBAK'.
FIELD-SYMBOLS: &amp;lt;fs_table&amp;gt; TYPE table.

ASSIGN (lv_table) TO &amp;lt;fs_table&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code above is inside a user-exit and I want to assign the table from one of&lt;/P&gt;&lt;P&gt;the include programs to a field-symbol. The error says that the two are not type &lt;/P&gt;&lt;P&gt;compatible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me guys.Thank you and take care!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 08:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637145#M875983</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2008-04-16T08:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ASSIGN syntax...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637146#M875984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;either define field symbol of type any&lt;/P&gt;&lt;P&gt;of define it as type of   itab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 08:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637146#M875984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T08:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ASSIGN syntax...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637147#M875985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare the field symboll as type any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs_table&amp;gt; TYPE any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;useful Reward pioints.&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 08:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637147#M875985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T08:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ASSIGN syntax...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637148#M875986</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;do this way  .. declare the field symbols as type any ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONSTANTS: lv_table TYPE c LENGTH 30 VALUE '(SAPMV45A)VBAK'.
FIELD-SYMBOLS: &amp;lt;fs_table&amp;gt; TYPE any.
 
ASSIGN (lv_table) TO &amp;lt;fs_table&amp;gt;. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 08:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637148#M875986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T08:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ASSIGN syntax...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637149#M875987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: lv_table TYPE c LENGTH 30 VALUE '(SAPMV45A)VBAK'.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs_table&amp;gt; TYPE any.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ASSIGN (lv_table) TO &amp;lt;fs_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 08:58:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637149#M875987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T08:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ASSIGN syntax...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637150#M875988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys for your replies.However, instead of a table, is is being passed to the &lt;/P&gt;&lt;P&gt;field-symbol as a structure. I want to the whole VBAK table and not a structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 09:02:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637150#M875988</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2008-04-16T09:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ASSIGN syntax...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637151#M875989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do this way then ..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONSTANTS: lv_table TYPE c LENGTH 30 VALUE '(SAPMV45A)VBAK[]'.
FIELD-SYMBOLS: &amp;lt;fs_table&amp;gt; TYPE table any. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 09:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637151#M875989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T09:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error in ASSIGN syntax...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637152#M875990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;keep the field symbol as type any...&lt;/P&gt;&lt;P&gt;it is usefull when the assigned structure is not fixed... type any will give liberty to assign any structure to the field-symbol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-assign-syntax/m-p/3637152#M875990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:03:27Z</dc:date>
    </item>
  </channel>
</rss>

