How to refresh the data in a container and to update the new data

Hi,
I have created a Module Pool Program in which i have two containers to display the long text.
Initially this container is filled and based on some condition i want to update the text in the same conatiner.
I am using the below two classes to do all this.
cl_gui_textedit,
cl_gui_custom_container,
Could someone help me how to remove the long text in the container and update the new long text.
I am getting the new long text but not able display it in the same container. Please someone help me how to refresh and update the container.
Thanks in advance.

Hi
Try this.
  IF cl_gui_textedit  IS INITIAL.
  create control container
    CREATE OBJECT cl_gui_custom_container
       EXPORTING
            container_name = 'Container Name''
       EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5.
create text_edit control
    CREATE OBJECT cl_gui_textedit
       EXPORTING
            parent = cl_gui_custom_container
            wordwrap_mode = cl_gui_textedit=>wordwrap_at_windowborder
            wordwrap_to_linebreak_mode = cl_gui_textedit=>false
       EXCEPTIONS
            error_cntl_create      = 1
            error_cntl_init        = 2
            error_cntl_link        = 3
            error_dp_create        = 4
            gui_type_not_supported = 5.
  ENDIF.
*--use method to set the text
  CALL METHOD cl_text_edit->set_text_as_stream
    EXPORTING
      text            =  t_lines ( Internal table with long text).
    EXCEPTIONS
      error_dp        = 1
      error_dp_create = 2
      OTHERS          = 3.
regards,
Raghu.

