Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8212

In Pre-Exit, prevent method from being called

$
0
0

I have created an enhancment for a webdynpro component. Then, I have defined a pre-exit for a method in the component controller. Inside the pre-exit, I do a couple of checks, and depending on them, I would like to skip the processing of the method for which I have define the pre-exit. Is this possible?

 

I thought of the RETURN statement, but this won't help. RETURN will jump out of the pre-exit, but not out of the method.

 

my-pre-exit-of-method-SET_MY_VALUE.

 

  IF some_condition = some_value.

    "prevent the method SET_MY_VALUE from being called. but how??

  ENDIF.

 

end-of-pre-exit.


Viewing all articles
Browse latest Browse all 8212

Trending Articles