You can correct misspelled variables using a quick fix if another variable with a similar name exists.
The source code contains an undeclared variable, but a variable with a similar name already exists.
This functionality is provided in SAP NetWeaver Release 7.40 SP08 and higher.
Example
Before Execution | After Execution |
---|---|
To copy the source code example, click here Code Example Before Execution |
|
The sped variable has been used but it is misspelled with a typo. Only the speed variable is defined. |
The misspelled sped variable has been replaced by the existing speed attribute. |