cancel
Showing results for 
Search instead for 
Did you mean: 

Model Component

Former Member
0 Kudos

Hi,

I call same bapi's from more than one components, should I create a model component (MVC) and put this methods there to centralize the code? Is it the best architecture ?

I'm afraid of having a big context, full of data that I am not using at the moment.

Thanks a lot,

Accepted Solutions (1)

Accepted Solutions (1)

alejandro_bindi
Active Contributor
0 Kudos

Generally the concept of Model in WDA is fullfilled by the Assistance class object instead of a separate component.

It is better from a performance point of view. You can then save your data as attributes and only put that data in contexts were needed.

Here's help on the subject:

http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm

Refer to Regina's comments on this thread also:

Regards

Former Member
0 Kudos

Thanks a lot Alejandro.

Answers (0)