Hi
I am wondering if there is any option to format a text in a word document template when creating an attachment with "With Template" button on Attachments assignment block?
Information that is to be formatted is displayed in the custom tags that are added to the doc template with BADI CRM_OFFICE_TEMPLATE_BADI.
For every tag there is a standard text created in SO10. Some words in the text should be formatted as bold, some lines of text should have a background color.
When formatting in SO10 itself and transferring this text to an output string variable in the GET_VALUES method, formats are not recognized at all and a plain text is just displayed in an output document.
Splitting up an SO10 text to smaller ones and storing them in separate custom tags (SO10 text Z = SO10 text Z1 + SO10 text Z2(formatted) + SO10 text Z3 = <<tag1>> + <<tag2 (here we can apply a static format in the doc template)>> + <<tag3>> ) seems to be not convenient from maintenance point of view.
Is it possible to step in the process of generating the output document and add formatting options on the fly? Any script in front of formatted parts?
Regards,
Aliaksei