cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI Integration with Sourcing for Business Entity

manikandan_shanmugam3
Active Participant
0 Kudos

Hi All,

I am a SAP PI consultant and working on a Sourcing Integration with ECC using PI as a middleware.

Scenario :Change of Address of BE need to be reflect in Sourcing From ECC.

We are Integrating PI with SAP Sourcing and Sourcing is expecting the XML in below structure.

XML Required by the Sourcing system:

<?xml version="1.0" encoding="UTF-8"?>
<sapesourcing defaultlanguage="" xsi:noNamespaceSchemaLocation="Locations.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <objects>
<object classname="">
            <fields>
           

Field1....n
            </fields>
        </object>
      </objects>
</sapesourcing>

There is no standard way in PI to create a Tag  like this

"<sapesourcing defaultlanguage="" xsi:noNamespaceSchemaLocation="Locations.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">"  but It is possible for PI to create a tag   "<sapesourcing defaultlanguage="" noNamespaceSchemaLocation="Location.xsd" xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance"> (Actualy it is also not owrking) ( but there is no standard way to create this " xsi:noNamespaceSchemaLocation="Locations.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" inside a root tag)

Its throwing error in Sourcing if we upload the file without using the above mentioned tag for this scenario but RFx uses a tag "<ns0:MT_RFx xmlns:ns0="http://sap.com/xi/ESourcing/SRMJS/OP">" which PI can create in a standard way.

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

<ns0:MT_RFx xmlns:ns0="http://sap.com/xi/ESourcing/SRMJS/OP">

<fcidataimport importer="com.sap.eso.sapintegration.Importer">

<objects><object classname="rfx.RFXDoc">

<fields>

fields........n

</fields>

</object>

</objects>

</fcidataimport>

</ns0:MT_RFx>

Is there is any setting in sourcing which can expect the XML tag with attribute and Namespace only...

Please provide your suggestion to make this scenario work.

Regards,

Mani


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mani,

     Can you please expand on which BE's address is actually changing.. is it the Vendors or some other Object... Is this something custom you are trying to accomplish ?.

Currently there are not many settings you can configure in Sourcing specifically to configure the XML tags.

If you can expand on what you are trying to accomplish, we may try to help you out with another approach.

Regards

Prasad