on 08-15-2017 1:04 PM
hi
I am receiving input in SAP PO as -
I want to remove first node RegisterOutgoingInvoicesRequest and then process message mapping.
my source structure is without RegisterOutgoingInvoicesRequest node in sap pi request.
I think it can be done by using xsl code or udf and placing it before real message mapping.
Can you please suggest how can i receive messages and delete RegisterOutgoingInvoicesRequest node and use rest of the xml in message mapping.
regards
Hi Vijay!
You can do it using XSLT:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<xsl:copy-of select="/RegisterOutgoingInvoicesRequest/SuministroLRFacturasEmitidas"/>
</xsl:template>
</xsl:stylesheet>
but I believe that the most straightforward way is to adopt your current source message structure to actual request.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.