Skip to content

Instantly share code, notes, and snippets.

@Odomontois
Created October 11, 2012 17:26
Show Gist options
  • Save Odomontois/3874087 to your computer and use it in GitHub Desktop.
Save Odomontois/3874087 to your computer and use it in GitHub Desktop.
Some abap-xslt shit
<xsl:transform version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:sap="http://www.sap.com/sapxsl"
>
<xsl:strip-space elements="*"/>
<xsl:template match="ZHR_A07">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<IT_DATA>
<xsl:for-each select="IDOC/DOCNUM">
<item>
<A_DOCUM>
<xsl:value-of select="."/>
</A_DOCUM>
</item>
</xsl:for-each>
</IT_DATA>
</asx:values>
</asx:abap>
</xsl:template>
</xsl:transform>
@BasilQ
Copy link

BasilQ commented Oct 12, 2012

Many thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment