Putting attachments in task descriptions
ASSY, SOSTHENE
s.assy at afdb.org
Wed May 5 13:59:03 EDT 2004
I think you can create a method using this standard function.
SO_NEW_DOCUMENT_ATT_SEND_API1.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
* COMMIT_WORK = ' '
IMPORTING
NEW_OBJECT_ID = OBJECT_ID
TABLES
PACKING_LIST = objpack
OBJECT_HEADER = OBJECT_HEADER
CONTENTS_BIN = oBJBIN
CONTENTS_TXT = objtxt
RECEIVERS = RECEIVER
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Anthony Anter
Sent: Wednesday, May 05, 2004 5:42 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Putting attachments in task descriptions
All,
I am trying to get the attachments from a workitem confirm end
of task and insert those into the task description of a task later in
the workflow. The problem is I am not seeing any item in the container
that is the actual text of the attachment. Does anyone how to do this or
where to look to find out how to do this.
Thanks
Tony
More information about the SAP-WUG
mailing list