2007 Jun 27 7:35 AM
HI
Can we use global data declared in the Include top, in the local perform?
I am using REUSE_*GRID_DISPLAY to display my report. to call 'user command'
dynamically I have called another PERFORM user_command(sapfm06l). which is standard. but the global values (HIDP, HIDK just like ME2N) is not holding here.
I have includeed the TOP but the scope of TOP variables will not effect at dynamic subroutine calls..
Please help me
HI
Can we use global data declared in the Include top, in the local perform?
I am using REUSE_*GRID_DISPLAY to display my report. to call 'user command'
dynamically I have called another PERFORM user_command(sapfm06l). which is standard. but the global values (HIDP, HIDK just like ME2N) is not holding here.
I have includeed the TOP but the scope of TOP variables will not effect at dynamic subroutine calls..
Please help me
2007 Jun 27 7:38 AM
Hi sapian,
May be you can copy your include as z include or customize it and try.
Reward if useful!
2007 Jun 27 7:39 AM
Hi,
You can use the global variable in the local perform. But in your case you are calling the perform from the standard program so you can't use the variable from your program in that subroutine.
Reward points if useful.
Regards,
Atish
2007 Jun 27 7:43 AM
HI.
Create variable as globely else copy that inclue in program.
Reward all helpfull answers.
Regards.
Jay
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |