Skip to Content
author's profile photo Former Member
Former Member

Mapping one node in a view context to many nodes in the component controlle

Hi guys,

I need to map an element (attribute) of a node in the View Context to an attribute of multi nodes of the same type:

Context View:



| -> KUNNR

Component Controller Context having two nodes:

- Node1




- Node2




Above I need to map the (KUNNR) in customer_no node to KUNNR in the RFC1 RFC2 before i execute the two RFCs services.


if this is not possible would you mention another solution.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2010 at 07:23 AM


    As per MVC you cannot map context from view controller to component controller.Mapping can happen from component

    controller to view controller.

    You cannot create mapping for context attributes. You can map nodes if both source node and destination node both has same structure and same number of attributes. If they dont contain same number of attributes the extra attributes from the source node gets copied to the destination node.

    In your case before the RFC execution you can read the value of attribute Kunnr from view and set it the RFC attribute Kunnr before the Function module execution.


    Bala Baskaran.S

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      i think Bala Baskaran has explained it well.

      I would create a data node and there in the KUNNR arrtibute in the component controller. Do a context mapping to the view.

      When you need this attribute (KUNNR) in other nodes such as for calling FM then i would just copy the value to that nodes or pass through the method parameters.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.