on 05-08-2006 2:07 PM
Hi,
I have the imported contents of an attachment in an internal table,using SCMS_R3DB_IMPORT fm into an internal table.Now,how do I display the contents of this table which contains data in RAW format ? Please help.
Should I use open dataset ?
Regards,
Ananya Mukherjee
Hi,
The document may be of any type:PDF,DOC,JPEG anything..
Is there any common function module ?
Regards,
Ananya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The function modules from function group SCMS_CONV are great general purpose converters. They can be used to go to or from strings, binary string, character tables, binary tables, etc. Have a look there.
I think SCMS_BINARY_TO_XSTRING would be an excellent place to start.
Message was edited by: Thomas Jung
Hello Thomas or anyone,
I am trying to open a PDF document that has been stored in binary table format as an attachment in CRM. I am using SAPGUI in an ABAP environment, not WebDynpro. I am trying to open this document in a custom container using ALV, although I know I can also open it in the attachments.
I have tried several ways, and still nothing. At least now, I am not getting an error message, or an invalid format message, etc. It just displays a blank container. The file is stored with a class CRM_P_ORD. I am trying to use method DISPLAY_IO in class CL_CRM_SINGLE_IO to open this document within the container.
Does anyone have any clues? Thanks a lot for your help..
Becky
what type of document is it. you need to set proper MIME type and set the binary content as the response object of the page. IE will decide which application to use based of MIME type for example application/pdf it will use adobe acrobat reader.
check out this weblog on how MIME type parameters are set and how the binary content is set as response object.
/people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
/people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.