Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need help .

Former Member
0 Likes
528

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 ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
507

U mean is it a user exit ?.

Deactivate the exit from the project in Tcode CMOD.

regards,

vijay

4 REPLIES 4
Read only

Former Member
0 Likes
508

U mean is it a user exit ?.

Deactivate the exit from the project in Tcode CMOD.

regards,

vijay

Read only

Former Member
0 Likes
507

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

Read only

0 Likes
507

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 ' '.

Read only

0 Likes
507

what about a STATIC flag?