Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Do not use fields and field symbols () globally

I know how to fix this warning. But I want to know what is the advantage of this SLIN warning? I no where found the good documentation on this. I see more disadvantages than the advantages. but my client wants to simply follow whatever SAP said and they want clean SLIN output even though those are just warnings and messages.

I am completely against to this and strictly follow not to use local variables (unless it is needed for reusable routine).

As per my understandings, 

The advantages are low Memory usage during run time and clearing variables point to point.

And the disadvantages are less readability, not easy maintainable, reviewing the code is bit tough, when diagnosing an issue - can't find the variable usage directly, can't use Watch points more efficiently in the debugger.

I am thinking that I may be wrong and putting here to get experts response. so I can change my mind and respect SAP decision. If I am correct, how can I let SAP know to correct this warning in next release?

Thanks in advance.

- Eswar

Former Member
Not what you were looking for? View more on this topic or Ask a question