cancel
Showing results for 
Search instead for 
Did you mean: 

Incoming Email Subject Field length increase

Former Member
0 Kudos

Hi,

In CRM 7.0,I need to increase the incoming email Subject Field length ,When i try to modify UI configuration,Subject fields are not enabled for configuration (Other fields in the same screen are enabled for modifications)..

Please give your inputs whether incoming email Subject Field length can be increased? if so,this should be done at UI level or mail form?

Regards

Shan

Accepted Solutions (0)

Answers (1)

Answers (1)

prasenjit_sharma
Active Contributor
0 Kudos

Hi,

You can redefine the GET_M method of the attribute to achieve this.

Regards

Prasenjit

Former Member
0 Kudos

Hi Prasenjit,

Thank you very much for your response.

if you have already implemented ,Would you explain technically to implement the solution.

Looking forward to hear from you

Regards

Shan

Former Member
0 Kudos

Hi,

Adding further to my previous mail,Mail class CL_CRMCMP_C_MAILBODY_IMPL doesnt have an get or set method for subject and attribute(IF_CRM_MCM_MAIL_CONSTANTS~C_HEADER_SUBJECT) is string.

In inbound emails,only 40 charactor is allowed,rest of them are trucated,can you explain me technically how to increase inbound email subject length can be increased

Regards

Shan

prasenjit_sharma
Active Contributor
0 Kudos

Hi Shan.

I guess I misunderstood you. It would difficult with out modifying the data element of the field in question.

But if you want to try you can find the GET_M method in the context node class (CN). You need to change the type field to the one you desire.

Regards

Prasenjit

Former Member
0 Kudos

Hi,

Thanks for your response..

I tried to set a break point and process a inbound mails from SOIN.Actually i am finding a difficult to find out which context node ( IMPL class ) to be modified

I couldn't figure out exactly which class is being called when inbound emails are processed.

If you have any input,Pls let me know ,I will check it out.

Regards,

Shan

Former Member
0 Kudos

Hi ,

Just an update.. I found a class CL_SMTP_EXT_SAPCONNECT which is generally used to process incoming e-mail.

Can any one provide me how to increase subject field length?

prasenjit_sharma
Active Contributor
0 Kudos

Hi Shan,

The class would of type CN as in *CN00, *CN01 etc. CN stands for Context Node. It is not an IMPL (Implementation) class.

Check how many context nodes your view has. Then check for the attributes in the context nodes and find out the one that corresponds to the Email Subject. Also, you can try to do F2 on the UI field to find technical Details.

Regards

Prasenjit

Former Member
0 Kudos

Hi Prasenjit,

Thanks for your interaction and response.

Actually I can to find out views and class details in CRM 7.0 by using F2 key..

The UI component is CRMCMP_CCS_EML and view is CRMCMP_CCS_EML/MailBody. The implementation class is ZL_CRMCMP_C_MAILBODY_IMPL. Since all the page attributes are string, There is a context class ZCL_CRMCMP_C_MAILBODY_CTXT, But no context node (Like you mentioned type CN as in *CN00, *CN01) within page attribute.

The main issue am facing here is that couldnu2019t figure out where to start the debugging for inbound mails where the subject field is truncated. I usually process inbound mails from SOIN transaction.

Moreover subject field can have more than 40 characters in outgoing mail, but the inbound mail subject field limited to 40 character and rest of them truncated.

Hope you understand my area of concern and provide me your input.

Regards,

Shan

prasenjit_sharma
Active Contributor
0 Kudos

Hi,

Yeah I saw that your view does not have any context nodes. But the fields attributes are controlled in the htm page. Go to the HTM page and check the line 147 to 154 this might help you.

Regards

Prasenjit

Former Member
0 Kudos

Hi,

I tried do a modifications at fields attributes ..But didnt help ..Any other thought how this could be achived ?

Regards,

Shan