Skip to Content
0
May 10, 2013 at 06:58 AM

gateway connect to SAP ERP

105 Views

System :

gateway 2.0 sp5, testdrive

SAP ERP ides 604

I want to call ERP Sales Documents:

http://nplhost:8042/sap/opu/sdata/IWCNT/ERPSALES/InquiryCollection?$format=xml

get this error

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

<code>SY/530</code>

<message xml:lang="en">

Data Provider implementation '/IWCNT/OM_INQUIRY_0001_UC' '01' 'ECC_604' does not exist

</message>

<innererror>

Data Provider implementation '/IWCNT/OM_INQUIRY_0001_UC' '01' 'ECC_604' does not exist. Diagnosis The request shall be routed into a backend system which has the software version '/IWCNT/OM_INQUIRY_0001_UC'. (Assigned via the corresponding system alias.) But no data provider for model '/IWCNT/OM_INQUIRY_0001_UC' and version ' 01' has been registered for software version 'ECC_604'. System Response The system cannot process the request and raises an error. Procedure If only one system alias has been assigned to the corresponding service (check in the IMG activity Assign SAP System Aliases to OData Service) delete the service completely in transaction Maintain Services and then re-create it. If more than one system alias has been assigned to the service (via IMG activity Assign SAP System Aliases to OData Service) you need to manually create the data provider assignment as well. For this you can use IMG activity Assign Data Provider to Data Model. Copy the existing entry for the model and replace the software version with version 'ECC_604'. Procedure for System Administration

</innererror>

</error>

Refer to the gateway library, need to do this:

Assigning SAP System Aliases to OData Service

To assign SAP System Aliases to OData Service proceed as follows:

  1. In transaction SPRO open the SAP Reference IMG and navigate to:  SAP NetWeaver  Gateway  Former Development  OData Channel Development without IW_BEP  Registration  Assign SAP System Aliases to OData Service  and click on the Activity icon.
  2. Choose New Entries
  3. Select the SAP NetWeaver Gateway OData Group /IWCNT/SG_INQUIRY_0001 for ERP Inquiry and /IWCNT/SG_QUOTATION_0001 for ERP Quotation from the Service Doc Identifier list.
  4. Enter the role name created above ZBUSIPARTROLE in the User Role column.
  5. Press F4 to select a system alias in the SAP System Alias column.
  6. Save you settings.

But I can't find /IWCNT/SG_INQUIRY_0001,/IWCNT/SG_QUOTATION_0001, what need to do?