cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to test enterprise services in SAP SRM 7.0 EhP1

nilayghosh
Active Participant
0 Kudos

Hi experts,

For my recent project, we have enabled "PI Independent Enterprise Services" business function in our SRM 7.01 EhP1 system. While to trying to test some of the enterprise services, we are facing some error. I am pasting the request message and the response that I got from the enterprise service InternalRequestSRMByElementsQueryResponse_in. While defining the end point, I have used basic authentication settings. Note that I am testing this ES with my own user id and password which is a valid on for the SRM system. Can someone help please?

Request message:

POST /sap/bc/srt/xip/sapsrm/internalrequestsrmbyel/100/sapsrm_internalrequestsrmbyel/sapsrm_internalrequestsrmbyel_binding HTTP/1.1

Host: <host>:<port>

Content-Type: text/xml; charset=UTF-8

Connection: close

Authorization: <value is hidden>

SAP-PASSPORT: 2A54482A0300E60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064353632326163306235363431316530383330333030303030323337663833320000000002D5622AC0B56411E0830300000237F832D562EADFB56411E0AD3800000237F83200000001000000002A54482A

Content-Length: 753

SOAPAction: ""

<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"><enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body><ns1:InternalRequestSRMByElementsQuery_sync xmlns:ns1='http://sap.com/xi/SAPGlobal20/Global'><InternalRequestSelectionByElements><CreationDatePeriod><StartDate>2011-04-01</StartDate><EndDate>2011-07-22</EndDate></CreationDatePeriod></InternalRequestSelectionByElements></ns1:InternalRequestSRMByElementsQuery_sync></SOAP-ENV:Body></SOAP-ENV:Envelope>

Response that I got:

HTTP/1.1 200 OK

content-type: text/xml; charset=utf-8

content-length: 915

accept: text/xml

sap-srt_id: 20110723/194910/v1.00_final_6.40/4E24C49F23184117E1008000097C2FFA

sap-srt_server_info: SRM_100,167 ,http://sap.com/xi/SRM/SE/Global,InternalRequestSRMByElementsQueryResponse_in,InternalRequestSRMByElementsQuery_sync,126

server: SAP NetWeaver Application Server / ABAP 702

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header/><soap-env:Body><n0:InternalRequestSRMByElementsResponse_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"><Log><BusinessDocumentProcessingResultCode>5</BusinessDocumentProcessingResultCode><MaximumLogItemSeverityCode>4</MaximumLogItemSeverityCode><Item><SeverityCode>4</SeverityCode><Note>Abort occurred; Internal request not read</Note></Item><Item><SeverityCode>4</SeverityCode><Note>Abort The attributes of the user are inconsistent or not defined. See transaction PPOMA_BBP. on Internal request level</Note></Item><Item><SeverityCode>4</SeverityCode><Note>Abort An exception with the type CX_GDT_CONVERSION occur red, but was neither handled locally, nor declared in a RAISING clause on Internal request level</Note></Item></Log></n0:InternalRequestSRMByElementsResponse_sync></soap-env:Body></soap-env:Envelope>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you check if you have done all the relevant configuration on SRM system to use this service. i.e. related to shopping cart on SRM system?

You are getting application error which means something is wrong with application backend/configuration.

Regards,

Gourav

nilayghosh
Active Participant
0 Kudos

Hi Gaurav,

Thanks for responding. Yes, all the backend config are in place since I am able to successfully run an equivalent RFC (BBP_PD_SC_GETLIST) and another RFC named BBP_PD_SC_GETDETAIL from SE37. The problem seems to be something very specific to the ES. May I request you to run this ES at your end (if possible) and let me know the result possibly with the input and output message similar to the one I pasted in the origincal question.

Thanks in advance,

Nilay