How to upload multiple files in Webdynpro using File upload Screen Element

Hi Experts,
      Can anybody tell me how to upload multiple files/pdfs in webdynpro using file upload screen element, and also please tell me what is the maximum storage limit of RAWSTRING data type,Advance Thanks.
Regards,
Sandesh

Hi Sandesh,
this is simply not supported, not in WebDynpro nor in standard HTML.
A workaround is to upload a ZIP with all files and on server side unpack the ZIP and operate on the single files.
I hope it will  help u..
----------------------OR-------------------------
As you know using File upload UI element we can upload only one file at a time. There may be a scenario where user may want to upload any no of files at a time which is not determined at design time. This can be acheived using the ACF UpDownload UI element which requires a security whiltelist to be created
http://scn.sap.com/docs/DOC-2270
----------------------OR-------------------------
You can use Table UI element.
Regards,
Deepak Singh

Similar Messages

  • I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    Logged the call with SAP who directed me to 'Define settings for attachments' in IMG and setting the 'Deactivate Java Applet' & 'Deactivate Attachment versioning' checkboxes - problem solved.

  • Does anyone know how to save multiple webpages in safari using automator?

    Does anyone know how to save multiple webpages in safari using automator?

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How to display multiple tables from database using netbeans swing gui

    plz reply asap on how to display multiple tables from database using netbeans swing gui into the same project

    Layered Pane with JTables or you can easily to it with a little scripting and HTML.
    plzzzzzzzzzzzzzzzzz, do not use SMS speak when posting.

  • How java support multiple inheritance by the use of interface.

    As per my understanding, Interface is just having the signatures of the methods not the implementation.
    So How java support multiple inheritance by the use of interface?
    Answer 1: we can institate interface reference by its implemented
    class.
              ����� interface inf...
              ����� class aa implements inf..
              ����� class bb implements inf....
               Now, inf i = new aa();
               inf i = new bb();
    Answer 2: We can extends as many interface as we want in the
    single
               interface.
               i.e. interface infFirst....
               interface infSecond....
               interface infThird....
               Now ,
               interface ingMulti extends infFrist, infThird...
    By above two answers its not prity clear as per the multiple inheritance in C or C++.
               i.e.
               class first{
               method abc();....}
               class second{
               method bbc()......}
               class multi::first::second{
               we can call to abc();.....as well as bbc();
    -Please give your important suggstion on the same.(Hope I explain it well.)
    -Jeff

    The keyword implement is used only for interfaces not
    for abstract class. If i am wrong correct me.I believe your right, but I will double check.
    As for the multiple inheritence think about the following code:
    class Animal {
        //  Animal generic stuff in this class
    interface Eat {
        //  Generic stuff that models eating behavior
    interface Runs {
        //  generic methods that model running behavior
    public class Horse extends Animal implements Eat, Runs {
        //  Stuff specific to a horse
    }The Animal class is generic but has stuff in it common to all animals.
    The Eat interface models behavior that is generic to eating, all living things have to eat something to survive. Herbavore are different from carnivores.
    The Runs interface models generic behavior to running, such as speed. A cheeta definately runs faster than a human.
    This brings us to the Horse class. It extends the Animal class because it "is-a" animal, and it implements the eat and runs interface because they are behaviors a horse has.
    I hope that helps.
    Extending an abstract class is the same as extending a regular class with the exception you MUST override all abstract methods in the abstract class. Thats not too difficult but I believe when designing classes, designing an abstract can be more diffecult than modeling the base class, and generic behaviors in interfaces. JMO.
    JJ

  • Encrypt a file in PI using file adapter.

    Hi,
            I need to Encrypt a flat file and ftp it. Since the target server is a bank, the data after been placed there should be decrypted. How can i achieve this?

    Hi
    In case you are using a file adapter then you can use Operating system command after and before execution. in which before processing you can decrypt the file using some decrypting command line tool and after execution you can use command line command to delete the file. and after decryption and before deletion of file you can use file content conversion
    Or else you have to write a module processor for File adapter which will decrypt the message.
    These may help you
    How XML Encryption can be done using web services security in SAP NetWeaver XI
    How XML Encryption can be done using web services security in SAP NetWeaver XI
    How to achieve encryption in XI
    This thread is similar to your question and his question is solved. Please go through it.
    triggering encryption script with XI
    Hope this is usefull
    Thanks
    Saiyog
    Edited by: Saiyog Gonsalves on Jul 16, 2008 10:16 AM

  • On Apple TV my photo stream only shows six pictures - how do I get all photos to use as a screen saver. I have reset several times but it still only finds six pictures!!!!

    On Apple TV my photo stream only shows six pictures - how do I get all photos to use as a screen saver. I have reset several times but it still only finds six pictures!!!!

    I recently got apple tv but the photo stream only seems to show up those photos which I took in September and no others (ie. 20 out of around 100).  Any ideas why the earlier photos on my photo stream in ipad don't show up on apple tv? 

  • How to Upload Multiple questions IN LSO using Authorizing tool

    Hi Friends,
    I am very new to the E-learning. As per my knowledge after uploading any content through Authorizing tool in will be uploaded to KM folder.
    In my practice I am trying to upload the Multiple questions. I have searched but I am not find So please guide me the below scenario.
    We have a requirement that is User need to complete the assesment. In this assesment we have 100 questions with random option. How to upload these 100 question at a time using authorizing tool.
    Thanks,
    Suresh

    Hi Sandesh,
    this is simply not supported, not in WebDynpro nor in standard HTML.
    A workaround is to upload a ZIP with all files and on server side unpack the ZIP and operate on the single files.
    I hope it will  help u..
    ----------------------OR-------------------------
    As you know using File upload UI element we can upload only one file at a time. There may be a scenario where user may want to upload any no of files at a time which is not determined at design time. This can be acheived using the ACF UpDownload UI element which requires a security whiltelist to be created
    http://scn.sap.com/docs/DOC-2270
    ----------------------OR-------------------------
    You can use Table UI element.
    Regards,
    Deepak Singh

  • Multiple file upload in jsp with out using �FILE� type filed.

    I have an applet that is used for multiple file selection, It allows drag and drop functionality also. The problem is once the user selects multiple files it has to get uploaded to the server. Since it�s not part of a file type component while submitting the form we won�t get the file contents.
    We can use multipart api for uploading files, but if the file selected by the user is not by the file type filed the file contents won�t come as part in the jsp submission and I can�t assign the file names selected by the user through the applet to any FILE (hidden ) type in jsp .
    Please give a solution�

    We can use multipart api for uploading files, but if the file selected by the user is not by the file type filed the file contents won’t come as part in the jsp submission and I can’t assign the file names selected by the user through the applet to any FILE (hidden ) type in jsp .Well i think thats a wrong notion which you have...
    you can very well get non-file type field data & file item data from a multipart form.
    Anyways,Letz checkout a simple example(refer to the below Code-snippet down below) which can do that task for us and it uses commons-fileupload & commons-io libraries.
    FileUpload.jsp
    ==========
    <form name="sampleForm" action="uploadAction" method="POST" enctype="multipart/form-data">
      File Name 1: <input type="text" name="fileName1" size="5" /> <br/>
      File: <input type="file" name="file1" id="file1" /> <br/>
      File Name 2: <input type="text" name="fileName2" size="5" /> <br/>
      File: <input type="file" name="file2" id="file2" /> <br/>
      File Name 3: <input type="text" name="fileName3" size="5" /> <br/>
      File: <input type="file" name="file3" id="file3"/> <br/>
      File Name 4: <input type="text" name="fileName4" size="5" /> <br/>
      File: <input type="file" name="file4" id="file4"/> <br/>
      <input type="submit" value="upload"/>
    </form>uploadAction method in (backingBean) :
    ==============================
    public void uploadAction(HttpServletRequest request,HttpServletResponse response)throws Exception{
          FileUploadUtils fuu = new FileUploadUtils(request);
          Map<String,FileItem> fileFields = fuu.getFileFiledsMap();
          Map<String,String> nonfileFields = fuu.getNonFileFiledsMap();
           String fileName1 =  nonfileFields.get("fileName1");
           FileItem file1 = fileFields.get("file1");       
           byte file1ContentBuffer[] = file1.get();
           String file1ContentType = file1.getContentType();
           InputStream file1ins = file1.getInputStream(); 
           file1.write(file1Name);
           String fileName2 =  nonfileFields.get("fileName2");
           FileItem file2 = fileFields.get("file2");
           byte file2ContentBuffer[] = file2.get();
           String file2ContentType = file2.getContentType();
           InputStream file2ins = file2.getInputStream();
           file2.write(file2Name);
    }FileUploadUtils.java:
    ===============
    import java.io.File;
    import java.io.FileOutputStream;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.Iterator;
    import java.util.List;
    import java.util.StringTokenizer;
    import java.util.Vector;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.commons.fileupload.DiskFileUpload;
    import org.apache.commons.fileupload.FileItem;
    import com.gehcsr.utils.dao.DbQueryUtils;
    public class FileUploadUtils {
       private Map<String,FileItem> fileItemMap = null;
       private  Map<String,String> nFileItemMap = null;
       private HttpServletRequest request = null;
       public FileUploadUtils(HttpServletRequest request)throws Exception{
                   this.request = request;    
                   this.fileItemMap = new HashMap<String,FileItem>();
                   this.nFileItemMap = new HashMap<String,String>();
                   this.init();
       private void init() throws Exception{
          DiskFileUpload dfu  = null;
          List fileItems  = null;   
             try{
                   dfu = new DiskFileUpload();
                   dfu.setSizeMax(1000000);
                   dfu.setSizeThreshold(4096);
                   dfu.setRepositoryPath(System.getProperty(java.io.tmpdir));
                   fileItems = dfu.parseRequest(this.request);
                   if(dfu.isMultipartContent && fileItems != null){
                            Iterator iter =  fileItems.iterator();
                  while (iter.hasNext()) {
                       FileItem item = (FileItem) iter.next();           
                                  String fieldName = item.getFieldName(); 
                             if (!item.isFormField()){
                                              String fieldValue = item.toString();
                                               this.nFileItemMap.put(fieldName,fieldName); 
                                         }else
                                             this.fileItemMap.put(fieldName,item);                              
                    }catch(Exception exp){
                         exp.printStackTrace();
                         System.err.println(exp.getMessage());
                         throw new Exception(exp.getCause());
                    } finally{
                       fileItems = null;
                       dfu = null; 
             public  Map<String,FileItem>  getFileFiledsMap(){
                    return this.getFileFiledsMap;
             public Map<String,String> getNonFileFiledsMap(){
                   return this.nFileItemMap;
    NOTE:* Do not forget to add latest versions of commons-fileupload.jar & commons-io.jar in your classpath.You might get few warings due some issues with regards to generics please neglect them.
    and it is not certain that you ought to use commons libraries for this there are many other alternative solutions available by which you can implement a similar functionality.
    Hope this might help !!! if that does do not forget to assign/share duke dollars which you have promised :)
    REGARDS,
    RaHuL

  • How can i upload multiple pictures on facebook using the ipad 2? Because i've tried uploading before but it should be one by one. Please help.

    Thankyou.

    How are you accessing facebook? I do it through Safari and can upload multiple pics. Are you doing that or through the app?

  • How to separate multiple layers to eps / jpeg files?

    I work with drawings of garments in illustrator and use layers to seperate out multiple colors. Is there a script/s that will seperate out each layer into individual eps/jpeg files with the name of the layer + the name of the original file into a new single file? Example: Original file name is 0005. This layer would have up to 10 color layers. I would like to have each layer seperate out to individual files named : (sample) 0005_red.eps and 0005_red.jpg
    All jpeg files need to be 100dpi medium resoulution.
    Any help would be appeciated!

    ''gallicbear2 [[#question-1038045|said]]''
    <blockquote>
    Can't figure out how to separate addressees on one line. Nowhere is this spelled out. Other forums say a colon or a semi-colon. Neither one works. When I add either one, the first address turns red, meaning it is no longer recognized by Thunderbird. Am using TB 24.6.0. Thanks in advance.
    </blockquote>
    Thanks, Matt. That answers my question.

  • How to put multiple classes in a single file?

    Hello,
    I'd like to put mutliple classes in a single file. (This
    would be useful for grouping children that are minor extensions of
    parent classes or helper classes that are used by one class only).
    When I tried to put two classes in one file, I got this error
    message:
    5006: An ActionScript file can not have more than one
    externally visible definition: Notation.editField,
    Notation.labelField1
    This is the structure I used. Thanks in advance for your
    help.

    You can declare multiple classes in a single file, but only
    one can be
    within the package declaration. All class declarations
    outside the package
    are invisible to code outside the file.
    package sample
    public class SampleClass
    class SampleClassHelper
    class SampleClassHelper2

  • How to create multiple users in solaris using script

    hi
    how i can create multiple users (2000 users) using shell script with a common password .
    useradd is creating one user at a time.
    thanks

    I m new to solaris and scripting also.
    how i can write a script for this .

  • How to capture multiple change in webDynPro(ABAP) Table

    Hi ,
    I would like to know 'How to Capture Multiple Change' of a node . For example , a table is bound to a node and I select Multiple entries in the table . Then, how to capture Multiple entries of the table  . Is there any method ?
    There is a method 'GET_CONTEXT_CHANGE_LOG' of 'if_wd_context' which captures single change of the node .
    Regards
    Sid

    Post this in Webdynpro forum at
    Web Dynpro Java
    have you seen these tutorials.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4c70444a-0801-0010-7688-9e4bd844b783
    Regards
    Raja

  • How do i see the thumbnails when using File Explorer

    How do I get to see the thumbnail preview when using File > Open?

    Not sure if this has been answered yet, but Illustrator thumbnails aren't showing in Creative Cloud Web file list. Also, anywhere to quick preview/navigator the file?

Maybe you are looking for