2007 Mar 09 2:30 PM
HI
I need to send a mail in the transaction SOST but I only want to send my e-mail, no are the emails that are in the list. How can I do that?
Maybe is a simple question but I need to do that correct!
Thanks!
2007 Mar 09 2:32 PM
You can't single them out, you need to send them all or none. If those mails are not to be sent at all, you can simply delete them and then run the send process for just your mail.
Regards,
Rich Heilman
2007 Mar 09 2:32 PM
2007 Mar 09 2:33 PM
Hello,
If I correctly understood ur question:
In the menu <b>Send process - - > Repeat send</b>
In order to send the email use this code:
DOC_DATA-OBJ_DESCR = 'Bewertete vorerfasste Rechnungen'.
CONCATENATE 'EBELN' 'EBELP' 'LIFNR' 'BELNR'
INTO WA_OBJCONT-LINE SEPARATED BY SPACE.
APPEND WA_OBJCONT TO OBJCONT.
CLEAR WA_OBJCONT.
APPEND WA_OBJCONT TO OBJCONT.
CONCATENATE WA_MRMRSEG-EBELN WA_MRMRSEG-EBELP S_RBKP_NEW-LIFNR
WA_MRMRSEG-BELNR INTO WA_OBJCONT-LINE
SEPARATED BY SPACE.
APPEND WA_OBJCONT TO OBJCONT.
WA_RECEIVER-EXPRESS = 'X'.
WA_RECEIVER-REC_TYPE = 'U'.
WA_RECEIVER-RECEIVER = L_R_ADR6-SMTP_ADDR.
APPEND WA_RECEIVER TO RECEIVER.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_DATA
IMPORTING
NEW_OBJECT_ID = OBJECT_ID
TABLES
OBJECT_CONTENT = OBJCONT
RECEIVERS = RECEIVER
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
Regards,
Vasanht
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |