<?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: FIELD SYMBOL  : - Get Data from Another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191228#M1519831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this sample code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: c_progvar(30) type c value '(RV63A712)V_VAL1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_val1 type wrbtr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-sybmol: &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign (c_progvar) to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;lt;fs&amp;gt; is assigned.&lt;/P&gt;&lt;P&gt;  v_val1 =  &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;endif.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Aug 2010 06:22:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-17T06:22:39Z</dc:date>
    <item>
      <title>FIELD SYMBOL  : - Get Data from Another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191227#M1519830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Z program - ZPROG1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get the value of a variable V_VAR1 from program RV63A712 which is a routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get the value of V_VAR1 from RV63A712 into my program ZPROG1. using field symbol .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main program of RV63A712 is SAPLV61A.&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;&lt;/P&gt;&lt;P&gt; The program RV63A712 is as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  FRM_KOND_BASIS_712&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Copper Price Participation&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      John May  09/01/2009&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM frm_kond_basis_712.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_VAR1 = B_KBETR + G_KWERT . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 06:07:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191227#M1519830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-17T06:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD SYMBOL  : - Get Data from Another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191228#M1519831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this sample code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: c_progvar(30) type c value '(RV63A712)V_VAL1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_val1 type wrbtr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-sybmol: &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign (c_progvar) to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;lt;fs&amp;gt; is assigned.&lt;/P&gt;&lt;P&gt;  v_val1 =  &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;endif.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 06:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191228#M1519831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-17T06:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD SYMBOL  : - Get Data from Another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191229#M1519832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the code as below but still its giving message as unassighned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:  l_pp_rate      TYPE t_currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS : &amp;lt;l_pp_rate&amp;gt; TYPE any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONSTANTS : lk_pp_rate     TYPE char30  VALUE '(RV63A712)L_PP_RATE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN (lk_pp_rate) TO &amp;lt;l_pp_rate&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 07:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191229#M1519832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-17T07:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD SYMBOL  : - Get Data from Another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191230#M1519833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where u are calling this code ? may be that exit is triggered before its going to pricing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wats ur requirement ?&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 08:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191230#M1519833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-17T08:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD SYMBOL  : - Get Data from Another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191231#M1519834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put a break point in your Z program and check the value of the variable as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(SAPLV61A)variable_u_need -&amp;gt; check like this in debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u r able to access this variable then :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lv_global_variable type string value '(SAPLV61A)variable_u_need'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fiedl-symbols: &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;assign (lv_global_variable) to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xxx = &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;Veeranji Reddy P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 08:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191231#M1519834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-17T08:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD SYMBOL  : - Get Data from Another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191232#M1519835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the new debugger when you check the standard tab, you should be seeing the program name SAPLV61A in the ABAP stack. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the variable should be global in the program to use it in your exit. If the variable is local, look for a global variable / fetch from the table if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sujay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 10:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-get-data-from-another-program/m-p/7191232#M1519835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-17T10:07:53Z</dc:date>
    </item>
  </channel>
</rss>

