cancel
Showing results for 
Search instead for 
Did you mean: 

Which is the best way to use Local DB in WebDynpro

Former Member
0 Kudos

Hi All,

How can I create a Model for LOCAL DB(SAP DB)or Can I create a session or entity bean model for local DB.

If not,please tell me which is the best way to use/call Local DB.

Thanks for your help in advance.

Chandra Murthy

Netweaver Developer

SAP IT

Accepted Solutions (0)

Answers (1)

Answers (1)

htammen
Active Contributor
0 Kudos

Hi Chandra,

have a look here:

Regards

Helmut

Former Member
0 Kudos

Hi Helmut

Thanks for your reply.I know, I can access thru EJB.But my question is why can't Netweaver has MODEL concept ( Like apoptive RFC) for local DB.

Regards

Chandra

htammen
Active Contributor
0 Kudos

Hi Chandra,

I think there are at least two reasons.

1. It is not quite easy to write such a model generator. Think about Joins, complex where or having clauses, ...

2. Normally you do not get data from just one table and display or edit that data. In real world there are different tables involved in an operation. There is business logic around theses tables and business logic shouldn´t be placed into the controller. According to MVC pattern business logic should be placed into the model and that is an EJB, RFC or Web Service.

Regards

Helmut

Former Member
0 Kudos

Yes,You are true,Just a database is not a business logic.

Thanks for your answer...

Regards

Chandra