Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion of inbound IDOC into XML file

johndeconinck
Participant
0 Kudos
179

Hi experts,

We have an inbound idoc (FIDCC2) that starts and triggers the creation of an FI document. We would like now, that, instead of creating the FI document, the inbound IDOC creates an XML file on a given directory, with the contents of the idoc. Can anybody explain how to configure this?

Many thanks in advance,

John De Coninck.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
56

John,

Firstly, need more information. If I understand you correctly, you are getting an inbound FI document that is created as an IDOC and it posts into FI (using an underlying FM/transaction etc). Now you want to convert this IDOC into XML on a folder (which can be found on AL11 (a.k.a App Server)).

Question 1: Where are you getting this IDOC from? Is it through EDI/ALE? What is your interfacing server (the one that is sending you this IDOC.

Question 2: What format is this IDOC coming in? Is it flat/XML etc?

Question 3: Is this an internally created IDOC? Is there an attached partner profile in WE20? If there is a partner profile that exists and you're using this to create the inbound IDOC, then there are process codes available to forward these IDOC's (e.g ED08).

There are many ways you can achieve this but everything depends on how your system is configured and how this processing is going on.

2 REPLIES 2

Former Member
0 Kudos
57

John,

Firstly, need more information. If I understand you correctly, you are getting an inbound FI document that is created as an IDOC and it posts into FI (using an underlying FM/transaction etc). Now you want to convert this IDOC into XML on a folder (which can be found on AL11 (a.k.a App Server)).

Question 1: Where are you getting this IDOC from? Is it through EDI/ALE? What is your interfacing server (the one that is sending you this IDOC.

Question 2: What format is this IDOC coming in? Is it flat/XML etc?

Question 3: Is this an internally created IDOC? Is there an attached partner profile in WE20? If there is a partner profile that exists and you're using this to create the inbound IDOC, then there are process codes available to forward these IDOC's (e.g ED08).

There are many ways you can achieve this but everything depends on how your system is configured and how this processing is going on.

johndeconinck
Participant
0 Kudos
56

Thanks a lot, but we have solved this in a custom way using ABAP's XML factory methods.

Regards,

John.