Problems while setting Values to Matrix
Sebastian Schweer
Hallo everybody,i have a little Problem with SAP and his own logic.
First i add two columns to the matrix in Marketing Documents, like the Sales Order.
This two columns contains alphanumerical values.
Then in an other part of the code i write values to this two columns, which works
fine until the two columns are shown on the Matrix.
But if this two columns are not shown on the matrix, an error occur, that the
matrix is not editable.
How can i solve this Problem? Because i can not make sure that the two new columns
are shown every time on the computer of every user.
I worked with the command: matix.setValues("matrix_row", "value");
Is there an other command to set this values or is there a Best Practice solution
to solve this?
Thanks for your help and best regards,
Sebastian
Paolo Manfrin
Hi Sebastian,have you tried to set the property Visible to the column you're insterested before writing to it?
You get an exception because when you use SetValue you interract with the UI (and not the DI).
Cheers,
paolo
0
Please sign in to leave a comment.
Comments
0 comments