cancel
Showing results for 
Search instead for 
Did you mean: 

SMS Truncated when reaching C4C

Vinod0311
Participant
0 Kudos

Dear Experts,

We have configured the SMS to Case capability and currently the short code is shared by two vendors, hence we need to use a prefix 'Keyword' to route the SMS to out tenant.

The problem we are facing, whenever the SMS is above 160 characters, the SMS is truncated and getting displayed in C4C. The reason for this is after 160 characters, somewhere in the gateway the second part is not merged and sent to C4C as another new SMS.

The second part does't have a 'Keyword' in front and hence doesn't reach C4C

Am aware this is not always 160 characters and depends on the character bit size. Nonetheless, we wanted to display the complete SMS sent by the customer in C4C/Tickets.

Please aid with your suggestion, is SAP gateway not capable of concatenating the SMS when the message is split and sent by the mobile service provider ?

Or is there a different approach to this solution..

Cheers,

Vino

kursatbeyoglu
Explorer
0 Kudos

Hi Vinod,

I faced this problem too and solved like with this code ;

import AP.EmployeeCentralIntegration.Global;
var collectVar : DataType :: ElectronicMessageBodyText;
var collectVar2 : DataType :: EmployeeCentralEmployeeMasterDataText;
var variable = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sitt";
collectVar = variable + variable + variable + variable;
collectVar2 = variable + variable + variable + variable;

But i must say that, this variable (collectVar) is only limit 1000 char. As Repository Explorer in documents, we can use as like text type but in reality, shown at debug is truncated.

Best Regards

2.jpg

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

In the web service monitoring you could you check the data what is posted by the provider. If this is truncated please contact the provider to send the complete payload.

Regards, Santosh

Vinod0311
Participant
0 Kudos

Hi Santhosh,

The Provider does split the SMS when it crosses 160 characters.

As I understand, globally, all the mobile service providers does this and as per protocol the SMS length is limited to 160 characters.

Sender(Mobile Service Provider) : Splits the SMS after 160 characters and charges the customer for 2 SMS.

The concatenation actually happens at the recipient end.

Receiver (Another Mobile Service Provider in this case it is SAP SMS gateway) : Should concatenate the SMS and send it as one complete message to C4C.

Are we on the same page ? for sure we cannot contact all the customer's mobile service providers to send SMS as complete, this has to be done at the recipient end,

Thanks,

Vinod

Answers (0)