How to attach external document in custom developed Web Dynpro Screen
Hello,
We have requirements to develop a custom portal screen using Webdynpro and should provide option to usee to attach external documents like WORD, EXCEL, TEXT, PDF and then save.
In Change/Display mode user should also get option to view this attached document.
Would like to know the solution in case any of you have worked in this scenario.
Thanks
Sunil
Hi,
Refer
1. Navigate through km using webdynpro
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b492c-7d76-2a10-86aa-e11e8388fde8]
2. Upload files in km using webdynpro
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a099a3bd-17ef-2b10-e6ac-9c1ea42af0e9]
Also this sample
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f]
Regards
Baby
Edited by: Baby on Mar 18, 2009 8:01 AM
Similar Messages
-
Attach external documents to SAP
Hi
we are planning to attach external documents to purchase order in ME22N screen. & every month 10gb files
I would like to know the below points
do we have any limitation for attachment?
what potential risks are involved using this functionality?
Will the transactions/SAP performance be impacted?
when do we need to go for DMS?
Thanks
RajuA DMS record points to a content server on which resides the attached document. If you wish not to use DMS, then attaching documents at PO will take some time, given the size of you attachments. I do not believe the performance will take a major hit, there should not be major problems with that. You can always assess the performance by attaching big size document with POs in your Development and Quality systems.
DMS is a centralized content management solution provided by SAP. It offers to store various kinds of documents such as drawings, designs, commercial/technical specifications, equipment specifications, etc. there is not a set formula as when to opt for DMS and when to not. You may explore the features of SAP DMS and if the business finds it a value addition, you can use it. -
How to attach a document to an infotype?
Hi,
Can someone provide me with detail on how to attach a document to an infotype record. This could be any document type, i.e. word doc, jpeg, etc.
Thank you,
Warren.Thank you Rahul.
I should have been more specific in my question.
If I create a custom infotype for eg PA9002, and I create a record for employee 8000010, can I in that infotype 9002 record attach a document? -
How to attach a document to a material
Hi
how to attach a document to the material.if i attach a document to a material. will get automatically pulled up to the bom and then to the
production order.
how to do this.Hi,
First inCV01N transaction create document with proper document type which document u want to attach and continue,
In the Orginals subscreen click it on the open original and upload the file which is in ur local system.
Once u upload click it on the Object Link tab, In the Object link tab select the material master sub tab.
In this sub tab enter the material number and plant and save.
Go to material master -->Basic data1 view --> In this view click it on the basic data text tab, it will take u document sub tab in that select the document which u have attached and click it on the detail infomation, there u can view the document.
Note: For Document maintainance in the SAP needs separate server.
Regards
Vijay -
How to attach a document for a resume on a iPad
How to attach a document to a resume using a ipad
This is a little klugy, but should work:
Open teh received email (the one you need to reply to)
Tap on the body text and Select All, then Copy
Open the document app (note sure which one you are using), and send the resume document via email
Tap on teh body of the document and paste the copied text in
Modify the Subject *** needed (you may want to include the "RE:" at the beginning
Send
Offer Apple some product feedback here : http://www.apple.com/feedback/ -
How to attach a document from cloudOn to my online application form or website
How to attach a document from cloudOn to an online application form or website?
You will need an app (web browser) capable of both storing a document and accessing the site's functionality sufficiently enough to upload a file. Safari can't do this (and I'm pretty certain CloudOn can't either). A couple of options:
iCab Mobile - store documents in the Downloads section and has settings to both change the BrowserID to a non mobile browser to unlock site functionality, and has a setting for uploading files from its storage rather then iOS in general. Its not free, but not very expensive and is a pretty could all around web browser in its own right. I've been using it for quite some time.
iUploader - has both free (trial) and paid versions. I've only experimented with it a bit, but works fairly well. Like iCab, has its own file container that you up load from.
In both cases you would need to transfer your files from the source app (CloudOn, in this case) to the file storage, and then access the website. -
How to attach a document using the Send mail component
Hello,
I would like to know how to attach a document in a email using the Send mail component.
There are these nodes into the atom but I don't know how to use it.
<attachment doc="/ds/grp/doc" pltype="xml">
<xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[@Role='S']/vpf:Msg/vpf:Body"/>
</attachment>
Does anyone know ?
Thank you.Hello All,
Regarding to the mail adapter, here are some updates:
1. B1i will support sending HTML attachemnt via "Send Email" atom in B1 882 PL09. An example here:
<attachment doc="test.htm" pltype="htm">
<![CDATA[<html>
<head>
<title>Enter the title of your HTML document here</title>
</head>
<body>
<p>Enter the body text of your HTML document here</p>
</body>
</html>]]>
</attachment>
2. In addition, B1i will support sending binary attachment and sending html content in Q1,2013.
Thanks & Best Regards,
Qiaoli -
How to attach a Contact at Customer Account Level.
Hi All,
I want to know how to attach a contact at customer Account Level. Please let us know the API for the same.
Or share some sample code if any.
Thanks in advance.Hi,
Are you using R11 or R12?
Well i have an API that i used in R11 for the creation of contacts:
hz_party_contact_v2pub.create_org_contact
hz_contact_point_v2pub.create_contact_point
Hope this helps you..
Vik -
Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.
Luis
Good question - and one that a lot of (business) people would like solved!
Your question prompted me to do some research, and I found this workaround posted by Scott Grossberg:
His solution actually addresses a second problem too - how to attach a document when replying to an email message. In your case you may not need to consider the "reply" aspect - but if not right now, it'll come in useful someday!
I've pasted it verbatim - if it works for you (it does for me) then all credit goes to Scott for solving the problem. There's just one thing I'd add to his solution: you will probably want to rename the message, as by default Goodreader gives it the Subject line: Mail with GoodReader attachments.
THE GOODREADER OPTION
1. CREATE the document you want to send.
2. SAVE it to GoodReader (this will require you to buy and install the app).
3. Go to your email and OPEN the email thread to which you want to Reply and attach your file.
4. COMPOSE your Reply.
5. DOUBLE TAP the message.
6. TAP SELECT ALL. This will copy the entire email thread.
7. OPEN GOODREADER on the iPad and go to the file you want to send as part of your Reply.
8. At the bottom of the GoodReader screen you will see an EXPORT icon (it looks like a rectangle with an arrow pointing to the right).
9. TAP the Export button.
10. TAP EMAIL FILE. Depending on your needs, tap either SEND FILE “AS IS” or “FLATTEN ANNOTATIONS.” This will open a compose message screen with the chosen document already attached.
11. TAP in the body of the email screen. TAP PASTE. This will place your composed Reply and the prior email thread into the message.
12. ENTER the Recipients’ names in the TO: field of your message.
13. SEND your email Reply.
The modified version (= when composing a new message rather than a reply):
1 Make sure that the doc you want to attach is saved in GoodReader
2 In the message you are composing, double tap, select all, and then copy.
3 Open GoodReader and select the file you want to attach
4 Select the export button at the bottom of screen
5 Select e-mail file
6 Position cursor in body of the email message, tap and paste. You may want to delete the "sent from GoodReader" text that precedes the attachment.
7 Rename your message (as by default it will be Mail with GoodReader attachments)
8 Add the recipient's address in the To field.
Hope this helps! All thanks to Scott for this workaround. -
How to attaching the documents to WBS element in projects .
Hi Friends,
Can any one explain me how to attaching the documents in project WBS element. We have u201CDMSu201D server. But I donu2019t know the process. Please explain me step by step the entire process of attaching documents to WBS elements in project.
Regards,
Hari KrishanHi...
Im adding to Expert..Venkats reply.
Plz see this link
http://help.sap.com/saphelp_45b/helpdata/en/95/5fdf348840ee64e10000009b38f83b/frameset.htm
Regards
Chandra -
could someone please tell me how to attach a document to email as an icon that opens....so it does not appear as text in the email??
Paste this into Terminal and hit return. If this attachment is text, it should work. Not sure about jpegs.
defaults write com.apple.mail DisableInlineAttachmentViewing 1
To reverse the setting, change the 1 to a 0. -
How to load external storage html file in web view
hi all,
how to load external storage html file in web view, please help me
" ms-appdata://local/index.html" not working
veerasuthan veerakesanIt need be read as string. Then load the string by Webview.NavigateToString.
Sample as below
string htmlstring = string.Empty;
try
var htmlfile = await Windows.Storage.ApplicationData.Current.LocalFolder.OpenStreamForReadAsync("a.html");
using (System.IO.StreamReader streamReader = new System.IO.StreamReader(htmlfile))
htmlstring = streamReader.ReadToEnd();
webview.NavigateToString(htmlstring);
catch(Exception ex)
Debug.WriteLine(ex.ToString());
在現實生活中,你和誰在一起的確很重要,甚至能改變你的成長軌跡,決定你的人生成敗。 和什麼樣的人在一起,就會有什麼樣的人生。 和勤奮的人在一起,你不會懶惰; 和積極的人在一起,你不會消沈; 與智者同行,你會不同凡響; 與高人為伍,你能登上巔峰。 -
Custom Development of transaction screens
i'm new to R/3.. I would like to know more about Custom Development of transaction screens. In my project, I have to add one more textbox to the screen MM03. could u pls give me the answer
Hi Christy,
Please checkout this answer
Custom Development of transaction screens
Regards, ABY -
Error is in example "How to Create Online and Offline Forms in Web Dynpro"
Hi,
I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
... 34 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
Web Dynpro Code Generation Infos
local/TravelRequest
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
So please help me to correct this error .....
Help will be rewarded.
Regards,
Gurprit BhatiaHi Gurprit,
A null value is being passed at runtime. Make sure that you enter values when filling in the form.
Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
In wdDoInit() method:
wdContext.currentNodeAElement.setValueA("");
Context is as follows:
RootNode
|____NodeA
|_____ValueA
Hope it helps. -
How can I set the data binding between Web Dynpro & Database table
Dear friend,
I am a beginner of Web Dynpro. I want to develop my simple project like these:
1. Create my own database table via Dictionary Project such as TAB_USER and have 3 fields: USER_ID, USER_NAME, USER_POSITION and I have already deployed & archived it.
2. Create my own Web Dynpro Project, and create the input fields as User ID, User name, User position and icon 'Save' on the selection screen and I have deployed it already.
For the process, I want to input data at the screen and save the data in the table, please give me the guide line like these:
1. How can I set the data binding between Web Dynpro and Database table ?
2. Are there any nescessary steps that I will concern for this case?
Sorry if my question is simple, I had try to find solution myself, but it not found
Thanks in advances,
SeMsHi,
You can write your own connection class for establishing the connection with DB.
Ex:
public class ConnectionClass {
static Connection con = null;
public static Connection getConnection() {
try{
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("jdbc/TSPAGE");
con = ds.getConnection();
return con;
}catch(Exception e){
return null;
You can place the above class file in src folder and you can use this class in webdynpro.
You can have another UserInfo class for reading and writing the data into the DB .
Regards, Anilkumar
PS : Refer
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf
Message was edited by: Anilkumar Vippagunta
Maybe you are looking for
-
We set up an enterprise manager image 10.2.0.5 to monitor siebel 8.0 with the siebel performance management pack. Alle SI moduls are working fine over with the pack. We still get errors with all HI like Callcenter modul. If we are trying to execute t
-
PSE12 install: Error 1335, Data1.cab corrupt
PSE12 install: Error 1335, Data1.cab corrupt Install from online purchase with download, all remedies are relevant to CD-ROM?! How do I get my money back?
-
Run time prompts not appearing when launching BR from a right click menu
Hi! I have a problem when trying to launch a business rule from a right click menu which is assigned to a dataform. The rule launches but does not show/ask for the run time prompts as it should do. The run-time prompts should not be hidden (I checked
-
How do you sync "all" the Photo Streams from my iOS6 devices to iPhoto '11
I just purchased iPhoto 11 for my MacBook running Lion OS. I can't seem to sync all the Photo Streams from my iOS6 devices to my MacBook. I need more than 30 days.
-
Is it possible to change the name of the application in webdynpro
Hi , I created one application with 2 views .It is running perfectly.Now the problem here is i want to change the name of the application.Is it possible to edit the name of an application Regards Padma N