on 07-26-2018 1:52 PM
This is a wonderful example of why global variables are bad. It is also an excellent example of what's bad about variable naming prefixes, because the gV_ is totally wrong, ISU06_MOVEOUT_EXT is a deep structure with tables. ISU does this a lot. Using a prefix such as gs_ or gv_ is misleading and can create exactly this kind of confusion.
It would appear that you're calling a function module in a loop, but in here you're clearing the table that you're looping over.
Either split your structure, or modularise appropriately, or don't clear the entire structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"This is a wonderful example of why global variables are bad"
Like!
Debug!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The dump refers to a FM:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can we know what is declaration for gv_moveout_ext.is it a field symbol declaration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.