SAP Messages

SAP message number 152 within class SMARTFORMS - Missing default value in constant declaration &1 (enter a value)








Messsage Text for 152(SMARTFORMS)

Missing default value in constant declaration &1 (enter a value)


What causes this issue?
The "Constant" checkbox defines that the variable value can no longer be changed after definition. Therefore, a default value has to be specified.

System Response
The operation was canceled.

How to fix the issue?
Enter a default value for the constant. The default value SPACE can be used for characters and character strings.






ABAP Code to add mesage to own reports


MESSAGE W152(SMARTFORMS). "warning message
MESSAGE E152(SMARTFORMS). "Error message
--> See here for more options


Contribute (Add Comments)

Use the comments section below to add any links, information or screen shots that you feel are relevant to this message. This could include issues you have found that cause the messages to appear incorrectly as well as any fixes you have found or relevant SAP OSS notes. You will then be able to find this information quickly, simply by searching on the message class SMARTFORMS and number 152



Return to Message Class SMARTFORMS