cancel
Showing results for 
Search instead for 
Did you mean: 

[webdynpro] Accessing database data from View

Former Member
0 Kudos

Hi

I have a table "MyTable" with "name" as single column in SQL DB. Let the data "abc","def","ghi" ( 3 rows ).

I have created a View "DisplayView" which has a Table element which needs to get the data from the above table "MyTable" and display.

I have created a context element "NAME" ( in component controller) and linked with the "DisplayView".

Please let me know the code to set the values in context and display in the view at runtime.

Regards,

Cris

Accepted Solutions (0)

Answers (1)

Answers (1)

sridhar_k2
Active Contributor
0 Kudos

Hi Cris,

Whatever you have done is correct, Creating Table and assigning one column to that table.

Is data coming from the SQL or Do you want to find out how to get data from SQL?

Go thru with this link, for how to get SQL Data.

Regards,

Sridhar