老熟女激烈的高潮_日韩一级黄色录像_亚洲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影院在线看 | 欧美最猛性bbbbbbxxxxxx | 91热精品视频 | 五月天最新网址 | 老师开裆丝袜喷水视频 | 亚洲精品无码久久毛片 | 成人影片一区免费观看 | a级毛片免费高清视频 | 波多野结衣AV全免费观 | 好男人日本社区www 欧美猛男军人gay巨大 | 麻豆国产免费 | 国产亚洲3P无码一区二区 | 久久视频热 | 91国语?清在线 | 男人专区 | 99久久精品国产国产毛片 | 青青一区二区三区 | melody高清在线观看 | japanese日本熟妇多毛 | 国产在线播 | 亚洲欧美精品人妻一区二区三区 | 噜死你在线资源站 | 国产色综合色产在线视频 | 嫩草影视入口 | 男人边吻奶边挵进去成人网站 | 91大神在线免费?看 h免费看 | 国产欧美精品一区二区色综合 | JAPANESE在线播放国产 | 好男人在在线社区WWW在线影院 | 宅男在线免费视频 | 亚洲国产无 | 欧美激情爱爱 | 国产精品嫩草影院奶水 | 中文字幕一区二区三区久久蜜桃 | 亚洲av色香蕉一区二区三区老师 | 疯狂做受XXXX高潮视频免费 | 麻豆免费在线观看视频 | 精品久久国产老人久久综合 | 国产一区二区三区成人久久片老牛 |