当前位置:首页 > InformaticaPowerConnectforSAPR3与PowerCenter安
……………………………………………………………精品资料推荐…………………………………………………
*
* DispatcherService: TCP/IP-Service of the R/3-Dispatcher (normaly * sapdp00) *
* GwHost : actual hostname of the SAP-Gateway *
* GwService : TCP/IP service name of the SAP gateway *
* Call 'ccpict1t -dest example2 -abap -usr
* For your test, you can use the R/3-user 'SAPCPIC' with password 'ADMIN'.
************************************************************************ ******
DEST=example2 LU=R3Host
TP=DispatcherService GWHOST=GwHost GWSERV=GwService PROTOCOL=I
DEST=SAPR LU=SAPR TP=sapdp00
GWHOST=SAPR GWSERV=sapgw00 PROTOCOL=I
************************************************************************ ******
* 3. Entry for the example program ccpict1s and ABAP/4-report acpict2 *
* Describtion: ccpict1s will communicate with ABAP/4-report acpict2 * running in an R/2 environment *
* Before invoking this example please make the following adjustments: *
* RemoteLU : Name of the LU6.2 LU to establish the connection *
* RemoteTP : Name of the remote Transaktion Program, normaly X1SA *
13
……………………………………………………………精品资料推荐…………………………………………………
* Call 'ccpict1s -dest example3 -abap -conv -usr
************************************************************************ ******
DEST=example3 LU=RemoteLU TP=RemoteTP
************************************************************************ ******
* 4. Entry for the example program ccpict1s and ABAP/4-report acpict2 *
* Describtion: ccpict1s will communicate with ABAP/4-report acpict2 * running in an R/2 environment *
* Before invoking this example please make the following adjustments: *
* RemoteTP : Name of the remote Transaktion Program, normaly X1SA *
* snagw : DECnet/SNA Gateway *
* accname : Access name for DECnet/SNA *
* Call 'ccpict1s -dest example4 -abap -conv -usr
************************************************************************ ******
DEST=example3 TP=RemoteTP GATEWAY=snagw ACCESS=accname
************************************************************************ ******
DEST=SAPR3 LU=pdsap TP=sapdp00
GWHOST=pdsap GWSERV=sapgw00 PROTOCOL=I
14
……………………………………………………………精品资料推荐…………………………………………………
************************************************************************ ******
* Entry to connect to COSCON TST
************************************************************************ ******
DEST=TST
LU=172.32.236.8 TP=sapdp00
GWHOST=172.32.236.8 GWSERV=sapgw00 PROTOCOL=I
5.2 配置文件由谁负责提供
配置文件由SAP R/3系统管理员负责提供,他需要确认访问连接者对对象访问权限控制加以考虑。
5.3 配置连接对象
配置连接对象,是需要看你是通过SA P R/3 的 ABAP还是其他方式访问来确认,需要导的对象,这些内容对于仅仅需要从SAP R/3 系统读数据的开发人员来讲是不需要做详细的理解的。
6 运用PowerConnect for SAP R/3 从SAP R/3系统抽取数据
纵所知,使用PowerConnect for SAP R/3连接和从SAP R/3系统集成抽取数据有三种办法:
? 使用ABAP来集成数据 ? 使用ALE来集成数据
? 使用RFC/BAPI函数来集成数据
由于本次COSCON项目开发,主要使用ABAP来从SAP R/3系统抽取数据,所以本部分内容以使用ABAP方法集成数据为线索书写,读者如果对其他方法感兴趣,请参见SAP 系统管理资料、PowerConnect for SAP R/3系统管理员指南等相关资料。
6.1 环境和准备
6.1.1 需要准备环境
在使用PowerConnect for SAP R/3从SAP R/3系统抽取数据时候,你需要具备必要的PowerCenter设计和开发知识,必要的数据库知识。
需要在你的环境里安装和配置相关客户端产品。
6.1.2 需要SAP系统人员分配帐号和访问授权
由于使用ABAP方式从SAP R/3系统抽取数据过程中要有PowerCenter工具自动生成ABAP程
15
……………………………………………………………精品资料推荐…………………………………………………
序,这些程序要有一定的权限,这些程序在SAP 系统的对应的表等对象也需要SAP 系统人员予以授权。PowerCenter设计和开发人员的ABAP程序要能够被生成到你的SAP 系统中去。
6.1.3 需要修改一些配置文件 如果你powercenter server 、powercenter repository server、powercenter client、powerconnect for sap r/3在同一windows环境,在c:\\winnt\\system32\\driver\\etc\\services文件中系统将自动加入配置文件内容。
这个文件中’sap’开头的内容是一些协议和地址影射。
如果你是在UNIX环境,你需要系统管理员加入配置文件到/etc/services内容。下面是笔者windows配置文件内容,供参考: 环境 c:\\winnt\\system32\\driver\\etc\\services文件内容 WINDOWS sapdp00 3200/tcp 和 sapdp01 3201/tcp UNIX sapdp02 3202/tcp sapdp03 3203/tcp sapdp04 3204/tcp sapdp05 3205/tcp sapdp06 3206/tcp sapdp07 3207/tcp sapdp08 3208/tcp sapdp09 3209/tcp sapdp10 3210/tcp sapdp11 3211/tcp sapdp12 3212/tcp sapdp13 3213/tcp sapdp14 3214/tcp sapdp15 3215/tcp sapdp16 3216/tcp sapdp17 3217/tcp sapdp18 3218/tcp sapdp19 3219/tcp sapdp20 3220/tcp sapdp21 3221/tcp sapdp22 3222/tcp sapdp23 3223/tcp sapdp24 3224/tcp sapdp25 3225/tcp sapdp26 3226/tcp sapdp27 3227/tcp sapdp28 3228/tcp sapdp29 3229/tcp sapdp30 3230/tcp sapdp31 3231/tcp sapdp32 3232/tcp
16
共分享92篇相关文档