How to convert IDoc-XML to native Idoc-File with in SAP XI/PI
I have a problem to Create an native IDoc-Format for an File-Receiver.
I get an Idoc (ZMATMAS) from a SAP System to an MATMAS-exchange-scenario. One of the non-SAP-receiver-systems needs an other native IDoc-Format as File. So I have to map the ZMATMAS to the receiver Format and write this as File. The problem is, that this file contains the data as IDoc-XML and not as native IDoc-format.
Has anybody an idea for this problem?
Bhavesh Kantilal replied
I love the link givers!
I will give u a link as well but hopefully the answer to what you are looking for.
[ How to Convert Between IDoc-XML Structure to a Flat File and Vice Versa in Exchange Infrastructure 3.0 (NW2004)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a]
You will need to use ABAP mapping as detailed in the guide.