Skip to Content

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


I am new in BAPI. I want to display my Vendor details.

Set sapsupplier = oBAPICtrl.GetSAPObject("Vendor")

Set sapsupplierdata = oBAPICtrl.DimAs(sapsupplier, "GetDetail", "GeneralDetail")

sapsupplier.GetDetail GeneralDetail:=sapsupplierdata, Return:=oreturn

For Each Col In sapsupplierdata.Columns

SAPTableView1.Columns(Col.Index).Name = Col.Name

SAPTableView1.Columns(Col.Index).Protection = True

Next Col

This one is my code. But while running the pgm it is showing error. Can anyone help me to comeout this issue. Thanks in advance.

Former Member
Not what you were looking for? View more on this topic or Ask a question