Skip to Content
0
Former Member
Aug 05, 2010 at 10:33 AM

Accessing Freight Name

12 Views

Hi,

I am using SAP 8.8 Patch 11. I want to access the freight names in AR Invoice.

I tried the following code to get the Freight Name.

oExpMatrix = SAPForm.Items.Item("3").Specific

For iRow = 1 To oExpMatrix.VisualRowCount

oExpMatrix.GetLineData(iRow)

Select Case oExpMatrix.Columns.Item("1").Type

Case it_EDIT

Dim oedit As SAPbouiCOM.EditText

oedit = oExpMatrix.Columns.Item("1").Cells.Item(iRow).Specific

g_Connection.Application.MessageBox(oedit.Value)

End Select

Next

I am getting the values like "12","14","15" and not Insurance, Freight , others etc...

How to get the value .

Thanks in Advance

Madhu