<?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: passing value from field symbol / variable type ref to data to variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529836#M1426413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Mar 2010 21:43:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-26T21:43:38Z</dc:date>
    <item>
      <title>passing value from field symbol / variable type ref to data to variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529829#M1426406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.&lt;/P&gt;&lt;P&gt;  DATA: RT_CARRID TYPE REF TO DATA.&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;FS_CARRID&amp;gt; TYPE TABLE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;.* Retrieve the data from the select option&lt;/P&gt;&lt;P&gt;  RT_CARRID = WD_THIS-&amp;gt;M_HANDLER-&amp;gt;GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_WEIGHT).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Assign it to a field symbol&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ASSIGN RT_CARRID-&amp;gt;* TO &amp;lt;FS_CARRID&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i pass RT_CARRID or &amp;lt;FS_CARRID&amp;gt; to a varible with type vbap-netgrw ( net weight ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 19:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529829#M1426406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T19:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: passing value from field symbol / variable type ref to data to variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529830#M1426407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; hey ,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.&lt;/P&gt;&lt;P&gt;&amp;gt;   DATA: RT_CARRID TYPE REF TO DATA.&lt;/P&gt;&lt;P&gt;&amp;gt;   FIELD-SYMBOLS: &amp;lt;FS_CARRID&amp;gt; TYPE TABLE&lt;/P&gt;&lt;P&gt;&amp;gt;  &lt;/P&gt;&lt;P&gt;&amp;gt; .* Retrieve the data from the select option&lt;/P&gt;&lt;P&gt;&amp;gt;   RT_CARRID = WD_THIS-&amp;gt;M_HANDLER-&amp;gt;GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_WEIGHT).&lt;/P&gt;&lt;P&gt;&amp;gt; * Assign it to a field symbol&lt;/P&gt;&lt;P&gt;&amp;gt;   ASSIGN RT_CARRID-&amp;gt;* TO &amp;lt;FS_CARRID&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a work area of type &amp;lt;FS_CARRID&amp;gt;. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;field-symbol: &amp;lt;fs_wa&amp;gt; type line of &amp;lt;FS_CARRID&amp;gt;.

loop at &amp;lt;FS_CARRID&amp;gt; into &amp;lt;fs_wa&amp;gt;.
lv_netgr = &amp;lt;fs_wa&amp;gt;-netgr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 21:03:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529830#M1426407</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2010-01-12T21:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: passing value from field symbol / variable type ref to data to variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529831#M1426408</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; You may use READ statement to read the contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your scenario, if SIGN = I and OPTION = EQ, you may shift the content left 3 places to get the contents of the select options table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data variable type vbap-netgrw.
Read &amp;lt;FS_CARRID&amp;gt;  into variable index 1.
shift variable left by 3 places.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasenjit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. this is just an example, you may derive your own logic from this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 21:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529831#M1426408</guid>
      <dc:creator>prasenjit_sharma</dc:creator>
      <dc:date>2010-01-12T21:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: passing value from field symbol / variable type ref to data to variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529832#M1426409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey Sharma ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;variable type vbap-netgrw.
Read &amp;lt;FS_CARRID&amp;gt;  into variable index 1.
shift variable left by 3 places.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the  srtucture,   indeed --&amp;gt;   SIGN = I and OPTION = EQ  LOW = &lt;STRONG&gt;my value&lt;/STRONG&gt; , HIGH = empty &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i extract  and cast "my value" into a variable type vbap-netgrw ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 07:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529832#M1426409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T07:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: passing value from field symbol / variable type ref to data to variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529833#M1426410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey j@y and thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i didn't debug your solution yet but i thing that i will get a syntax error : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;fs_wa&amp;gt; dosn't have a component &lt;STRONG&gt;netgr&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other solution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASA .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 07:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529833#M1426410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T07:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: passing value from field symbol / variable type ref to data to variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529834#M1426411</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; Just define a variable of type string and another of type vbap-netgrw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data var1 type string.&lt;/P&gt;&lt;P&gt;data var2 type vbap-netgrw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read &amp;lt;FS_CARRID&amp;gt;  into var1 index 1.&lt;/P&gt;&lt;P&gt;shift var1 left by 3 places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write var1 to var2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasenjit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 09:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529834#M1426411</guid>
      <dc:creator>prasenjit_sharma</dc:creator>
      <dc:date>2010-01-13T09:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: passing value from field symbol / variable type ref to data to variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529835#M1426412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; yoi can delare awok area, for the table and assign the field symbol to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:         gwa_vbak =   &amp;lt;wa&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hear the type of gwa_vbak and &amp;lt;wa&amp;gt; , need to be the same.&lt;/P&gt;&lt;P&gt;after that, you can take your field from, gwa_vabk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as in vbak-netwr = gwa_vbak-netwr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 09:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529835#M1426412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T09:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: passing value from field symbol / variable type ref to data to variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529836#M1426413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 21:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-from-field-symbol-variable-type-ref-to-data-to-variable/m-p/6529836#M1426413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-26T21:43:38Z</dc:date>
    </item>
  </channel>
</rss>

