cancel
Showing results for 
Search instead for 
Did you mean: 

ES : CRM_BPBASICDATACHGRC : How to use this service

Former Member
0 Kudos

Hi all

I am a new entry into ESA.

I came across this ES <b>CRM_BPBASICDATACHGRC</b>.

Q: 1:

I am planning to test this ES but not sure of the way to do it.

Q:2: How to activate the ES ?

Q:3: How to see the SOAP Engine ?

Any help/guidance are welcome !!

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi, Jack

The following steps are what i usually do.

1. Find the explanation of the service here.

Enterprise Services Index

http://erp.esworkplace.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/enterpriseservices.asp?&packageid=...

2. In ECC or CRM system which has this service,

SE80 -> Enterprise Service Browser -> Select your service and

run "Test Interface". Please check the XML check box in the "Inbound

Processing" screen.

By using this tool, you can test the service while setting input

values in XML.

Good Luck.

Sejoon.

Former Member
0 Kudos

Sejoon

Very recently i appended some more questions.

Also I am unable to see the TEST Interface. Please let me know the extact place. Since i am very new to this, quite confused on locating the place

Regards

Former Member
0 Kudos

Hi, Jack.

1. In SE80, can you see Enterprise Service Browser on the upper

left pane? If not, please Menu utilities -> settings -> Workbench

(general) tab and check Enterprise Service Browser check box.

2. Click Enterprise Service Browser and you'll find Enterprise

Services.

3. Double Click the service that you want.

4. Now you can see "Test Interface(F8)" on the tool bar.

  • BTW, You can see "Start Web Service Wizard(F5)" also. This is

for creating web service from Enterprise Service.

Best Regards.

Sejoon

Former Member
0 Kudos

Thanks Sejoon !

<b>* BTW, You can see "Start Web Service Wizard(F5)" also. This is

for creating web service from Enterprise Service.</b>

How Enterprise Service is Different from Web Service ?

Thanks

Former Member
0 Kudos

Congrats! Jack.

> How Enterprise Service is Different from Web Service ?

The enterprise service that you can see in SE80, is not yet web

service.

Please refer here.

https://www.sdn.sap.com/irj/sdn/developerareas/esa/esworkplace

-> Download -> Complete Enterprise Service Documentation

And in the ERP 2005 documentation you can find

00_mySAPServiceProvisioning.pdf

It will give you the answer.

Best Regards.

Sejoon

Former Member
0 Kudos

Hi Sejoon

When i F8(Test Interface), new PopUp(Inbound Processing) appears and shows the RECEIVER INTERFACE details. I selected GENREATE TEMPLATE DATA and EXECUTE. Result displays in XML formats as below:

<?xml version="1.0" encoding="utf-8" ?>

- <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">

- <asx:values>

<SUCCESS>Services Processed Without Error</SUCCESS>

</asx:values>

</asx:abap>

What does this means ?

Thanks

Former Member
0 Kudos

Hi, Jack.

In the RECEIVER INTERFACE details, check "XML" option also in addition to

Generate Template Data.

Now, you can edit XML for input.

And if you succeeded, you can get the result from

"Results Display" -> Payload After Service

For example, in our system,

i tested successfully EmployeeBasicDataByEmployeeQuery with the following

input in this Test Interface(F8).

-


<?xml version="1.0" encoding="utf-8"?>

<nr1:EmployeeBasicDataByEmployeeQuery xmlns:nr1="http://sap.com/xi/SAPGlobal20/Global">

<EmployeeBasicDataSelectionByEmployee>

<KeyDate>2007-01-26</KeyDate>

<EmployeeID schemeAgencyID="">500101</EmployeeID>

<WorkAgreement_ID schemeID="" schemeAgencyID=""></WorkAgreement_ID>

</EmployeeBasicDataSelectionByEmployee>

</nr1:EmployeeBasicDataByEmployeeQuery>

-


Good Luck.

Sejoon

Former Member
0 Kudos

Sejoon

I was trying the service : BusinessPartnerBasicDataByIDQueryResponse_In

Here is the Original view of Editing Payload view:

-


<?xml version="1.0" encoding="utf-8"?>

<nr1:BusinessPartnerBasicDataByIDQuery_sync xmlns:nr1="http://sap.com/xi/CRM/SE/Global">

<BusinessPartnerDataSelectionByBusinessPartner>

<ID schemeID="Str 1" schemeAgencyID="Str 2" schemeAgencySchemeID="Str 3" schemeAgencySchemeAgencyID="C">Str 4</ID>

