<?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 Accessing Deeply Nested Value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-deeply-nested-value/m-p/7679180#M1575839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thread followed on from [here|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1905316"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following on from a thread I started in the SRM forum, I now have access to a very deeply nested variable see [this|http://img59.imageshack.us/i/variable.png/] image for path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I change the value in this variable using OO code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help is much appreciate,&lt;/P&gt;&lt;P&gt;Colm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2011 17:07:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-08T17:07:26Z</dc:date>
    <item>
      <title>Accessing Deeply Nested Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-deeply-nested-value/m-p/7679180#M1575839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thread followed on from [here|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1905316"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following on from a thread I started in the SRM forum, I now have access to a very deeply nested variable see [this|http://img59.imageshack.us/i/variable.png/] image for path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I change the value in this variable using OO code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help is much appreciate,&lt;/P&gt;&lt;P&gt;Colm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 17:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-deeply-nested-value/m-p/7679180#M1575839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-08T17:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Deeply Nested Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-deeply-nested-value/m-p/7679181#M1575840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Colm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have access to the instance (of TYPE REF TO cl_wdr_context_element)?&lt;/P&gt;&lt;P&gt;If so then you may try to call its method IF_WD_CONTEXT_ELEMENT~SET_ATTRIBUTE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 09:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-deeply-nested-value/m-p/7679181#M1575840</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2011-03-09T09:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Deeply Nested Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-deeply-nested-value/m-p/7679182#M1575841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not have access to that particular instance but I was able to use your help to find the values that I needed to change. I needed to create a post-exit enhancement on my WDDOINIT method and implement the following code. Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: lo_wd_child_node      TYPE REF TO if_wd_context_node,
        lo_root_node          TYPE REF TO if_wd_context_node,
        lo_context            TYPE REF TO if_wd_context.

  lo_context      = wd_context-&amp;gt;get_context( ).
  lo_root_node    = lo_context-&amp;gt;root_node.

  lo_wd_child_node = lo_root_node-&amp;gt;get_child_node( name = 'ACTIVE' ).
  lo_wd_child_node-&amp;gt;set_attribute( EXPORTING name  = 'ACTIVE_LOC'
                                             value = '02' ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Colm Gavin on Mar 9, 2011 12:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 11:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-deeply-nested-value/m-p/7679182#M1575841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T11:46:07Z</dc:date>
    </item>
  </channel>
</rss>

