Create Bapi

Question: I'm working on a project that requires the creation of a new Bapi
(not an RFC) that have to be called from VB. That means the new BAPI will be visible in the bapi explorer tree (tcode bapi) when it will be created.
Can anyone suggest how to do this?



Any help would be appreciated.

thanks and regards.

Answer:
Hi,
A BAPI is nothing but a method of an object. So, you need to first create a business object in SWO1. (For eg, Sales Order is a Business Object and BAPI_SALESORDER_CREATEFROMDAT1 is a method of this Object ie a BAPI).
In SWO1, after you create Business Object, you HAVE to create a Interface, then create the Key Fields, and then the Attributes. Finally you can create its methods. These are the BAPI's. There is a lot of info about BAPIs in the Online help.
Hope this atleast gives you a lead.
Kiran
Copyright ?2007 - 2008 www.jt77.com