cancel
Showing results for 
Search instead for 
Did you mean: 

How to get and pass in email the long text description in Maintenance Notif

Former Member
0 Kudos

Hi All,

I'm having a problem on how to get the Long Text description in the PM notification. I need this long text to be sent in the email notification. I tried to view the attributes of the Maintenance Notification object but only the description (VIQMEL-QMTXT) is present. I need the full long text under the description.

I'm thinking of creating a container element for this but I am not sure if I could get the correct text since the text editor has these read_text requirements:

1. Text Name

2. Text ID - LTXT

3. Text Object - QMEL

Using abap, the function module READ_TEXT will be used. But how could I do this in workflow?

Please help.

Many thanks,

Reymar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

One way of doing this -

1. Create a custom method that would fetch, prepare and format the long text.

2. Pass this to some workflow container through an activity.

3. You can use this element as the notification text.

Hope this helps

Former Member
0 Kudos

Hi MK,

Thank you very much for that!

You said that I will create a custom method for the long text. Will I do this under the standard Business Object of the Maintenance? (I still have to research on the steps on creating a custom method though).

I'm almost there! hehehe .. Thanks so much!

Regards,

Former Member
0 Kudos

Well that depends on choice.

1. You can extend the standard BO and attach the custom method there

2. Or you can create custom object and create the method

3. Or you may already have some generic custom object created to accommodate such methods.

Choice is yours.

Answers (0)