on 11-05-2008 9:46 AM
Hi all!
I've got a problem with my attachment in the shopping cart. We have implement a function, where the user is able to sent an email with an attachment from the shopping cart.
If the user, who added the attachment to the shopping cart will send the email, the field PHIO_CONTENT in the table ATTACH in the shopping cart structure BBPS_SC_APP_DOCUMENT is filled an i can attach these data to the email.
But when the shopping cart will be transfered to another user during the approval worklflow, the field PHIO_CONTENT is emtpy. All other data is already existing (like PHIO_OBJID). I've got the URL to the document too (field DISP_URL = http://sapdb01.XXX.XXXXXXX.de:8000/sap/ebp/docserver/Zellen%25252Exls?phioget&KpId=DDAB1A80829CEFF1B....
Does anybody knows why the data (field PHIO_CONTENT) will not by stored in the shopping cart? Is it neccessay to load the file from doc-server? If so, how can I read the files from the document server?
Thank you for help!
Greetings, Florian
I read the document from the BDS again!
CALL METHOD cl_ism_dm_documents=>get_document
EXPORTING
io = ls_io
IMPORTING
content_bin = lt_content.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Florian,
I have a similar assignment where I need to send e-mail with attachments from the SC. The attachemnts can be in varius formats, i.e. DOC, XLS, TXT etc. I wonder how do you handle the attachments? I read the attachments using BBP_PD_SC_GETDETAIL and send e-mail using class cl_document_bcs. The content of the attachemnts are in binary format and receipient can't open them.
Thanks
Hi Florian,
Did you notice before/after attachment BBPCONT ebp table .Whenvever you attach a document .it accumaltes the count depends upon the amount of data.
Reagards
Muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.