on 01-23-2007 10:18 AM
Can any one tell me the full steps of fileuploading. i have read all the related docs but still there are some problems, i will be of great help if code is provided.
thanks & regards,
kavita.M
Message was edited by:
kavitha harika
It will make sense if you tell us what is your problem. Just cut and paste will not solve the problem.
Regards,
Subramanian V.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi subramanian,
thanks u, for ur reply,that path which u gave is resource path i suppose. can u see the contents of this path????
Moreover my problem is , i have followed all the steps for uploading a file, specified in the forums, but am still not able to do it. i have a folder named Resumes on my Remote server(WAS).how can i get the path for that??(any appropriate code to get it).
Using webdynpro application, i have to store a resume on that folder, which iam unable to do.I am able to store it in the path which u have given.
thanks& regards,
kavitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Kavitha,
which SAP NetWeaver release do you use? NetWeaver 04 or NetWeaver 04s? The best solution for file upload depends on the used release.
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Do the following
1. Create a <b>binary</b> variable in context(Say MyVar)
2. Create a fileupolad element and bind data pty of element with MyVar
3. Create a button for upolad and associate an action to that.
4. Add the following code to the action
IWDAttributeInfo attrInfo=wdContext.getNodeInfo()..getAttribute(IPrivate<ViewName>.IContextElement.MYVAR);
attrInfo.getModifiableSimpleType();
IWDModifiableBinaryType bType=(IWDModifiableBinaryType)attrInfo.getModifiableSimpleType();
byte file[]=wdContext.currentContextElement().getMyVar();//This will return the uploaded file as byte array
Regards
Fahad Hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for ur answer, but still i have problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.