Create another object using the same container generated by a split...

Hi SapGears!
I'm facing a problem about creating an object using a splited container.
I split the container A in containers A1 and A2 and create alv in A1 and html in A1.
After that, i need to create a toolbar buttons using the class cl_gui_toolbar in A2 without need to recreate all again.
I Try to call method free( ) and recreate the object, but the container A2 appears in blank.
any help will be very nice!!!

I would try different solution. Split A2 into two new rows B1 and B2. In B1 set your toolbar, in B2 your alv. By default set B1 cell hidden
"suppress splitter bar
CALL METHOD gr_splitter_cont->set_row_sash
    EXPORTING
      id    = 1
      type  = gr_splitter_cont->type_movable
      value = gr_splitter_cont->false.
"show only alv in entire cell
  CALL METHOD gr_splitter_cont->set_row_height( id = 1 height = 1000 ).
Now when you request for toolbar display only that cell
    CALL METHOD gr_splitter_cont->set_row_height( id = 1 height = 0 ).
A kind of workaround but you will avoid much troubles.
Regards
Marcin

Similar Messages

  • How to create an object within the same class???

    hi im just a newbie
    i v been always creating an object from the main class..
    but how to create an object inside the same class??
    i got main and students class
    the main got an array
    Students[] stu = new Students[]
    and i got
    stu[i] = new Students(id,name);
    i++;
    but i wanna do these things inside the Students class..
    i tried ..but i got errors.....
    how to do this
    .

    javaexpert, :)
    I really have no idea what you are trying to do since you say you've always been creating an object from the main class, yet you always want to create an object inside the same class.
    I'll assume that you have an object in the main class that you are trying to access from the Students class.
    If you are trying to access objects that are contained within the main class FROM the Students class, then know that there are two ways of doing so, one being static, and the other dynamic (look up definitions if unclear):
    1.) make the objects in the main class both static and public and access the the objects using a convention similiar to: Main.object; It's important to note that Main is the name of your main class, and object is a static object. There are better ways of doing this by using gettter/setter methods, but I'll omit that tutorial.
    2.) Create a new instance of the main class and access the objects using a similiar fashion: Main myInstance = new Main(); myInstance.myObject;
    You should really use getter and setter methods but I'll omit the code. In terms of which approach is better, step one is by far.
    I don't mean to be condecending, but you should really brush up on your programming skills before posting to this forum. This is a fundamenetal concept that you will encounter time and time again.

  • JMS message from one application to the another appl in the same container?

    I have a question.
    Can I send JMS message from one application to the another application in the same container?
    If yes ...can you provide me info.
    I want to know in regards of EJB2.0 and EJB3.0.
    Thanks,
    Rahul

    So the receiver application is a Message Driven Bean, right?
    In your container, do you have a mean to ensure that it is correctly configured to listen the desired destination? Like an administrative console that would show the destinations, the number of pending messages, the number of active consummers...?
    btw what is the destination type? A queue or a topic?

  • How do i change my iPhone to another iPhone using the same sim but keep all my photos ands everything?

    How do i change my iphone to another iphone using the same sim but keep all my photos and everything?

    Old Phone to New Phone
    http://support.apple.com/kb/HT2109

  • Is it possible to uninstall Adobe Premiere Elements 13 from one computer and put it on another PC, using the same serial number?

    I had installed Adobe Premiere Elements 13 on my laptop, which is slow. Is it possible to completely remove the program from my laptop, and reinstall it on another PC, using the SAME installation disc?

    Tomquer
    If all you have is the Premiere Elements 13 purchased activated serial number on one Windows computer, you can go ahead and do nothing else but install the program from the disc on the second Windows computer with the same purchased serial number.
    That will leave you with the purchased activated serial number on two of your computers.
    Adobe allows you the same purchased activated serial number on no more than 2 of your computers. So, nothing to do but to use one at a time.
    Lots of scenarios beyond.
    1. Deactivate Premiere Elements 13 from computer 1. Do not bother to uninstall. Deactivation is not the same as uninstall.
    To deactivate, in an opened Premiere Elements 13 project, go to Help Menu/Sign Out. Close out of there.
    Then do nothing, leave the program in the deactivated/installed state.
    2. Deactivate and Uninstall Premiere Elements 13 from computer 1.
    Any questions or need clarification, please let us know.
    Thanks.
    ATR

  • How can I delete my apple id and create another one with the same email?

    How can I delete my apple id and create another one with the same email?

    So sorry; somehow I forgot to provide the link.   Here it is ...
    Frequently asked questions about Apple ID
    Again, my apologies.

  • How to cancle the previous apple ID and creat another one for the same ipad mini

    Please advise how to cancle the previous apple ID and creat another one for the same ipad mini.
    Thank you.

    You can log out of an account (you can't 'cancel' an account) by tapping on it in Settings > iTunes & App Store - any content that you downloaded with that account will remain tied to that account. You can then create a new account via the Create New Apple ID button on that screen. If you don't want to give credit card details then follow the instructions on this page when creating the new account : http://support.apple.com/kb/HT2534

  • Question about multiple resource objects using the same OID target account

    In Oracle Identity Manager 11g with OID connector as a target system.
    Is it possible to create multiple resources that use the same OID IT Resource. Each resource is responsible for provisioning certain OID attributes of the same OID account. For example 'OID User' would provision the basic account and a separate resource called 'Department1 User' would provision attributes not provisioned by OID User.

    Yes, definitely. Here is how it would work:
    - You would have to make sure that the resource OID User always gets provisioned first, so that the account exist when these additional attributes are being set for the user via the other resource Department1 User. You can do this with Resource Dependency in OIM.
    - Now for using the same IT Resource, just create the new form and in the IT Resource type form field, map the properties to the same IT Resource Definition, so when the Provisioning Process gets invoked it uses the same IT Resource instead.
    Thanks
    SRS

  • How can i transfer one song off one iphone and put it on another iphone using the same itunes

    hi, me and my mum use the same itunes, my iphone and her iphone. they are both authorised. i bought a song on my phone, and my mum wants it too but itunes wont let me transfer it off my phone onto hers. what can i do

    Open itunes, connect iphone, click File>Transfer Purchases
    Then sycn the song to your moms iphone from the computer

  • How can I transfer all my mail and mail boxes to another computer using the same Mac OS 10.7.5?

    I have 2 computers with the same OS 10.7.5. How can I transfer all my Mail & Mail boxes from one to the other?

    Hello Gene,
    It sounds like you would like to transfer your mail and mailboxes from one computer to another.  I recommend exporting the mailboxes from one Mac and then importing them to the destination Mac.  You can find steps in the following articles:
    Lion Mail: Export mailboxes
    http://support.apple.com/kb/PH4811
    Lion Mail: Import mailboxes
    http://support.apple.com/kb/PH4853
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How do i install pages on another login using the same mac

    purchased mac started off sharing a login with hubby but now realized not a good idea when we each have loads of personal and business stuff we do. i downloaded pages to the first log in, which he kept but now need it on my log in. help?

    You don't see Pages when you log in to your User?
    I gather this is on the same Mac?
    Did you install Pages or iWork?
    What did you install it from? The Mac App Store or from a DVD or an Installer?
    Peter

  • Can Acrobat create a PDF using the same page numbers as FrameMaker?

    I'm using FrameMaker 10 on Windows 7 and Acrobat Pro 9. I know I can set the page numbers after I create the PDF (Advanced > Document Processing > Page Numbering), but is there any way to tell Acrobat (or Distiller) to do this automatically based on the page format set up in FrameMaker? Right now, the cover and inside cover have no page numbers, but I could assign them numbers and hide them. The TOC is lower case Roman numerals, and the rest of the book uses Arabic page numbering. Someone has asked whether we can have the page numbers be reflected in the page field so that when you enter page 10, it takes you to page 10 of the book (where 10 appears in the corner of the page), not the tenth page of the PDF, which might land you in the TOC.
    We produce PDFs as part of an automated system, which is why I can't mess with it after it's been produced.

    There is a FrameMaker plug-in that can do this:
    http://www.frameexpert.com/plugins/pagelabeler/index.htm
    Or, you might consider using PDFMark to add page labels.

  • Creating multiple tab reports using the same query in Web intelligence

    Hi All,
    I have created a Universe on a BW Query which has fields as below
    AGE  Depaatment  Gender  Grade
    25       FIN                M            A
    27       LES               F            A+
    60       SWS            M             A++
    Based on this data i have created a WEbi report which shows all of these data under one tab.
    Now i create a new report tab in the same Webi Document by right cliicking the existing report and going to inset report and saving it.
    Similarly i create two more new report tabs.
    in each of these tabs i want to show data only for the concened departments.ie =1st report contains all the departments.
    2nd report contains only finance data, third contains only Les data  and fourth only SWs Data.
    Is it possible to create this report using the same query?
    Regards,
    Raj.

    You should use report filters, not query filters.
    A query filter will affect the entire document. Every report tab that pulls data from that query will be impacted. If you start with a single report, by default it shows the data from the query. If you duplicate that report tab, then it's still attached to the first query. There are various ways to create report filters (input controls, quick filter, invoking the filter area from the toolbar) and a report filter impacts only blocks on that report tab. You can even create block filters by clicking on the block first, then creating your filter.
    This is a fairly confusing bit for folks that are new to Web Intelligence.

  • How to create more than one VIP use the same IP address and different port(e.g. 80 and 443)

    Hi,
    I use SCVMM LB Provider deploy network. I want to create 2 VIP use the same virtual IP but use the different port.
    for example:   VIP address 1.1.1.123   use port 80 for HTTP   and port 443 for HTTPS
    However,
    the following problems encountered, when I create the second VIP.
    PS C:\Windows\system32> New-SCLoadBalancerVIP -Name "vip11" -LoadBalancer $LB -IPAddress "1.1.1.123" -LoadBalancerVIPTemplate $VIPTemplate1 -LoadBalancerProtocol $Protocol1 -LoadBalancerHealthMonitor $HM1
    New-SCLoadBalancerVIP : A virtual IP (VIP) address with the specified name (vip11) or
    address (1.1.1.123) already exists on the load balancer (xxx). (Error ID: 13691)
    Specify a different name or IP address and try again.
    To restart the job, run the following command:
    PS> Restart-Job -Job (Get-VMMServer localhost | Get-Job | where { $_.ID -eq
    "{b41a77eb-ae0b-490a-8948-662a529b1d8c}"})
    At line:1 char:1
    + New-SCLoadBalancerVIP -Name "vip11" -LoadBalancer $LB -IPAddress "1.1.1.123" -Lo ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ReadError: (:) [New-SCLoadBalancerVIP], CarmineException
        + FullyQualifiedErrorId : 13691,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.Ne
       wSCLoadBalancerVIPCmdlet
    PS C:\Windows\system32>
    any suggestions ?
    Thank you in advance !

    I really don't know DDE very well. It is usually recommended that you switch to using ActiveX. You may not be correctly configuring the netDDE server. There is an example in the reource library that shows how to do this. You may also want to look at the DDE advise examples that came with LabVIEW 5.1 and earlier.

  • Dynamic domain uses the same ViewObject for different parameters.

    Hi all.
    My version:
    JDeveloper 10.1.3.2
    JHeadstart 10.1.3.1
    When I in the same group different fields use DynamicDomain,as below:
    DynamicDomain with ViewObject(ex:CodeView and parameters set :1),Query Bind Parameters set "a001".
    Then create another DynamicDomain with the same ViewObject, but Query Bind Parameters set "a002".
    Result, all value of the field is Parameters set 'a002'.
    can give me any help?
    Thanks.
    Joy

    Joy,
    The queried data collection is held at the level of the View Object usage. So, while you can reuse the same ViewObject, you need to create two separate View Object usages in the application module, one for each domain.
    Steven Davelaar,
    JHeadstart Team.

Maybe you are looking for