cancel
Showing results for 
Search instead for 
Did you mean: 

The new column added on Matrix in form standard.

Former Member
0 Kudos

Dear Expert,,

I have to ask you ( Marketing - > Title ) already... but now i have problem with the column in matrix. i have to use user define field to add the new column. This column no need to set value vs link to other table. but what i want is, i can not add data to column as combo box. if as edit text it is ok i can . but the first time it is text box....

Event ItemCode Validate.

> oItem = oForm.Items.Item("38")

> oMatrix = oItem.Specific

> colPack = oMatrix.Columns.Item("U_PKG")

> oePack = ovPackaging.Cells.Item(pVal.Row).Specific --> this point has problem..

it alert message error " Object reference not set to an instance of an object. "

How can to convert this column to Combo box that we use the same name "U_PKG",

How can i post message with attach file to SDK.. Because i have some problem i want to attach file and post message for SDK.

Thanks,

Sivhour.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prasan,

I guess you're not correctly instantiating the ovPackaging variable. Can you show us the code you used to instantiate ir?

Regards,

Vítor Vieira

Former Member
0 Kudos

Dear Vítor Vieira,

I have to used Event ItemCode Validate.. i have a code like below :

>oItem = oForm.Items.Item("38")

>oMatrix = oItem.Specific

>colPack = oMatrix.Columns.Item("U_PKG")

>oePack = colPack .Cells.Item(pVal.Row).Specific --> this point has problem..

As i have explained the firs of message that i have post last time.. i want the new column be a combo box that we no need set value and link to table.

thanks,,

sivhour

Former Member
0 Kudos

Hi Prasan,


oePack = colPack .Cells.Item(pVal.Row).Specific --> this point has problem.. 

Is the oePack a SAPbouiCOM.Cell type object? It should be.

Also, you are trying to change the type of a system matri'x column, which I don't think is possible.

Regards,

Vítor Vieira