Skip to Content
Jul 24, 2018 at 01:40 PM

Populating begin and Segment attributes in sap pi mapping for Idoc structures


Hello Everyone,

We have a scenario where we need to map IDOC XML to IDOC fields in which i would like to know if there is a way to populate value"1" to begin and segment attributes which are mandatory. I know this can be done manually, but looking at some kind of XSLT mapping or Java to fill all Begin and Segment fields to 1. (We are recieving the multiple types of Idoc XML without the those fields from Source system)

We are using SAP PO Single stack.

Can someone please help with this.

Thank you.