cancel
Showing results for 
Search instead for 
Did you mean: 

about datatable

Former Member
0 Kudos

hi,

can i use datatable as SAP Tables

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shankar,

As i know it Datatable is for viewing purposes only.You can assign a query to it and view the result.And what do you mean by SAP tables.

Former Member
0 Kudos

i want to use datatable in the table "OSRI". Is that possible.

Answers (1)

Answers (1)

Nussi
Active Contributor
0 Kudos

Hi Puneeth,

as long as you do a query like in this sample you can access every table.

but it's like Raghu said: to view only

sample:


frm.DataSources.DataTables.Add ("OSRI")
frm.DataSources.DataTables.item("OSRI").ExecuteQuery ("Select itemcode, sysserial from OSRI")

frm.Items.item("matrix").Specific.columns.item("ColItem").DataBind.Bind "OSRI", "itemcode"
frm.Items.item("matrix").Specific.columns.item("ColSerial").DataBind.Bind "OSRI", "sysserial "

frm.Items.item("matrix").Specific.Clear
frm.Items.item("matrix").Specific.LoadFromDataSource

create your matrix and look at the sample - and you view the data

lg David

Former Member
0 Kudos

after viewing the data can i use event handling inside the matrix

Nussi
Active Contributor
0 Kudos

Hi Puneeth,

of course you can use event handling.

event handling is something you can use on every form.

the only thing you have to take care about is to that

when you use eventfilter: than you have to activate the "eventstypes" for the given formtype

lg David