Ansicht
Dokumentation

Business Application Programming Interfaces (BAPIs) ( RELN40A_CA_BFA_API )

Business Application Programming Interfaces (BAPIs) ( RELN40A_CA_BFA_API )

Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

Business Application Programming Interfaces (BAPIs)

Description

BAPIs (Business Application Programming Interfaces) are open, business orientated interfaces for accessing R/3 business processes and data from external systems. In the Business Object Repository BAPIs are defined as methods of SAP Business Objects. They provide an object orientated view of R/3 application modules.

New developments in the area of BAPIs in Release 4.0A are:

  • Integration of BAPIs into Application Link Enabling (ALE)

    In Release 4.0A BAPIs can also be used for asynchronous data transfer within the context of ALE (Application Link Enabling). For further information see the ALE Release Notes.
  • Enhancement of the development environment in the R/3 System

    The development environment for BAPIs has been enhanced in Release 4.0A.

    You can access all SAP Business Objects and their BAPIs in the BAPI Browser and integrate them into your application programs. All Business Objects for which BAPIs have been implemented are clearly displayed in the R/3 application hierarchy in the BAPI Browser. The interface information required for calling BAPIs and documentation are also provided.

    The Business Object Builder is provided for developing BAPIs. In the Business Object Builder you can, for example:
  • Implement a BAPI as a method of a Business Object using the BOR/BAPI-Wizard.

  • Test a BAPI in the test environment.

  • Modify the status of a BAPI within the framework of the release procedure. Possible status values are: modelled, implemented, released or expired.

