View of one component need to be used in another component.

Hi Experts,
I have created a view in component  BP_DATA . I want to use this view in component "BP_HEAD". Can anyone please help me with the steps needed to make the view available in  BP_DATA. Do i need to do any type of binding for this.

Hello Ansal,
For using BP_DATA/yourview in component BP_HEAD, first you will have to expose BP_DATA view in component interface. Then you can access that view in BP_HEAD by creating component usage. Once you add the view of BP_DATA in component usage of BP_HEAD, it will be available as a normal view in this component.
-Regards

Similar Messages

  • Add View of one component in another component

    HI All,
    I need to show view "TextView" of component SRQM_NOTES in component BT116IT_SRVO.
    That is: i would like to show text for each Item of a particular order.
    How can I do that?
    Add View to a certain ViewSet / Change a configuration / add view to the Window... or what not???
    Please help here.. I need it.. THANKS, Johannes

    Hi there,
    Your requirement is simple though lenghty to implement. Following is the solution :
    You have not mentioned in which view you would like to get the text.Let it be.
    1. Add SRQM_NOTES as a component usage in BT116IT_SRVO. For this, first enhance BT116_SRVO. Then in its runtie repository, right click on component usage-> ADD . Lets name it UCSRQM_NOTES, then give compoent SRQM_NOTES and interface view ( use f4 ) SRQM_NOTES/MainWindow . Save the repository.
    2. right click on ViewSet BT116IT_SRVO/ItemTableVS  ( i assumed this. you do F2 on web ui to find out exact view and then proceed with this set in the viewset contating that view.
    Say Add Vieware. Lets name it ItemNotes. after view area is created, right click & say add view.Use F4 and select UCSRQM_NOTES.SRQM_NOTES/MainWindow . Save the repository.
    Repository work is over.
    3. Now go to BT116IT_SRVO/ItemTableVS  . click on config tab. do the configuration and add the newly created viewarea in the configuration. save the configuration.
    This completes adding the view from SRQM_NOTES to BT116IT_SRVO.
    4. Now, you will also need to see the text for the item selected. for this we will need to do the context node binding.
    For this, go to the component controller class of BT116IT_SRVO & redefine the method WD_USAGE_INITIALIZE.
    First give the call to super and later code following
    CASE iv_usage->usage_name.
        WHEN 'UCSRQM_NOTES'.
    * bind single item component usages
          iv_usage->bind_context_node( iv_controller_type  = cl_bsp_wd_controller=>co_type_component
                                       iv_target_node_name = 'BTADMINI'
                                       iv_node_2_bind      = 'BTADMINI' ).
      ENDCASE.
    Now you are ready to test on UI !!
    Hiope this helps.
    Thanks & Regards,
    Suchita

  • Can you have one calendar you for personal use and another for sharing

    I have my personal calendar, but I need another calendar for business purposes I need to share with the ability of both parties to view and add events.  Is this available to MAC users?

    Definitely! 
    iCloud: Share a calendar with others

  • Activated iphone on one computer and now cant use on another

    I was in Michigan for a couple of months and that is where I bought my iPhone in July. I activated it on my friend's computer up there and now my home computer in Georgia will not even recognize my iPhone when I connect it. I have tried erasing all data.

    Not entirely sure about iPhoto as I don't have a mac, but when syncing from folder(s) only the contents of the most recent sync will be on the iPad - but I assume that iPhoto will be the same and will therefore remove the previous sync before putting the ones on. He also won't be able to copy them off before syncing as you can only do that with photos loaded via the camera connection kit or saved from emails/websties.
    This article has some general info on syncing photos http://support.apple.com/kb/HT4236

  • Query regarding passing of flag value from one component to another.

    Hi all,
        I need to pass a flag value of type CHAR1 from one view of one component to another view of a different component. Any ideas?

    Hi,
    You can use the Global Data Context Parameters which you can define in SPRO->IMG->CRM->UI Framework->Tech Role Def->Define Global Data Context Parameters.
    You can set the value wherever you want and read the same in the other component using the below similar code.
    * Setting the value using GDC
      CALL METHOD lr_gdc->set_data_attribute
        EXPORTING
          i_value = value
          iv_name = 'ZSTARTDATE'.
    *Reading GDC data
    DATA: lr_gdc       TYPE REF TO if_crm_ui_data_context.
    lr_gdc = cl_crm_ui_data_context_srv=>get_instance( me ).
                CALL METHOD lr_gdc->get_data_attribute
                  EXPORTING
                    iv_name = 'ZSTARTDATE'
                  IMPORTING
                    e_value = lv_sdate.
    * Here ZSTARTDATE is the GDC parameter defined in spro
    Hope it would be helpful
    Regards,
    Shobhit

  • Lost laptop skype is being used by another what ca...

    Please advised, someone is using my skype , how can I find this out

    Most likely, you're getting a network address from your router. The address assignment ("lease") expires, and has to be renewed, after a certain amount of time, which might be one hour or one day. The lease expired without being renewed because the device was offline at the time. Meanwhile, the address was leased to another device on the network. When the first device comes back online, it still has the address that's now also leased to the second device. Depending on what kind of router you have, the conflict may resolve itself automatically. If not, then from the menu bar, select
               ▹ System Preferences ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the TCP/IP tab. Now look at the menu labeled Configure IPv4. If the selection in that menu is Using DHCP, click the button labeled Renew DHCP Lease. Test.
    Less likely, you have a network address that you assigned yourself, and another device is assigning itself the same address. In that case, the selection in the Configure IPv4 menu will be either Manually or Using DHCP with manual address. This kind of conflict won't be resolved automatically. You have the following options to resolve it:
    Change the menu selection to Using DHCP.
    Change the manually-assigned address to one that isn't being used by another device.
    Change the address of the other device.
    Which of these options you should choose depends on the details of why you're using a static IP address. Any change you make to the network settings must be applied before it takes effect. To do that, click OK and then Apply.

  • Ip being used by another device? What does that mean?

    An error message popped up saying another device has been using my ip address. What exactly does this mean, and how can I fix this? Please help.

    Do you have another computer, iPhone/Pad/Pod? This is usually no problem.
    Usually if you enable your router for Automatic (DHCP) IP address distribution, your device's IP address on your local area network will change without you knowing.
    By Linc Davis
    Most likely, you're getting a network address from your router. The address assignment ("lease") expires, and has to be renewed, after a certain amount of time, which might be one hour or one day. The lease expired without being renewed because the device was offline at the time. Meanwhile, the address was leased to another device on the network. When the first device comes back online, it still has the address that's now also leased to the second device. Depending on what kind of router you have, the conflict may resolve itself automatically. If not, then from the menu bar, select
     ▹ System Preferences ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the TCP/IP tab. Now look at the menu labeled Configure IPv4. If the selection in that menu is Using DHCP, click the button labeled Renew DHCP Lease. Test.
    Less likely, you have a network address that you assigned yourself, and another device is assigning itself the same address. In that case, the selection in the Configure IPv4 menu will be either Manually or Using DHCP with manual address. This kind of conflict won't be resolved automatically. You have the following options to resolve it:
    Change the menu selection to Using DHCP.
    Change the manually-assigned address to one that isn't being used by another device.
    Change the address of the other device.  
    Which of these options you should choose depends on the details of why you're using a static IP address. Any change you make to the network settings must be applied before it takes effect. To do that, click OK and then Apply.
    This happens to me all the time and has never been a problem.

  • Your iCloud account is being used with another device (200+ iPads)

    Hello!
    I work at a school and currently manage 200+ iPads, we use 1 iCloud account to keep a track of them, I have all backup services switched off and they purely use it for the 'find my iPad/phone' section on iCloud.
    However, since iOS 8, a lot of these iPads display the message 'Your device is currently also being used on device studentiPad001' then when a student presses ok, it will pop up again with another iPad name it is being used on, it won't list all iPads that it is currently on but it will repeat this for at least 3-5 minutes.
    I thought this would only happen the once after the update but it just picks random times to do it and random iPads, I will soon have to remove the iCloud account from the iPads as it is becoming a massive inconvenience.
    Are there any other ways I can physically track the iPads or get rid of this notification?
    Thanks!

    Most likely, you're getting a network address from your router. The address assignment ("lease") expires, and has to be renewed, after a certain amount of time, which might be one hour or one day. The lease expired without being renewed because the device was offline at the time. Meanwhile, the address was leased to another device on the network. When the first device comes back online, it still has the address that's now also leased to the second device. Depending on what kind of router you have, the conflict may resolve itself automatically. If not, then from the menu bar, select
               ▹ System Preferences ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the TCP/IP tab. Now look at the menu labeled Configure IPv4. If the selection in that menu is Using DHCP, click the button labeled Renew DHCP Lease. Test.
    Less likely, you have a network address that you assigned yourself, and another device is assigning itself the same address. In that case, the selection in the Configure IPv4 menu will be either Manually or Using DHCP with manual address. This kind of conflict won't be resolved automatically. You have the following options to resolve it:
    Change the menu selection to Using DHCP.
    Change the manually-assigned address to one that isn't being used by another device.
    Change the address of the other device.
    Which of these options you should choose depends on the details of why you're using a static IP address. Any change you make to the network settings must be applied before it takes effect. To do that, click OK and then Apply.

  • What exactly does "your IP address is being used by another device"

    everything is in the question, I recently had to deal with hacking attempts by e-mail, that's why I pay attention
    thank you

    Most likely, you're getting a network address from your router. The address assignment ("lease") expires, and has to be renewed, after a certain amount of time, which might be one hour or one day. The lease expired without being renewed because the device was offline at the time. Meanwhile, the address was leased to another device on the network. When the first device comes back online, it still has the address that's now also leased to the second device. Depending on what kind of router you have, the conflict may resolve itself automatically. If not, then from the menu bar, select
               ▹ System Preferences ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the TCP/IP tab. Now look at the menu labeled Configure IPv4. If the selection in that menu is Using DHCP, click the button labeled Renew DHCP Lease. Test.
    Less likely, you have a network address that you assigned yourself, and another device is assigning itself the same address. In that case, the selection in the Configure IPv4 menu will be either Manually or Using DHCP with manual address. This kind of conflict won't be resolved automatically. You have the following options to resolve it:
    Change the menu selection to Using DHCP.
    Change the manually-assigned address to one that isn't being used by another device.
    Change the address of the other device.
    Which of these options you should choose depends on the details of why you're using a static IP address. Any change you make to the network settings must be applied before it takes effect. To do that, click OK and then Apply.

  • Reading the data from one component view into another component view

    Hi All,
    I have requirement to read the data from one component into another component while creating the service order. Here are the details.
    Main View for Service order: BT116H_SRVO in that we have two assignment blocks like Organizational data(BTORGSET) and amount allocation(BTAMNTALL).This two blocks are two different component which are associated with main component(BT116H_SRVO).
    I need to read the sales org data from component/View(BTORGSET/Orgsetdata) into Component/View(BTAMNTALL(HdrBillPlanDet) method DO_VALIDATE_INPUT.
    I searched in SDN but all the posts are related to the data exchange between two views in same component. But My scenario is different as explained above.
    Refer the attachments for the component link..
    Please let me know how we can achieve this one..
    Thanks,
    Sapsar.

    Finally I was able to fix my code...My Mistakes were need to read the parent node above three levels and need to use the relation entity name while reading the data..
    Below is the correction code
    IF iv_index IS NOT INITIAL.
         lr_iterator ?= collection_wrapper->get_iterator( ).
         lr_current ?= lr_iterator->get_by_index( iv_index ).
         lr_entity ?= lr_iterator->get_by_index( iv_index ).
       ELSE.
         lr_current = collection_wrapper->get_current( ).
       ENDIF.
    *loop back to root entity
             WHILE lr_entity->get_name( ) NE 'BTAdminH'.
               lr_entity = lr_entity->get_parent( ).
             ENDWHILE.
    *Get the related entity
             IF lr_entity IS BOUND.
               lr_collection ?= lr_entity->get_related_entities( iv_relation_name = 'BTHeaderOrgmanSet' ) .
               IF lr_collection IS BOUND.
                 lr_orgset_m = lr_collection->get_current( ).
    *            lr_orgset = lr_orgset_m->get_related_entity( iv_relation_name = 'BTOrgSet' ).
                 lr_orgset = lr_orgset_m->get_property_as_string( 'SALES_ORG' ).
               ENDIF.
             ENDIF.
    Thanks,
    Sapsar.

  • Need help in creating a view with Encryption for hiding the code used by the multiple users

    Hi,
    Can anyone help me out in creating view with encryption data to hide the stored procedure logic with other users.
    I have create a stored procedure with encryted view but while running this manually temporary views are getting created, therefore the problem is if there are 500 entries then 500 temp views will get created.
    Any solution to aviod creating temporary views, please refer my code below
    USE [etl_validation]
    GO
    /****** Object:  StoredProcedure [dbo].[Pr_DBAccess_mod]    Script Date: 05/23/2014 12:53:22 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[Pr_DBAccess_mod](@ETL_CONFIG_ID INT)
    AS
    BEGIN
    DECLARE @openquery NVARCHAR(MAX),
     @DATABASENAME NVARCHAR(100),
     @HIERNAME NVARCHAR(100),
     @TABLENAME NVARCHAR(100),
     @SERVERTYPE NVARCHAR(100),
     @SERVERNAME NVARCHAR(100),
     @USERNAME NVARCHAR(100),
     @PASSWORD NVARCHAR(100),
     @ETL_CONFIG_IDN NVARCHAR(100);
     SET @ETL_CONFIG_IDN=CAST(@ETL_CONFIG_ID AS NVARCHAR);
     SET @TABLENAME='Department';
     SET @SERVERTYPE='SQL';
     SET @SERVERNAME ='192.168.31.176';
     SET @DATABASENAME='AdventureWorks2008R2';
     SET @HIERNAME = 'HumanResources';
     IF @SERVERTYPE='SQL'
     BEGIN
    /*SET @openquery= 'SELECT * INTO ##TestTable
                     FROM OPENROWSET(''SQLNCLI'',''server=192.168.31.176;Trusted_Connection=yes;'','''+@query+''')'
    SET @openquery=  'CREATE VIEW '+@TABLENAME+@ETL_CONFIG_IDN+
                     ' WITH ENCRYPTION AS SELECT * FROM OPENROWSET(''SQLNCLI'',''SERVER='+@SERVERNAME+';TRUSTED_CONNECTION=YES;'',''SELECT * FROM '+@DATABASENAME+'.'+@HIERNAME+'.'+@TABLENAME+''')'
    SELECT @openquery
    END
    EXECUTE sp_executesql @openquery
    END

    Hi aa_rif,
    According to your description and code message, you execute the sp_executesql statement in your stored procedure, it indeed create many views with a tablename and ETL_CONFIG_ID named. If you need not to use these temporary views, you can delete them when
    it contains the tablename in one view name.  
    In addition, if you want to create view with encryption in SQL Server, you can use directly the ENCRYPTION option to encrypt the T-SQL of a view in create view commands, for more information, see:
    http://learnsqlserver.in/4/Create-View-With-Encryption.aspx. if not, you can descript more detail about requriements, so that more forum members can involve into the thread and help you
    out. 
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Create a button in one component and use it in other component

    Hello, I have a problem(is not the first time but I don't have very clear that problem and I'm asking again). I'm creating a button in one component doing that
    Comp1:
    public var btn=Button;
    override public function main(args:IParams):void{
         var btn = new Button
        btn.label = ....
    And now I want to use this button in another component:
    Comp2:
    private var dia:Object; //It's my own object, it's a Dialog but with my properties,a dn the dialog need (button,string,boolean)
    private function onClick(event:Event):void{
                    dia = new Object(HERE I HAVE TO PASS THE BUTTON , "Tittle", false);
    I want know how can use the button that I have declared in the first component in my object. It's much more complicate but I have tried simplify my code.
    I hope that somebody can help me.
    Thanks!

    I'm sorry, probably I'm explainign wrong, I don't know if it's for my english or because I don't know how to say, but this is not the problem. I will put the code because I think that ou could understand better. Forget the buttons, the problem is the window parameter
    I'm very sorry because you're wasting time with me, but I hope that you can do the last try now with the code. If you don't understand something ask me before start thinking.
    MyModule
    <?xml version="1.0" encoding="utf-8"?>
    <AbstractVisualModuleExecutable
        xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Script>
            <![CDATA[
                private var win:ITopComponent; //MY window
                private var dia:Dialog; //My Dialog
                override public function main(args:IParams):void{
                    win = initContext.environment.createTopComponent();
                    win.title = "Prueba Dialog"
                    win.contentPane = this;
                    win.visible = true;             
                private function onClick(event:Event):void{
                    dia = new Dialog(win, "Title", false); ((Here I use the window, because I have to say to the dialog who is her father. Win is the father or the dialog, the dialog will create when I do click in one button of my window(the father).
                    var btn2:Button = new Button();
                    btn2.label = "Cerrar";
                    btn2.addEventListener(MouseEvent.CLICK, function(event:Event):void{
                        dia.dispose();
                    dia.contentPane.addChild(btn2);
            ]]>
        </mx:Script>
        <mx:Button id="btn" click="onClick(event)" label="Dialog" />
    </AbstractVisualModuleExecutable>
    Now I want to divide this applicatión in one module and one component.
    MyNewModule (something like this):
    <mx:Script>
            <![CDATA[
                private var win:ITopComponent;
                private var dia:Dialog;
                //Here I create the window
                override public function main(args:IParams):void{
                    win = initContext.environment.createTopComponent();
                    win.title = "Prueba Dialog"
                    win.contentPane = this;
                    win.visible = true;               
    </Script>
    MyNewComponent (something like this):
    <Script>
              private var dia:Dialog;
             Here the instance of win I supose, but I don't know how. I have tried more than one thing
              private function onClick(event:Event):void{
                    dia = new Dialog(here the win, "Title", false); //here I want to use the win that I have created in MyNewModule, but I only get a null when I execute the module. I don't know how can I do, instance.top or something like this I suposse it.
                   //This part is not important
                    var btn:Button = new Button();
                    btn.label = "Cerrar";
                    btn.addEventListener(MouseEvent.CLICK, function(event:Event):void{
                        dia.dispose();
                    dia.contentPane.addChild(envio); //here I add the content of the dialog
                    //dia.contentPane.addChild(btn); //here I add only a button without content, but don't worry about that, like I said later this is not important. The import thing is how can I use win when I create the dialog.
                    dia.visible = true;
    </Script>
    <mx:Button id="toOpenDialod"  label="Open"  click="onClick(event)"/>
    THANKS!

  • How to Use views of one report to other reports

    I have so many reports with same views like static text, header & footer .
    My question is: I have created these views on some reports which are same to all reports as i said. Now i want to use these views from the existed reports without creating once again which takes long time to ensure that size and color everything should be same for all reports for those views.
    Can any body give an idea how to make use the views of one report to other reports...?
    Thanks & Regards
    G. Kishore.

    Hi...
    I have achieved using Headers & Footers in another report through import formatting from another analysis option presents in compound layout view.
    But i unable to get the remaining views like static, Legend....etc. into another reports....
    Can anybody help me in doing this...
    Thanks & Regards
    G. Kishore

  • Can i use my creative cloud membership on laptop and desktop? Or is one membership needed for each device?

    Can i use my creative cloud membership on laptop and desktop? Or is one membership needed for each device?

    Yes you can!

  • I want to transcribe one audio file of a lecture into text. I don't have a need for extended use so can anyone recommend how to do this free? Thanks

    I want to transcribe one audio file of a lecture into text. I don't have a need for extended use so can anyone recommend how to do this free? Thanks

    Mike,
    I was successful, in a test I just conducted, to get Siri to record your problem statement in a Note file on the iPod as I used the Edit > Speech feature in Safari to play the text. I don't see why dictation wouldn't work as well. Why not give it a try?
    If you don't have an iOS device to try this with, you could write your audio file to a CD and use an external player to get audio to the Mac.
    Jerry

Maybe you are looking for

  • Backing up iPhoto from iMac to Macbook

    Is there a way to copy my photos in their original events from my iMac to my laptop please? Both have iPhoto 09. I've put them on a USB drive but this loses the events as they appear as a long list of jpegs, so can I do it directly from one computer

  • Differcence between  2-tier and 3-tier

    hiii,       diff between 2-tier and 3-tier sap architecture??

  • Changing the Global Control of Extended Classic Scenario

    Hi, We are implementing a duplicate scenario, where for a certain product category we will use classic scenario (Only contracts on SRM) and for the others ext. classic scenario (contracts,requisitions and PO's on SRM). I activated the ext classic sce

  • Opening tree node

    Hello , I have a requirement that is very similar to one of the sample applications of Flex adobe. The sample example is the component explorer and can be viewed from this link. http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html In

  • How do i eliminate in downloaded forms "FORMTEXT" so i can print them

    How do I eliminate in downloaded forms "FORMTEXT" which is in areas that i would fill in manually by hand. When I print they have that in the space. Thanks