Map node from different View Container

hi all,
i have a question about WDA. In case i have 3 view controllers: V_MAIN, V_A, and V_B. This program lets the user to fill out the form on V_A and V_B. V_MAIN has view containers embedded by V_A and V_B.
If i want an application to submit the form by click the Submit button on V_MAIN. The button has an action to send the parameters which fetch from V_A and V_B to do something further.
I've tried to declare the variable by
data: lr_v_a type if_v_a=>element_node.
the system shows an error "The type if_v_a=>element_node. is unknown"
Do you guys have any ideas about this? Please share me then.
Hope you can figure out what I'm saying. Thanks in advance.
Peerasit

Hi...
Use Global Component controller for all the view your using.... so that any time if you want data.... you can access it from the component controller...... try to use always global........
so if you click submit and want to do something further..... you can get the values from component controller and pass it to the next process..... its simple.....
Hope this will help you.....
Thanks & regards
Raja

Similar Messages

  • Mapping node from UIcust &View throws dump in result

    hello all,
    Need ur urgent help!!
    I hav already posted one thread bout dis but didnt got any response.... So doing it again
    Not able to map UICust node to View.Till UICust the app works fine but as i map the node to View........ Error comes of contact administrator without any exception
    Contact Administrator error is coming after mapping node from UICust with View.
    Its not happpening in case of 1 single attribute but while mapping the node this error is encountered even if that node consists of single attribute.
    Urgent help required....Kindly help
    Thanks n regards
    Mandeep

    Hi Siva,
    4 attr under 1 node in modal node and same i craeted in value node in uicust. but even if i try to map the replicated value node in uicust and map dat to value node of view. still its showin dump (Contact administrator wid no exception)
    I hav reopnened the project....... rebuild. it doesnt show any error.... as soon as i go for mapping in view and uicust . it starts throwin dump
    Thanks n Regards
    Mandeep

  • Mapping node from a different subtree

    Hi Experts,
    I am doing a mapping where the source structure contains two segments LINE and VAT. Under LINE, I have a field called ABC. Also under VAT, I have a field called ABC. What I want to do is, if ABC under LINE is blank then I want to populate the value of ABC under VAT. Any idea how to go about this?
    Thanks,
    Dhawal

    Use ifWithElse & exist function.
    check if ABC from line exists then map it to traget else map ABC of VAT to target.
    oR just use the equalS & NOT function instead of exist function and then check if LINE (ABC) not equalS Blank (empty constant) then map ABC of Line into target else map ABC of VAT to target.

  • IC WebClient: Reading data from different views

    In the view SrvTHead I intend to develop a PDF file which contains information from the views SrvTProduct, SrvTExtras, SrvTPartner, SrvTText, FoUpText and FollowUpDetails.
    From the Cookbook I have learnt that this is possible using custom controllers.
    Example:
    data: bdc TYPE REF TO cl_crm_ic_cucobdc_impl.
    bdc ?= me->get_custom_controller( 'CuCoBDC' ).
    current_one_order = bdc->typed_context->currentoneorder.
    current_inboxitem = bdc->typed_context->currentinboxitem.
    lv_col_wrapper = current_one_order->get_collection_wrapper( ).
    lv_current = lv_col_wrapper->get_current( ).
    lv_col_wrapper1 = current_inboxitem->get_collection_wrapper( ).
    lv_current1 = lv_col_wrapper1->get_current( ).
    I am not sure how to proceed after this...
    Has anyone implemented this before?
    Thanks,
    Krish.

    In the view SrvTHead I intend to develop a PDF file which contains information from the views SrvTProduct, SrvTExtras, SrvTPartner, SrvTText, FoUpText and FollowUpDetails.
    From the Cookbook I have learnt that this is possible using custom controllers.
    Example:
    data: bdc TYPE REF TO cl_crm_ic_cucobdc_impl.
    bdc ?= me->get_custom_controller( 'CuCoBDC' ).
    current_one_order = bdc->typed_context->currentoneorder.
    current_inboxitem = bdc->typed_context->currentinboxitem.
    lv_col_wrapper = current_one_order->get_collection_wrapper( ).
    lv_current = lv_col_wrapper->get_current( ).
    lv_col_wrapper1 = current_inboxitem->get_collection_wrapper( ).
    lv_current1 = lv_col_wrapper1->get_current( ).
    I am not sure how to proceed after this...
    Has anyone implemented this before?
    Thanks,
    Krish.

  • Removing live nodes from cluster view.

    Hi All,
              We are experiencing some JMS problems connected with a cluster node being
              hung for some time.
              The following took place just before the problem arises:
              1. First of all one of the nodes (the first) gets one thread
              (weblogic.jms.backend.BEPushRequestSender@76512c) stuck.
              2. After that it closes the TCP connection to another node and
              3. Removes another node from its cluster view.(that is alive)
              4. After that the second node removes the first from its cluster
              view.
              5. Seconds later they find each other again and add each other to the
              cluster view.
              6. After that, the JMS distributed members are connected to each other,
              7. Something strange happens, because either the first node starts
              missing many messages in its distributed topic member or the second
              node doesn't propagate messages from distributed topic to the first
              node.
              Is it possible to set up weblogic cluster in a way, it won't remove
              other members from cluster view by peer gone exception, only by
              heartbeat timeout? Is heartbeat retry time parameter is configurable?
              Any help with this matter will be greatly appreciated.
              Dmitry Finkelstein
              

    You must run the update node list for each ORACLE_HOME on that machine. If this is RAC, the runInstaller will take care to update all nodes, so again, you run it once per ORACLE_HOME installed.
    Shared Home is a single copy of the Oracle software, rather than each node holding their own copy of the software. There's a paper that talks about these two topics and gives some examples of full commands on OTN:
    http://www.oracle.com/technology/products/database/clustering/index.html
    "Oracle Homes in an Oracle Real Application Clusters Environment(PDF) January 2008"
    direct link: http://www.oracle.com/technology/products/database/clustering/pdf/oh_rac.pdf
    Enjoy and hope this helps.
    Saar.

  • Join Nodes from different XML strings

    Hi,
    Please can you help me in joining 2 similar XML documents such that required nodes are appended.
    Need to combine the nodes of XML (input source:String) A and B as below:
    A:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MSG_Cont xmlns:ns0="http://xmlns.sample.xml.com/Xref">
        <ns0:Header>
            <ns0:ProjectName>Services-1</ns0:ProjectName>
            <ns0:TimeStamp>11-05-2007 08:24:08</ns0:TimeStamp>
        </ns0:Header>
        <ns0:Body>
            <ns0:MID_INTER_XREF>
                <ns0:INT_ID>0</ns0:INT_ID>
                <ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
                    <ns1:PERS_TITLE>MGR</ns1:PERS_TITLE>
                    <ns1:PERS_FIRST_NM>BUY</ns1:PERS_FIRST_NM>
                    <ns1:PERS_LAST_NM>INT</ns1:PERS_LAST_NM>
                </ns1:CDS_Person>
                <ns0:CLS>48</ns0:CLS>
                <ns0:COM>410</ns0:COM>
                <ns0:SW>P</ns0:SW>
                <ns0:ALT_ID>  </ns0:ALT_ID>
                <ns0:ACTV_CD>I</ns0:ACTV_CD>
                <ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
            </ns0:MID_INTER_XREF>
            <ns0:MID_INTER_XREF>
             <ns0:INT_ID>96</ns0:INT_ID>
             <ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
              <ns1:PERS_TITLE>MGR</ns1:PERS_TITLE>
              <ns1:PERS_FIRST_NM>TEMP</ns1:PERS_FIRST_NM>
              <ns1:PERS_LAST_NM>GRT</ns1:PERS_LAST_NM>
             </ns1:CDS_Person>
             <ns0:CLS>48</ns0:CLS>
             <ns0:COM>935</ns0:COM>
             <ns0:SW>D</ns0:SW>
             <ns0:ALT_ID>F$</ns0:ALT_ID>
             <ns0:ACTV_CD>A</ns0:ACTV_CD>
             <ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
         </ns0:MID_INTER_XREF>
        </ns0:Body>
    </ns0:MSG_Cont>B:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MSG_Cont xmlns:ns0="http://xmlns.sample.xml.com/Xref">
        <ns0:Header>
            <ns0:ProjectName>Services-1</ns0:ProjectName>
            <ns0:TimeStamp>11-05-2007 08:24:08</ns0:TimeStamp>
        </ns0:Header>
        <ns0:Body>
            <ns0:MID_INTER_XREF>
                <ns0:INT_ID>0</ns0:INT_ID>
                <ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
                    <ns1:PERS_TITLE>TECH</ns1:PERS_TITLE>
                    <ns1:PERS_FIRST_NM>BUY</ns1:PERS_FIRST_NM>
                    <ns1:PERS_LAST_NM>INT</ns1:PERS_LAST_NM>
                </ns1:CDS_Person>
                <ns0:CLS>98</ns0:CLS>
                <ns0:COM>910</ns0:COM>
                <ns0:SW>P</ns0:SW>
                <ns0:ALT_ID>  </ns0:ALT_ID>
                <ns0:ACTV_CD>I</ns0:ACTV_CD>
                <ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
            </ns0:MID_INTER_XREF>
            <ns0:MID_INTER_XREF>
             <ns0:INT_ID>96</ns0:INT_ID>
             <ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
              <ns1:PERS_TITLE>TECH</ns1:PERS_TITLE>
              <ns1:PERS_FIRST_NM>TEMP</ns1:PERS_FIRST_NM>
              <ns1:PERS_LAST_NM>GRT</ns1:PERS_LAST_NM>
             </ns1:CDS_Person>
             <ns0:CLS>98</ns0:CLS>
             <ns0:COM>435</ns0:COM>
             <ns0:SW>D</ns0:SW>
             <ns0:ALT_ID>F$</ns0:ALT_ID>
             <ns0:ACTV_CD>A</ns0:ACTV_CD>
             <ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
         </ns0:MID_INTER_XREF>
        </ns0:Body>
    </ns0:MSG_Cont>Combined (desired Output):
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MSG_Cont xmlns:ns0="http://xmlns.sample.xml.com/Xref">
        <ns0:Header>
            <ns0:ProjectName>Services-1</ns0:ProjectName>
            <ns0:TimeStamp>11-05-2007 08:24:08</ns0:TimeStamp>
        </ns0:Header>
        <ns0:Body>
            <ns0:MID_INTER_XREF>
                <ns0:INT_ID>0</ns0:INT_ID>
                <ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
                    <ns1:PERS_TITLE>MGR</ns1:PERS_TITLE>
                    <ns1:PERS_FIRST_NM>BUY</ns1:PERS_FIRST_NM>
                    <ns1:PERS_LAST_NM>INT</ns1:PERS_LAST_NM>
                </ns1:CDS_Person>
                <ns0:CLS>48</ns0:CLS>
                <ns0:COM>410</ns0:COM>
                <ns0:SW>P</ns0:SW>
                <ns0:ALT_ID>  </ns0:ALT_ID>
                <ns0:ACTV_CD>I</ns0:ACTV_CD>
                <ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
            </ns0:MID_INTER_XREF>
            <ns0:MID_INTER_XREF>
             <ns0:INT_ID>96</ns0:INT_ID>
             <ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
              <ns1:PERS_TITLE>MGR</ns1:PERS_TITLE>
              <ns1:PERS_FIRST_NM>TEMP</ns1:PERS_FIRST_NM>
              <ns1:PERS_LAST_NM>GRT</ns1:PERS_LAST_NM>
             </ns1:CDS_Person>
             <ns0:CLS>48</ns0:CLS>
             <ns0:COM>935</ns0:COM>
             <ns0:SW>D</ns0:SW>
             <ns0:ALT_ID>F$</ns0:ALT_ID>
             <ns0:ACTV_CD>A</ns0:ACTV_CD>
             <ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
         </ns0:MID_INTER_XREF>
         <ns0:MID_INTER_XREF>
             <ns0:INT_ID>0</ns0:INT_ID>
             <ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
              <ns1:PERS_TITLE>TECH</ns1:PERS_TITLE>
              <ns1:PERS_FIRST_NM>BUY</ns1:PERS_FIRST_NM>
              <ns1:PERS_LAST_NM>INT</ns1:PERS_LAST_NM>
             </ns1:CDS_Person>
             <ns0:CLS>98</ns0:CLS>
             <ns0:COM>910</ns0:COM>
             <ns0:SW>P</ns0:SW>
             <ns0:ALT_ID>  </ns0:ALT_ID>
             <ns0:ACTV_CD>I</ns0:ACTV_CD>
             <ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
         </ns0:MID_INTER_XREF>
         <ns0:MID_INTER_XREF>
             <ns0:INT_ID>96</ns0:INT_ID>
             <ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
              <ns1:PERS_TITLE>TECH</ns1:PERS_TITLE>
              <ns1:PERS_FIRST_NM>TEMP</ns1:PERS_FIRST_NM>
              <ns1:PERS_LAST_NM>GRT</ns1:PERS_LAST_NM>
             </ns1:CDS_Person>
             <ns0:CLS>98</ns0:CLS>
             <ns0:COM>435</ns0:COM>
             <ns0:SW>D</ns0:SW>
             <ns0:ALT_ID>F$</ns0:ALT_ID>
             <ns0:ACTV_CD>A</ns0:ACTV_CD>
             <ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
         </ns0:MID_INTER_XREF>
        </ns0:Body>
    </ns0:MSG_Cont>Trying to use the dom document.importNode() and appendChild(). But, looks like appendChild removes any already existing node (in this case - ns0:MID_INTER_XREF).
    Any help appreciated.
    TIA,
    Praveen

    Well, the requirement was to have elements from different XML in a single master XML. The way we achieved this - read from each XML, append to a string buffer and construct the combined XML (which passes on for use elsewhere).
    Hope this helps anyone with a similar requirement.
    Many Thanks for looking.

  • Can slices of a PieGraph  come from different View Objects

    Hi,
    Can slices of a pie Graph come form different view object?
    If it is possible, how to I do it?
    Thank you.
    Thanks.
    Edited by: user594688 on Sep 16, 2008 11:49 AM
    Edited by: user594688 on Sep 16, 2008 11:54 AM

    As far as I understand, no.
    It's not clear why you would want to do this? Does the data for each VO come from a totally different SQL query source? If yes can't you create a new VO with a query that joins the queries from the other VOs? By this I mean literally take the queries from the VOs, write a query that joins the results, and base that on a new VO.
    Let us know how you go.
    Cheers,
    CM.

  • How to switch from different views when a common button is clicked on using View states concept

    Hi
    i have  made a single form for both Login Screen and Registration screen with two states :
    1. BaseState which is the curret state of  state of My application
    2.registrationstate 
    I have a common button for changing from one view to another view .(Not related to any of the state)
    At first the Login screen is loaded , and when the common  button is clicked , i want to switch to Registration Screen .
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
        <![CDATA[
    // Logic for common button needed .
        public function handleMe(event:MouseEvent):void
        ]]>
    </mx:Script>
        <mx:states>
            <mx:State name="registrationstate">
                <mx:SetProperty target="{formitem1}" name="label" value="Email"/>
                <mx:SetProperty target="{button1}" name="label" value="Change state to Login"/>
            </mx:State>
        </mx:states>
        <mx:Form x="248" y="158">
            <mx:FormItem label="User Name" fontWeight="bold" id="formitem1">
                <mx:TextInput/>
            </mx:FormItem>
        </mx:Form>
    <!-- This is my coomon button-->
        <mx:Button
            click="handleMe(event)"  
            x="297" y="261" label="Change state to Registration" id="button1"/>
    </mx:Application>

    Originally I could not get that to work, but now I have it working:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:Script>
        <![CDATA[
          import mx.controls.Alert;
          public function handleMe(event:MouseEvent):void{  
            trace(this.currentState); 
            if(currentState=="" || currentState == null){
              mx.controls.Alert.show("base state");
              currentState = "registrationstate"; 
            }else if(currentState=="registrationstate"){
              mx.controls.Alert.show("registrationstate");
              currentState = ""; 
        ]]>
      </mx:Script>
      <mx:states>
        <mx:State name="registrationstate">
          <mx:SetProperty target="{formitem1}" name="label" value="Email"/>
          <mx:SetProperty target="{button1}" name="label" value="Change state to Login"/>
        </mx:State>
      </mx:states>
      <mx:Form x="248" y="158">
        <mx:FormItem label="User Name" fontWeight="bold" id="formitem1">
          <mx:TextInput/>
        </mx:FormItem>
      </mx:Form>
      <mx:Button click="handleMe(event)" x="297" y="261"
        label="Change state to Registration" id="button1"/>
    </mx:Application>
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • HOW TO ACCESS ATTRIBUTES FROM DIFFERENT VIEW SET

    Hi Experts,
    How i can  access the variables declared in context class from component controller class
    and vice-versa.
    Thanks & Regards
    Ansal

    Hi Ansal
    You can bind your context node of view to component controller context node and then you can access the data.
    You can do this binding by inserting following statements in create_context_node method of your _ctxt class.
    owner->do_context_node_binding( iv_controller_type = cl_bsp_wd_controller=>co_type_component
       iv_target_node_name = 'BUILHEADER'  
       iv_node_2_bind = builheader ).
    Regards,
    Rashmi

  • Maps missing from "phone view"

    I am using Nokia Suite to update the maps on my Nokia 5800.  But when I click on the section which should list maps on the phone, only the voice guidance files show up.  I have confirmed that the maps are on my phone (for example I just uploaded the map for Paris and I can find the Eiffel Tower) but neither the existing maps, nor the newly uploaded maps show up in Nokia Suite.

    You may try deleting the 'Cities' folder and the 'qf' file from the phone. You may do that by connecting your phone to PC and then thru' Windows Explorer.. Now, disconnect the phone and then Open the Maps application on the phone and after about 15-20 seconds close it. This will recreate the Folder structure. Now connect the phone again to PC and thru' Nokia Suite re-download / re-install the Maps that you want ...

  • How to set value from one view to other view's context node attr b4 save

    HI all,
    My requirement is as below:
    There are two views in component BP_CONT.
    BP_CONT/ContactDetails    IMPL class
    BP_CONT/SalesEmployee   SALESEMPLOYEE    STRUCT.SALESEMPLOYEE
    I want to set value from first view to second view's context node's attribute.
    i get Sales Employee BP number in ContactDetails view, from here i want to set that value in to STRUCT.SALESEMPLOYEE
    of second view in the same component.
    please send me code snippet for doing the same.
    Thanks in advance.
    seema

    Hi Seema
    You can access the fields from different views by either using custom controllers or by using component controllers, in your case you can access the Sales employee BP number from the Component controller.
    first access the component controller  as below in BP_CONT/SalesEmployee  (in do_prepare_output method) or in (specific setter method)
    lv_compcontroller type ref to CL_BP_CONT_BSPWDCOMPONENT_IMPL,
    lv_partner type ref to cl_crm_bol_entity,
    lv_role type string,
    lv_partner_no type string.
    lv_employee TYPE REF TO if_bol_bo_property_access,
    lv_compcontroller  = me->COMP_CONTROLLER.
    lv_partner ?= lv_compcontroller  ->typed_context->-partner->collection_wrapper->get_current( ).
    lv_role = lv_partner->get_property( iv_attr_name = 'BP_ROLE' )
    IF LV_ROLE = 'SALESEMPLOYEE'
      lv_partner_no ?= lv_current->get_property( iv_attr_name = 'BP_NUMBER' ).
    endif.
    now set the value
    lv_employee ?= me->typed_context->salesemployee->collection_wrapper->get_current( )
    CHECK lv_employee IS BOUND.
        lv_employee->set_property( iv_attr_name = 'SALESEMPLOYEE' iv_value =  lv_partner_no  )
    Thanks & Regards
    Raj

  • How to map nodes to an embedded Component during runtime?

    Hi,
    I embed a Component (<i>BasisComponent</i>) in a new created Component (<i>MyComponent</i>) to use some funcionality from it. Therefor, I have to map some ValueNodes from <i>MyComponent</i> to <i>BasisComponent</i> during designtime to transfer the data. I thought, I could use External-Context-Mapping for that. That means I've created a ValueNode in <i>BasisComponent</i>'s InterfaceController and declared it for ExternalContextMapping (let's call it <i>ExtNode</i>.
    Because I want to use this basis functionality from different embedding Components (<i>MyComponent1, MyComponent2</i>, etc.), I can't declare the structure of <i>BasisComponents ExtNode</i> yet, it's just an empty ValueNode.
    Now, I want to map from my using Components their different ValueNodes to <i>BasisComponents ExtNode</i>.
    How to do that? Or is there another possibility to put different value-nodes from different components to the same Node in my <i>BasisComponent</i>? Can this be done during designtime? I believe it can be definitively done during runtime....
    kr, achim

    Achim,
    Let me use your example and explain what in fact will work when you are creating attributes/nodes only at design time.
    Let us define context in BasicComponent as:
    - MyRoot (0..n, selection 0..1, singleton)
    |-MyInt (int)
    |-MyString (string)
    Say, ComponentA has the following context structure:
    - rootNode (0..n, selection 0..1, singleton)
    |-attA (int)
    |-attB (string)
    |-attX (string)
    --attC
    Then you can easly map rootNode of ComponentA to MyRoot of BasicComponent, attA -> MyInt, attB -> MyString, attX left is not used for mapping.
    =============
    Same is true for ComponentB with
    - RootOfBNode (0..n, selection 0..1, singleton)
    |-attIgnored (date)
    |-attA_INT (int)
    |-attB_STR (string)
    |-attY (string)
    --attZ
    ComponentB.RootOfBNode -> CU of BasicComponent.MyRoot, attA_INT -> MyInt, attB_STR -> MyString, attY and attIgnored are not used for mapping.
    =============
    However, if context of ComponentA is defined as
    - rootNode (<b>0..1</b>, selection 0..1, singleton)
    |-attA (int)
    |-attB (string)
    |-attX (string)
    --attC
    ...then you are out of luck -- wrong cardinality of node.
    Moreover, this case also fails
    - rootNode (0..n, selection 0..1, singleton)
    |-attA (string)
    |-attB (string)
    |-attX (string)
    --attC
    Here all attributes are strings so mappings will be incomplete. To fix this you need at least fake attribute in rootNode.
    And mostly important fact: if you can't map nodes in designer due to mismatch context structures the any dynamic (at run-time) mapping will fail as well in majority of cases.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • 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:
    customer_no
          |
          | -> KUNNR
    Component Controller Context having two nodes:
      - Node1
         RFC1
            |
            |->KUNNR
      - Node2
          RFC2
             |
             |->KUNNR
    Above I need to map the (KUNNR) in customer_no node to KUNNR in the RFC1 RFC2 before i execute the two RFCs services.
    Note:
    if this is not possible would you mention another solution.
    Thanks,

    Hi,
       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.
    Regards
    Bala Baskaran.S

  • How to access data from node of other view into node of diff view?

    Hi all,
                  My requirement is that I have account defined in 'CLEAR_HEAD' component , view is 'CLEAR_HEAD/ClearAccountsEF'
    context node is 'TARGETVALUE' and attribute is 'ACCOUNT1'. I need to access this account information in the same component but in another view 'CLEAR_HEAD/ClearAddressEL' and the context node is 'DEPLIST' and attribute is 'RADIO1'. I have one custom controller 'CLEAR_HEAD/CuCoHead'  already defined in this component. I checked the above 'TARGETVALUE' node but it is not bind to any Custom controller. And I also checked the above pre-defined custom controller  'CLEAR_HEAD/CuCoHead'  and the context node in this Custom controller is different from those of the above context nodes and the only one context node defined in this custom controller  'CLEAR_HEAD/CuCoHead' is 'LISTNODE'.
    My quesitons are
    1. How to bind the above context node(TARGETVALUE) to the custom controller. Can I bind it to the above existing custom controller  'CLEAR_HEAD/CuCoHead'  , if so then how can I do since the above custom controller doesn't contain this context node(TARGETVALUE) and it contains only  the context node 'LISTNODE'. If I can use the above existing Custom Controller then can I directly do binding by right clicking the context node(TARGETVALUE) -> Create binding. Then what should be the value in Target Contex Node?
    2. Do I need to create another custom controller If so then can I directly follow the steps defined in this link '/people/vikash.krishna/blog/2009/12/28/crm-70-how-to--5d-custom-controller-and-binding-of-context-nodes' ? If so then what should be the Model node and Bol Entity name?
    I appreciate your help..
    Thanks,
    Chinnu.

    HI Chinnu, <br />
    <br />
    Approach 1: <br />
    Bind the context node view1  TARGETVALUE with Component controller.<br />
    and in View2 <br />
    data lr_comp_controller type ref to X----component controller<br />
    lr_entity TYPE REF TO cl_crm_bol_entity.<br />
    lr_comp_controller ?= me-&gt;comp_controller.<br />
    <br />
    lr_entity ?= lr_comp_controller-&gt;typed_context-&gt;Y-&gt;collection_wrapper-&gt;get_current( ). Y---CONTExt node in view1.<br />
    <br />
    Approach 2: <br />
    Declare a static attribute in the View controller of first view.<br />
    Read the attribute D1 value from DO_PREPARE_OUTPUT of first View and pass it to the Static sttribute.<br />
    In your 2nd view u can read this Static Atribute and use it.<br />
    Static Attribute u need to call as follows . Z********IMPL(Implemantation Class)=&gt;ATTR1<br />
    <br />
    Approach 3: <br />
    Creae a custom controller with the same context node used in view 1. <br />
    Bound the custom controller context node to view 1 context node.<br />
    <br />
    Now in view 2, get the custome controller and read data from it.<br />
    <p />
    <br />
    View1 context node: BTADMINH<br />
    <p />
    Custom controller: BT115QH_SLSQ/AdminH   context node: BTADMINH_CUCO<br />
    <p />
    In view 1 context class (CTXT class), go to CREATE_BTADMINH method and append the below code to bind both the context nodes,<br />
    <pre class="jive-pre"><code class="jive-code jive-java">* bind to custom controller
       owner-&gt;do_context_node_binding(
                iv_controller_type = CL_BSP_WD_CONTROLLER=&gt;CO_TYPE_CUSTOM
                iv_name =
                <font color="navy">'BT115QH_SLSQ/AdminH'</font>                         <font color="red">&quot;#EC NOTEXT</font>
                iv_target_node_name = <font color="navy">'BTADMINH_CUCO'</font>
                iv_node_2_bind = BTADMINH ).
    Now in view 2 get the custom controller using the below code,
    Data: lr_cuco type ref to &lt;custom controller class&gt;.
    lr_cuco   ?= me-&gt;get_custom_controller( controller_id = <font color="navy">'BT115QH_SLSQ/AdminH'</font> ).
    lr_entity     = lr_cuco-&gt;typed_context-&gt;BTADMINHCUCO-&gt;collection_wrapper-&gt;get_current( ).
    </code></pre> <br />
    <p />
    If you are just reading a attribute value  from view1, then approach 2 shud b easy one. <br />
    Approach 1 & 3, more or less the same, except we are using component controller vs custom controller. These approaches holds good when the data required to be accessed/updated from either views. <br />
    <br />
    Coming to your specific scenario, I think there is already a context node available in the compoenent controller TARGETBP, which can have the required data for you. Please look into that. <br />
    <br />
    Cheers, Satish<br />
    Edited by: Satish Reddy Palyam on Aug 13, 2011 12:50 PM

  • Mapping users coming from different domain in AD

    HI,
    We have configured vintela SSO which is working.Now we are trying  to add another domain but it has been unsuccessful.
    We have imported the users coming from other domain in CMC->AD, and UseFDQNDirectoryForServers parameter in registry.
    The issue is our complex krb5.ini errors as "cannot find kdc for realm" for the user account coming from the other domain.The existing domain kinit is successful.
    Please help in resolving this issue!!! We need to have users coming from different domain to use vintela SSO.
    Thank you.

    well you're mixing things up a bit.
    The usefqdnfordirectoryservers is used to map in groups. If the groups show up as well as the users that piece should be complete.
    the krb5.ini is for logging in users manually, it must conatin the KDC for every domain that may contain users that need to log into BO. It also must have a KDC or capath entry to define all the parent domains as well (even if they do not have members that need to login. This is how the krb5 is used to verify transitive trusts. Then all users that are not in the default domain must logon as username@ DNSDOMAIN.COM where the DNS domain is entered in all caps aqnd represents the FQDN of theidomain the users bewlong to. Now if not logging in manually this should be a big problem.
    So for SSO (vintela anyway) this process is automatic, although you may want to configure vintela with site information so it doesn't randomly use all your DC's Site can be set following the steps at the end of business objects note 1261835 (complete and vintela only editions).
    In order for vintela to work properly the value entered in CMC > Authentication > Windows AD > service principal name must = an SPN thet was created on the account that is running the SIA/CMS
    Regards,
    Tim

Maybe you are looking for

  • File size of Notes on iPod nano?

    Hello, my question is about the file size of notes to be handled by the iPod nano. I have copied several ASCII text-files into the Notes folder of my iPod nano. Each has a size of approx. 20 kByte. Windows Explorer shows them in the iPod Notes folder

  • IPad Charger temperature goes too high

    I bought iPad Mini with Retina display recently. I attached a charger properly. After some time when i touched the charger I found its temperature is too high. So I removed and checked USB side of the cable, its temperature was so high that I could n

  • Cheep black and white printer for iPads?

    What is a cheep printer that my students can print directly from their iPads? I only want them to be able to print black and white.

  • Redirect not working on registration or login

    Hi I have just started using the Developer Toolbox with CS3 and seem to have a problem. I built a registration login system. When I register the data is entered into the database however the redirected page does not appear the same page tries to relo

  • Moving Health Data from iPhone to Another

    I would like to move health data from my old to new iPhone. Steps, distance, blood pressure, pulse. Is this possible? Thanks,