Enterprise service discovery for bapi.
用于BAPI的企业服务发现。
Deploy and test the RESTful BAPI interface.
部署和测试RESTfulBAPI接口。
An application calls a BAPI using a remote function call (RFC).
应用程序使用远程函数调用(rfc)来调用BAPI。
Also, select the BAPI for SAP interface name as shown in Figure 8.
另外,选择BAPI作为SAPinterfacename,见图8。
To use this wrapper BAPI, first reuse your existing Notes connection document.
使用这个包装器BAPI,首先要重用已有的Notes连接文档。
By default BAPI is chosen for you, and that's the one you want for this example.
在缺省情况下,BAPI处于选中状态,它是本示例中需要使用的接口。
To get the VALIDITYBEGIN date needed by this BAPI, it would just use today's date.
要得到这个BAPI需要的VALIDITYBEGIN日期,使用今天的日期就可以了。
You can access the core business data by predefined interfaces such as IDoc and BAPI.
通过预定义的接口(如idoc和BAPI),您可以访问核心业务数据。
A transaction might also consist of a sequence of BAPI calls followed by a commit call.
一个事务还可能包括一系列BAPI调用,后跟一个提交调用。
An interesting point here is that the operation name doesn't indicate which BAPI gets called.
此处需要注意的一点是操作名称不指示调用哪一个BAPI。
However, you need a new SAP connection document to this new BAPI. It could look like figure 7.
但是这个新的BAPI需要一个新的SAP连接文档,如图7所示。
Under each business object, there is a list of each BAPI that is available for that business object.
在每个业务对象下,列出了为该业务对象提供的每个BAPI。
In Figure 10, notice the check box labeled Create a BAPI transaction Object from the selected BAPIs.
在图10中,请注意标记为Createa BAPItransactionObjectfromtheselected BAPIs的复选框。
The next step is to add the BAPI calls in the order in which they will run as part of the transaction.
下一步将按顺序添加BAPI调用,这些调用将作为事务的一部分按该顺序运行。
When you do that, you can assign each BAPI as a particular create, update, delete or retrieve operation.
执行该操作时,您可以将每个BAPI作为特定的创建、更新、删除或检索操作分配。
By default, all optional parameters for a BAPI are included in the generated business object attributes.
在缺省情况下,BAPI的所有可选参数都包括在生成的业务对象属性中。
Invoking the BAPI outbound interfaces is actually making a RFC call on that module to perform some function within SAP.
调用BAPI出站接口实际上是对这个模块执行rfc调用,从而在SAP中执行某个函数。
From our standpoint (that of a remote access programmatic connection), there is no difference between an RFC or a BAPI.
从我们的角度(即远程访问编程接口的角度)来看,RFC与BAPI之间没有区别。
These categories list all of the BAPIs on the SAP server, showing either the BAPI name or BAPI description respectively.
这些类别列出了SAP服务器上的所有BAPI,并分别显示BAPI名称或 BAPI描述。
Then create a new input business object for BAPI and set the customer number in the properties of the input business object.
然后,为BAPI创建新的输入业务对象,在输入业务对象的属性中设置客户号。
The easy way would have been to ask your SAP people to create a wrapper BAPI that would call all three needed BAPIs for you.
简单的办法是要求SAP人员创建一个包装器BAPI调用需要的三个BAPI。
In fact, most operations are fine-grained even when they are composed services, such as an IDOC or BAPI interactions through SAP.
事实上,大部分操作都是细粒度的,即使是组合后的服务(如通过SAP的IDOC或BAPI交互)也是如此。
We'll also show you how to set up the adapter and run the enterprise discovery wizard to create a BAPI transaction object for you.
我们还将向您介绍如何设置适配器和运行企业发现向导,以创建BAPI事务对象。
A business object (bo) is used to represent a BAPI call and it contains both the input and output parameters, as shown in Figure 4.
使用业务对象(BO)代表BAPI调用,BO包含输入和输出参数,见图4。
A BAPI transaction might consist of a single BAPI call, as in our first example, after which the adapter calls a commit on the SAP server.
像第一个示例那样,BAPI事务可能由单个BAPI调用组成,适配器在此之后调用SAP服务器上的提交。
When you call the retrieve operation, the SapReturn business object contains the BAPI messages or error codes that result from the BAPI call.
当调用检索操作时,SapReturn业务对象包含从BAPI调用产生的BAPI消息或错误代码。
Approach 1 is introduced to build a RESTful service for BAPI interface by implementing a function selector and data binding and configuring HTTP binding.
本文介绍了两种方法,第一种方法实现函数选择器和数据绑定并配置HTTP绑定,从而为BAPI接口构建RESTful服务。
In this sample, we will discover a BAPI called BAPI_CUSTOMER_GETDETAIL, which retrieves the details of a customer according to the provided customer number.
在这个示例中,我们要发现一个名为BAPI_CUSTOMER_GETDETAIL的BAPI,它根据提供的客户号获取客户的详细信息。
Enter appropriate data for your SAP business object, (in our case a BAPI), and also enter the username and password that the adapter will use to login in SAP.
为SAP业务对象输入适当的数据(在本例中是BAPI),还要输入适配器用于登录SAP的用户名和密码。
This routine makes a BAPI call to an SAP object type CostCenter; passes in two parameters, a company code and a controlling area; and accesses a method, GetList.
该例程向一个SAP对象类型CostCenter进行一次BAPI调用;传递进两个参数、一个公司代码和一个控制领域;并访问方法GetList。
应用推荐