Quantcast
Channel: SCN : Discussion List - SAP Master Data Governance
Viewing all articles
Browse latest Browse all 2047

Access class concept: application/foundation layer

$
0
0

Hi everybody,

 

I need some help regarding the acces class concept in MDG.

 

"The master class is the one beeing called by the MDG framework. Its object instance actually depends on the current software layer is it running in. In the MDG foundation layer, it is a reference of class CL_MDG_BS_FND_ACCESS whereas in the MDG application layer it is a reference of class CL_MDG_BS_ECC_ACCESS..."  from SAP Guide - Extend the MDG Business Partner

 

While debugging I found out the object instance is always of class CL_MDG_BS_ECC_ACCESS - even if I'm just creating a business partner (and no customer/supplier). In this case - for my understanding - it should be of of class CL_MDG_BS_FND_ACCESS?

So I'm wondering: is it always running on application layer?

 

In the master class CL_MDG_BS_BP_ACCESS_MASTER-DELIVER_ACCESS_CLASS_NAME

it's checking for the required access class in line 23:

 

*   if customer or supplier (EhP5 or EhP6) is active then use ECC access class

     IFcl_abap_switch=>get_switch_state( 'MDG_BS_BP_SWITCH_01' ) = 'T'.     "On

     ...


This seems to be always true. Is this a general system setting? Meaning sth like: the system is using customer and supplier functions, therefore just use application layer?

 

Kind regards,

Hannes




Viewing all articles
Browse latest Browse all 2047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>