cancel
Showing results for 
Search instead for 
Did you mean: 

Populate Grid / Matrix in Serial Number Setup form

zubair_khan5
Participant
0 Kudos

Hi Experts,

I want to populate Grid or Matrix (i don't know it is Matrix or Grid) of Serial Number Setup window. Basically i have no fill "intrserial" column with serial numbers, no idea how to do it. Need help.

Accepted Solutions (0)

Answers (1)

Answers (1)

zubair_khan5
Participant
0 Kudos

Declaration

Private oForm As SAPbouiCOM.Form

Private oMatrix As SAPbouiCOM.Matrix

Sub Routine Code

oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)

oMatrix = oForm.Items.Item("3").Specific

When i run program i am getting error "Use "new" keyword to create an object instance"

Formtype=21

and matrix item no is 3 in form 21

Any idea?

Edited by: Zubair Khan on Dec 18, 2009 9:53 AM