Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Model Component


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,

Former Member

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:

Refer to Regina's comments on this thread also:

WDA Best Practice for Coding


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question