Adding attachment to workitems dynamically

Mike Pokraka asap at workflowconnections.com
Thu Jul 13 06:44:55 EDT 2006


1. Just define it as a container element of your task and bind it from
your WF.

2. If you do not already have an instance of the object in your WF you
need to insantiate it. Use a task based on SYSTEM.GENERICINSTANTIATE


> Hi Mike,
>
> It shows my ignorance on the subject. Yes you are correct it's the
> object itself.
>
> Now I'm stuck at 2 places.
> 1. Is there a FM to attach the object to work item in the beginning of
> the workflow so that all agents have access?
>
> 2. In my redefined BO->DISPLAY I used the BDC way of calling the
> transaction, thus skipping the selection screen. My question is when I
> add the attachment and if somebody tries to open it then BO->DISPLAY is
> called (correct me if I'm wrong). How can I then access the KEY
> attributes of the BO. Shall I user SWC_GET_ATTRIBUTE SELF '<KEY>' <KEY>.
>
> Please advice
>
> Thanks
> Manish
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of Mike Pokraka
> Sent: Thursday, July 13, 2006 2:28 PM
> To: SAP Workflow Users' Group
> Subject: RE: Adding attachment to workitems dynamically
>
> Hi Manish,
> Forgive the stupid question, but you say "master data of a custom
> business
> object"... why not attach the object itself? No need to add an extra
> layer, and your information will always be up to date.
> Cheers,
> Mike
>
>> Ok. I created a report and attached it the BO-DISPLAY.
>>
>>
>>
>> Anybody knows the FM to add attachment(s) to the work item? I want to
>> attach attachment of type OBJ.
>>
>>
>>
>> Thanks in advance.
>>
>>
>>
>> Regards,
>>
>> Manish
>>
>>
>>
>> ________________________________
>>
>> From: Khanna, Manish
>> Sent: Thursday, July 13, 2006 9:17 AM
>> To: 'SAP Workflow Users' Group'
>> Subject: Adding attachment to workitems dynamically
>>
>>
>>
>> Hi,
>>
>>
>>
>> We need to add the master data of a custom business object as an
>> attachment to the work item. This need to be performed as the first
> step
>> of approval flow. This will help approvers who want to see the actual
>> form before taking a decision.
>>
>>
>>
>> How should I go for it?
>>
>>
>>
>> Regards,
>>
>> Manish
>>
>>
>>
>>
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>





More information about the SAP-WUG mailing list