cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc flat file over AS2 adapter to IDoc adapter

zameerf
Contributor
0 Kudos

Hi,

The scenario is IDoc flat file(.txt) over AS2 adapter to IDoc adapter. Could anyone help on how to convert the IDoc flat file to xml in AS2 adapter to execute the mapping further? we are using PI 7.0.

Thanks in advance!

-zameer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Since you are on Pi 7.0, you would not be able to use the modules for this in PI 7.1.

You would need to refer this document for converting from Idoc flat to XML

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0...

In your sender AS2 adapter, you can pass the file as is to an abap mapping which will do the conversion to Idoc xml. the output of the abap mapping goes to your message mapping then for conversion.

Another option would be to use a custom adapter module in the sender AS2 adapter to call the Aabap mapping to do the conversion into Idoc xml.

The custom adapter module would do a JCO/RFC call which will do the conversion before passing the data back to the adpter module.

Regards

Answers (1)

Answers (1)

zameerf
Contributor
0 Kudos

Does any one have inputs/suggestions for this?

Regards,

Zameer