<AddressID>Str 5</AddressID>

</BusinessPartnerDataSelectionByBusinessPartner>

</nr1:BusinessPartnerBasicDataByIDQuery_sync>

-


I have Business Partner number 2000000907. so I modified the XML as :

-


<?xml version="1.0" encoding="utf-8"?>

<nr1:BusinessPartnerBasicDataByIDQuery_sync xmlns:nr1="http://sap.com/xi/CRM/SE/Global">

<BusinessPartnerDataSelectionByBusinessPartner>

<ID schemeID="Str 1" schemeAgencyID="Str 2" schemeAgencySchemeID="Str 3" schemeAgencySchemeAgencyID="C"><b>2000000907</b></ID>

<AddressID>Str 5</AddressID>

</BusinessPartnerDataSelectionByBusinessPartner>

</nr1:BusinessPartnerBasicDataByIDQuery_sync>

-


When i F8 run it, on the Payload after Service, i see the following:

<?xml version="1.0" encoding="utf-8" ?>

- <nr1:BusinessPartnerBasicDataByIDResponse_sync xmlns:nr1="http://sap.com/xi/CRM/SE/Global">

- <Log>

<BusinessDocumentProcessingResultCode>05</BusinessDocumentProcessingResultCode>

<MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>

- <Item>

<TypeID>018(CRM_XI_SERVICE_PROC)</TypeID>

<CategoryCode />

<SeverityCode>3</SeverityCode>

<Note>ID attributes must not have content</Note>

</Item>

</Log>

</nr1:BusinessPartnerBasicDataByIDResponse_sync>

-


Where I am going Wrong ? Any help !

Thanks

Former Member
0 Kudos

Hi, Jack.

Just a guess because i don't have CRM System and don't know the specification

of the service..

Please delete unnecessary Str Xs.

For example,

<ID schemeID="Str 1" schemeAgencyID="Str 2" schemeAgencySchemeID="Str 3" schemeAgencySchemeAgencyID="C">

to

<ID schemeID="" schemeAgencyID="" schemeAgencySchemeID="" schemeAgencySchemeAgencyID="C">

And regarding schemeAgencySchemeAgencyID, check both option(C or blank).

Good Luck.

Sejoon

Former Member
0 Kudos

Sejoon

I did the deleting of extra Str Xs.

But of no use, I get the same error message !

<?xml version="1.0" encoding="utf-8" ?>

- <nr1:BusinessPartnerBasicDataByIDResponse_sync xmlns:nr1="http://sap.com/xi/CRM/SE/Global">

- <Log>

<BusinessDocumentProcessingResultCode>05</BusinessDocumentProcessingResultCode>

<MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>

- <Item>

<TypeID>018(CRM_XI_SERVICE_PROC)</TypeID>

<CategoryCode />

<SeverityCode>3</SeverityCode>

<Note>ID attributes must not have content</Note>

</Item>

</Log>

</nr1:BusinessPartnerBasicDataByIDResponse_sync>

Thanks

Former Member
0 Kudos

Sejoon

On the ES Brower (SE80), I took a Service Interface and ran the Web Service Creation wizard. WS can successfully created.

I went to SICF and drilled to the following location :

default_host > sap>bc>srt>xip>sap> ZCRM_BPBASICDATABYRESPONSIDQR(my WS Service).

This WS is active and when i TEST THE SERVICE(available on the right-click), I was asked to provide a User Name/Passwd and land me in the HTTP 500 internal Server error !

any idea abt the problem ?

Thanks

Former Member
0 Kudos

Hi, Jack.

i think SICF -> "Test Service" function does not support Web Service.

At least, my env. has the same error even though this web service is

normal.

When you succeeded creating web services, please use this tool, Web

Services Navigator in your SAP J2EE engine.

http://<J2EE Engine>:<J2EE Port>/wsnavigator/

http://help.sap.com/saphelp_erp2005/helpdata/en/b7/d7baaf1481a349ab723e3acd7334b3/frameset.htm

Actually, i usually test web services from Enterprise Service like

the following.

1. Find the Enterprise Service from SE80

2. Test this service via SE80 - F8(Test Interface)

Well, as you know, "Test Interface" is difficult to use, if so, skip

this test.

3. Create web service via Web Service Creation wizard and do WSCONFIG

in the required client.

4. Test this web service via WSNavigator.

This tool is easy to use.

Good Luck.

Sejoon

Former Member
0 Kudos

Bad thing is that we do not use SAP J2EE Engine !

Thanks

Answers (0)