on 11-30-2009 6:15 AM
Hi,
I have to read different types of documents from content server and display it in web page using webdynpro abap.
Different types of documents are : Tif, Jpeg, BMP, PNG etc. need to be convert into gif format and display
Txt files as it is.
PDF files as it is.
Microsoft office documents as it is.
ALF files i.e. printlists to be shown on web page.
Please anyone has any information regarding this let me know ASAP.
Thanks & Regards,
Manali
hi ,
u can use Mimes for tht
right click on the webdynpro component where u want this image or other doc to to be uploaded.
click on Create >> MIME object >> Import and select file , a pop up appears click on save button.
Once we uploaded the pdf file in to the WebDynpro component an entry named MIMEs appears,
we can see the file under the mime's.
I hope it wud help
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Thanks for quick reply. But it will not solve my problem.
I have to read documents which are already stored in content server of SAP.
do you have any idea how to create mimes dynamically?
I am having problem in displaying printlists in webdynpro abap.
Thanks & Regards,
Manali
Edited by: Manali Gunjal on Nov 30, 2009 11:58 AM
hi ,
pls refer the below thread :
n check wid thomas reply in the thread :
Create the cached response object that we will insert the content
Well you can manipulate the MIME content at runtime by using the API: CL_MIME_REPOSITORY_API. However if your content is temporary, it is more efficient to just place the content directly into the ICM cache. You don't have the overhead of having to both write and then delete it from the database. Here is an example of how you can do this:
I hope it wud be helpful
rgds,
amit
Hi Lekha,
Other things are working fine in my application.
I need to complete following task:
1. I need to read ALF file data i.e. printlist from content server.
2. Need to display it in proper format on webpage.
Can you please help me with it.
Input for my application is just content repository id and document id of ALF file.
Thanks & Regards,
Manali
Hi Lekha,
Its a printlist format.
It contains two components one is DESCR and other is DATA.
for more info about descr and data check below link:
http://help.sap.com/saphelp_40b/helpdata/pt/4f/9938ff446d11d189700000e8322d00/frameset.htm
I need to display this file on webpage
Thanks & Regards,
Manali
I am unable to do that.
Please check below link:
http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/BCSRVKPRCMS/CMS_STRUCTURE.pdf
Edited by: Manali Gunjal on Nov 30, 2009 3:37 PM
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.