cancel
Showing results for 
Search instead for 
Did you mean: 

FOX code or Function Module ? Which one should be preferred ?

Former Member
0 Kudos

Hi,

Well I have been recently trained on BPS to meet our project requirements. I know ABAP from before.

My project has a web interface and the logic that is used in it is coded in a FM and also in FOX code. I personally found FOX code to be very convenient.

What I want to know is that is FOX code still being used as BPS is outdated ? Will it be a good idea to replace the FM mentioned above with the FOX code ? Does BPC also use FOX code ?

I consulted few people and they mentioned that it might be a problem when it comes to Scalability and Maintainability. Is it true ?

Your help will be appreciated.

Regards,

Nikhil

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Nikhil,

BPC doesnt use FOX code.

BPC has a proprietary SQL language and MDX queries that can be used in script logics. Apart from this, in the NW version, you can use ABAP BADIs. The performance of BADIs can be much better than script logics.

Hope this helps.

Former Member
0 Kudos

Hi Nilanjan,

Thanks for your input.

Could you also tell me if use of FM is better or Fox code in BPS ? I am able to achieve the required functionality through both.

Regards,

NIkhil

Former Member
0 Kudos

Hi Nikhil,

Which product are you using? BPS or BPC?

If its BPC, then FOX is not at all an option.

If its BPS, then you can use either FOX or FM.

Hope this helps.