Skip to Content

sap po request xml main and 1st node deletion

Aug 15, 2017 at 12:04 PM


avatar image


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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Evgeniy Kolmakov 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.

10 |10000 characters needed characters left characters exceeded