cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to FTP keeping IDOC format

Former Member
0 Kudos

I am trying to ftp an IDOC to another server without it converting to XML format. I know there is a global setting to not convert for the IDOC adapter, but I do have 5 other scenarios that need the XML conversion. Is there a way to have a scenario that goes like the below...

IDOC -> XI -> FTP

and keep the actaul file in the IDOC format?

Thanks

Skip Ford

Accepted Solutions (0)

Answers (5)

Answers (5)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

have a look at this weblog to understand one

of the approaches:

/people/alessandro.guarneri/blog/2006/03/05/managing-bulky-flat-messages-with-sap-xi-tunneling-once-again--updated

the second approach is to use module IDX_XML_TO_IDOC

as described here:

https://websmp108.sap-ag.de/~sapdownload/011000358700001795162005E/HowToIDocXMLToFlat.pdf

these two should give you a good starting point:)

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

Former Member
0 Kudos

I have tried two different ways.

1.) IDOC -> XI -> FTP with direct mapping. This mainly took the IDOC converted it to XML and then FTPed it to the other server. Which does not work for me, because I need it, the exact way I send it to XI.

2.) IDOC -> XI -> FTP without mapping. This did the same exact thing as above. The final file is in XML format, because as soon as it hits the IDOC adapter it must convert... of course...

I do need to use the IDOC adapter. And the adapter needs to be set to convert, because there are several other scenarios that require that.

Did I give you what you needed for Info?

Thanks

Skip Ford

Former Member
0 Kudos

Can anyone get me a copy of that mapping program?

ZUMT_UKGAS_UPD_PDC

Thanks

Skip Ford

moorthy
Active Contributor
0 Kudos

Hi Skip,

I don't have mapping program ,

just more info-

In this blog, XSLT mapping is used for different purpose. Because there are repeated segments and it should be grouped logically. SO XSLT is used here.

But any Idoc to File Scenario, it is straight forward mapping. i.e Nested Structure to Flat XML. So you can achieve this using simple message mapping.

You can try without Mapping, as you don't required right ?

Thanks,

Moorthy

moorthy
Active Contributor
0 Kudos

Hi Skip,

Just check this blog-/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

If you want same Idoc xml(actual file in the Idoc format), then no need of mapping. Just dump the incoming message into the Target Structure.

For more~

Hope this helps,

regards,

Moorthy

bhavesh_kantilal
Active Contributor
0 Kudos

hi,

just check this blog,

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File

Bhavesh