Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

matrix add and delete

Hi

i am developing a indent form in that i placed a matrix.

can u plz get me some hints of adding rows and deleting rows..

now i am placing buttons and writing code to do these tasks..

replied

Hi,

Dim OCT_Form As SAPbouiCOM.Form
Dim OCT_Matrix As SAPbouiCOM.Matrix
OCT_Form = OCT_Application.Forms.Item("FormUID")
OCT_Matrix = OCT_Form.Items.Item("MatrixUID").Specific

'To add row in the matrix use
OCT_Matrix.Addrow()

'To Delete Row from the matrix use
OCT_Matrix.DeleteRow()

Hope this will help you.

Regards,

Mahendra

Edited by: Mahendrakumar on Sep 25, 2008 2:18 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question