Save tabcontrol content in variant on dynpro

Hi all,
I've the following problem :
I'm using a dynpro instead a selection screen. I had to do this because I'm using a Tabcontrol and we cannot use this element on an standard selection screen. I would like to have the possibility to fill the fields in my dynpro and save that as a selection variant. How can I manage that?
I was looking the web and the forum to find a solution to my problem but didn't find one.
thank you
kind regards

Frédéric,
Not necessarily. You would be able display the table in control in your selection screen (as a subscreen in the selection screen). The drawback is that the variant would not save the values of the table control.
Anyway, in the scenario you have described I don't see the point of saving a variant. If you would like to save the contents of the table control you should think in another aproach (like a Z table).
And another thing. Imaginane that your user wants to paste 400 lines and in your table control and you are displaying, let's say, 40 lines. He will have to paste 40 lines, scroll down, another 40 lines, scroll down... a total of 10 times. That will be a pain for him. An editable ALV grid control would be more user friendly, as he would be able to paste the 400 lines in one pass.
Kind regards

Similar Messages

  • How do I save itunes contents to apple tv 1st gen.

    How do I save itunes contents to apple tv 1st gen.

    Welcome to the Apple Community.
    Which content, from your library or content you purchase on the Apple TV.

  • Question : is it possible to save the contents of the screen in a graphic object ?

    Assume i asked the machine to plot something (for example within the Function application).Is it possible to save the contents of the screen in a graphic variable (GROB ?) for later reference ?

    Hi!, EmileG: From connectivity kit, connected to HP PRIME, you can ... Copy Screen opens the Screen Shot dialog box from where you copy or, save an image of  the virtual calculator screen.You can leave this dialog box open as you prepare instructional materials and reports that require screen captures  from the calculator.The Screen Shot  dialog box has the following options and buttons:• Border: A slider bar to give the image a boarder and change the thickness, of the border.• Size: A slider bar that changes the size, of the image.• Capture:  Update  the image, to reflect the current state of the  virtual calculator display.• Copy: save  a copy  of  the  current  image to  the clipboard.• Save: save  a copy  of  the  image to  a file. In  this case, you  can specify a name and location  for the saved  file.• Close: close the Copy  Screen  dialog box.

  • How to save the contents of a file(not a text file)

    Hi all, I want to save the contents of a file(,png file, not a text file) as a field in a class. Shall I have it as a string or byte array or something?
    I have tried saving a file in a string but there were some problems with loading the file from a different platform. Following is my code.
            String string;
            try {
                StringBuffer sb = new StringBuffer(1024);
                char[] characterArray = new char[1024];
                BufferedReader br = new BufferedReader(new FileReader(file));
                while(br.read(characterArray) != -1){
                    sb.append(String.valueOf(characterArray));
                br.close();
                string= sb.toString();
            } catch (IOException ex) {
                ex.printStackTrace();
            }and I use the following code to recover the string back to a stream, and save that stream back to a time later.
        ByteArrayInputStream bais = new ByteArrayInputStream(map.getBytes());I realized that because this file is not a text file, the string could cause some problems. But anyone could tell me if I should use a byte array or someting? and how?
    Any help would be appreciated!
    Cheers,
    Jing

    You should use a byte array, and the binary streams (InputStream a& OutputStream). Never use Strings and Reader/Writer if you have binary data.
    Kaj

  • In custom control , I wnt to save the layout with variant  -

    Hi,
    In custom control , I want to save the layout using variant and i want to choose the layout from the variant
    Plz give me the details.
    Rerards,
    Rani

    Hello Rani
    I assume you have an ALV grid displayed within a custom control. For this ALV grid you want to be able to save layouts.
    Assuming that you are using class CL_GUI_ALV_GRID you have set the following IMPORTING parameters when calling method go_grid->set_table_for_first_display:
    " Fill variant parameter with following values:
    gs_variant-report = syst-repid.
    gs_variant-handle = 'GRID'.  " 4-digit handle; required if you have multiple ALV grids
    - I_SAVE = 'A'   " allows saving of user-specific and global layouts
    - IS_VARIANT = gs_variant
    Regards,
      Uwe

  • Save the contents into hard disk on click of Save As button in Swing

    Hi,
    I have a JButton "Save As". On clicking the button, the contents in the JTextArea should be saved in the local hard disk by opening a Save As dialog box and allowing the user to save in any location.
    Is it possible to do this? If so, please inform me how it could be done.

    Hi,
    Please find the code below.
    try{
    File f = new File("Out.txt");
    FileInputStream fis = new FileInputStream(f);
    BufferedInputStream bis = new BufferedInputStream(fis); DataInputStream dis = new DataInputStream(bis); String stb = null;
    JDialog w = null;
    stb = new String();
    stb = dis.readLine();
    if(stb != null){
    w = new JDialog();
    final Container c = w.getContentPane();
    c.setLayout(null);
    w.setContentPane(c);
    w.setResizable(true);
    w.setTitle("Log Window");
    w.setSize(330,500);
    final JTextArea jt = new JTextArea();
    JScrollPane jsp = new JScrollPane(jt);
    jt.setLineWrap(true);
    jt.setText("Records not available for the id's"+"\n"+stb);
    jt.setBounds(10,10,285,500);
    final JButton jbSave = new JButton("Save File As");
    JPanel spacer = new JPanel();
    spacer.setMinimumSize(new Dimension(50, 18));
    spacer.setPreferredSize(new Dimension(50, 18));
    JPanel jpButtons = new JPanel();
    jpButtons.add(jbSave);
    jpButtons.add(spacer);
    jpButtons.setBorder(BorderFactory.createEtchedBorder());
    JScrollPane scroll = new JScrollPane();
    c.setLayout(new BorderLayout());
    c.add(jt,BorderLayout.CENTER);
    c.add(jpButtons, BorderLayout.SOUTH);
    jbSave.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    JFileChooser fileChooser = new JFileChooser();
    int userOption = fileChooser.showSaveDialog(null);
    if(userOption == JFileChooser.APPROVE_OPTION)
    //*******************STATEMENTS TO BE ADDD****************** }
    jt.getText()-----This is how I can get the contents from JTextArea.
    But how I can save the contents. i.e on click of Save As button, Save dialog box opens, and I can choose the location and give the name. but if I go to the location I don't find the file....
    Please guide me to finish this....
    Thanks in Advance.....

  • Is it possible to save the content of a form before click on the submit?

    Hi,
    I'd like to know if it's possible to save the content of a text field in a form in a String variable run-time before click on the submit botton?
    If this is not clear what i want to say,please tell me, and i'll try to say it better.
    Thanks a lot.

    I've got a form with a text field and everytime i add
    a letter in this text field i want to use this string
    as parameter to execute a query.So,in the end, the
    number of query that I'll execute is equal to the
    length of the string i've insert to the text form.If you mean executing a database query, JavaScript would not be able to do that. JSTL sql tags might help.

  • How do I save the contents of all of my saved mail folders?

    How do I save the contents of all of my saved mail folders?

    Oh, I see...
    All the mail is stored in ~/Library/Mail (and its associated subdirectories).
    Your Library holder is hidden by default under Mountain Lion (and Lion, too?), so hold the Option key when selecting the Window menu in the Finder to add it to the menu, from where you can access it.

  • How PLM Document save on content server

    Hi All,
    Please tell me the concept about given below scenario:
    Normally PLM documents are either saved in the Content Server or in the database.
    What if we have neither configured a database nor a content server. Where are they being stored then.
    what exactly Document serever , how the PLM document save on Content Server or in data base server.
    Thanks
    Narendra Vikram Vishwakarma

    Hi Vishwa,
             It depends on the storage area that you have maintained in the sap system for the documents. The customisation in the sap system is visible at IMG-->Cross Application Components -->Document Management --> General Data --> Settings for storage system. The storage area that you configure here will be linked to the DIR creation process.
    The SAP DMS is a file directory in the SAP server and a content server is a seperate Sap certified server usually maintained for handling files. However these topics are much more broader and you can have an overview by checking the following link www.verbellacmg.com/ulm211_v2.ppt
    Sojan

  • How to save  JTextPane contents to a file ?

    Hello,
    I'd like to save the content of a JTextPane document into a buffer then to save it into a Database Column (I'm using MYSQL).
    If I'm using the getText() method, all attributes (color, font, and so forth) are lost
    I have also tried to use the write(Writer) method into a ByteOutputStream, but here again, attributes are lost.
    Thanks to anyone who may provide me with an example.
    Gege

    While the RTFEditorKit allows you to save files all with the same styling, the HTMLDocument class (if set as your JTextPane's StyledDocument) and HTMLEditorKit (works for both default StyledDocuments (on a more limited basis, I believe) and HTMLDocument's) allow you to save heterogeneous styling. However, it does NOT support the StyleConstants.ComponentAttribute, and does not provide a satisfactory exception when you attempt to use them (at least last time I checked - attempting to insert a component into an HTMLDocument yielded a NullPointerException, which wasn't useful at the time, but now that Java's gone open source or whatever, it's much more useful...).
    So anyway, the point is, you can probably just use your regular old JTextPane combined with HTMLEditorKit.write() and HTMLEditorKit.read() methods. You will need to translate components into some sort of text (if they're Serializable, just write them to a ByteArrayOutputStream and convert it into a String, add some custom escape-char-like magic, and you're there) before using the write method (and of course, translating it back after you read it in).
    Hope this helps.

  • PDF saves as content of last file sent

    Everytime I save a word 365 doc into a pdf it turns out to be the contents of the last pdf with this name (but date in doc file name changed). I even restarted my pc & updated it, but it doesn't help.
    I have windows 8.1, Microsoft 365, internet explorer, and a pc.

    Now it wont even open something I just downloaded.It I update it will it change my toolbar or anything on my pc?Thank you.Maureen
           From: sukritd15 <[email protected]>
    To: MAUREEN SMITH <[email protected]>
    Sent: Friday, February 20, 2015 2:24 AM
    Subject:  PDF saves as content of last file sent
    PDF saves as content of last file sent
    created by sukritd15 in Creating, Editing & Exporting PDFs - View the full discussionHi Maureen , Is it happening with all the word 365 doc? Which version of Acrobat are you using?If it is not the latest version ,try updating it to the latest version ,i.e Acrobat 11.0.10Launch Acrobat>Navigate to Help>Check for Updates I believe the PDF producer is Acrobat and not Microsoft. Please share the document with us so that we can check at our end. RegardsSukrit Dhingra If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7213183#7213183 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7213183#7213183 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Creating, Editing & Exporting PDFs by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Been using Macs since classic. Using MBP, OS 10.7.5. Trying to figure out how to print/save folder contents (Name, Date Modified, Size Kind) of entire (non-visible) folder? Any apps that can do this?

    Been using Macs since before classic. Using MBP, OS 10.7.5. Trying to figure out how to print/save folder contents including what's not visible on screen (Name, Date Modified, Size Kind) in entire folder?
    Screen shots are getting old hat.
    Tried select all, copy, paste into pages, but it didn't display date modified, size & kind, and also included images of selected files, which is too large. 
    Any apps/shortcuts/utilities that can do this?  Thanks in advance.

    Hello Achates:
    I did not read the rather long post. If you wish to reinstall OS X 10.4, use your software install DVD. Backup is essential. To minimize your risk, I would use an archive and install:
    http://docs.info.apple.com/article.html?artnum=107120
    In that way, you will have a fresh copy of OS X and your current settings will be preserved.
    Incidentally, I do not agree that the printer problem is best solved by reinstalling OS X. I have had HP printers for sometime and, on one occasion, had difficulty after an upgrade. HP technical support walked me through uninstalling all traces of the HP driver and then reinstalling.
    Barry

  • How to save the contents of one file into another file?

    Hai,
    i'm trying to save the contents of an existing file into a new file...
    for example.. if i'm having a ms word file namely ss.doc..
    now i want to save itz contents into another file namele dd.doc..
    How shall i do it..
    Can an one plzz explain me...
    senthil.

    Hi, Senthil.
    This Forum is not a general discussion forum.
    You don't believe that the InDesign SDK is a general purpose API. Do you?
    I think you must post issues like this where they belong, in this case in a Microsoft Word Forum.
    Best regards.
    Oscar.

  • How to save the content of a JTextArea into a txt file?

    Hi, I want to save the content of a JTextArea into a txt file line by line. Here is part of my code(catch IOException part is omitted):
    String s = textArea.getText();
    File file = new File("file.txt");
    BufferedWriter bw = new BufferedWriter(new FileWriter(file));
    bw.write(s);
    bw.close();
    But I found in the file all is binary code instead of text, any people can help me?
    Thanks in advance

    I can see text in the file now, but the problem is
    when I write three lines in textarea, for example
    111
    222
    333
    then I open the txt file with notepad, it is
    111222333
    How to save them line by line? Use a PrintWriter. It lets you write lines (it's the same class as System.out).
    http://java.sun.com/j2se/1.4/docs/api/java/io/PrintWriter.html

  • Where does iWeb save the contents of my website now that iDisk is not available?

    With the latest change to iCloud and iDisk not available anymore, where does iWeb save the contents of websites?
    I looked for the files undel Library/Application Support/....but could not find the iWeb folder.
    Any ideas please?
    Thank you.

    In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

Maybe you are looking for

  • @count for first names beginning with "

    I was trying to come up with a formula for counting club members and partners by using an "&" in front of the first name of partners. I could not find a conditional function whereby I could count the names that begin with the "&". I used trial and er

  • Should the Apple ID be deleted when selling an iphone

    Should the Apple ID be deleted from the device when selling an iphone. I ask because I have bought one and I cannot activate the iphone because the seller`s Apple ID has not been removed. I cannot therefore input my own Apple ID to activate the phone

  • "Created with Adobe Premiere Trial Version" banner on my project

    I downloaded the Premiere Pro trial and I completed my project but I don't want to export it because of a banner through the middle of all my clips. Will that banner be there when I export? Thanks.

  • Dynamic tabs opening

    Hi! I have no idea where to start so any starting points would be most welcome :) Our JHeadstart generated application uses dynamic tabs. Some pages opened in dynamic tabs have to contain links that would open other pages in new tabs. Example: Displa

  • -50 error on Imovie?  Does anyone know what is causing this and how I fix it?

    I am trying to publish a movie but I keep getting this error.  What do I need to do?