<?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 Dump while accessing smartform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865553#M1788155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a dump 'Field symbol has not yet been assigned' w&lt;SPAN style="font-size: 10pt;"&gt;hile accessing a smartform. When i debug the smartforms ,though i have used the assign statement it is not assigning the value to the field symbol.Please refer to the snapshot.&lt;BR /&gt;&lt;/SPAN&gt;I have assigned the field symbol at line 842 and it is throwing error at line 845 as described earlier.&lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/331152" width="450" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/331153" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Nov 2013 14:56:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-11-25T14:56:33Z</dc:date>
    <item>
      <title>Dump while accessing smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865553#M1788155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a dump 'Field symbol has not yet been assigned' w&lt;SPAN style="font-size: 10pt;"&gt;hile accessing a smartform. When i debug the smartforms ,though i have used the assign statement it is not assigning the value to the field symbol.Please refer to the snapshot.&lt;BR /&gt;&lt;/SPAN&gt;I have assigned the field symbol at line 842 and it is throwing error at line 845 as described earlier.&lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/331152" width="450" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/331153" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 14:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865553#M1788155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-25T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while accessing smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865554#M1788156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI GIRI&lt;/P&gt;&lt;P&gt;Show the declarations os field symbols.&lt;/P&gt;&lt;P&gt;Please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1949/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 15:06:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865554#M1788156</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2013-11-25T15:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while accessing smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865555#M1788157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronaldo ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; field-symbols: ,&lt;/P&gt;&lt;P&gt; &amp;lt;fs_laytext&amp;gt; &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;ykwsd_laytext,&lt;/P&gt;&lt;P&gt; &amp;lt;fs_laylabels&amp;gt; &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;ykwsd_laylabel,&lt;/P&gt;&lt;P&gt; &amp;lt;fs_laylabelp&amp;gt; &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;ykwsd_laylabel,&lt;/P&gt;&lt;P&gt; &amp;lt;fs_field&amp;gt;,&lt;/P&gt;&lt;P&gt; &amp;lt;fs_fields&amp;gt;,&lt;/P&gt;&lt;P&gt; &amp;lt;fs_fieldl&amp;gt;,&lt;/P&gt;&lt;P&gt; &amp;lt;fs_struct&amp;gt;.&lt;/P&gt;&lt;P&gt; data: lv_field &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;string,&lt;/P&gt;&lt;P&gt; lv_fieldl &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;string,&lt;/P&gt;&lt;P&gt; lv_struct &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;string,&lt;/P&gt;&lt;P&gt; lv_layout &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;ykwsd_layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 15:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865555#M1788157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-25T15:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while accessing smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865556#M1788158</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 can see from the screenshot of your debugger that SY-SUBRC is set to 4. This means that the instruction to assign fieldsymbol &amp;lt;fs_struct&amp;gt; failed. You should check the content of the variable lv_struct and see if it is what you waited to have in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 15:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865556#M1788158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-25T15:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while accessing smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865557#M1788159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Always check your sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN ... TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 15:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865557#M1788159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-25T15:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while accessing smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865558#M1788160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Giri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the line 841 you are calculating a string that holds the name of the field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'LV_' &amp;lt;fs_laytext&amp;gt;-text_id '_ID' INTO lv_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in line 842, you assign the field with this name (the name calculated in lv_field variable) of the loop structure to the field symbol.&lt;/P&gt;&lt;P&gt;This assignment may be wrong if the structure you are looping at does not include any field with the name that holds "lv_field" variable value.&lt;/P&gt;&lt;P&gt;For example, if lv_field = 'LV_MYFIELD_ID' and your looping structure does not include any field with this name, the assigment in line 842 will be erroneous and the assignment will fail; this will cause a fatal error then in line 845 because &amp;lt;fs_field&amp;gt; is not assigned to any data object and the statement cannot write any value referenced by this alias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can debug, check assigments at line 842, or think about the values you are getting in line 842 that maybe does not exist as fields in the structure. Also, as the other colleagues have said, check "sy-subrc" after line 842 to check if the assignment have been correct; if not, do not try to put any value to field symbol &amp;lt;fs_field&amp;gt; (as in line 845).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 15:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-accessing-smartform/m-p/9865558#M1788160</guid>
      <dc:creator>former_member191569</dc:creator>
      <dc:date>2013-11-25T15:44:47Z</dc:date>
    </item>
  </channel>
</rss>

