Skip to Content

sap po request xml main and 1st node deletion


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.


ubo9y.png (2.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 15, 2017 at 12:46 PM

    Hi Vijay!

    You can do it using XSLT:

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="" version="1.0">
        <xsl:template match="/">
            <xsl:copy-of select="/RegisterOutgoingInvoicesRequest/SuministroLRFacturasEmitidas"/>

    but I believe that the most straightforward way is to adopt your current source message structure to actual request.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded