cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to flat file

Former Member
0 Kudos

hi all,

Can we have a IDOC XML structure to a flat file using XSLT.

Please guide me through this or give me the necassary blogs for the same.

Rgds

Aditya

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thnks pradeep and all

will try it out and get back if any clarification

Former Member
0 Kudos

Hi all,

Is it possible to convert a IDOC to Flat file using XSLT.

If it is possible only with FCC then can u please tell me how

Rgds

Aditya

prateek
Active Contributor
0 Kudos

<i>Is it possible to convert a IDOC to Flat file using XSLT.</i>

Yes. XSLT is just a mapping technique.

<i>If it is possible only with FCC then can u please tell me how</i>

No

Regards,

Prateek

Former Member
0 Kudos

Hi pratik,

I have worked on XSLT before as well could u say me how will the senario be.

Do i need to map the IDOC to a simple XML Structure using XSLT and then should i use FCC to convert this XML to the Flat file.

What i mean to say by a simple XML is one on which u can apply FCC

Rgds

Aditya

prateek
Active Contributor
0 Kudos

This is how ur scenario will work.

The incoming idoc after passing through the sender idoc adapter is converted into an XML file. Now this XML would be source XML to ur XSL mapping. U may check this XML in sxmb_moni request payload.

For Idoc to file scenario, u may map it to simple XMl of file.

Now if u want ur output to be in XML format, then do not use FCC.

Only if u want ur output file to be saved as text file (e.g. comma seperated), then go for FCC

Regards,

Prateek

prateek
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi;

see this

XSLT mapping

/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

Mudit