<?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: Checking whether a structure is assigned or not in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-whether-a-structure-is-assigned-or-not/m-p/2094673#M435940</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;Check out this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS &amp;lt;FS&amp;gt; TYPE ANY. 
IF &amp;lt;FS&amp;gt; IS NOT ASSIGNED. 
  WRITE 'That is O' NO-GAP. 
ENDIF. 
ASSIGN SY-SUBRC TO &amp;lt;FS&amp;gt;. 
IF &amp;lt;FS&amp;gt; IS ASSIGNED. 
  WRITE 'K.'. 
ENDIF. 

Regards
Tamás
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2007 14:51:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-03T14:51:01Z</dc:date>
    <item>
      <title>Checking whether a structure is assigned or not</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-whether-a-structure-is-assigned-or-not/m-p/2094672#M435939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to check in a custom pricing requrement routine whether the internal table tkomv is assigned or not, because further statements on the same is causing a dump as it is not assigned. I tried to assign it to a field symbol like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN 'tkomv[]' TO &amp;lt;fs_tkomv&amp;gt;&lt;/P&gt;&lt;P&gt;and then check sy-subrc, but in all cases sy-subrc is 0, even though the internal table tkomv is not assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give me a solution for this to check whether it is assigned or not??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 14:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-whether-a-structure-is-assigned-or-not/m-p/2094672#M435939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T14:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Checking whether a structure is assigned or not</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-whether-a-structure-is-assigned-or-not/m-p/2094673#M435940</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;Check out this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS &amp;lt;FS&amp;gt; TYPE ANY. 
IF &amp;lt;FS&amp;gt; IS NOT ASSIGNED. 
  WRITE 'That is O' NO-GAP. 
ENDIF. 
ASSIGN SY-SUBRC TO &amp;lt;FS&amp;gt;. 
IF &amp;lt;FS&amp;gt; IS ASSIGNED. 
  WRITE 'K.'. 
ENDIF. 

Regards
Tamás
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 14:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-whether-a-structure-is-assigned-or-not/m-p/2094673#M435940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T14:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Checking whether a structure is assigned or not</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-whether-a-structure-is-assigned-or-not/m-p/2094674#M435941</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 have used the single quotes for the internal table while writing the Assign statment, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ASSIGN tkomv[] TO &amp;lt;fs_tkomv&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 14:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-whether-a-structure-is-assigned-or-not/m-p/2094674#M435941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Checking whether a structure is assigned or not</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-whether-a-structure-is-assigned-or-not/m-p/2094675#M435942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I try without the quotes it will dump as tkomv is not assigned. Using quotes also is not useful as you mentioned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 15:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-whether-a-structure-is-assigned-or-not/m-p/2094675#M435942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T15:08:54Z</dc:date>
    </item>
  </channel>
</rss>

