cancel
Showing results for 
Search instead for 
Did you mean: 

How to edit to a table.

Former Member
0 Kudos

Hi All,

I am trying to create a table with inputfield columns.

So, i want the user to input data in this table.

I want to bind this columns with a node context of a BAPI and to save this data.

The procedure i did is:

From the Standart Complex i choose table.

Create binding and in the Standard Cell Editor i choose InputField.

When i test my project i can input data in the columns.

What else must i do?

I will appreciate any help.

Thanks,

Ari

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

btw, remember textview is not an input field.

cheers

Phil

Former Member
0 Kudos

Hi Phil,

I appreciate your help.

I did found the problem.

Which i include.

You can only edit existing lines in the table. If your node is empty, there is no existing line, and therefore you cannot edit them.

Therefore you have to create some elements in your node, e.g. in WDDOINIT or in the supply function, and add some empty elements into the node (use BIND_TABLE).

Or you can provide an "NEW ENTRY" button, which the user presses and then you create one more new element in the node.

Regard,

Ari

Former Member
0 Kudos

if the node is defined correctly,

ie with 0..n entries

and table UI is bound to node, not just Input fields bound to attributes

you are ready to go.

try using the wizard and change the cell editor to input field as another approach.

cheers

phil

Former Member
0 Kudos

Hi Phil,

Thank you for your help.

I checked the node of the context(ie with 0..n ) and i cannot see any problem there.

What do you mean "if the node is defined correctly"?

For binding the UI element table i selected Create Binding (this is the wizard you are talking for?)

I selected the Context Node, in the "Standard Cell Editor" i selected InputField.

I selected InputField for any "Context Attribute" too.

I don't understand were the problem is.

Please Phil if you have any documentation or tutorial how to solve this problem i will appreciate it.

Thanks,

Ari

Former Member
0 Kudos

Try the wdtest Example components.

eg WDR_TEST_TABLE

See also WDA blogs and and docu on getting started.

The NET310 course is also good course. If you are not into self research.

cheers

Phil.