Hi,
I've a requirement in which whenever the PR is created, mail should be sent with
I've achieved the first point by making use of Extended Notification.
For second point, I'm not able to achieve using Extended notifications.
Even if I've maintained all details using SY-Vline and SY-Uline and maintaining specific length for each fields, its not displayed as table format.
It is displayed in correct tabular form in business object Output value. But in the extended notification mail,It is displayed as plain text without any specific length for each field.
I've already searched in the forum. Couldn't find any correct answer for the same.
There is a length constraint as well for Work item description's each lines.
Could you please let me know if I can include the attached details in specific tabular format and remove the lenth constraint.
Thanks,
Karthika M R
Request clarification before answering.
Hi,
If you want nice and shiny emails you will have to use your own BSP as a template and your own class for message handling.
For the quick solution I usually create my own table type and use that in reference for a multiline element container. then in the workflow description there are several options for displaying the container contents:
&Multi&
&Multi##&
&Multi[]&
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthika, Ok a couple of things to look at here. The body text is retrieved in class CL_SWN_NOTIF_NOTIFICATIONS->IF_SWN_NOTIFY~GET_BODY. So you can see the options and how it is built from the work item text there. Secondly the BSP application SWN_MESSAGE1 controls how that text is formatted in the final message. You might need to create your own copy of SWN_MESSAGE1 and override the default template in SWNCONFIG to get the result you want. Alternatively you might want to extend or create your own equivalent to CL_SWN_NOTIFICATOIN and use HTML tags to format your table correctly. SY-VLINE and SY-ULINE probably won't be enough to copy with proportional font issues.
Regards,
Jocelyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jocelyn,
Thanks for your reply.
I'm filling the item details in a multiline container element of type string.
I've observed that even in workitem details, the item data is not in table format.
Can you please confirm if we can include tables in the Workitem description, as the same text is sent in mail as well.
Thanks,
karthika M R
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.