Documents

BAPI Intro

Description
BAPI User Guide BAPI User Guide...................................................................................................................1 BAPI User Guide.......................................................................................................................2 Introduction............................................................................................................................3 Business Framework............................................................
Categories
Published
of 51
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  BAPI User Guide BAPI User Guide...................................................................................................................1BAPI User Guide.......................................................................................................................2Introduction............................................................................................................................3Business Framework.............................................................................................................4SAP Business Objects...........................................................................................................6Business Application Programming Interface (BAPI)............................................................9Advantages of Using BAPIs................................................................................................10Characteristics of BAPIs......................................................................................................11Standardized BAPIs............................................................................................................13Service BAPIs for Help Functions.......................................................................................15SAP Enhancements to BAPIs.............................................................................................18BAPIs of SAP Interface Types.............................................................................................19Business Object Repository................................................................................................19Programming with BAPIs.....................................................................................................20Object-oriented Access to BAPIs........................................................................................22Function-oriented Access to BAPIs.....................................................................................25Programming Dialog Applications.......................................................................................26Programming Distributed Applications.................................................................................27...........................................................................................................................................27Transaction Model for Developing BAPIs............................................................................28BAPI Transaction Model with Commit.................................................................................28..........................................................................................................................................30BAPI Transaction Model Without Commit...........................................................................30Determining BAPIs of Business Objects..............................................................................32Specifying the Key Fields of the Business Object...............................................................33Specifying the BAPI Parameters.........................................................................................33Determining the Name of the Function Module...................................................................34Displaying BAPI Documentation..........................................................................................34Determining BAPIs of Interface Types.................................................................................35Specifying the BAPI Parameters.........................................................................................35Displaying BAPI Documentation..........................................................................................36Examples of BAPI Calls.......................................................................................................37Calling BAPIs from Java......................................................................................................37Calling BAPIs from Visual Basic..........................................................................................40Calling BAPIs from ABAP....................................................................................................43Modifying BAPIs..................................................................................................................45User Exits............................................................................................................................45Customer Enhancements....................................................................................................47Enhancements Through Modification..................................................................................47Customer Developments.....................................................................................................49Namespaces.......................................................................................................................501  BAPI User Guide Use The Business Framework - the open component-based architecture enabling softwarecomponents from SAP and other providers to be integrated - is gaining more and moremomentum.SAP Business Objects are at the heart of the Business Framework and are theprerequisite for the interoperability of software components. They cover a wide spectrumof R/3 business data and processes.SAP Business Objects are accessed through BAPIs (Business Application ProgrammingInterfaces), which are stable, standardized methods. SAP Business Objects and their BAPIs provide an object-oriented view of R/3 business functionality.In Release 3.1 SAP provided the first BAPIs for customers and external providers,enabling them to integrate their software components into the R/3 System and theBusiness Framework. In Release 4.5A there are about 1000 BAPIs enabling object-oriented access to the R/3 System.This User Guide is an introduction to the technical concepts of BAPIs. It also provides anoverview of how you can use BAPIs to achieve a seamless integration between the R/3System and external applications, legacy systems and add-ons. Prerequisites The Use Guide is targeted at application developers wanting to create new integratedactivities using SAP Business Objects and their BAPIs. ã Integration of external applications with an R/3 System ã Integration of existing business applications with an R/3 System ã Alternative front-end interfaces to R/3 Systems, for example, so that occasionalusers can access R/3.These front-ends can be implemented as Windows-based client applications, for example, as macros for desktop applications (Microsoft Excel or Access), whichare usually written in Visual Basic for Applications or implemented as applicationsin Visual Basic, Java or C++. ã Web-based access to an R/3 System through Internet or Intranet applications. ã Componentization within the R/3 System in the context of Business Framework Required Knowledge To use BAPIs to access SAP Business Objects you must be familiar with the basicconcepts of object-oriented technology and programming. Although you do not need tohave a detailed knowledge of the R/3 System to work with BAPIs, you should have a basicunderstanding.BAPIs can be accessed from various programming environments, for example,Delphi/Connect from Inprise (formerly Borland), Microsoft’s Visual Studio, C++ and Javaplatforms. You must be familiar with the development environment used to access BAPIs.BAPIs are available outside of R/3 from development platforms that support the RemoteFunction Call (RFC) protocol. If you are developing your application in a non-objectoriented programming language, you need to have RFC programming skills to call BAPIsvia RFC. In particular you need to know how to perform RFC calls. 2  Introduction Use SAP has introduced object-oriented technology in the R/3 System by making R/3processes and data available in the form of SAP Business Objects.External applications can access SAP Business Objects through standardized,platform-independent interfaces - BAPIs. SAP Business Objects and their BAPIsprovide an object-oriented view of R/3 business functionality.This guide provides an overview of the Business Framework, SAP Business Objectsand SAP Interface Types and their BAPIs as well as the Business Object Repository inwhich business objects and BAPIs are defined and stored.3  Business Framework Use The SAP R/3 Business Framework provides a structure for R/3 functionality based onapplication components (business components) and object models. The BusinessFramework enables customers and partners to link their own components to the R/3System . The use of object-oriented technology and object models reduces the complexity of theoverall system . Features Business Framework architecture provides the basis for developing SAP BusinessComponents.   The basic components of SAP R/3 Business Framework are: ã Business Components   SAP Business Components provide autonomous business functions and consist of business objects. For example, the business objects Employee and Applicant  areassigned to the Business Component Human Resources. Business processes areeither implemented within a Business Component or across several Components(distributed business processes). ã Business ObjectsThe object-oriented structure of the R/3 System is based on Business Objects. Theyencapsulate business data and functionality and define the functional scope andboundaries of a Business Component. ã Business Application Programming Interfaces (BAPI)BAPIs are interfaces for Business Objects.   Together with the Business Objects,BAPIs define and document the interface standard at the business level. ã Integration Service, Application Link Enabling (ALE)   The ALE Integration Service enables the integration of business processes that arecarried out in different R/3 and non-SAP systems.   It is based on the system-widedistribution of Business Objects using the ALE distribution model.4
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x