<?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: Mapping for root node is not possible in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567650#M1270150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if you declare some of the parameters as nodes they were taken as attributes depending on their &lt;/P&gt;&lt;P&gt;structure. So the importing parameter CUSTOMERNO is taken as attribute. The error message you are getting is because you are trying to map an attribute. If you have doubt whether it is attribute aor node, please check the symbol beside the parameter. Node and attribute have different symbols.So please try mapping the whole importing node to map the context to the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lohitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2009 09:20:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-12T09:20:00Z</dc:date>
    <item>
      <title>Mapping for root node is not possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567647#M1270147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new in webdynpro. I 'd tried to create a web dynpro component with bapi usage&lt;/P&gt;&lt;P&gt;bapi : BAPI_CUSTOMER_GETDETAIL2&lt;/P&gt;&lt;P&gt;import parameter CUSTOMERNO &lt;/P&gt;&lt;P&gt;On step defining the context mapping I get an error : Mapping for root node is not possible &lt;/P&gt;&lt;P&gt;  on drag and drop import parameter CUSTOMERNO&lt;/P&gt;&lt;P&gt;What is my problem ?&lt;/P&gt;&lt;P&gt; Please ,help me .&lt;/P&gt;&lt;P&gt;Regards .Helena .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 05:41:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567647#M1270147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T05:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping for root node is not possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567648#M1270148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are trying to map an attribute.&lt;/P&gt;&lt;P&gt;Try copying the whole importing node. Then you will be able to map the context.&lt;/P&gt;&lt;P&gt;If you want to restrict the attributes in the importing node, you can do that in the service call.&lt;/P&gt;&lt;P&gt;Revert back if any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lohitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 06:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567648#M1270148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T06:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping for root node is not possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567649#M1270149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your reply , but in step ADAPT NODE&lt;/P&gt;&lt;P&gt;  the input parameter CUSTOMERNO was defined not as attribute but as node context&lt;/P&gt;&lt;P&gt;  like the output table .&lt;/P&gt;&lt;P&gt;   Please your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 07:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567649#M1270149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T07:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping for root node is not possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567650#M1270150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if you declare some of the parameters as nodes they were taken as attributes depending on their &lt;/P&gt;&lt;P&gt;structure. So the importing parameter CUSTOMERNO is taken as attribute. The error message you are getting is because you are trying to map an attribute. If you have doubt whether it is attribute aor node, please check the symbol beside the parameter. Node and attribute have different symbols.So please try mapping the whole importing node to map the context to the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lohitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 09:20:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567650#M1270150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T09:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping for root node is not possible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567651#M1270151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ADAPT NODE after you have selected importing parameters as a context node and finished. Finally it must have created a Node IMPORTING under the BAPI Node "BAPI_CUSTOMER_GETDET". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside IMPORTING node you will have CUSTOMERNO , COMPANYCODE as attributes. Now if you try to map CUSTOMERNO to the context of the view you will get the error saying "mapping for root node not possible". To remove it Map the entire IMPORTING node from COMPONENTCONTROLLER and it will be OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 16:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-for-root-node-is-not-possible/m-p/5567651#M1270151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T16:37:12Z</dc:date>
    </item>
  </channel>
</rss>

