Skip to Content

Syntax error in DSM generated class due to truncation of code

Jul 17, 2017 at 04:25 AM


avatar image

Hi All,

I have deployed a DSM function to managed system and I was getting a syntax error. So when I checked, I realised that this was due to truncation of the generated code.

I can see that the maximum it was able to give 256 chars in one line and rest is truncated.

The reason why it is that long is because this is a deep structure with a hugh length. Changing the structure is not an option. Could anyone suggest how to fix this issue.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Christian Lechner
Jul 22, 2017 at 05:11 PM


please check if a SAP note for this error exists. If not please open a message to SAP support regarding the error in the generated code.

Best regards


Show 3 Share
10 |10000 characters needed characters left characters exceeded

Thanks for the answer.

I have tried that but There was no note. I have reduced my deep structure size to fix the issue.



So changing the structure was an option.


Thanks for that information. However, in general that is a bug, so it would be worth to open a support message to SAP in case you come across this issue again in another scenario

Best regards,