cancel
Showing results for 
Search instead for 
Did you mean: 

copy/show matrix cell to text box of an another form

Former Member
0 Kudos

how to copy particular matrix cell in to a text box of another form saf in vb

Accepted Solutions (1)

Accepted Solutions (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nilesh,

1. Try to get the data from the row on Sales Order form as below:

SAPbouiCOM.Form oForm = (SAPbouiCOM.Form)SBO_Application.Forms.GetForm(pVal.FormType.ToString(), pVal.FormTypeCount);
SAPbouiCOM.Matrix oMatrix = (SAPbouiCOM.Matrix)oForm.Items.Item("38").Specific;
SAPbouiCOM.EditText oEditItemCode = (SAPbouiCOM.EditText)oMatrix.Columns.Item("1").Cells.Item(SelectedRow).Specific;
string ItemCode = oEditItemCode.Value;

2. Set the value of the Item Code on other form as you want.

Kind regards,

ANKIT CHAUHAN

SAP SME Support

Answers (3)

Answers (3)

Former Member
0 Kudos

copy itm no or qty in to job card form text box job name or qty

Former Member
0 Kudos

copy item no in to another form of srf

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Your question is not very much clear! Can we have some screenshots?

Kind regards,

ANKIT CHAUHAN

SAP SME Support