Other functions are also provided, for example, for ALE integration.
The section below "Changes to the Interface" describes how to access these functions.
  • BAPI C++ Class Library

    In Release 4.0A a BAPI C++ Class Library for Windows NT and Windows 95 is provided enabling object orientated access to BAPIs from external systems. In the BAPI C++ Class Library every SAP Business Object for which BAPIs have been implemented has a proxy class and every BAPI has an associated function. The native data and structures in C++ can be used for calling BAPIs in place of SAP internal data types and structures.

    A dynamic proxy class allows access to those new Business Objects and BAPIs, for which there is not yet a static proxy class in the BAPI C++ Class Library.

    Application programs that use the BAPI C++ Class Library must be compiled with Microsoft Visual C++ 5.0 and should use the standard C++ library (not iostream or ).
  • New BAPIs

    In Release 3.1 more than 150 BAPIs were provided. In Release 4.0A the number of BAPIs has grown to over 360. These are listed below. You can access any released BAPI in the BAPI Browser.

    Business Object BAPI

    EmployeeAbsence:
    Delete
    Approve
    GetDetail
    GetList
    Create
    Request
    SimulateCreation
    Change

    EmployeePrivAddress:
    CreateSuccessor
    Approve
    Change
    Create
    Delete
    GetDetail
    GetList
    Request
    SimulateCreation

    EmployeeAddress:
    Approve
    Change
    Create
    Delete
    Request
    Simulate
    SimulateCreation
    CreateSuccessor
    GetList
    GetDetail

    DistributionModel
    (ALE):
    GetDetail

    Applicant:
    ExistenceCheck
    ChangePassword
    CheckPassword
    InitPassword
    CreatePassword
    DeletePassword
    GetPassword
    GetStatus
    CreateFromData

    ProjectDefinition:
    ExistenceCheck
    CreateFromData
    GetDetail
    Update

    Network:
    ExistenceCheck
    GetInfo
    GetDetail
    Maintain

    WorkBreakdownStruct
    Maintain
    GetInfo

    EmployeeBankDetail:
    Change
    Create
    CreateSuccessor
    Approve
    Delete
    GetDetail
    GetList
    Request
    SimulateCreation

    EmployeeBasicpay:
    Approve
    GetList
    CreateSuccessor
    Request
    GetDetail
    Delete
    Create
    Change
    SimulateCreation

    CompanyCode:
    GetList
    GetDetail
    ExistenceCheck
    GetPeriod

    BusinessArea:
    ExistenceCheck
    GetDetail
    GetList

    ControllingArea:
    GetDetail
    GetList
    GetPeriod
    GetPeriodLimits
    Find

    CostCenter:
    GetList
    GetDetail

    Company:
    GetList
    GetDetail
    ExistenceCheck

    ProfitCenter:
    GetList
    GetDetail

    FunctionalArea:
    ExistenceCheck
    GetDetail
    GetList

    Material:
    Availability
    GetDetail
    GetBatches
    GetBatchCertificate
    ExistenceCheck
    GetInternalNumber
    GetList

    Article
    Availability
    GetDetail
    GetBatches
    GetBatchCertificate
    ExistenceCheck
    GetList
    MaintainDataRetail
    GetInternalNumber
    GetComponents
    GetCharacteristMerchandiseHier
    GetVariantNumbers
    CloneSingle

    Class:
    SelectObjects
    GetClassifications
    GetChars

    BusPartnerEmployee
    (Business partner employee):
    ChangePassword
    CheckExistence
    CheckPassword
    CreatePassword
    DeletePassword
    GetPassword
    InitPassword

    Debtor:
    ExistenceCheck
    ChangePassword
    CheckPassword
    CreatePasswordRegistry
    DeletePasswordRegistry
    InitPassword
    GetDetail
    GetPasswordRegistry
    Find

    Creditor:
    ExistenceCheck
    ChangePassword
    CheckPassword
    CreatePasswordRegistry
    DeletePasswordRegistry
    InitPassword
    GetDetail
    GetPasswordRegistry
    Find

    DebtorCreditAccount:
    GetStatus
    ReplicateStatus
    GetOldestOpenItem
    GetHighestDunningLev
    GetOpenItemsStructur
    GetDetail

    FixedAsset:
    GetDetail

    GeneralLedger:
    GetBalance
    GetCurrentBalance
    GetPeriodBalances

    CostType
    (cost element):
    GetFixaccount
    GetFixaccountList

    ActivityType:
    GetList
    GetPrices

    InvestmentProgram:
    ExistenceCheck
    GetLeaves
    GetRequestsAndLeaves
    ReplicateCompressedDat
    CompressData
    ReplicateRelatedEntiti
    SelectRelatedEntities

    EmployeeAbstract:
    ExistenceCheck
    ChangePassword
    CheckPassword
    DeletePassword
    GetPassword
    InitPassword
    CreatePassword
    Dequeue
    Enqueue
    GetList

    Employee
    Employee time specification (international):
    GetList
    CreatePassword
    InitPassword
    GetPassword
    DeletePassword
    CheckPassword
    ChangePassword
    Dequeue
    Enqueue

    ProductCatalog:
    GetList
    GetVariants
    GetLayout
    GetItems
    GetPrices
    GetLayoutDescription
    GetLayoutDocuments
    GetSalesArea
    GetDetail

    Kanban
    (Kanban container):
    GetListForSupplier
    SetInProcess

    FinancialProduct:

    CreateFromData
    Display
    GetSecurityPrice

    Currency:

    GetDecimals

    PurchaseReqItem
    (Purchase requisition item):
    GetList
    SingleReleaseNoDialg
    CreateFromData
    Release
    ResetRelease

    PurchaseOrder:
    CreateFromData
    GetItems
    GetItemsForRelease
    Release
    ResetRelease
    GetList
    GetDetail
    GetReleaseInfo

    SalesOrder:
    Simulate
    GetStatus
    CreateFromData
    GetList

    CostEstimate:
    GetExplosion
    GetItemization
    GetDetail
    GetList

    InspectionLot:
    StatInterface
    GetList
    GetOperations

    InspLotOperation:
    GetList
    GetChar

    InspLotCharacter:
    SetResult
    Getrequirements
    GetResult

    InspPoint:
    GetList
    GetRequirements
    Change
    CreateFromData

    InternalOrder:
    GetList
    GetDetail

    QualityNotification:
    CreateFromData
    GetKeyFigures
    GetCatalogProfile
    GetListForCustomer
    GetMaterialListFCust

    ServiceNotification:
    CreateFromData
    GetList

    EmployeeTrip:
    GetStatus
    GetList
    GetExpenseForm
    GetExpenseForm_HTML
    CreateFromDataWeekly
    GetDetailsWeekly
    GetOptionsWeekly
    Approve
    ExistenceCheck
    CollectMileage
    SetOnHold
    Delete
    GetOptions
    CreateFromData
    GetDetails
    Cancel

    ServiceEntrySheet:
    GetDetail
    GetList
    Release
    ResetRelease
    GetReleaseInfo

    MaterialReservation:
    CreateFromData
    GetDetail
    GetItems

    PurchaseRequisition:

    CreateFromData
    Change
    GetItems
    GetItemsForRelease
    Delete
    GetDetail
    GetReleaseInfo

    PurchasingInfo:
    GetList

    GeneralLedgerAccount:

    ExistenceCheck
    GetBalance
    GetCurrentBalance
    GetPeriodBalances
    GetDetail
    GetList

    ARAccount
    (Debits account):
    GetOpenItems
    GetBalancedItems
    GetStatement
    GetPeriodBalances
    GetCurrentBalance
    GetKeyDateBalance

    APAccount
    (Credits account):
    GetBalancedItems
    GetOpenItems
    GetStatement
    GetKeyDateBalance
    GetCurrentBalance
    GetPeriodBalances

    PlannedIndepReqmt
    (Planned independent requirements):
    Change
    CreateFromData
    GetDetail

    EmployeeBenefit:

    CheckSelection
    CreatePlans
    DeletePlans
    GetParticipation
    GetOpenEnrollmentPeriod
    GetEventList
    GetCorequisitePlans
    GetOffer

    EmpBenefitHealthPlan
    GetDependents
    GetPossDependents
    EmpBenefitInsurePlan
    GetBeneficiaries
    GetPossBeneficiaries

    EmpBenefitSavingPlan
    GetBeneficiaries
    GetPossBeneficiaries
    GetInvestments
    GetPossInvestments

    EmpBenefitMiscelPlan
    GetDependents
    GetPossDependents
    GetBeneficiaries
    GetPossBeneficiaries
    GetInvestments
    GetPossInvestments

    AcctngServices
    (Accounting Services):
    CheckAccountAssignment
    PreCheckPayrollAccountAss

    AcctngGoodsMovement
    (Accounting Goods Movement):
    Check
    Post

    AcctngInvoiceReceipt
    (Accounting Invoice Receipt):
    Check
    Post

    AcctngEmplyeeExpnses
    (Accounting Employee Expenses):
    Check
    Post

    AcctngEmplyeeRcvbles
    (Accounting Employee Receivables):
    Check
    Post

    AcctngEmplyeePaybles
    (Accounting Employee Payables):
    Check
    Post

    AcctngBilling
    (Accounting Billing):
    Check
    Post

    AcctngPurchaseOrder
    (Accounting Purchase Order):
    Check
    Post

    AcctngPurchaseReq
    (Accounting Purchase Requisition):
    Check
    Post

    AcctngActivityAlloc
    (Accounting Activity Allocation):
    Check
    Post

    AcctngPrimaryCosts
    (Accounting Primary Costs):
    Check
    Post

    AcctngRevenues
    (Accounting Revenues):
    Check
    Post

    AcctngStatKeyFigures
    (Accounting Statistical Key Figures):
    Check
    Post

    AcctngNotIndAllocAct
    (Accounting Not/Indirect Alloc. Activities)
    Check
    Post

    ProcurementOperation:
    GetInfo
    GetCatalogs

    PayrollTravelExpnses:
    Post

    TimeMgtConfirmation
    (Time management confirmation):
    Post

    PieceOfEquipment
    (Equipment):
    GetCatalogProfile
    GetDetail
    CreateFromData
    Update
    InstallAtFuncloc
    InstallInHierarchy
    DismantleAtFuncloc
    DismantleFromHierarchy
    GetListForCustomer

    EmployeeFamilyMember:
    Change
    Create
    CreateSuccessor
    Approve
    Delete
    GetDetail
    GetList
    Request
    SimulateCreation

    Helpvalues:
    GetList
    ShTest

    BapiService
    (General BAPI functions):
    DataConversionInt2Ext
    DataConversionExt2Int

    EmployeeIntControl
    (Employee internal control):
    Change
    Create
    Createsuccessor
    Approve
    Delete
    Getdetail
    Getlist
    Request
    SimulateCreation

    IRLogicalObject
    (Logical Object in Info Repository):
    Create
    Delete
    ExistenceCheck


    Customer:
    GetSalesAreas
    ChangePassword
    CheckPassword
    InitPassword
    CheckExistence
    CreatePassword
    DeletePassword
    GetPassword
    CreateFromData
    ChangeFromData
    GetDetail
    Search

    OpenInfoWarehouse
    (Open Information Warehouse):
    GetData
    GetCatalog

    BusinessEventtype:
    GetInfo
    GetEventList

    BusinessEvent:
    GetLanguage
    GetInfo
    GetSchedule
    Init

    Location:
    GetListAll

    BusinessEventGroup:
    GetList
    GetEventtypeList

    Attendee:
    CheckExistence
    GetBookList
    GetCompanyPrebookList
    GetCompanyBookList
    GetPrebookList
    CheckPassword
    ChangePassword
    GetTypeList

    EmployeePersonalData:
    Change
    Delete
    GetDetail
    GetList
    Create
    CreateSuccessor
    SimulateCreation

    ItCustBillingDoc:
    CreateFromData
    Simulate
    IsCancelled
    CancelFromData

Changes to the Interface

In the area menu Tools -> Business Framework you can access:

  • the functions for integrating BAPIs into ALE under ALE -> Development -> BAPI.
  • the BAPI Browser under BAPI Browser.
  • the development environment under BAPI Development.

    Here you can access the Business Object Builder and the function Generate field allocation module. This function enables conversion between internal and external data formats in the BAPI interface.

Changes in procedure

Procedure for removing dataset errors

Dependent functions

Planning

Further notes






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 28453 Date: 20240425 Time: 075731     sap01-206 ( 297 ms )