cancel
Showing results for 
Search instead for 
Did you mean: 

Send Invoice thru EDI in XML format

Former Member
0 Kudos

Hi Expert,

I am new in cross-X application part.Pl. help me out.

I have requirement to transmit Invoice thru EDI in XML format.

My destination system is SAP.

To complete these requirement what will be the prerequisite and what will be the steps to complete these task.

Answer should be rewarded.

Thanks in advance.

Suhas

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Matias,

Thanks for reply.

Can you clear me that if I create IDOC & using Z-program I convert IDOC into XML format.After that how I will send XML file thru EDI or what is roll of EDI in sending IDOC in XML format.Whar will be the step for same.

Regards

Suhas

Former Member
0 Kudos

Hi Matias,

Thanks for reply.

Can you clear me that if I create IDOC using Z-program for IDOC convert into XML format.After that how I will send XML file thru EDI or what is roll of EDI in sending IDOC in XML format.Whar will be the step for same.

Regards

Suhas

Former Member
0 Kudos

Hi Suhas !!!

EDI : http://en.wikipedia.org/wiki/Electronic_Data_Interchange

Do you have any special requirement about this scenario ? As far as I know, this is already some kind of EDI scenario.

(http://www.anu.edu.au/people/Roger.Clarke/EC/EDIIntro.html)

Definition

Electronic Data Interchange (EDI) may be most easily understood as the replacement of paper-based purchase orders with electronic equivalents. It is actually much broader in its application than the procurement process, and its impacts are far greater than mere automation. EDI offers the prospect of easy and cheap communication of structured information throughout the corporate community, and is capable of facilitating much closer integration among hitherto remote organisations.

A more careful definition of EDI is 'the exchange of documents in standardised electronic form, between organisations, in an automated manner, directly from a computer application in one organisation to an application in another'.

If your input data is already in XML, you will need for example an ABAP program that parses it and fills an standard IDOC or Z-IDOC structure and the queues it for further processing.

Maybe posting in the ABAP forum or any other specific forum will give you more clues.

Regards,

Matias.

Former Member
0 Kudos

Hi,

Do u have a EDIFACT file if so then u have to use the third party adapters like seeburger for converting the EDI-XML and XML-EDI.

For the same requirement you need to follow the below steps:

1) First deploye the Std seeburger mapping provided by see burger on XI

2) If you are using the AS2 adapter then you have to install the AS2 server on XI server.

3) Once you install the std seeburger on SAP XI server you will see the AS2,X400,OFTPS,VAN adapter on XI ID.

5) You need to call the std mapping in the adapter module which does the conversion from EDI to XML and XML to EDI.

Seeburger has two things

1) BIC which is the client based tool provided by seeburger which is has the standard mapping program which does the conversion of EDI-XML and XML-EDI it supports many data types like INHOUSE,CSV, TRADACOM etc. So the std mappinf provided by seeburger has to be deploye first on XI and then used in adapter module tab for conversion.

2) The message can be received and send through different adapters like AS2,X400,OFTPS etc.

How the aprroach should be

1) First understand the client landscape the different messages that will be flow through XI

2) What different EDI messages are used by client and what is the EDI file strucutre.

3) How the data going to come to XI through WAN or mailbox.

flow of the data from EDi to SAp r/3 using seeburger:

1) Data will be coming thorugh WAN or mailbox.

2) If its coming through WAN then every WAN provider will give the partner which is sending the data a partner number for indentification.

3) In your AS2 channel you need to configure the party and for that party you need to give the WAN number which is proivded for that partner. So it will run that configuration whenever that partner send the data.

4) In the adapter you have to give the mapping program name which does the conversion of EDI-XML and XML-EDI.

5) Once you XML is generated then it will be used in MM

6) At the receiver if its IDOC adapter then IDOC adapter will post the IDOC to R3 system.

Thnx

Chirag

Former Member
0 Kudos

Hi Expert,

Thanks for reply.

But in requirement we are not using XI and third party tool. Without using XI and third party .Is it possible to send invoice thru EDI in XML format.If yes then what will be the prerequisite and what will be the step for sending invoice thru EDI in XML format.

Thanks

Regards

Suhas

Former Member
0 Kudos

Hi Suhas !!

You could use SAP Business Connector.

Regards,

Matias.

Former Member
0 Kudos

Hi Suhas !

Also check this out:

XML IDOC into R3, ERP without XI ? Heresy some might say?

/people/michal.krawczyk2/blog/2007/01/18/xml-idoc-into-r3-erp-without-xi-heresy-some-might-say

/people/horst.keller/blog/2004/10/27/abap-and-xml--introducing-st

/people/community.user/blog/2006/10/18/how-to-parse-xml-file-uploaded-from-client

/people/tobias.trapp/blog/2006/10/01/book-announcement-xml-data-exchange-using-abap

/people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1

Regards,

Matias.

ps:please award points if helpful

Edited by: Matias Denker on Feb 1, 2008 10:08 AM

Former Member
0 Kudos

Hi,

There are two ways to do the senario,if u get the EDI data in flat file then u have to use third party tools SEEBURGER or Convertion Agent,Using this two u can send the EDI data onto SAP system.

This tools will provide the XSD file which u have to import and do the design part and in ID u have to create the file adapter and in that u have to metion the mapping name in MODULE tab.

Check some links on SEEBURGER.

Please see the below blogs

/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

http://www.seeburger.com

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

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

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

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

http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf

http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt

http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integratio...

http://www.seeburger.com

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.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf

http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt

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

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

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

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

http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf

http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt

http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integratio...

ON Conversion Agent check the links.

http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm

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

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

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

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

/people/bla.suranyi/blog/2006/09/29/conversion-agent--handling-edi-termination-characters

https://websmp102.sap-ag.de/~sapdownload/011000358700001090982006E/ConvAgentDocSP16.zip

https://websmp102.sap-ag.de/~sapdownload/011000358700004921152005E/ConversionAgent.pdf

Regards,

Phani

Reward points if Helpful

Former Member
0 Kudos

Hi Suhas !

You can develop a File->XI->RFC/IDOC scenario using XI.

You will need to use Integration Repository (IR) to import or define the outbound (input) message type based on the XML definition, then decide how will you insert it in SAP, using RFC, IDOC or ABAP Proxy. I think that there is a standard IDOC to send Invoices to SAP, so you could use that one and import its definition also into IR.

Then create the mapping between both message types, activate all objects and go to Integration Directory (ID). There you should create the correspondent objects, including the communication channel to define how the XML enters XI and how the IDOC leaves XI to go to SAP. For the XML, you could use a File adapter sender, using NFS or FTP protocol.

Check this links:

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

Regards,

Matias

ps: please award points if helpful.