cancel
Showing results for 
Search instead for 
Did you mean: 

SRM-PI Integration for Supplier and Company Replication ( EBP-SUS Scenario)

Former Member
0 Kudos

Dear Experts,

We are doing a scenario where we are trying to replicate the Company and the Vendors from EBP to SUS via tcode-

BBP_SP_COMP_INI and BBP_SP_SUPP_INI.

When we are doing this in EBP , at SLG1 it is showing the replication done successfully. I have also checked in EBP - SXI_MONITOR the corresponding XML messages has been successfully generated and the respective proxies are called.

But these messages are failing in XI.

In XI the corresponding service interfaces are used -

from EBP (outbound) - SupplierPortalTradingPartner_CreateOrChange_Out http://sap.com/xi/EBP

to SUS (Inbound)- SupplierPortalTradingPartner_CreateOrChange_In http://sap.com/xi/SRM/SupplierEnablement

corresponding interface mapping used- EBP40Partner2SRM40Partner http://sap.com/xi/SRM/SupplierEnablement/Global/IC

corresponding message mapping used - EBP40Partner2SRM40Partner http://sap.com/xi/SRM/SupplierEnablement/Global/IC

data type used TradingPartnerCreateOrChangeInternalOut http://sap.com/xi/EBP

We are doing this scenario from SAP Pre-delivered standard content -

Service_Procurement_SupplierEnablement

in XI the inbound message is failing at mapping step, it is showing the below error-

Cannot produce target element /ns1:SupplierPortalTradingPartner/Method. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

I have also tried to test the mapping in test tab with the same payload but it showing the same error, even if I try it with a blank payload error remains same.

below is the error I got-

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_EBP40Partner2SRM40Partner_</SAP:P1>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>

<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_EBP40Partner2SRM40Partner_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Trace -

<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:SupplierPortalTradingPartner/Method. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:420) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:118) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep

I have gone through this thread

but I think we can not change this interfaces as mentioned here as we are using standard SAP content.

Any help would be very much appreciated.

Thanks

SUgata B Majumder

Accepted Solutions (0)

Answers (1)

Answers (1)

sugata_bagchi2
Active Contributor
0 Kudos

Hi Experts,

Any idea please?

sugata_bagchi2
Active Contributor
0 Kudos

Hi All,

I have resolved the issue.

it was a cache problem. I have changed the map, just edited description and activated the map. Though it was a SAP standard Map. I have made the objects as modifiable from SWCV and all the messages are processed.

Thanks