<?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: Issue using assign for dynamic work areas.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-assign-for-dynamic-work-areas/m-p/5221754#M1207450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think SF4. is the field name. then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
v_screenfield = 'SF4'.   " Put this in single quotes
write (v_screenfield) to &amp;lt;data&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2009 17:27:07 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2009-02-25T17:27:07Z</dc:date>
    <item>
      <title>Issue using assign for dynamic work areas....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-assign-for-dynamic-work-areas/m-p/5221753#M1207449</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 am using field-symols for dynamic internal table and dynamic wo0rk areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do following, the dynamic work area gets updated with the value of field in SF4. &lt;STRONG&gt;The &amp;lt;dyn_wa&amp;gt; is also automactially updated with value of field SF4 field which is equated to &amp;lt;DATA&amp;gt;&lt;/STRONG&gt; in code (a) below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ASSIGN COMPONENT v_component of STRUCTURE &amp;lt;dyn_wa&amp;gt; TO &amp;lt;DATA&amp;gt;.
&amp;lt;DATA&amp;gt; = SF4&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;But when I do following, I see that &amp;lt;DATA&amp;gt; now contains value of field SF4 &lt;STRONG&gt;but the&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dynamic work area still does not have value of &amp;lt;DATA&amp;gt;.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ASSIGN COMPONENT v_component of STRUCTURE &amp;lt;dyn_wa&amp;gt; TO &amp;lt;DATA&amp;gt;.
v_screenfield = SF4.
assign (v_screenfield) to &amp;lt;DATA&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use code technique (b) because then I would not have to code for case-endcase for each screen-fields, but I want to make sure that dynamic work area gets updated as in code (a).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jainam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 17:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-assign-for-dynamic-work-areas/m-p/5221753#M1207449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T17:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using assign for dynamic work areas....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-assign-for-dynamic-work-areas/m-p/5221754#M1207450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think SF4. is the field name. then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
v_screenfield = 'SF4'.   " Put this in single quotes
write (v_screenfield) to &amp;lt;data&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 17:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-assign-for-dynamic-work-areas/m-p/5221754#M1207450</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-02-25T17:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using assign for dynamic work areas....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-assign-for-dynamic-work-areas/m-p/5221755#M1207451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well there is issue with write statement for date. The date gets convrted to user format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if v_screenfild  = 20090202, the execution of statement below will cause &amp;lt;data&amp;gt; to have 02.02.2009 (user defined format) but I want &amp;lt;data&amp;gt; = 20090202&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;v_screenfield = 'SF4'.   " Put this in single quotes
write (v_screenfield) to &amp;lt;data&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jainam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 18:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-assign-for-dynamic-work-areas/m-p/5221755#M1207451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T18:30:09Z</dc:date>
    </item>
  </channel>
</rss>

