老熟女激烈的高潮_日韩一级黄色录像_亚洲1区2区3区视频_精品少妇一区二区三区在线播放_国产欧美日产久久_午夜福利精品导航凹凸

重慶分公司,新征程啟航

為企業(yè)提供網(wǎng)站建設、域名注冊、服務器等服務

如何在SAPCRM里創(chuàng)建和消費Webservice

Created by Wang, Jerry, last modified on Dec 19, 2014

The following steps demonstrates how to expose a function module as a web service in CRM.

成都創(chuàng)新互聯(lián)公司專注于鋼城網(wǎng)站建設服務及定制,我們擁有豐富的企業(yè)做網(wǎng)站經(jīng)驗。 熱誠為您提供鋼城營銷型網(wǎng)站建設,鋼城網(wǎng)站制作、鋼城網(wǎng)頁設計、鋼城網(wǎng)站官網(wǎng)定制、重慶小程序開發(fā)公司服務,打造鋼城網(wǎng)絡公司原創(chuàng)品牌,更為您提供鋼城網(wǎng)站排名全網(wǎng)營銷落地服務。

  1. create a FM to return product description by given product ID.

Just use the following source code:

SELECT SINGLE A~short_text INTO rv_text FROM COMM_PRSHTEXT  AS A
INNER JOIN comm_product AS B ON B~product_id = iv_prod_id AND B~product_guid = A~product_guid.

Make sure the FM is marked as "Remote enabled".

如何在SAP CRM里創(chuàng)建和消費Web service

  1. start the web service creation wizard:

    如何在SAP CRM里創(chuàng)建和消費Web service

Just follow the wizard to finish creation. Choose the appropriate authentication approach according to your use case.

如何在SAP CRM里創(chuàng)建和消費Web service

  1. Once creation is finished, you would find your service definition as below:

    如何在SAP CRM里創(chuàng)建和消費Web service

click tab WSDL, write down your WSDL link:

如何在SAP CRM里創(chuàng)建和消費Web service

  1. tcode SOAMANAGER, click Web Service Configuration

    如何在SAP CRM里創(chuàng)建和消費Web service

you can find your service definition created just now:

如何在SAP CRM里創(chuàng)建和消費Web service

click the hyperlink and create a new service:

如何在SAP CRM里創(chuàng)建和消費Web service

Make sure you use SSL.

如何在SAP CRM里創(chuàng)建和消費Web service

Otherwise, you will meet with the following error code in the runtime. This is simply because web service via HTTP protocal is set as forbidden in Suite landscape and all such communication will be redirected, as set up in SMICM.

如何在SAP CRM里創(chuàng)建和消費Web service

click Finish button.

如何在SAP CRM里創(chuàng)建和消費Web service

Now your web service is ready for consumer. click this icon:

如何在SAP CRM里創(chuàng)建和消費Web service

write down this link for later usage:

如何在SAP CRM里創(chuàng)建和消費Web service

How to consume web service in CRM

  1. tcode SE80, create a new service consumer:

    如何在SAP CRM里創(chuàng)建和消費Web service

  1. Choose external WSDL:

    如何在SAP CRM里創(chuàng)建和消費Web service

choose the url got from "how to create web service in CRM", step3

如何在SAP CRM里創(chuàng)建和消費Web service

activate your consumer proxy and write down the ABAP class name.

如何在SAP CRM里創(chuàng)建和消費Web service

  1. go back to SOAMANAGER, find the consumer proxy created in step2:

    如何在SAP CRM里創(chuàng)建和消費Web service

create a new logical point:

如何在SAP CRM里創(chuàng)建和消費Web service

如何在SAP CRM里創(chuàng)建和消費Web service

  1. Make sure you specify URL got from web service creation last step. If you just use the URL got from SE80 in tab "WSDL", you will meet with below error.

    如何在SAP CRM里創(chuàng)建和消費Web service

choose HTTPS:

如何在SAP CRM里創(chuàng)建和消費Web service

  1. consume the web service in ABAP report:

data: lr_proxy TYPE REF TO CO_ZPRODUCTDESCRIPTION4,
input TYPE ZGET_PROD_DESCRIPTION,
output TYPE ZGET_PROD_DESCRIPTION_RESPONSE.
input-iv_prod_id = 'ARNO_TEST004'.
CREATE OBJECT lr_proxy
EXPORTING
LOGICAL_PORT_NAME = 'ZLP_JERRY1'.
CALL METHOD lr_proxy->ZGET_PROD_DESCRIPTION
EXPORTING
input      = input
IMPORTING
output     = output.

Now we get the web service execution result:

如何在SAP CRM里創(chuàng)建和消費Web service

如何在SAP CRM里創(chuàng)建和消費Web service

How to consume public web service in CRM

The steps to consume the public web service is almost exactly the same as consuming SAP internal web service.

Use the public web service  http://www.webservicex.com/FinanceService.asmx?WSDL as example.
First it is necessary to verify whether this web service is working correctly for the time being - test it in soapUI:

如何在SAP CRM里創(chuàng)建和消費Web service

Just test the consumer proxy class in class builder:

如何在SAP CRM里創(chuàng)建和消費Web service

Specify request input just the same as in SoapUI:

如何在SAP CRM里創(chuàng)建和消費Web service

Execution result is the same as what we get in SoapUI:

如何在SAP CRM里創(chuàng)建和消費Web service

要獲取更多Jerry的原創(chuàng)文章,請關注公眾號"汪子熙":


當前名稱:如何在SAPCRM里創(chuàng)建和消費Webservice
網(wǎng)站URL:http://www.xueling.net.cn/article/gidehg.html

其他資訊

在線咨詢
服務熱線
服務熱線:028-86922220
TOP
主站蜘蛛池模板: 亚洲av中文无码乱人伦在线播放 | 国产成人a区在线观看视频 色婷婷综合久久久中文一区二区 | 国产乱国产 | 97精品一区二区三区 | 麻豆99| 亚洲熟女精品中文字幕 | 看看黄色一级片 | 国产成人AV综合色 | 久久一区二区三 | 国产9区 | 亚洲乱码av一区二区三区 | 亚洲欧美日韩国产专区一区 | 国内黄色大片 | 免费av不卡在线观看 | 一区在线免费视频 | 靠逼视频在线观看 | 春色影视 | se吧提供在线看片免费人成久网 | 狠狠插日日干 | 久久国产香蕉一区精品 | 去看片在线 | 亚洲另类色区欧美日韩图片 | 国产精品美女视频网站 | 美女被日在线观看 | 成人永久免费网站在线观看 | 免费可直接观看的禁片 | 一级片国产片 | 婷婷综合缴情亚洲 | 免费无码又爽又刺激A片软件妖精 | 中文字幕一线产区和二线区的区别 | 囯产丰满肉体A片 | 96sao在线精品视频 | 痴汉一区二区 | 欧美一极XXXXX | 日本国产一区二区 | 女人十八一级片 | 亚洲а∨天堂久久精品2021 | 韓國三級大全久久網站 | 成年人网站免费视频 | 国产专区自拍 | 日本亚洲9999aⅴ |