cl_document_bcs: E-Mail mit Eintrag im Business Workplace
Posted: Mon Jan 28, 2013 1:36 pm
Hallo, ich verschicke eine Mail mit BCS. Coding siehe unten. Alle swunderbar. Allerdings bekomme ich es nicht hin, das im Businessworplace beim Sender im Ausgang und beim Empfäger im Eingang ein Eintrag erscheint.
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.
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 ©