cancel
Showing results for 
Search instead for 
Did you mean: 

sending smartform as email

Former Member
0 Kudos

Hi All

I have a requirement like we are sending a smart form as a body of email . For this we copied a class CL_DOC_PROCESSING_CRM_ORDER into YCL_DOC_PROCESSING_CRM_ORDER and in that there is one method ie CRM_ORDER_EXEC_SMART_FORM , In this method we are calling smart form to trigger this as an automatic mail.

we are passing subject line to field SSFCOMPOP-TDTITLE . But this field length is currently 50 chars.

We need to extend this field length to 150 chars.

So could you please guid me the solution if any one faces this type of issue in their career or can you please advice me is there any alternate solution for this.

Regards,

CHANDU

Accepted Solutions (0)

Answers (2)

Answers (2)

madhu_vadlamani
Active Contributor
0 Kudos

HI CHANDUPANDAVULA,

You can send smartform directly right . Is there any issue in that.

Regards,

Madhu.

Edited by: madhurao123 on Feb 22, 2011 4:29 PM

Former Member
0 Kudos

Hi,

we are passing subject line in SSFCOMPOP-TDTITLE field .

It's current length is 50 chars but we need 150 chars for subject line.

So we need to extend TDTITLE field length to 150.

guide me on this.

brad_bohn
Active Contributor
0 Kudos

I don't have a CRM system anymore so i can't look at that class. I would expect that it uses CL_BCS to send the email eventually. Since you have copied the class, you could change the email functionality to use CL_BCS directly. CL_BCS has the ability to use long subjects with method 'set_message_subject'.