Presentation is loading. Please wait.

Presentation is loading. Please wait.

BAPIs 7-Bapis.1 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease.

Similar presentations


Presentation on theme: "BAPIs 7-Bapis.1 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease."— Presentation transcript:

1

2 BAPIs 7-Bapis.1 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. The Fun Functionality of

3 BAPIs 7-Bapis.2 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. Visual Basic Java Internet Intranet Visual J++ External ApplicationsDB Server R/3 D a t a App Server Business Object Repository Business Object BAPIsBAPIs The Business Application Programming Interfaces

4 BAPIs 7-Bapis.3 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. It's an RFC-enabled function module! It's a method of a business object! What is a BAPI?

5 BAPIs 7-Bapis.4 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. What Makes a BAPI Special? RFC-enabled Parameters must be Data Dictionary types Called synchronously No exceptions

6 BAPIs 7-Bapis.5 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. Business Objects Application Area 2 Customer Object 3a1 (subtype) SAP Object 3a (subtype) SAP Object 3 (supertype) Customer Object 2 SAP Object 1

7 BAPIs 7-Bapis.6 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. Object Type Definition Interfaces Key fields Attributes Methods Events Object type (supertype/parent) Basic data

8 BAPIs 7-Bapis.7 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. No slide -- notes only

9 BAPIs 7-Bapis.8 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. SAP application –Invoice –Requisition –Delivery note –Material –Customer master Non-SAP application –Archived documents –EDI messages (IDocs) PC documents –Word processing documents –Spreadsheets Examples of Object Types SAP documents Masterdata

10 BAPIs 7-Bapis.9 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. Business Object Repository

11 BAPIs 7-Bapis.10 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. Business Object Display

12 BAPIs 7-Bapis.11 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. The BAPI Explorer

13 BAPIs 7-Bapis.12 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. No slide -- notes only

14 BAPIs 7-Bapis.13 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. "Standard" BAPIs GetList GetDetail CreateFromData

15 BAPIs 7-Bapis.14 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. Calling a BAPI From within the R/3 system report zwes_test_bapi. parameters order like bapivbeln-vbeln. data: return like bapireturn, statusinfo like standard table of bapisdstat initial size 0. call function 'BAPI_SALESORDER_GETSTATUS' exporting salesdocument = order importing return = return tables statusinfo = statusinfo. if return-type = 'S'. * Process the returned information else. write: 'Error:', return-message. endif. Must check the RETURN parameter for errors!

16 BAPIs 7-Bapis.15 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. report zwes_test_bapi. parameters order like bapivbeln-vbeln. data: return like bapireturn, statusinfo like standard table of bapisdstat initial size 0. call function 'BAPI_SALESORDER_GETSTATUS' destination 'HP2' exporting salesdocument = order importing return = return tables statusinfo = statusinfo. if return-type = 'S'. * Process the returned information else. write: 'Error:', return-message. endif. Calling a BAPI From a different R/3 system DESTINATION indicates a different R/3 system

17 BAPIs 7-Bapis.16 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. Calling a BAPI From a non-R/3 system Dim CompanyCode As Object Set CompanyCode = BapiControl.GetSAPObject(ObjectName, _ "1234", "COMP_CODE")) CompanyCode.ZCCGetDetail Return:=Result, CompanyList:=Detail

18 BAPIs 7-Bapis.17 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. BAPIs and Transactional Integrity Logon to R/3 system Call BAPI_1 Call BAPI_2 Call BAPI_TRANSACTION_COMMIT Logoff R/3 system Database updates COMMIT WORK

19 BAPIs 7-Bapis.18 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers. Business Component 2Business Component 1 local? BAPI invocation by ALE no yes BAPI error? yes no BAPI to IDoc conversion ALE out- bound ALE Links IDoc ALE Error Handling ALE inbound IDoc to BAPI conversion Query distribution model Integration of BAPIs and ALE


Download ppt "BAPIs 7-Bapis.1 This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease."

Similar presentations


Ads by Google