<?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: Changing calling programs field's value in called exit/program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-calling-programs-field-s-value-in-called-exit-program/m-p/1235685#M140710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurpreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can access and change the structure in the exit even though it is not passed to the exit.&lt;/P&gt;&lt;P&gt; Main program ZABC_MAIN&lt;/P&gt;&lt;P&gt;  structure zabc is passed to subroutine &lt;/P&gt;&lt;P&gt;  within this subroutine call to exit..&lt;/P&gt;&lt;P&gt;   FM exit_zbc...&lt;/P&gt;&lt;P&gt;     data: fld(50) value '(ZABC_MAIN)zabc'.&lt;/P&gt;&lt;P&gt;     field-symbols: &amp;lt;fs1&amp;gt;.&lt;/P&gt;&lt;P&gt;     assign (fld) to &amp;lt;fs1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this fields symbol is pointing to the structure. U can try in debub mode also before coding this. When in exit type (ZABC_MAIN)zabc in the fields and c if it shows value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Mar 2006 06:04:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-31T06:04:18Z</dc:date>
    <item>
      <title>Changing calling programs field's value in called exit/program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-calling-programs-field-s-value-in-called-exit-program/m-p/1235682#M140707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a subroutine and it is passed a structure&lt;/P&gt;&lt;P&gt;This subroutine is calling a FM which is an exit .&lt;/P&gt;&lt;P&gt;Can i access and change the value of field in the structure ( which is passed to subroutine ) in the exit.&lt;/P&gt;&lt;P&gt;Currently , that structure is out of scope in the exit.&lt;/P&gt;&lt;P&gt;Please help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Gurpreet Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2006 05:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-calling-programs-field-s-value-in-called-exit-program/m-p/1235682#M140707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-31T05:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Changing calling programs field's value in called exit/program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-calling-programs-field-s-value-in-called-exit-program/m-p/1235683#M140708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurpreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. we can access like this&lt;/P&gt;&lt;P&gt;  ( try in debug mode, inside the exit fm)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. (programname)variablename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; also use the BRACKETS.&lt;/P&gt;&lt;P&gt; the variable name should be global&lt;/P&gt;&lt;P&gt;to the calling program.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2006 05:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-calling-programs-field-s-value-in-called-exit-program/m-p/1235683#M140708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-31T05:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing calling programs field's value in called exit/program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-calling-programs-field-s-value-in-called-exit-program/m-p/1235684#M140709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gurpreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot modify unless its being passed as a changing parameter to the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through the back door, you can see if that structure is active in the memory in debug mode and if yes, assign it to a field symbol and change the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it is not recommended that you do this as it might cause some inconsistency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2006 05:42:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-calling-programs-field-s-value-in-called-exit-program/m-p/1235684#M140709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-31T05:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changing calling programs field's value in called exit/program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-calling-programs-field-s-value-in-called-exit-program/m-p/1235685#M140710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurpreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can access and change the structure in the exit even though it is not passed to the exit.&lt;/P&gt;&lt;P&gt; Main program ZABC_MAIN&lt;/P&gt;&lt;P&gt;  structure zabc is passed to subroutine &lt;/P&gt;&lt;P&gt;  within this subroutine call to exit..&lt;/P&gt;&lt;P&gt;   FM exit_zbc...&lt;/P&gt;&lt;P&gt;     data: fld(50) value '(ZABC_MAIN)zabc'.&lt;/P&gt;&lt;P&gt;     field-symbols: &amp;lt;fs1&amp;gt;.&lt;/P&gt;&lt;P&gt;     assign (fld) to &amp;lt;fs1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this fields symbol is pointing to the structure. U can try in debub mode also before coding this. When in exit type (ZABC_MAIN)zabc in the fields and c if it shows value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2006 06:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-calling-programs-field-s-value-in-called-exit-program/m-p/1235685#M140710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-31T06:04:18Z</dc:date>
    </item>
  </channel>
</rss>

