Sample XSLT transformation for DME engine in SAP
SAP FI: Payment Medium – DMEE Configuration Published by sachiadmin on June 18, 2017 June 18, 2017. Under Program control, set the Mapping using DME engine indicator. Once this indicator is set, the DME engine button appears, which allows you to access the DMEE format tree directly. Under Format information, specify your country. Jun 10, 2015 XSLT: how to get source file for debugging on “call transformation”. In addition to this I am not an XSLT expert. I did a lot of simple transformations but now, I had to use a real XSLT program. The SCN question of my problem wasn’t unfortunately answered. The situation is shown in the diagram of the SAP help very well.
zvat_decl_xml_trans.xml
![Lines Lines](/uploads/1/2/6/3/126347701/919670558.jpg)
<xsl:stylesheetversion='1.0' |
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> |
<xsl:outputomit-xml-declaration='yes'indent='yes'/> |
<xsl:strip-spaceelements='*'/> |
<xsl:templatematch='node() | @*'> |
<xsl:copy> |
<xsl:apply-templatesselect='node() | @*' /> |
</xsl:copy> |
</xsl:template> |
<xsl:templatematch='*[name( ) = 'SubmissionDate']'> |
<xsl:call-templatename='FormatDate'> |
<xsl:with-paramname='Date'select='.'/> |
<xsl:with-paramname='Name'select='name()'/> |
</xsl:call-template> |
</xsl:template> |
<xsl:templatematch='*[name( ) = 'DataFrom']'> |
<xsl:call-templatename='FormatDate'> |
<xsl:with-paramname='Date'select='.'/> |
<xsl:with-paramname='Name'select='name()'/> |
</xsl:call-template> |
</xsl:template> |
<xsl:templatematch='*[name( ) = 'DataTo']'> |
<xsl:call-templatename='FormatDate'> |
<xsl:with-paramname='Date'select='.'/> |
<xsl:with-paramname='Name'select='name()'/> |
</xsl:call-template> |
</xsl:template> |
<xsl:templatematch='*[name( ) = 'documentDate']'> |
<xsl:call-templatename='FormatDate'> |
<xsl:with-paramname='Date'select='.'/> |
<xsl:with-paramname='Name'select='name()'/> |
</xsl:call-template> |
</xsl:template> |
<xsl:templatename='FormatDate'> |
<xsl:paramname='Date' /> |
<xsl:paramname='Name' /> |
<xsl:elementname='{$Name}'> |
<xsl:value-ofselect='translate($Date, '.', '-')'/> |
</xsl:element> |
</xsl:template> |
</xsl:stylesheet> |
![Dmee Dmee](/uploads/1/2/6/3/126347701/536530943.png)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment