Webdynpro: Reading attribute of one component in another WD component

Hi All,
This is a scenario in the SAP SRM system.
I am trying to access the Contract number attribute (V_CTR_H_BD.HEADER_BD.OBJECT_ID) from the webdynpro component /SAPSRM/WDC_CTR_DODC_H_BD.
I want that attribute to be accessed in the WD component /SAPSRM/WDC_DODC_CND view V_DODC_CONDITION.
So, in order to achieve the above requirement, I tried to add a node as an Interface Node in the webdynpro component /SAPSRM/WDC_CTR_DODC_H_BD. But, I am unable to create any node in the component controller of WD component /SAPSRM/WDC_CTR_DODC_H_BD as a Interface Node, and hence, I am unable to create any node of Interface Controller. This is due to the reason that the node that we are creating have the Interface Node option in disable state.
Can anybody suggest what approach we need to follow to satisfy the above requirement? (It would be great if the resolution will be containing the steps)
Regards,
Susanta

Hello,
this is the scenario.
I could populate the account name in location field now. I do have partnerno. however, i am not able to retrieve the account number. is it possible to retrieve account number by get_related_entity when i have name. If yes, please share the piece of code that has to written. I am also doubtful about where to write it. Currently i am writing code to get account name in GET_ACT_LOCATION.
More details :
I need to populate the address here.
Component - BT126H_APPT
view-BT126H_APPT/ApptDetails
Node- BTACTIVITYH Base Entity BTActivityH
attribute- STRUCT.ACT_LOCATION
details about the name i am getting curently
Component - BT126H_APPT
view-BT126H_APPT/ApptDetails
Node-BTPARTNERACCOUNT Base Entity BTPartner
attribute-PARTNERNO
Kindly tell me can i get the partnernumber from this node anyhow. if yes, please explain.
REGARDS
CHANDRAKANT

