Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

Sending via Email a workflow step attachment

$
0
0

Hi everyone,

 

I have a Workflow for approval, but for this approval, the user need to add an attachment (just text and no files) explaining the reason for this action. After that, I need to send an Email in which I need to include the text from this attachment.

I have being using different options to go make it but doesn’t work as I want.

 

I got the text using the FM /OSP/GET_WORKITEM_ATTACHMENT to get the text not in the format that I’d like but at list I got the text, but I have some problems about it because when I try to use a field in container to assign the type STRING, to be able to take the complete text, the system doesn’t allow me to use his type. So I have tu use SYST-ULINE to assign the text but it’s limited so the text is not complete.

And even if I use this field, when I I create a Email task and I pass this variable on the text, the text is trunked again.

 

Second option was …. I had to use a SOFM object but is to complex to get the key and don’t know how to send the text because I have to execute a method to get an screen whit the text that I want to send via Email.

 

The method used by the task is SelfItem-SendtaskDescription

 

I’d like to have a simple way and closest to the standard way to send the text written in to a workitem attachment.

Thanks for your cooperation.

 

Regards

 

J. Felipe Uribe


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>