cancel
Showing results for 
Search instead for 
Did you mean: 

How to read a whole table into local table?

Former Member
0 Kudos

Hi,

I have a table in which the users can change specific values.

Once clicking on a 'Save' button, I would like to read this table and to use a RFC to send it to another system.

If I use the wizard I get only the lead selection.

I do not know how to read the entire table.

Thanks,

Itay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi itay......

make use of the method get_static_attributes_table in the interface if_wd_context_node.

---regards,

alex b justin

Former Member
0 Kudos

Thanks.

It worked.

What is the difference if I use the method above to read the data or if I store it as an attribute?

What is the best way to work in?

Former Member
0 Kudos

hi itay.......

attribute can store only a single value...

so you could read only one record.

if you specify a node of cardinality 0..n it acts as a table in which you can see all the values.

---regards,

alex b justin

Former Member
0 Kudos

Hi,

I just created an attribute which is a table type and it has a table in it.

So what is the difference if I use an attribute of a value or use the node with a read to read its value?

Regards,

Itay

Former Member
0 Kudos

hi itay....

an attribute can have only one record at a time....

where as an attribute present inside a node of cardinality 0..n can have n number of values, just like a table.

eventhough you have given the type of an attribute as table.. it would'nt act like a table.

---regards,

alex b justin

Answers (0)