Similar Messages

  • Is there a way to copy attributes from one composition to another?

    I'm using After Effects 7.0
    I'd like to copy the same Zoom attributes from one composition to 30 photographs.
    In Final Cut, you can copy attributes from one clip to another. Or from one still photo to another.
    Is there a way to do that in AE 7?
    Thanx
    Mike

    EDIT: I see you edited your question, so I am editing my reply.
    To copy the scale of a layer, open the main twirl of that layer and you'll see the Transform properties group. Open the twirl for that, and you'll see Anchor Point, Position, Scale, etc. Click on "Scale" and copy it (Edit > Copy, or Control+C on Windows/Command+C on Mac). Then select the other layers and just paste (Edit > Paste, or Control+C on Win/Command+V on Mac).
    Such a broad question
    Anytime you add a new item you imported to the timeline or composition panels, it becomes a new layer.
    Anytime you duplicate an existing layer (Edit > Duplicate), you get a new layer.
    Anytime you split a layer (Edit > Split) you get a new layer.
    Anytime you copy a whole layer (target the name in the timeline panel) and paste it, you get a new layer.
    You also create layers when you use the Shape tools, text tools, or create a new solid layer, etc.
    This list could go on and on, so instead, I invite you to read the After Effects Help section on Creating layers specifically, and the whole chapter on Layers and properties, in general. If anything isn't clear for you, then let us know.

  • Calling Inbound Plug of one Window of one Component in another WD Component

    Hi All,
        Can anyone please tell me how to call a Window's Inbound Plug of one WD Component in another WD Component.
    Thanks in advance!
    Best Regards,
    Devyani

    Hi Devyani,
        are you calling the view (embeded in a window ) of a component 1 in component 2. If so,
    1. Define the used component(Component 1) in the using component (Component 2)
    Component Use : Comp1
    Component        : Component 1(Name of the component)
    2. On action: using component usage window, window of component can be called as a pop up window in component 2
    If this is not your requirement, let me know. i will try to help
    Regards,
    Sankar

  • Nesting .fxml component in another .fxml component using SceneBuilder

    Hello,
    Is it possible to use SceneBuilder to nest one JavaFX component into another?
    Thanks

    Yes we can do it from SceneBuilder by File-->Import--> <<select the .fxml file which you want to import>>.

  • Custom mxml component extending another mxml component

    I want to create a custom mxml component that extends another mxml component. Bacially I want structure like Group -> BaseMXMLComponent -> MyMXMLComponent. I understand that it used to be the case that trying to add child component to MyMXMLComponent would throw "Error: Multiple sets of visual children have been specified for this component (base component definition and derived component definition)." error. But i've been reading few articles that says this has been fixed in Flex 4.
    My question is.. is it an actually fixed, documented, and supported behavior of Flex 4? or just an undefined behavior that appears to be "fixed" but can change on future update?

    I dont know what is happening inside datagrid.But If
    you want to maintain a single instance you could use singleton design pattern
    read about it
    http://en.wikipedia.org/wiki/Singleton_pattern
        public class Singleton
            private static var instance:Singleton= new Singleton();
            public var userdata:*; // keep user object
            public function Singleton()
                if (instance != null) { throw new Error('Cannot create a new instance.  Must use Singleton.getInstance().') }
            public static function getInstance():Singleton
                return instance;

  • Is there a way to copy an attribute from one clip to another?

    In one of my clips, I changed the color of someones shirt, and I want to copy that to every single clip so he has that same color shirt in every clip. Is there an easy way to do this, so I don't have to manually color his shirt in every clip by hand?

    highlight the clip that you have adjusted. Right click and choose copy. Then highlight all the other clips you want to add the filter to. Right click and choose Paste attributes. A window will open asking which attributes to paste. Choose filters.
    Good Luck!

  • Read Attributes between different views in the same Component

    Hello,
    I have a attribute-D1 declared in VIEW1 and i need to read it into attribute D2 declared in VIEW2.
    I am planning to read it in DO_PREPARE_OUTPUT method of VIEW2.
    Can you please tell me how can i achieve this without having to create another context node (similar type to VIEW1) in VIEW2 and Binding it.
    Can't I just access the View Controller Class of VIEW1 to read it in VIEW2?
    Quick replies would be great.
    Regards
    Dedeepya C

    Hello again,
    I think i was not very clear in my earlier post. So il explain a bit more clearly this time-
    My requirement is to display a SEARCH+RESULT popup (view) onclick of a link; and the popup display has the result list already fetched for the SEARCH Criteria(defaulted).
    Now what i had to do was have the RESULT LIST TITLE display the number of records fetched.
    So my approach was to -
    1) READ the RESULT Size in EH_ONSEARCH of SEARCH VIEW.
    2) Form the Result Title using method  cl_crm_uiu_gen_tools=>get_result_title into a Public Ins Attribute GV_TITLE.
    3) READ the GV_TITLE from SEARCHVIEW into a local attribute in SEARCHVIEWSET (SEARCH VIEW + RESULT VIEW) LV_TITLE.
    data : lv_result_title type string,
      lv_view_controller type ref to ZL_SEARCHVIEW_IMPL.
      lv_view_controller ?= controller->get_subcontroller_by_viewname( 'Ztest/SearchView' ). "#EC NOTEXT
      if lv_view_controller is bound.
      lv_result_title = lv_view_controller->gv_result_title.
      endif.
      <thtmlb:searchFrame showSearchFields = "TRUE"
                          resultListTitle  = "<%= lv_result_title %>" >
      </thtmlb:searchFrame>
    Now, i noticed during debug, when the SEARCH Popup is triggered the 1st time, the control goes to SEARCHCVIEWSET.HTM 1st (GV_TITLE is initial at this point) and then goes to DO_PREPARE_OUTPUT where the Event Handler for SEARCH is called and where the GV_TITLE is set. Due to this the Result Tab gets the default title RESULT LIST
    Whereas the next time, when i click on SEARCH event on popup, the control 1st goes to EVENT HANDLER (where GV_TITLE is set) and then to SEARCHVIEWSET.HTM, this then sets the correct title for RESULT list.
    I need some pointers on why the control goes to SEARCHVIEWSET 1st before even DO_PREPARE_OUTPUT is called.
    How do i set the RESULT Title in the 1st instance to display the correct no. of records fetched.
    Any help would be appreciable.
    Regards
    Dedeepya

  • How to override attributes of one class into another class in OOPS ABAP

    I was trying to override attribute(data memeber) defined in super class into subclass ,
    but I didnt find any solution to that.
    Please tell me ho to do that?
    Ex
    Class ABC definition
          Public section
             data : x type i.
       end class
    Calss XYZ definition inheriting from ABC.
        Publec section.
           data : x type  i.                                            <<----
    here is the problem
    endclass.

    when you define a subclass all the properties of superclass are inherited into class.
    You dont need to define it again.
    data : x type i " delete this line.
    Object of your subclass will be able to recognize x.
    Regards,
    Lalit Mohan Gupta.

  • How to call mxml component in another mxml component

    I have added submenu in menu bar in adobe Flex.
    For Example : Menu A has submenu A1 A2 A3 like that, right now Submenu is not performing any action.
    I want  to open a new mxml  page on click of  submenu A1 in the same frame .Please suggest me how to achieve it
    Simply, I want to to have a MENU BAR just like in any website, with submenus  and on click of each submenu  items, it should navigate to other page .
    Regards,
    Gaurav

    If the functionality you need is self-contained within the component, you can dispatch generic event to the main application, and over there define the handler function.
    If you need more specific interaction triggered by the component, you have to create custom event Class and then dispatch custom event.
    I believe there are some clear tutorials in Flex in a week: http://www.adobe.com/devnet/flex/videotraining/?devcon=f2
    HTH,
    FTQuest

  • How to handle the date attribute,passing parameter from one page to another

    hi Friends,
    i want to pass data attribute from one page to another page-
    i am passing like below ,in jdev log window i am getting below error.
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate");
    params.put("StatusUpdateDate",StatusUpdateDate)
    Error(121,50): incompatible types; found: java.lang.Object, required: java.lang.String
    Suppose i am passing like below , while moving one page to another i am getting below error in application
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString()
    Status Update Date - JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value:26-MAR-2009
    please can any suggest me how to handle this error.
    Thanks and Regards,
    vamshi

    Hi Pratap, Thanks for your help
    it was my mistake that previously property it was varchar2, now i have changed as you suggested every thing. still i am getting error. this is my code-
    AM CODE-
    public void xxselection(String Name, String Email,String Product,String Region, DATE StatusUpdateDate)
    DetailVOImpl vo1=getDetailVO1();
    vo1.initQuery2(Name);
    Row detailRow = vo1.createRow();
    detailRow.setAttribute("Name", Name);
    detailRow.setAttribute("Email", Email);
    detailRow.setAttribute("Product", Product);
    detailRow.setAttribute("Region", Region);
    detailRow.setAttribute("StatusUpdateDate", StatusUpdateDate);
    vo1.last();
    vo1.next();
    vo1.insertRow(detailRow);
    detailRow.setNewRowState(Row.STATUS_INITIALIZED);
    Controller- Process Form Request- Source page
    if (pageContext.getParameter("Detail")!= null)
    String Name=row.getAttribute("Name").toString();
    String Email=row.getAttribute("Email").toString();
    String Product=row.getAttribute("Product").toString();
    String Region=row.getAttribute("Region").toString();
    DATE StatusUpdateDate =(DATE)row.getAttribute("StatusUpdateDate");
    HashMap params =new HashMap();
    params.put(" Name", Name);
    params.put("Email",Email);
    params.put("Product",Product);
    params.put("Region",Region);
    pageContext.putTransactionTransientValue("StatusUpdateDate",StatusUpdateDate); //As you suggested
    pageContext.forwardImmediately("OA.jsp?page=/xxm/oracle/apps/pos/stg/webui/DetailStagePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    another page Controller-Process request-Destination page-
    String Name = pageContext.getParameter("Name");
    String Email = pageContext.getParameter(" Email");
    String Product = pageContext.getParameter("Product");
    String Region = pageContext.getParameter("Region");
    DATE StatusUpdateDate=(DATE)pageContext.getTransactionTransientValue("StatusUpdateDate");
    Timestamp tstmpStatusDate=StatusUpdateDate.timestampValue();
    System.out.println("tstmpStatusDate"+tstmpStatusDate);
    Serializable[] parameters1 = {Name,Email,Product,Region,tstmpStatusDate};
    am.invokeMethod("xxselection", parameters1);
    Error - getting at while running the application page to page
    No method with signature - No method with signature - xxselection(class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String)
    every thing is getting passed except DATE Attribute, please check the code and update me
    Thanks in Advace-
    vamshi

  • Passing data row-wise from one VO to another.

    Hi,
    I am a ADF newbie so I have a slight issue which I am not able to resolve.
    I need to pass data from table t1 to table t2 which I am able to establish by creating viewlink between the two. But each time I press the 'CreateInsert' button for the VO made for t2,I need a different value to be passed. Basically, I need to pass values rowwise from t1 each time the user clicks the 'CreateInsert' button for t2 VO.
    Eg. If there is an itemCategory table which contains the attributes for an item such as Expiry Date,Food Code,Type of food then for the itemFood, each time I click the 'CreateInsert' button, a new row should be created where attributeId has to be passed one by one i.e. on first click Expiry date should be passed, 2nd click food code should be passed so that based on these attributes,corresponding attribute values for itemFood can be entered in the itemFood table.
    How can I achieve this in ADF? Is there an alternative way where instead of clicking the 'CreateInsert' button, attributeids cn be passed from itemCategory to itemFood?
    Any help in this case is highly appreciated.
    Thanks & Regards,
    Chaya

    Is it possible to pass multiple values for same attribute from one table to another using viewlink?
    eg. If there are 2 tables- FoodAttributes which contains the type of food and the attributes associated with it.
    say,Type -Vegetable, Non-veg, Fruits then for vegetables,attributes can be weight,leafy,etc.
    Another table is FoodTable where we have food specific attribute which contains name of food ,attributes associated with it and the values for those attributes, like cabbage is name, attributes associated with it are leafy,weight and in values we specify leafy as yes and its weight in kg. So I need to pass the attribute names from 1st table to 2nd table. Please suggest a way to do this.

  • Can you paste ALL video attributes with one click?

    When copying motion attributes from one clip to another,
    is there a way of selecting all the video attributes in one shot to paste
    to the next clip, instead of having to check each individual box in
    the paste attributes dialogue?

    Darn, but thanks.

  • Read GUID of profile set in another component

    Hi,
    I am trying to read GUID of one component into another. Read it like this: This is marketing scenario where we create segments. Each segment has a GUID attached to it but component SEGED_SET which is meant for segments has no such attribute.
    How system is reading GUID for a segment:
      wa_object-object_id   = lo_entity->get_key( ).
      wa_object-object_name = lo_entity->get_name( ).
      CALL METHOD cl_crm_genil_container_tools=>get_key_from_object_id
        EXPORTING
          iv_object_name = wa_object-object_name
          iv_object_id   = wa_object-object_id
        IMPORTING
          es_key         = lv_guid.
    And it works.
    Now we have another component SEGED_NOTE which is used by SEGED_SET. I need to read GUID of segment in this component. I put following code:
      lo_entity ?= me->collection_wrapper->get_current( ).
      CHECK lo_entity IS BOUND.
      lo_parent ?= lo_entity->get_parent( ).
      CHECK lo_entity IS BOUND.
      wa_object-object_id   = lo_parent->get_key( ).
      wa_object-object_name = lo_parent->get_name( ).
      CALL METHOD cl_crm_genil_container_tools=>get_key_from_object_id
        EXPORTING
          iv_object_name = wa_object-object_name
          iv_object_id   = wa_object-object_id
        IMPORTING
          es_key         = lv_guid.
    But issue here is that lv_guid is not filled as this method reads data from buffer and currently buffer has data only for SEGED_NOTE and not for its parent entity. Please note that object name and object id were correctly retreived.
    Is there any other way to read this GUID?
    Regards,
    Shikha

    Hi Shikha,
    Declare an atrribute in Component Controller and use this to exchange the value from one component to another.
    Read the GUID in the GET Method of any displayed attribute using the +ifbol_property_access ( Class/ Interface ) using the GET_property Method.+_
    Regards,
    S John

  • How to read URL parameters of one wdp component into other WDP component?

    Dear Experts,
    Can anyone let me know how to read URL parameters of one wdp component into other WDP component?
    My requirement is i have one standard WDP component with 3 URL parameters and i needto
    read that URL parameters along with their values in my Z-WDP component.
    Thanks
    SK

    Hi Santosh,
    You can read parameters send from one WebDynpro Component to another component by adding code in "HANDLEDEFAULT" Event Handler method ( Window )of your target Web Dynpro Component.
    data: lt_parameter             type tihttpnvp,
             ls_parameter             type ihttpnvp.
    lo_api_controller ?= wd_this->wd_get_api( ).
       call method lo_api_controller->get_message_manager
         receiving
           message_manager = lo_message_manager.
       clear : ls_parameter.
       refresh : lt_parameter[].
    * Read all URL parameters
       wdevent->get_data( exporting name = if_wd_application=>all_url_parameters importing value = lt_parameter ).
    if not lt_parameter[] is initial.
         clear : ls_parameter.
         read table lt_parameter into ls_parameter index 1.
         if ls_parameter-name = 'ACTION' and
            ls_parameter-value is initial.
           lv_flag = 'X'.
           clear : lo_msg.
           lo_msg = 'Action Parameter Missing in URL Link !'.
    *         report message
           call method lo_message_manager->report_error_message
             exporting
               message_text = lo_msg.
         else.
         endif.
    Best Regards
    Priyesh Shah

  • How do I copy and paste vector art from one layer to another, keeping all of its attributes?

    When I copy a vector shape from one layer to another, the shape picks up the color attributes of an existing shape in the second layer (or sometimes only the outline of the shape appears). What to I do to avoid this from happening (I just just want to paste the shape in its original form and color)?

    OK - I guess this is a little more difficult than I imagined...
    Merge Layers rasterizes all the vector shapes - I want all the shapes to stay as vectors in the second (pasted) layer.
    Merge Shapes changes the color of the copied vector shape - I don't want to change the color
    Shape Layer via Copy [Ctrl] +[J] copies the layer containing the vector shape, but doesn't paste it into the second layer
    Any other ideas? Or, is it possible that PhotoShop doesn't support varied colored vector shapes on the same layer? I am coming from an InDesign background, and there was no issue having many different (colored) vector objects on the same layer.

Maybe you are looking for

  • Darwin streaming server

    I can't find a discussion area dedicated to Quicktime or Darwin Streaming Server technologies, so since I am working on a MacBook Pro I'll put my initial question here... if anyone wants to direct me to a more appropriate forum, please do! The proble

  • X201 DVD Recovery to USB Key

    Hi, is there a way to move DVD Recovery disks into a single USB Key? my X201 came with 32 bit win 7 pro but it doesnt support 8gb ram and i plan to get 64 bit recovery disks from lenovo but X201 doesnt have CD-DVD Drive as you know and i dont want to

  • Billing quantity data in CIC0 transaction

    HI Gurus,   I would like to know how the billing data is stored in CIC0. When I searched previous threads, I came to know that Billing data is stored in CRMD_BILLING table and header data in CRMD_ORDERADM_H table. But when i checked my system, i didn

  • Subtotal in Financial Reporting 9.3.1

    Hi, Can I, with Financial Reporting 9.3.1, group a range of data and sum these values? For example, I have a dimension, "Area", with a member "Region" and below "Region 1", "Region 2" -. Every Region has children and in same case one or more children

  • Mail Merge Output Order

    When doing a mail merge in Pages from Address Book, there seems to be no order to the way the mail merge is outputted. I would really like my lists to be outputted in order of last name alphabetically. Is there a way to do this I'm not aware of?