cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax error in DSM generated class due to truncation of code

pusala_mahesh
Explorer
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

christianlechne
Active Contributor
0 Kudos

Hi,

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

Christian

pusala_mahesh
Explorer
0 Kudos

Thanks for the answer.

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

Thanks

matt
Active Contributor

So changing the structure was an option.

christianlechne
Active Contributor
0 Kudos

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,

Christian