cancel
Showing results for 
Search instead for 
Did you mean: 

Retriving AP-Invoice Screen values using datasource

Former Member
0 Kudos

Hi...

I am trying to get values from AP-Invoice screen.I am able to get header values using

Dim apform As SAPbouiCOM.Form

apform = Me.SBO_Application.Forms.GetForm(pVal.FormType, pVal.FormTypeCount)

apform.DataSources.DBDataSources.Item("OPCH").GetValue(1,0)

How to get values Of Item Matrix like itemcode,Itemdescription,unitcost ....... Using Datasource before adding to Database tables

please Help...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Nageswar,

You can retrieve value form a system Matrix using the same method.

But be aware that in system forms, the values are only flushed to the data source with the FormDataAdd/FormDataUpdate method. In other words, only the values that are already saved in the DB are also available in a system matrix's DataSource.

Regards,

Vítor Vieira

Answers (0)