Copy the attachment

Tore Sundberg tore.sundberg at se.abb.com
Wed Apr 4 05:23:59 EDT 2001


Hi Rodrigo,
 
One way is to create a method reading container data and copying the
references, something like this:
 
REFRESH TEMP.
  IF WI_ID NE ' '.
    CALL FUNCTION 'SWW_WI_CONTAINER_READ'
         EXPORTING
              WI_ID                    =3D WI_ID
              READ_FOR_UPDATE          =3D ' '
         TABLES
              WI_CONTAINER             =3D TEMP
         EXCEPTIONS
              CONTAINER_DOES_NOT_EXIST =3D 1
              OTHERS                   =3D 2.
  ENDIF.
  SWC_GET_TABLE TEMP '_NOTES' WI_NOTES.
  IF SY-SUBRC =3D 0.
    SWC_SET_TABLE EVTCONT 'NOTES' WI_NOTES.
  ENDIF.
 
EVTCONT is an event container for the triggering event of the second WF=
.
You need proper bindings as well.
 
Regards
 
 
                                                                       =
                =20
 (Embedded     "Rodrigo Ba=F1os, Iv=E1n"              <IRodrigo at fecsa.e=
s>@MITVMA.MIT.EDU>  =20
 image moved   2001-04-04 08:39                                        =
                =20
 to file:                                                              =
                =20
 pic26900.pcx)                                                         =
                =20
                                                                       =
                =20
                                                                       =
                =20
 
 
 
Please respond to SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
Sent by:  SAP Workflow <Owner-SAP-WUG at MITVMA.MIT.EDU>
 
 
To:   SAP-WUG at MITVMA.MIT.EDU
cc:    (bcc: Tore Sundberg/SEBUS/ABB)
Subject:  Copy the attachment
 
Security Level:?         Internal
 
 
Hi,
 
How can I copy an attached document of a Workflow to another Workflow?
 
Best regards,
 
 
=
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic26900.pcx
Type: application/octet-stream
Size: 176 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20010404/494db43e/attachment.obj


More information about the SAP-WUG mailing list