cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Nortification: Copy status text / priority text to mail title

Former Member
0 Kudos

Dear all

I know how mail nortification can be achieved with smart form function.

Also, if & is set in smart form title, document no is set in mail title.

Other than document no, what information can be set in mail title?

(priority, user status, doc title, etc)

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Koji Seki,

I had some similar problem.

In standard only the transaction number can be set in the mail subject by "&".

For the mail function the class CL_DOC_PROCESSING_CRM_ORDER with method CRM_SRVORDER_EXEC_SMART_FORM is used in standard.

We copied the standard class CL_DOC_PROCESSING_CRM_ORDER and developed a new method in which we set our mail subject directly with the information we need.

If you take a look in the method CRM_SRVORDER_EXEC_SMART_FORM on line 181 you find the coding for the "&".

*****

REPLACE '&' WITH ls_orderadm_h-object_id

INTO ls_output_options-tdtitle.

*****

Hope that helps.

Regards,

Alex

Answers (0)