Similar Messages

  • HT4623 PLEASE HELP! I have the first generation ipod touch and cannot update the software.

    I have the first generation ipod touch with the ios 3.01. I cannot find a way to update the software because I can no longer download apps or really do anything with it. Please help.

    The 1G iPod can only go as high as 3.1.3

  • I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info in apps) and reverted back to all my old data.  How can I retrieve all the lost data??

    I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info added to apps) and reverted back to all my old data (literally uploaded all of my old texts and 1400 old pics and deleted anything new).  How can I retrieve all the lost data?? Please help!!

    SkyDaughter29 wrote:
    My current situation: I have soooo many texts on my iphone and I haven't deleted many because I need the information contained in them for future reference and for legal purposes.  I would really like to find a means and way to save them other than on the phone itself. I've done searches for various apps yet I'm not finding what I think I would need.  It appears Apple does not sync the texts between the iphone and my MacBook Pro.
    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    Best of luck.

  • HT4910 sold my ipad today. the concern is how to access all info stored in cloud and if possible eventualy merge data into new andriod tablet. Thanks all of you who respond.

    sold my ipad today. the concern is how to access all info stored in cloud and if possible eventualy merge data into new andriod tablet. Thanks all of you who respond.

    >
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7003,127.0.0.1:7103,127.0.0.1:7104
    MatchExpression /app1
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    MatchExpression /app2
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    >
    This configuration is weird little bit. There is MatchExpression /app1 and MatchExpression /app2 and at the same time two <Location /weblogic> sections. Are you sure you understand what that configuration stands for?
    Try something like this ...
    <Location /app1>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    </Location>
    <Location /app2>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    </Location>
    where /app1 and /app2 are contexts of your weblogic applications.
    http://download.oracle.com/docs/cd/E11035_01/wls100/plugins/apache.html
    http://httpd.apache.org/docs/2.0/mod/core.html#location

  • How can I embed Variant To Data in a subVI and pass in the Type input?

    If I use Create Control on the Type input of Variant To Data, I get an undefined type error unless I insert a control of a specific type into the cluster control that was created. This seems to prevent passing a parameter into a subVI for this purpose.

    > I'm interested in extending the functionality
    > of Variant to Data, such as using it or not based
    > on an additional input. Clearly, LabVIEW will not
    > allow this with the current design.
    I do not see what you mean by "using it or not based on an additional input". What would the output of this function be, if it were "not used"? What exactly are you trying to do?
    Personally, I have long wanted a polymorphic data type. If a polymorphic control were connected to a VI's connector pane, it would be defined by the calling VI. Once a calling VI wired a data-type to a polymorphic input of a subVI the type would propogate into the subVI.
    > As to the existing documentation on the type data
    > returned by Flatten to String, I find it
    rather
    > incomplete.
    With the release of LabVIEW 7, NI has updated App Note 154 to include some more data types (and subtypes). If you haven't seen this, I suggest you take a look.
    > I have created many types that cannot be decoded
    > using the available documentation. This alone,
    > makes an analytical solution difficult.
    Do you mean compound data types like clusters and arrays? Almost all data types can be decoded just fine with the available documentation. The only types that are not very straight-forward are the waveform data type, refnums, and typedefs. If you give me an example, perhaps I can help.
    > Adding
    > LabVIEW version dependency really makes this
    > solution fragile.
    I don't agree. LabVIEW may add new types in new versions of LabVIEW, but fundamentally the typecodes and structure of flattened LabVIEW data types have not changed at all (even though NI does reserve the right to change this in future releases of LabVIEW). Do have specific examples of t
    his?
    Cheers,
    -Jim

  • My iphone is synced and backed up with another computer which is now broken... and i have synced it with a new one but when i want to do anything itunes says all data will be erased and replaced with the current itunes library?what do i do?

    my iphone is synced and backed up with another computer which is now broken...i have synced it with my new computer  but it hasnt transfered anything over to itunes and when i try to add anything to my iphone it says all data will be erased and replaced with the current itunes? i dont want to lose all my apps and music.... i dont know how to go around this problem? i want to back it all up and sync it properly to my new computer so that is now my main computer , so i can add ring tones and music etc with out it erasing everything ive got. any answers would be great and muchly appreciated. thanks, im not sure what operating system my iphone has either.....

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.
    Use your backup copy of your computer to put everything on the new one.
    It sounds like you have failed to do this, which is not good at all.
    You will have to transfer your itunes purchases from your iphone.  Authorize your computer for your itunes account 
    About iTunes Store authorization and deauthorization
    Open itunes, plug in iphone, do NOT sync, click File>Transfer Purchases
    When you do sync you will lose your pics ( photo library - synced from your old computer), your itunes content ( music, apps, videos,etc) , your contacts and your calendars.  So do NOT sync yet.  This is why a backup copy is so important.
    Enter one unique contact and calendar entry on your computer.
    When you first sync, you should get the option to merger the data.  Choose it.
    If you want your pics, then you will need to e-mail them to yourself before you sync.  They will not be of the original quality as they are reduced when synced to iphone.
    When all is as goos as it can be, then backup your computer, and always maintain the backup.

  • How to transfer game from iPad to iPad and still maintain the same level of game play of each game?

    How to transfer game from iPad to iPad and still maintain the same level of game play of each game?

    Check the following:
    That both your Mac and your iPad are signed into the same iCloud account
    Go to System Preferences>iCloud on your Mac, confirm that you have checked Documents & Data, then click Options and confirm that Pages is checked.
    Go to Settings>Pages on your iPad and confirm that "Use iCloud" is turned on.  Also go to Settings>iCloud and confirm that Documents & Data is on, and that Pages is turned on in the app list.

  • Import data from few tables and export into the same tables on different db

    I want to import data from few tables and export into the same tables on different database. But on the target database, additional columns have been added
    to the same tables. how can i do the import?
    Its urgent can anyone please help me do this?
    Thanks.

    Hello Junior DBA,
    maybe try it with the "copy command".
    http://download.oracle.com/docs/cd/B14117_01/server.101/b12170/apb.htm
    Have a look at the section "Understanding COPY Command Syntax".
    Here is an example of a COPY command that copies only two columns from the source table, and copies only those rows in which the value of DEPARTMENT_ID is 30:Regards
    Stefan

  • Remote and direct update of master data at the same time

    Hello
    Is it possible to do remote and direct update of master data at the same time? If yes where it could be used?
    Thanks

    Hi,
    What do you mean by Remote Update ?
    regards
    Happy Tony

  • I Don't have access to the previous computer on which i installed the photoshop, the m bord is broken and i have a new computer, how can i reinstall on my new comp' with my serial number?

    I Don't have access to the previous computer on which i installed the photoshop, the m bord is broken and i have a new computer, how can i reinstall on my new comp' with my serial number?

    You are allowed to have two machines with activated installations, so if you only had one installation, you still have the option to install on a second without doing anything further than that.  If you originally downloaded the purchase thru Adobe then you might find a download link available in your Adobe account online.  You can also download thru the following page if you can find your version:
    Download and Installation Help -
    https://helpx.adobe.com/download-install.html
    You can have the first installation deactivated to free up the activation and have it available for another machine again as well.  YOu need to contact Adobe Support thru chat for that.  For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Can not update iTunes because I have iMac with 10.5.8 . How I will sync my iphone 6.0 with an older version of iTunes on my iMac???? There is no update for the software of my iMac and no update for the iTunes.... So how can I sync????

    Can not update iTunes because I have iMac with 10.5.8 . How I will sync my iphone 6.0 with an older version of iTunes on my iMac???? There is no update for the software of my iMac and no update for the iTunes.... So how can I sync????

    Requirements for iPhone 5:
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.6.8 or later
    PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.7 or later
    The highest version of iTunes you can install is 10.6.3 which will not sync with the iPhone 5.
    Roger Wilmut1 wrote:
    It's always a good idea to check the requirements before purchasing.
    The person I spoke with at 1-800-MY-APPLE gave me totally different info...she said the iPhone 5 would in fact sync with the older version of iTunes and that I could restore from my previous iPhone 4 backup and also bring in my music that way.  Hmmm....
    I'm inclined to go by the published specs, but now I have to jump thru a bunch of hoops I wasn't expecting to.

  • Can two Apple IDs be linked so that they can share data? My iMac and iPad have the same Apple ID and sync contacts, bookmarks, etc. My wife's iPad has a different Apple ID. Can it be linked somehow to mine to share contacts etc?

    Can two Apple IDs be linked so that they can share data? My iMac and iPad have the same Apple ID and sync contacts, bookmarks, etc. My wife's iPad has a different Apple ID. Can it be linked somehow to mine to share contacts etc?

    No. You cannot link your contacts to hers. However, you can use Home Sharing to share the information:
    Understanding Home Sharing
    iOS- Setting up Home Sharing on your iOS device
    Setting up Home Sharing for Apple TV (2nd & 3rd generation)
    iTunes- Setting up Home Sharing on your computer

  • My ipad imessages are coming up on my husband's iphone. Is that because we share an apple id account. How can we have separate apple id's and still share the same music library.

    my ipad imessages are coming up on my husband's iphone. Is that because we share an apple id account. How can we have separate apple id's and still share the same music library.

    The biggest problem I have is with cross texting. My friends send my a imessage on ipad to ipad and it comes up as message on my husband's phone as well as my ipad?
    My friends definitely do not want my husband seeing their texts. (and I dont really need him to see my responses either)
    Also, apple id is based on my email account, how do I create a new apple id without setting up a new email account?

  • How do I get the iTunes store to pull and use updated info from Gracenote?

    I'm helping a music group fix their CD information, which was incorrect in the Gracenote database. Gracenote made the corrections, but the iTunes store is not reflecting the changes. I verified the changes were made by inserting the CD on a PC, and, through the iTunes client, asking it to pull the track info from Gracenote. The info is correct.
    However, if you use the iTunes client to go to the store, the info in the store does not match what was pulled when sticking the CD in the drive and querying Gracenote. Also, if you go to the CD URL via a web browser to preview or purchase a digital download, the iTunes store web site is still showing the wrong information.
    How do I get the iTunes store (that is, Apple's server, not the iTunes client) to pull and use updated (correct) CD information from Gracenote?

    Geek Girl,
    The official Content Provider relationship with the Store depends how it was set up, and may be the group or their agent or a 3rd party such as TuneCore.  They can go back through the same official channel that put the tracks in the Store in the first place.
    Or, if it is simply an error, as opposed to an official change by the Artist, you can try the Feedback page:
    http://www.apple.com/feedback/itunesapp.html

  • I have some presentation on the ipad 2 which went missing even though it is still on the icloud.  how do i load them onto the ipad again?  I have already updated the keynote and am currently on ios8

    i have some presentation on the ipad 2 which went missing even though it is still on the icloud.  how do i load them onto the ipad again?  I have already updated the keynote and am currently on ios8

    Here you go:
    You should be able to hit the "Agree" button, if you are on an iPhone right now. On a Mac, you should just left click the button where it said "Accept". I hope this helped.
    To quit the app store, simply hit these keys:
    Than, you should come up with this window:
    Select the app store with:
              a) The up and down arrow keys
              b) Your cursor
    Than hit the 'Enter' button twice. This should close the app store. The force quit window is also accesible through the apple logo in the top left corner of the screen. It should say:
    Force Quit...

Maybe you are looking for