Hello Friends,
I'm going to do Add attachment in User Decision step. for that I create task & write method in BO. In this scenario I want to convert smartform in PDF format & show that pdf file at user decision step.
For that, after executing smartform's call function I got OTF data and I used FM: 'CONVERT_OTF_TO_PDF' to get data in binary format, finally I'm getting SOFM (here I used Workitem ID as import parameter for this Method). This is correctly working fine whenever I test this method in SWO1. But when I implement this method in Workflow that time it's not getting processed. So, I debug it then I found that, while processing call function of Smartform, it throwing formatting error & not giving OTF data as well.
Friends, Can you suggest me solution for this problem, why such kind of behaviour is there? Its working fine in SWO1 & not working at runtime in Workflow.
Regards,
Keyur Pawar.