<?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: assign FS to a variable in a different program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554323#M1430166</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 to add one more point....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above logic works only if the program is available in the &lt;STRONG&gt;CALL STACK.&lt;/STRONG&gt; You can check the stack by placing the break point in yourprogram and click on CALLS button duting debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2010 08:37:07 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2010-02-15T08:37:07Z</dc:date>
    <item>
      <title>assign FS to a variable in a different program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554318#M1430161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Let's say that program A calls program B then FM C is called... I want to retrieve in FM C a value from the still running program A. I think I have read that it is possible with field symbols. I would say that I have seen it somewhere but now that I need it I am not able to find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is somehting like the following, but... it does not work. I dont know, maybe it is just not possible.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
field-symbols: &amp;lt;rseg&amp;gt; type any table.
data name(20) value '(PROGRAM)T_DRSEG'.
assign (name) to &amp;lt;rseg&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ckecked the demo programs DEMO_FIELD_SYMBOLS*, but it is not exactly what I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do that? or am I just making up all this story &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; ??? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks in advance!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 10:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554318#M1430161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T10:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: assign FS to a variable in a different program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554319#M1430162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using field symbols, you could do this EXPORT or IMPORT table values to SAP memory and call in another FM.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sarav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 10:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554319#M1430162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T10:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: assign FS to a variable in a different program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554320#M1430163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, indeed. But the original program ( the one that contains the info i need ) is standard. If I use export-import I need to modify ( enhancement point?) the standard program to export the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyways!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 12:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554320#M1430163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T12:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: assign FS to a variable in a different program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554321#M1430164</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;Here is the code you are looking for...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  FIELD-SYMBOLS:&amp;lt;lfs_xlips&amp;gt;       TYPE ANY.

  ASSIGN: ('(SAPMV50A)XLIPS[]')     TO &amp;lt;lfs_xlips&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here SAPMV50A is your standard program where you have the data.(Give the main program name, not the include program)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 12:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554321#M1430164</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-02-12T12:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: assign FS to a variable in a different program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554322#M1430165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;Indeed this is what I wanted. Thanks a lot.&lt;/P&gt;&lt;P&gt;It is a pity because it does not work in my case. Probably the program with the data I need is "too far" in the process flow...&lt;/P&gt;&lt;P&gt;I have tried defining the FS as  type&amp;nbsp;any and as type any table. I have tried with the program control, the include and the program control of the program control... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I will use export/import in this case. But it is good to know this technique!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 08:10:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554322#M1430165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T08:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: assign FS to a variable in a different program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554323#M1430166</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 to add one more point....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above logic works only if the program is available in the &lt;STRONG&gt;CALL STACK.&lt;/STRONG&gt; You can check the stack by placing the break point in yourprogram and click on CALLS button duting debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 08:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554323#M1430166</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-02-15T08:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: assign FS to a variable in a different program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554324#M1430167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod.&lt;/P&gt;&lt;P&gt;I can see the program in the CALL STACK, but it does not work.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks anyways, with export/import is working already.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 09:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-fs-to-a-variable-in-a-different-program/m-p/6554324#M1430167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T09:31:46Z</dc:date>
    </item>
  </channel>
</rss>

