BAPI/RFC with Delphi (Step 1: ActiveX-Components installation)

BAPI/RFC with Delphi (Step 1: ActiveX-Components installation)

Preface

This page is to give a short idea of ActiveX-Components installation in Delphi for the BAPI/RFC - programming with Delphi. .

[@more@]

Use
This section describes all necessary activities for ActiveX-Components installation.

Preparation
Required is the SAPGUI (local or installed in the net), the SAP Software Development Kit (SDK) which you can find on the SAP-Install-CD.With the SDK, help files get installed, which are very useful.

Installing ActiveX-Component
At the moment I’m using the SAPGUI 620 final release and Delphi 7.

During the Installation from the SAPGUI or SDK, any OCX-Files become installed, which included ActiveX-Components. These can be build in into Delphi.

The ActiveX-Components are merged as follows in Delphi:

# SAPLogonControl, SAPBAPIControl :
component --&gt ActiveX import
(imported components: TSAPLogonControl, TSAPBapiControl)

Please follow me, step by step:

a. Before ActiveX-Components installation.
Before.JPG

b. Start to install TSAPLogonControl. Please choose 'SAP Logon Control' and click 'Install...' to install it.
000.JPG

001.JPG

002.JPG

003.JPG

004.JPG

c. After TSAPLogonControl installation.
005.JPG

d. Start to install TSAPBapiControl Please choose 'SAP BAPI Control' and click 'Install...' to install it.
000.JPG

006.JPG

007.JPG

008.JPG

009.JPG

e. After TSAPBapiControl installation
010.JPG

# SAP Remote Function Call Control:
project --&gt type library import
(imported components: TSAPFunctions, TFunction, TParameter, TExports, TImports, TStructure)
Then component --&gt install components;
specify the name of the unit (the units are normally stored in the directory IMPORTS in Delphi): TSAPFunctionsOCX_TLB.pas

Please follow me, step by step:

a. Start to import Type Library (Project --&gt Inport Type Library...)
011.JPG

012.JPG
If you find that the direction of SAP Remote Function Call Control is not correct, please add 'wdtfuncs.ocx' manualy.

013.JPG

014.JPG

015.JPG016.JPG

b. After SAP Remote Function Call Control installation
017.JPG

After the Installation of all components these can get in a form from the register ActiveX of the component Menu. More information's about this theme you can read in the Delphi-component-manual.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/175419/viewspace-914509/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/175419/viewspace-914509/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值