cancel
Showing results for 
Search instead for 
Did you mean: 

Pre-Exits and Post-Exits for WDA

Former Member
0 Kudos

Hi All,

Can anybody tell me how can I create a pre-exit or post-exit method for any method in a standard WDA component????

Regards,

Prakash

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Resolved on my own

Former Member
0 Kudos

hi,

-> Pre Exit and Post Exit come into picture when you are using Enhancement Framework.

-> In Enhancement Framework, you use these Methods so as to modify your code or make some additional changes.

-> For enhancing you WD component , you have to go into Enhancement mode.

->For that , Open your component in display mode.

->Now you have a Spiral shaped button adjacent to Change Button. ( Press Control + F4 to go into Enhancement mode ).

-> Now you can go to your methods tab and for each method you will be having Pre/Post Exit Methods,

->These methods will be called before / after your code execution.

->From EHP1 , you do have option of Overwrite Method too in addition to Pre/Post Exit Methods.

Go through www.help.sap.com to have overview of Enhancement Framework.

Thanx.

vivekananthan_sellavel
Active Participant
0 Kudos
thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Press the little swirlly icon to go into enhancment mode:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/f4b9422e0fb911e10000000a1550b0/frameset.htm

Once in enhancement mode, you will see additional columns and additional options when you go to the methods tab of the controller. Here you can create Pre and Post exits for the methods:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/dc/e6ba426b81da11e10000000a155106/frameset.htm

General information about pre- and post- methods:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/86/b83142680d5c33e10000000a155106/frameset.htm