<?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: How to access class instance deep ref variables in BADI during runtime in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687505#M2017379</link>
    <description>&lt;P&gt;and the last one: &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2143733-image.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 18:27:15 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2023-03-02T18:27:15Z</dc:date>
    <item>
      <title>How to access class instance deep ref variables in BADI during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687502#M2017376</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt; I have implemented the BADI and in that Badi I want to get the some field values from the structure ITEM_DATA which is inside I_TSW_NODE.&lt;/P&gt;
  &lt;P&gt;I have attached the three images for reference.. I want the structure which is present in the I_TSW_NODE------&amp;gt;ITEM_NODE ----&amp;gt;ITEM_DATA. These variables&lt;A href="https://answers.sap.com/storage/temp/2144646-image1.png" data-attachment="2144646"&gt;image1.png&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/temp/2144647-image2.png" data-attachment="2144647"&gt;image2.png&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/temp/2144648-image3.png" data-attachment="2144648"&gt;image3.png&lt;/A&gt; are defined with type ref to.&lt;/P&gt;
  &lt;P&gt;Please help me how to get the ITEM_DATA structure to another structure.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Saran&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 11:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687502#M2017376</guid>
      <dc:creator>former_member213475</dc:creator>
      <dc:date>2023-03-02T11:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to access class instance deep ref variables in BADI during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687503#M2017377</link>
      <description>&lt;P&gt;ITEM_DATA is private attribute. It can only be accessed in that class methods. Check "Where used" functionality on that attribute. Maybe you will find "Getter" or some other usefull method.&lt;/P&gt;&lt;P&gt;I do not have this class in my system, so I cannot check.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 12:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687503#M2017377</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2023-03-02T12:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to access class instance deep ref variables in BADI during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687504#M2017378</link>
      <description>&lt;P&gt;Please show the images instead of hyperlinks, in order to have both the text and the image in one place. It's even more useful when there are several images, it avoids the pain to open and close each of them separately and repeatedly.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2143729-image.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2143730-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 18:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687504#M2017378</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-03-02T18:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to access class instance deep ref variables in BADI during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687505#M2017379</link>
      <description>&lt;P&gt;and the last one: &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2143733-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 18:27:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687505#M2017379</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-03-02T18:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to access class instance deep ref variables in BADI during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687506#M2017380</link>
      <description>&lt;P&gt;First of all, I agree with Tomas.&lt;/P&gt;&lt;P&gt;It's always difficult to access a private member of a standard class because you don't know how the class works, how you need to instantiate it, which methods to call till you can access that member.&lt;/P&gt;&lt;P&gt;Sometimes it's not possible when the data is not stored persistently and the only solution is to use the Enhancement Framework to create a public method to access the private member.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 18:32:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687506#M2017380</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-03-02T18:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to access class instance deep ref variables in BADI during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687507#M2017381</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have resolved on my own and the solution is as follows.&lt;/P&gt;&lt;P&gt;DATA(item_node_temp)    = i_tsw_node-&amp;gt;get_parent( ).&lt;BR /&gt;    DATA(item_data)    = item_node_temp-&amp;gt;get_data( ).&lt;BR /&gt;    DATA(ls_item) = item_data-item.&lt;/P&gt;&lt;P&gt;Thanks for the replies.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saran.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 09:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-class-instance-deep-ref-variables-in-badi-during-runtime/m-p/12687507#M2017381</guid>
      <dc:creator>former_member213475</dc:creator>
      <dc:date>2023-03-03T09:52:15Z</dc:date>
    </item>
  </channel>
</rss>

