cancel
Showing results for 
Search instead for 
Did you mean: 

Adding columns in the matrix

Former Member
0 Kudos

Hai ,

I am adding the columns in an existing matrix at runtime in page load.

I can able to add but how to give the header text for the columns added?

I tried with the following code,

oMatrix.Columns.Item("ItemMake").Title = "Make";

but it gives the error as,

"property or indexer 'SAPbouiCOM.IColumn.Title' cannot be assigned to -- it is read only"

and also i want the added column to be displayed in the first position.

Regards,

Kughan.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If its system matrix that ur talking abt then y dont u add a UDF ?? As it will be more flexible.

Hope it helps,

Vasu Natari.

Former Member
0 Kudos

Hai Vasu,

I want to add those columns it in the purchase order form of the SAP.

How can I do that?

Former Member
0 Kudos

Hi,

Then i recommend u to create a UDF in the marketing document section. So that in the PO matrix u can get a new col. And for creating the UDF u can do it in SAP UI using.. Tools->Customization Tools->User defined Fields management or u can also do it in code C:\Program Files\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\02.MetaDataOperations Check that sample for code.

Hope it helps,

Vasu Natari.

Former Member
0 Kudos

Hi kughan,

u can maually add the udf's

Tools->coustmization tools->user defined fields->marketing documents->rows->Add