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?
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.)
-JeffThe 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!!!!
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,
SureshHi 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 -
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.
thanksI 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
SidPost 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
-
Regarding FBL1N(vendor line items)
hi experts , I have to display the opening balance(balance carried forward) with vendor line items ,I found the table n field name but don't know how to display in header or in <b>ALV</b> list. table name is <b>LFC1-UMSAV</b>. ldb is <b>KDF</b>. hope
-
Labview with Vista 64 bit native support
I'm waiting day after day to see a new Labview release supporting Vista 64 bit (I mean running at 64bit natively and not in a 32bit emulation layer). I expected it last year... then I waited believing that of course... it'll come soon... but now I'm
-
i have been exporting lightroom web galleries to my iweb site without any problem. Suddenly I get the error message "finder can't complete the operation because some data can't be read or written" - error code -36 - and the move to the sites folder
-
Can't login in to OS X 10.6.7 without domain admin account
Have just bought a mac mini to test in a Windows server environment. I successfully bound to the Acitve Directory server and was able to login as my default user account; I moved on and did a software update which moved me from 10.6.4 to 10.6.7 and s
-
How toset JMS_TIBCO_COMPRESS to true ,connecting to tibco jms queue frmBPEl
Hi , I m tryingto connect to tibco jms queue from BPEL .How can i set JMS_TIBCO_COMPRESS to true before placing message on the queue. I am able to send and receive the messages from the queue but I m not able to compress it