How to Unereserve a workitem through FM

Ramki Maley workflow99 at aol.com
Sun Nov 12 13:15:42 EST 2006


Hi Krishna Mohan,

Never had a problem with it. The only suggestion is to check your 
authorizations. If that is not the case you may have to debug the FM and 
find out what the problem is.

Cheers,
Ramki Maley.


geniuskittu at yahoo.com wrote:
> Hi Ramki,
>
> Thanks for the information !!
>
> However when i tried to execute the FM on my
> workitem,which is reserved by an agent. FM thown a
> shortdump with following Error:
> Error:
> MESSAGE_TYPE_UNKNOWN
> Only message types A, E, I, W, S and X are allowed.   
>                                        |
> |    There is probably an error in the program        
>                                             |
> |    "CL_SWF_UTL_CONVERT_RETURN=====CP"
>
>
> I tried for any relevant SAP Notes on this, but those
> are not relevant.
>
> Any inputs?
>
>
> Regards
> Krishna Mohan
>
> --- Ramki Maley <workflow99 at aol.com> wrote:
>
>   
>> Use FM 'SAP_WAPI_ADM_WORKITEM_BACK'.
>>
>> Cheers,
>> Ramki Maley.
>>
>> geniuskittu at yahoo.com wrote:
>>     
>>> Hi All,
>>>
>>> I have a requirement where i need to manually
>>>       
>> complete
>>     
>>> the workitem through progrm. I am using FM
>>> SAP_WAPI_SET_WORKITEM_COMPLETED. However when the
>>> workitem is reserved by an agent, when i run this
>>>       
>> FM,
>>     
>>> it is giving return message saying 'function not
>>> complete as workitem is reserved by an agent'.
>>>
>>> I need to unreserve the workitem first and then
>>>       
>> want
>>     
>>> to execute SAP_WAPI_SET_WORKITEM_COMPLETED.
>>>
>>> Do we have any FM to unreserve the workitem?
>>>
>>> Thanks and Regards
>>> Krishna Mohan (KM)
>>>
>>>
>>>  
>>>
>>>       
> ____________________________________________________________________________________
>   
>>> Do you Yahoo!?
>>> Everyone is raving about the all-new Yahoo! Mail
>>>       
>> beta.
>>     
>>> http://new.mail.yahoo.com
>>> _______________________________________________
>>> 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
>>
>>     
>
>
>
>  
> ____________________________________________________________________________________
> Want to start your own business?
> Learn how on Yahoo! Small Business.
> http://smallbusiness.yahoo.com/r-index
> _______________________________________________
> 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