on 06-27-2011 1:53 PM
I have a custom workflow. When user executes work item, i want to make Attach manadatory. There is icon to create attachments This is optional I want to make it mandatory.
One way:
After decision step, for a particular output, make one task in whicj call function module SAP_WAPI_ATTACHMENT_ADD. Make this method as dialog.Pass necessary workitem ID parameters.
DO you know any other simple way to this?
Awaiting your reply.
Hello,
You could put the step in a small loop which checks if there is an attachment; if not then loop back to the same step.
Make sure the workitem says that an attachment is mandatory.
regards
Rick Bakker
hanabi technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for replies. My decision step is Advance with dialog.
My requirement is after execution (Before complete work item step), Mandatory pop up should come for creating attachment.
If I use SAP_WAPI_ATTACHEMNT_ADD FM using method in BO by creating task, will it generate a pop up like just when we press ATTACHEMNTS option (I am not sure).
I wiil check the existance of attachments using loop ; BO exists condidtion (Please tell me BO name for attachment) or else check sy-subrc of above FM.
Using SOFM-CREATE, i am not understood about passing the parameters ATTACH. Please suggest.
Edited by: RUSHIKESH YEOLE on Jul 12, 2011 1:11 PM
Hi,
How about a task with SOFM CREATE and with the "Advace with Dialog" active so it opens automatically once the initial work item is completed.
Regards,
Eddie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.