2009 Jun 07 8:55 AM
hi friends...
My requirement is
In VB(Visual basic) i will enter PO number, for that PO number i want to fetch the data from SAP to VB.
How to get this using BAPI Control in VB.
From SAP point of view, i checked SWo1, there standard Object (PurchaseOrder)-Method GetDetail is there.
but my doubt is how to pass the PO number to which parameter...
i dono how to use that standard Object (PurchaseOrder) in VB...
can you guide me plz..
regards
deva
2009 Jun 07 9:23 AM
Hi,
Method PurchaseOrder.GetDetail of the Business Object BUS2012 uses the BAPI
BAPI_PO_GETDETAIL. So in your VB, you call this BAPI and pass the PO Number in the parameter PURCHASEORDER
Regards,
Firoz.
2009 Jun 07 9:46 AM
hi Firoz...
thanks for your replay...
i dono know , how to call that bapi there... can you send me the some sample code ?
how to call this in VB...
2009 Jun 07 10:04 AM
Hi,
You need to get .NET connector and use this in your VB.
h6.
The SAP .NET Connector is a development environment that enables communication between the Microsoft. NET platform and SAP systems. This connector supports RFCs and Web services, and allows you to write different applications such as Web form, Windows form, or console applications in the Microsoft Visual Studio.Net. With the SAP .NET Connector, you can use all common programming languages, such as Visual Basic. NET, C#, or Managed C++.
In short it will make your VB talk to SAP.
http://www.service.sap.com/connectors
Regards,
Firoz.
2009 Jun 30 4:51 PM