cancel
Showing results for 
Search instead for 
Did you mean: 

FILE (IDOC) to IDOC Question

AntonioSanz
Active Participant
0 Kudos

Hi all,

I just want to ask if it is possible and simply to build in SAP PI next integration scenario:

FILE to IDOC,

but the file, is an txt with an IDOC format (ORDERS). I am receiving a txt but the structure of that file is an IDOC structure.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184681
Active Contributor
0 Kudos

Hi Antonio,

If I got your requirement well, the IDoc on the sender side is a flat file, is that correct? If so, you can use the IDOCFlatToXmlConvertor adapter module bean to convert the flat file data to an IDoc XML structure that PI can further process. Some useful documents to read on this topic:

http://help.sap.com/saphelp_nw73/helpdata/en/b5/bd93642dd3410f90ebea702399fac4/content.htm

http://wiki.sdn.sap.com/wiki/display/XI/IDOCFlatToXmlConvertor

Regards,

Greg

AntonioSanz
Active Participant
0 Kudos

That is what I need.

Many many thanks.

Answers (1)

Answers (1)

zameerf
Contributor
0 Kudos

Hi Antonio,

If you are in PI 7.11, then you have a standard SAP module IDOCFlatToXmlConvertor which converts the flat txt file to required IDoc format.

Please refer the below blog by

http://scn.sap.com/people/william.li/blog/2009/04/01/how-to-use-user-module-for-conversion-of-idoc-m...

-Zameer

AntonioSanz
Active Participant
0 Kudos

That is what I need.

Many many thanks.