Application Development 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: 

Why do we use Method - Check on Activation of OPS_SFWS_SC_ERPTMS (6.05)

Former Member
0 Kudos

Hi,

I want to know why this class and Method used in detail.

I tried to serach in SDN but all i came to know is it will do the check on Actiavtion of the method.

In One of the scenario I am using this std code to check -    Order Integration with an external TMS (605)

   IF cl_ops_switch_check=>ops_sfws_sc_erptms( ) = abap_true.

What does the above conditino mean ?

Does it mean that this Method will become Activated in some other external system and become abap_true...?

Appreciate any explonation to understand better about this method 'ops_sfws_sc_erptms'.

Thanks in advance!

Best Regards,

KC

1 REPLY 1

custodio_deoliveira
Active Contributor

Hi KC,

It is checking if an specific Switch is on, which is usually activated via Business Function. Have a look at the Switch Framework doco/blogs/wiki. Here are some:

SAP Library - Switch Framework

The new Enhancement Framework and the new kernel-based BAdI - ABAP Development - SCN Wiki

Cheers,

Custodio