on 08-26-2016 10:09 AM
Hello,
I've the requirement to send an delivery IDOC/XML-file
via FTP or mail to a parcel service provider in order to trigger the
pickup.
At the moment we do this via XI server and ist working fine,
but we want to shut down this server and do it direct.
I've created a programm in order to download an IDOC to XML in ERP, this works.
Now my question:
Is this XML-File the same as when I transfer it through XI ?
Has anybody done something like this ?
Thanks
G
Hello,
You need not write a single line of code to create a IDOC XML File in ERP.
This is available out of the box.
In your ERP system, in WE21 create a port of Type XML File.This will ask you for the directory and the filename FM as below.
In your Partner profile, change the port to be this XML File port.That's it, now your IDoc will be a IDoc XML and this will be same as the one sent to PI. No additional coding required.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gerd,
Is this XML-File the same as when I transfer it through XI ?
How do we can know if the XML is the same if we don't know any example or the program?. However, if you can do an XML you have in ABAP classes to work with XML and to have the XML that you want. You can check the XML easily if you have your XI available.
Has anybody done something like this ?
SAP ERP has connectivity without XI/PÎ/PO. You can consume/expose WSDLs, you can do FTP calls, even you can do RFC's connections with No SAP systems if the endpoint has the RFC libraries.
The main purpose of PI is to centralize the interfaces, not expose the ERP to internet, to offer monitoring tools, etc but i have been in a lot of projects without PI doing the integration directly with the ERP.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Inaki,
thanks for fast replay !
I use class cl_idoc_xml1 to get XML from idoc,
and then I download it to XML file.
I checked the downloaded XML and the XI-XML structure,
and what I can see is that the downloaded XML structure
contains more data then XI-XML structure.
If I understand u right, the XI-server is only doing centralizing /monitoring and
do the connection to other systems.
If the data in the downloaded XML is the same as in the XI-XML
I would not need an XI anymore ?
BR
Hi Gerd,
I would not need an XI anymore ?
If you only have one integration scenario or a few ones, my answer is yes.
If you have n scenarios in XI, my answer would be to recommend to use XI.
In ERP you can integrate via (with a few restrictions in comparison with XI/PI):
- RFC
- File if you have a NFS mounted.
- FTP.
- HTTP.
- SOAP.
- REST
- Mail.
- IDOC.
If the third system support any of below techonologies and you want to connect directly your ERP, you will not have issues. However if the third system is not in your DMZ, the direct connection will be a potential risk.
Regards.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.