2008 Feb 20 4:22 PM
Hi,
I have to develop indound and outbound interfaces using idoc with XML format to external system without adapter.
First problem: the scenario for outbound is: creation of idocs using XML port so files will send to an external repository, but after the creation i have also to send an empty file: how can i do to create the second empty file immediately after the first one and only if the sending of first one is ok?
Second problem: the scenario for inbound is: i have to get XML files from the external repository so in SAP an idoc is created: how can i do that?
Thanks lot.
Matteo Vernile.
2008 Feb 20 8:29 PM
Hello Matteo
I do not really understand your first question therefore I do not address it.
For your second problem SAP (at least on ECC 6.0) provides useful function modules (in function group EDIN, IDoc: Inbound processing 😞
- IDOC_XML_FROM_FILE (requires the XML-IDoc file to be located on the application server)
- IDOC_INBOUND_XML_SOAP_HTTP
- IDOC_INBOUND_XML_VIA_HTTP
If you are using these function module take care about the correct data in the control segment.
Regards
Uwe
Hello Matteo
I do not really understand your first question therefore I do not address it.
For your second problem SAP (at least on ECC 6.0) provides useful function modules (in function group EDIN, IDoc: Inbound processing 😞
- IDOC_XML_FROM_FILE (requires the XML-IDoc file to be located on the application server)
- IDOC_INBOUND_XML_SOAP_HTTP
- IDOC_INBOUND_XML_VIA_HTTP
If you are using these function module take care about the correct data in the control segment.
Regards
Uwe
2008 Feb 20 8:29 PM
Hello Matteo
I do not really understand your first question therefore I do not address it.
For your second problem SAP (at least on ECC 6.0) provides useful function modules (in function group EDIN, IDoc: Inbound processing 😞
- IDOC_XML_FROM_FILE (requires the XML-IDoc file to be located on the application server)
- IDOC_INBOUND_XML_SOAP_HTTP
- IDOC_INBOUND_XML_VIA_HTTP
If you are using these function module take care about the correct data in the control segment.
Regards
Uwe
2008 May 28 10:33 AM
Hi Friends,
could you please guide me
how to create the XML file PORT
I to Send the IDOC in the XML format
Thanks in Advance
Ganesh
2008 Feb 22 1:06 PM
Thanks Uwe,
My first question is: how can i send a second empty file immediately after the creation of the file created by idoc?
Others further answers:
1) Very important: the creation of XSD file (schema) is available in automatic with XML port type?
2) Always with XML port type the sending and receiving of files is automatic? Haven't i to call FTP?
Thanks lot,
Matteo Vernile
2008 Feb 22 2:30 PM
Hi Matteo,
When u create a idoc with the XML port along with that if first file is successful then create a second empty file.
2) Always with XML port type the sending and receiving of files is automatic? Haven't i to call FTP?
I dont think Sending and recieving is automatic.. you need push from the app server.
Thanks,
Chandra.
2008 Feb 22 2:40 PM
Hi,
I dont think Sending and recieving is automatic.. you need push from the app server.
So i have to call FTP to get or set files between sap application server and the external repository?
As this way this scenario would be so:
outbound:
1)creation of idoc with XML port and automatic creation of XML file in sap application server
2) a custom program read application server and send file via FTP to external repository
inbound:
1) a custom program get file via FTP from external repository and save in application server
1)then calling IDOC_XML_FROM_FILE idoc will be processed
Is there another better solution?
Thanks,
Matteo
2008 May 28 10:34 AM
Hi Friends,
could you please guide me
how to create the XML file PORT
I to Send the IDOC in the XML format
Thanks in Advance
Ganesh
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |