2008 Dec 12 2:58 AM
Hi,
We are on 4.7 release.
A custom outbound IDOC type is developed to creates a text file at the location entered in FILE type port.
Now we want to create XML file intead of text file. Is it possible by simply changing the port to XML FILE port? Or do we need to do any modifications inside the FMs for the IDOC?
Similarly for Inbound scenario (using custom IDOC type), do we need any chagnes in FMs to handle IDOCS in XML file format?
Thanks.
Hi,
We are on 4.7 release.
A custom outbound IDOC type is developed to creates a text file at the location entered in FILE type port.
Now we want to create XML file intead of text file. Is it possible by simply changing the port to XML FILE port? Or do we need to do any modifications inside the FMs for the IDOC?
Similarly for Inbound scenario (using custom IDOC type), do we need any chagnes in FMs to handle IDOCS in XML file format?
Thanks.
2008 Dec 12 3:14 AM
hi,you can use:
to convert idoc to xml.
ISIA_CE_IDOC_TO_XML.
CFG_API_CONVERT_IDOC_TO_XML
IDOCS_OUTPUT_IN_XML_FORMAT
thanks
2008 Dec 12 4:59 AM
Hi,
Thanks for the reply with a list of FMs
My question is: Do we need to have code for text to xml or xml to text conversion within the Inbound or outbound FMs for custom IDOC type? Or SAP does the conversion internaly when required, before calling Inbound or Outbound FMs for custom IDOC type?
Thanks.
2008 Dec 12 5:06 AM
2008 Dec 15 3:57 AM
Thanks for the replies.
I varified for outbound IDOCs, it is possile to create XML file by defining XML file port. No additional programming is required.
However for inbound IDOCs it seems it is not that simple. (there are no inbound settings for XML file port). I am going to try FM EDI_DATA_INCOMING or report RSEINB00 using filename and location in the XML file port.