How to use User Exit instead of FOX

Question: Dear all:

I always read the article related to compare between FOX and User Exit in BPS function. But I never see one example to tell me how to use User Exit and which one to trigger the BPS function.

If someone can tell me one example about this User Exit, it would give me good progress. Thansk a lot.

Best Regards

Gu Zheng

Answer:
Gu,

For example, we do a calculation that requires us to read a Ztable to determine certain parameters of the calculation (certain values not stored in the cubes, characteristic values to be used in the calcs, etc). Since we are reading an external table we cannot use FOX.

Other examples are when you'd like to concatenate and / or truncate strings and do some logic based on the new value. You can't do that in FOX.

You run the Exit Function the same way you run a FOX function. If you want some more info please read the article here:

http://www.semexpert.com/Articles/sembps_FOX_vs_EXIT.htm

The following exchange also goes into how to write an Exit Function:

http://www.semexpert.com/_disc10/0000003d.htm

Regards,
http://www.semexpert.com

Answer:
Very useful.....Is it possible to see the ABAP code behind the FOX formulas???

Many thanks

P.

Answer:
yes. put the following command in your FOX function and it will stop when it gets there...you'll be in ABAP debug.

BREAK-POINT.

http://www.semexpert.com

Answer:
hi
well for me BREAK-POINT does work.... in fact I also want to see ABAP code behind the naughty FOX code..!!
any clues whats wrong !!??

regds
sumeet
_________________
____________________

Is it a good day !!??
Copyright ?2007 - 2008 www.jt77.com