Hello,
I'm creating a workflow which contains a pdf attachment. This attachment is created or inserted with the start form.
During the workflow I want to delete the attachment and include a new one. Another thing I want to do is attach the pdf document to an other BOR object.
The thing what I have done so far but didn't work:
I created an activity which moves the attachment to a method so I could work or change the attachment. I know their is an automatic binding with the container '_Attach_Objects' but I couldn't see the contents in the executed method when I read it out on the way below
Here a part of the method to get the content of the '_Attach_Object' container.
BEGIN_METHOD DISPLAY_ATTACHMENT CHANGING CONTAINER.
DATA attach TYPE SWC_OBJECT OCCURS 0,
ZSWC_OBJECT TYPE TABLE OF SWC_OBJECT.
swc_get_table container '_ATTACH_OBJECTS' attach.
SWC_GET_TABLE CONTAINER 'ZSWC_OBJECT' ZSWC_OBJECT.
BREAK-POINT.
END_METHOD.
With the binding SWC_GET_TABLE I don't get the appropriate values in the container.
How do I get the contents of the container in the method so I could delete the attachment on a nice way or to copy the content to a new BOR Object?
Kind regards,
Richard Meijn