cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to EDI file in PI 7.0. ( exchange infrastructure)

former_member183906
Active Contributor
0 Kudos

i have to do one application

SAP ECC 6.0 -> SAP XI -> Non SAP File Server

Non SAP file server accepts only .edi format files.

m trying IDOC to File scenario. IDOC generated is not giving exact EDI format which needs to send. How to transfer EDI format file from this scenario.

if its done by file content conversion, pls describe more.

eg . file output(.edi file) should be in below form

EDI_DC40 100000000000027837646C 3012 O

E2EDK01005 100000000000027837600000100000001 XSEK 5.23120

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

R u using seeburger adapter or simple file adapter?

If u r using seeburger adapter or file adapter then in any case u need to use the mapping program in module parameter tab of file adapter which does the conversion of converting the XML format to EDI format.

Steps are:

u need to deployee the mapping program on XI

call that mapping program though file or seeburger adapter.

what is the IDOC u r suing and in which EDI message format u need to generate the EID files.

If u r not using seeburger adapter then using FCC u can achieve this but it will be bery tedious task.

other methods are:

1) cnoversion agent

2) stylus studio

Here is the link for your reference:

/people/ricardoandres.maienza/blog/2007/04/06/edifact-to-xml--stylus-studio-solution

http://www.stylusstudio.com/edi/EDIFACT_translate.html

The steps to convert EDI to XML / XSD can be found at the following link:

http://www.stylusstudio.com/edifact_to_xml.html

Stylus studio download link: http://www.stylusstudio.com/xml_download.html

Or

Using the Conversion agent

/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield

/people/paul.medaille/blog/2005/11/18/conversion-agent-a-free-lunch

/people/alexander.bundschuh/blog/2006/03/14/integrate-sap-conversion-agent-by-itemfield-with-sap-xi

/people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield

Thnx

Chirag

Edited by: Chirag Gohil on Mar 6, 2008 1:17 PM

former_member183906
Active Contributor
0 Kudos

thanks for response. however, i hv the option to use BC,CIDX,IDOC,File,RFC,RNIF,SOAP,XI adapters only. i dont have any 3rd party adapter not can company ll procure.

m using IDOC adapter at sending end.. EDI file is created and can be sent to File server. But EDI format is different at customer end. We need to format EDI file between

SAP XI -> Non SAP file server

Pls suggest in detail in file content conversion or any other solution within this scope.

Former Member
0 Kudos

Hi Vijay,

You Dont have the Other Option for this Requirement

Either you have to use Seeburger Adapter

OR

Conversion agent

REgards

Seshagiri

Former Member
0 Kudos

Hi,

These are the only options which are there for the conversion.

Thnx

Chirag

Answers (2)

Answers (2)

Former Member
0 Kudos

Vijay,

The format what you have given in the example:

eg . file output(.edi file) should be in below form

EDI_DC40 100000000000027837646C 3012 O

E2EDK01005 100000000000027837600000100000001 XSEK 5.23120

is not an edi file. This is the idoc flat file. If it is this what you want then you dont need XI also to create this file.

Go to SAP R3 --> WE21 --> Create a file port --> Give the directory where you need to create the idoc flat file --> and use any of the predefined function module (this is for the output file naming convention purpose)

Then go to WE20 and assign the port which you created above to your partner profile. Once when you trigger the idoc you will see the corresponding flat file in your target directory.

If you need an EDI X12 file then the file format you can see here. For this you need a Seeburger adapter which you need to purchase.

http://www.safeway.com/suppliers/canada/pdf/X12850004010.pdf

http://www.brasscraft.com/PDF/850%20Outbound%204010%20EDI%20Specification_071405.pdf

Regards,

---Satish

Former Member
0 Kudos

Hi,

There are two ways:

1. You can find out if an EDI provider (3rd party) which supports XML EDI Messages so you can just send XML EDI messages You can use Seeburger Adapter to conver into EDI Format.

In general , If sender side is File the that file must be generated by EDI mappers tool like BIC.

If file is in receiver side you have to use some Adapter to conver into EDI format.

-you can use FILE/FTP Adapter with Seeburger modules.

-you can use Seeburger OFTP Adapter.

See the following documents to help you ..

/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield

/people/alexander.bundschuh/blog/2006/03/14/integrate-sap-conversion-agent-by-itemfield-with-sap-xi

/people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield

/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact

/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield

/people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield

http://www.stylusstudio.com/edi/XML_to_X12.html

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2...

Check this for Conversions-

/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact

http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf

http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf

http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf

2. You can use EDI 834 Enrollment messages with XI you don't need an adapter - you can use adapter module:

a) you can develop the adapter module for file adapter yourself

for one message it will ont be that difficult

b) you can use SAP conversion agent to create the EDI adapter module

(it has many EDI messages included)

Thanks

Swarup