Zur Info: Beim Baustein 'SO_NEW_DOCUMENT_ATT_SEND_API1' funktioniert es. Allerdings ist mir da die Sache mit dem Attachement zu kompliziert.
VIELEN DANK im Vorraus für jeden Tipp!!!
In english...
Hi out there,
i'm using cl_document_bcs class and methods to send email with attachement. everything works fine. messages will be send successfully.
But also i need to have an entry in sap business workplace for outgoing messages at senders workplace. and incoming messages in receivers workplace. I'm not able to handle ist with.
I know the fm 'SO_NEW_DOCUMENT_ATT_SEND_API1'. But i want to get it with abap oo approach.
Here's my coding with creating document.
- Code: [Select all] [Expand/Collapse] [Download] (Untitled.txt)
- try.
- lr_send_request = cl_bcs=>create_persistent( ).
- catch cx_send_req_bcs .
- ********************************************************************
- * STEP: Textinhalt der Mail
- ********************************************************************
- try.
- lr_document = cl_document_bcs=>create_document(
- i_type = 'RAW'
- i_text = it_mailtext
- i_subject = l_betreff ).
- catch cx_document_bcs .
- GeSHi ©