cancel
Showing results for 
Search instead for 
Did you mean: 

XI EDI XML

Former Member
0 Kudos

We are doing EDI for outbound Invoice and using XI just to move the SAP EDI document to FTP folder.

We don't want to do any mapping in XI and we don't want XI to generate XML file.

The output from XI should be in traditional SAP EDI format like

EDI_DC40_U1350000000000246264700 3012 INVOIC01

E2EDK01005 135000000000024626400000100000001 USDUSD1.0000

E2EDKA1003 135000000000024626400000200000002RS

Right now for us SAP produces the traditional EDI format and when it goes through XI, it is converting into XML format which we don't want.

Is there any easy way to use XI, not do the mapping(as the input to XI is already in the format we want) and produce the traditional SAP EDI format.

Thanks,

Gopi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

>>just to move the SAP EDI document to FTP folder.

If SAP R/3 is already giving you correct EDI format and you only want XI to move this file as it is to FTP server,then the simplest approach would be do a bypass scenario.This will transfer the EDI file without converting it to XML

Thanx

Aamir

Edited by: Aamir Suhail on Aug 25, 2008 7:31 PM

Former Member
0 Kudos

Thanks Aamir. That really helped us.

I still have one more question. The blog says that we can move "files" without out any transformation. For this the input for XI should be a file.

Can sap call XI using RFC and XI generate the file without transformation.

Thanks,

Gopi.

Former Member
0 Kudos

>>Can sap call XI using RFC and XI generate the file without transformation.

As said by other expert too,its not possible with RFC,the reason being that RFC has a SAP standard namespace but in the bypass scenario(as given in blog),the sender and receiver namespace must be same(you can't have SAP standard namespace for File),there are other constraints too.

What you can do now is have a ABAP program which will convert the file to EDI format and dump on File system on R/3 server.This ABAP program can use the RFC you mentioned.

Once the file is on R/3 server in the form of an EDI,you can implement the weblog as it is.It will be a file to file scenario and requires no transformation.

Thanx

Aamir

Answers (1)

Answers (1)

Former Member
0 Kudos

our issue not fully solved

Former Member
0 Kudos

Hi Gopi,

Can sap call XI using RFC and XI generate the file without transformation.

This is RFC to file scenario.

Now in this case u can not skip IR totally.

U need to import RFC structure in IR.

Then if Mapping/Transformation is not required then u can skip that.

Thanks,

Mahi

Former Member
0 Kudos

Hi Maheshwari,

When we used RFC to call XI, we used IR and we did not do any mapping and we got the output from XI in XML format, which we don't want. We want the output from XI in the format SAP sends which is

EDI_DC40_U1350000000000246264700 3012 INVOIC01 INVOIC SAPECD LS ECDCLNT135

E2EDK01005 135000000000024626400000100000001 USDUSD1.00000 0N30 INVO0090000220 905.610 905.610 LBRLR 0000100017

If we can do this, can you give more details as how to do it?

Thanks,

Gopi.

Former Member
0 Kudos

Aamir,

Thanks for your reply.

I have one more question abt EDI with XI.

see this thread

[|]

Thanks,

Gopi.

Former Member
0 Kudos

Buddies,

that format given is not EDI format.its IDOC in Flatfile structures.

EDI_DC40_U1350000000000246264700 3012 INVOIC01

E2EDK01005 135000000000024626400000100000001 USDUSD1.0000

E2EDKA1003 135000000000024626400000200000002RS

there is different approach to handle it ..

if file has to be created by Xi(outbound to XI) then need ABAP mapping...

if file has to be picked by XI(inbound to Xi),run RSEINB00 through file port(We21) created on XI.

search for how to handle IDOC XML ...guide.

good luck.

Sathish.