Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
alexander_teslyuk
Product and Topic Expert
Product and Topic Expert
828

As an add-on to my PI Blogs



Hands on SAP ME integration or how I learnt PI (XI)


http://scn.sap.com/community/manufacturing/blog/2015/12/12/hands-on-sap-me-integration-or-how-i-lear...


PRE/POST XSLT step in integration scenario via PI


http://scn.sap.com/community/manufacturing/blog/2016/01/23/prepost-xslt-step-in-integration-scenario...


 

and based on the recent Blog from my colleague Konstantin on how to integrate custom fields for ME objects


http://scn.sap.com/community/manufacturing/blog/2016/01/04/how-to-integrate-additional-custom-fields...


 

I'd like to illustrate that XSL can be similarly modified in PI scenario as well in order to map Custom Fields to ME objects.


The MRP_CONTROLLER Material Custom Field was mapped by adding the following lines to the XSL and using the Operation Mapping as illustrated in previous Blogs:


<sch:CustomFieldList>


      <sch:CustomField>


           <sch:Attribute>MRP_CONTROLLER</sch:Attribute>


             <sch:Value>


                <xsl:value-of select="DISPO"/>


              </sch:Value>


      </sch:CustomField>


</sch:CustomFieldList>


 



Obviously, the same would be possible for other ME objects as well in the integration via PI. You just need to make sure the corresponding XSL is modified to have CustomField* tags to match the structure of the request accepted by SAP ME.


As always I appreciate your comments, ratings and Likes.


Best regards,


Alex.