2007 Jan 31 1:19 PM
Hi guys,
My situation like this,
in an EXIT, the implemented function module will somehow trigger the program
which calls the function module to run again, how can I avoid this ?
2007 Jan 31 1:21 PM
U mean is it a user exit ?.
Deactivate the exit from the project in Tcode CMOD.
regards,
vijay
Hi guys,
My situation like this,
in an EXIT, the implemented function module will somehow trigger the program
which calls the function module to run again, how can I avoid this ?
2007 Jan 31 1:21 PM
U mean is it a user exit ?.
Deactivate the exit from the project in Tcode CMOD.
regards,
vijay
2007 Jan 31 1:23 PM
May be you can set one flag in the function module
IF FLAG NE 'X'.
here run the program.
FLAG = 'X'.
ENDIF.
first when the function module gets executed , the program will run , next time as the flag is set to X , it will not run
It will run only when you close the application and open again
2007 Jan 31 1:31 PM
But in FM, when you declare a flag,
it is just in the FM, when you come to the FM
again, the flag is initialized again to ' '.
2007 Jan 31 1:43 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |