Using edit text control for storing and displaying text of 1000 characters

Hi all,
I have a requirement to provide a field for remark in one of dialog screens, for saving remarks of up to 1000 characters. I made container and edit control and add a field LCHR in database table with preceding INT4 field. Then I use this code to save/read data in/from database table:
CALL METHOD editor->get_textstream
     EXPORTING
       only_when_modified = 0
     IMPORTING
       text               = mytext
     EXCEPTIONS
       OTHERS             = 1.
in user command and:
CALL METHOD editor->set_textstream
     EXPORTING
       text = mytext.
in status.
Then in read I tried to select single LCHR field from that row and put it in mytext TYPE string. In save I save mytext as LCHR field in database table. There is no error anywhere but it doesn't work. Is it even possible to save STRING text in LCHR field of database table?
What is alternative? Text objects from SE75?

Having a string in a database table is absolutely independent on having some trouble in the program. If you got an error saying you need only flat structure, that means you can't use a deep structure in the context.
I suppose you are using the structure on the screen or ALV. You can only use a flat structure there (no strings, no sub-tables...) as you would not be able to render a deep-structured data on the screen. Of course, ABAP could handle that e.g. by ignoring those deep fields, but we would want too much.

Similar Messages

  • Who to use "xfa.event.newText" for value and not text

    Hello,
    What is the righr method for returning the value from a "list".
    xfa.event.newText return's the texte value i want le value.
    exemple :
    Text = USA  Value=us
    Text=France Value=fr
    Thanks

    Hi,
    A sample is here: https://acrobat.com/#d=eBF-l8sBTVN6-jqDUDw6lA
    It shows how to access the display value and the bound value.
    Good luck,
    Niall

  • HT5858 When I swipe up from the bottom of the screen to use control center I am not able to use the music controls for music or podcasts and music controls do not work on the lock screen either is anybody else having this problem???????

    When I swipe up from the bottom of the screen to use control center I am not able to use the music controls for music or podcasts and music controls do not work on the lock screen either is anybody else having this problem???????

    Not really sur easy you would be having that problem.  Mine works.  You might try RESET DEVICE
    Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost). Then try again and see if it makes a difference

  • I just started using a new version of Illustrator and the text I am creating has a pink box behind, looks to be about the depth of the normal linespace, it is not visible in outline view, only in preview. What is it and how do I get rid of it?

    I just started using a new version of Illustrator and the text I am creating has a pink box behind, looks to be about the depth of the normal linespace, it is not visible in outline view, only in preview. What is it and how do I get rid of it?

    Hi Larry. I see. It is a file I have worked on previously, and the font is Myriad which I though came with the system. I just changed to Myriad Pro and the pink box disappeared. Thanks for the assistance, I know a new thing!

  • Could you please tell what is encryption mechanism used in Release Management for storing any password

    Could you please tell what is encryption mechanism  used in Release Management for storing any password

    Hi  y e ll e sh,
    I am trying to involve someone to further look at your question. There might be some time delay. You can also check replies for the similar question in this
    thread. Appreciate your patience and thanks for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Firewall software & using a remote control for AirTunes?

    I recently turned on the built-in firewall on my MacBook Pro. Ever since doing so, every time a run iTunes, get the following message:
    Your computer is using firewall software that prevents
    you from using a remote control for AirTunes.
    To use a remote control for AirTunes, open System Preferences, click
    Sharing, then click Firewall, and select "iTunes Music Sharing."
    I always tell it to "Ignore" and I am able to play music through my AirPort Express without any trouble. What is the "remote control" to which this message is referring? I have searched Apple's support pages and this forum without any luck. I thought that opening the "iTunes Music Sharing" port in the firewall would allow other people on my local network to see my music if I was sharing it, which I am not. I don't see what this has to do with a remote control.
    Thank you for any info you can provide.
    -- Gary

    Hi,
    there is no remote control for AirPortExpress or Air Tunes. Maybe we will see something like this in the futue, who knows.
    As AirTunes uses streaming, it probabely needs the same port open as Music Sharing. Because shared music is streamed too.

  • When connecting to Itunes, it shows the following error: registry settings used by itunes drivers for importing and burning cds are missing.  I have installed the gear drivers, uninstalled and installed itunes still showing same error.  Anything else?

    When connecting to Itunes, it shows the following error: registry settings used by itunes drivers for importing and burning cds are missing.
    I have edited the registery, downloaded the Gear drivers, uninstalled and installed itunes, and the error still appears.
    What else can I do.  Cannot connect any of our iphones or ipods to itunes because of this error. 

    I have edited the registery,
    We'd better have a closer look at the keys to see what's going on.
    Can you post a screenshot of the contents of the key you've been editing, please? Include all of the regedit screen, including the left-hand column. Save the screenshot to an image file, and insert the image file in a reply by clicking the wee camera icon at the top of the reply window.

  • HT1386 I have just purchased an ipad3 mainly for storing and viewing my photos but I cannot get my photos to sinc from itunes. Does anyone have the solution.

    I have just purchased an ipad3 mainly for storing and viewing my photos but I cannot get my photos to sync using itunes. Does anyone have the best solution please?

    See http://support.apple.com/kb/HT4236
    Another way. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
    This may interest you.
    Expand your iPad's storage capacity with HyperDrive
    http://www.macworld.com/article/1153935/hyperdrive.html
    On the road with a camera, an iPad, and a Hyperdrive
    http://www.macworld.com/article/1160231/ipadhyperdrive.html
    Since you are new to iPad.....
    You can download a complete iPad User Guide here: http://manuals.info.apple.com/en/ipad_user_guide.pdf
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad - Guided Tours
    http://www.apple.com/ipad/videos/
    Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    How to - Articles & User Guides & Tutorials
    http://www.iphone-mac.com/index.php/Index/howto/id/4/type/select
    iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • How to transfer texts from text control to table and vice versa

    Hi
    if anybody can give me link or any code giving how to transfer text from text control to table and vice versa, that will be of great help to me
    THanks in advance

    Rashmi,
    Use the methods GET_TEXT_AS_R3TABLE / SET_TEXT_AS_R3TABLE and then you will have to use the SAVE_TEXT to store in the database.
    The GET_TEXT_AS_R3TABLE method will give you back a internal in which text, in which text on the screen is existing. Similarly once you fetch the data from database using READ_TEXT, use the method SET_TEXT_AS_R3TABLE to put the text on the screen.
    These methods belong to class CL_GUI_TEXTEDIT class.
    Regards,
    Ravi
    note : Please mark all the helpful answers

  • Any default control for up-and-down dropbox?

    Hi,all:
    Can anyone tell me if I can use any default control for both up-and-down direction drop down box?
    Thanks,

    You might also consider a simple choicebox too if you don't need all the functionality of the SpinnerX.
    import javafx.application.Application;
    import javafx.collections.FXCollections;
    import javafx.scene.*;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.effect.ColorAdjust;
    import javafx.scene.image.*;
    import javafx.scene.layout.*;
    import javafx.stage.Stage;
    public class DropBoxExample extends Application {
      public static void main(String[] args) { launch(args); }
      @Override public void start(final Stage primaryStage) {       
        // create some choices.
        ChoiceBox choices = new ChoiceBox(FXCollections.observableArrayList(
          "64 kbps", "128 kbps", "256 kbps", "512 kbps", "1024 kbps"
        choices.getSelectionModel().select("128 kbps");
        // layout the scene.
        StackPane layout = new StackPane();
        layout.setStyle("-fx-background-color: cornsilk; -fx-padding: 10;");
        layout.getChildren().addAll(choices);
        primaryStage.setScene(new Scene(layout, 250, 100));
        primaryStage.show();
        // style the choice arrow.
        Node arrow = choices.lookup(".arrow");
        if (arrow != null && arrow instanceof Pane) {
          arrow.setStyle("-fx-shape: \"\"; -fx-background-color: transparent;");
          ImageView doubleArrow = new ImageView(new Image("http://aux4.iconpedia.net/uploads/923633044528065785.png"));
          ColorAdjust monochrome = new ColorAdjust();
          monochrome.setSaturation(-1); monochrome.setContrast(-0.3); monochrome.setBrightness(-0.3);
          doubleArrow.setEffect(monochrome);
          doubleArrow.setFitHeight(16); doubleArrow.setPreserveRatio(true);
          ((Pane) arrow).getChildren().add(doubleArrow);
    }The code above replaces the default drop down arrow in the choicebox with an image of a double edge arrow pointing up and down, but, if needed, you can style the choicebox how you want using css (and the arrow via an svg shape if preferred - as is done in capian.css extractable from jfxrt.jar in the JavaFX runtime lib folder).

  • Why does my app store use a different account for downloading and another for updating apps?

    My app store used my own account for downloading and my sister's for updating, and it keeps telling me to reset my account. I already did that the other few times it told me to do that!

    Have you restored your device from your sister's backup?

  • We have 2 itouchs, we a separate itunes account for each one. We have one home computer to use them both on for syc and icloud, the icloud will not accept the 2 accounts?

    we have 2 itouchs, we a separate itunes account for each one. We have one home computer to use them both on for sync and icloud, the icloud will not accept the 2 accounts?

    Do you know what happens if you delete the icloud account from an iphone 4s?  Will it delete the pictures, documents, etc. from the phone, or just unlink the icloud from the phone?  I want to associate a different icloud account to the phone.

  • How to Use the language function for assignment and validation

    Hi All,
    If anyone can explain me in details with example ,how to use the language function for assignments and validations?
    Thanks
    Arnab

    Hi Arnab,
    The expression is checked only for the current MDM session.
    If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
    Try connecting to the DM with the XYZ language.
    It should go to the if part rather than else.
    Hope it helps.
    Thanks,
    Minaz

  • Can windows xp use a different sound card for itunes - I want to use a sound card for itunes and another for all other apps

    Can Windows XP use a different sound card for itunes - I want to use a sound card for itunes and another for all ther apps

    To the best of my knowledge, Windows is not capable of setting a specific sound card based on the app being used, it's all or nothing.
    Try a google search or search the Microsoft site.

  • HT3406 If I choose "restore from iTunes backup" to move everything from old phone.  Will I still be able to use the old phone for music and apps?  Can the old phone be docked up to the computer?  Or will the new and old phone overwrite each other in some

    If I choose "restore from iTunes backup" to move everything from old iphone to a new one, will I still be able to use the old phone for music and apps?  Can the old phone be docked up to that same computer every now and then?  Or will the new and old phone overwrite each other in some way?  In other words, are the two phones treated as different devices when the "restore" option is used to set up the new phone?   Thanks in advance.

    Yes, you can use the old iPhone as an iPod touch.
    Read this:
    http://support.apple.com/kb/HT3406

Maybe you are looking for

  • PowerMac G4 (AGP) and HD LCD Monitor

    I gave my daughter a few years ago my old G4 PowerMac (AGP Graphics) which has a VGA port and is connected to a huge Apple 17" CRT Studio Display. I'd like to give her a modern LCD display. The HP 2009M HD LCD Monitor states that it comes with a stan

  • Travel manager not working properly..

    HI all, When I run TRIP, "create travel request" and all other strings, i can't access. means there is no reaction, no request created or any functions. can you please guide me from where to rectify the error? Regards. Jolly

  • After Effects CS6 update to CC

    My Adobe Application Manager says my After Effects CS6 is Up to date. What do I need to do to update to the version that comes with Cinema 4D Lite?

  • Iphoto images suddenly darken

    When I open a pic in iPhoto it is good for a second and then suddenly darkens.  If I drag it onto my desktop it just fine.  How can I stop this darkening, which started suddenly a week ago?

  • Firewire stops working

    I have updated 3 - G4 733mhz , 1 Mac Mini and 1 17" flat panel Imac with the newest 10.4.8 and security updates. The Firewire has stopped working in all of the above. Any help or suggestions? (Yes, I've wiped and did a clean install and zapped the PR