05-28-2008 8:45 AM
Hi friends,
Please help me in creating the XML Port in we21.
what are the inputs I need to pass to create the
XML File Port.
Kindly suggest me
Thanks in Advance,
Ganesh
05-28-2008 10:51 AM
Hi Ganesh,
Create a XML port thru Tranx WE21 and send the IDoc to that port system will create an XML file for you of your EDI document
see this link
http://sap.wikispaces.com/edi-tx-we21
XML basics blogs
/people/tobias.trapp/blog
REFER THIS THREAD
http://help.sap.com/saphelp_nw04s/helpdata/en/dc/6b7fa443d711d1893e0000e8323c4f/frameset.htm
Ports are use to define the way data is send (or received) from another partner (e.g. other system).
Port type Transactional RFC defines an RFC Destination.
Port type File defines a file and directory (and a function module that does the record handling for your output file)
Port type CPI-C defines an SAP R/2 system and transmission parameters.
Port type Internet, allthough in the system is no longer supported (See SAP note 315083).
Port type ABAP-PI defines a function module that will do the transmission. This is often used if you want total control over the sending (or receiving) process.
XML defines a file and directory (and a function module) specific to XML formatted files. The XML-HTTP leaves out the file and can transmit directly to a website location
thanks
karthik
06-17-2008 9:40 AM
Hello,
I have another question related with this. I need to send an idoc via an xml port. That is no problem but I have seen that the xml generated is given the name (trough Func. module EDI_PATH_CREATE_MESTYP_DOCNUM) before the xml is completelly filled with the information.
I have an XI system waiting for that file and takes it before it's finished, just because of the file's name.
I have been trying to use "Outbound:Trigger" tab in order to add a script which renames the xml file till it's been completelly filled with the idoc info. I have used RFC destination: LOCALHOST (which has been properly set up at sm59). For the Directory I've used that where I want to store the script file. And in command file: the name of the script.
Could yo tell me whether I am in the right direction?
I don't know how to upload that script to the folder that I can browse using al11.
I also don't know which language the script must use.
Thanks in advance.
Nòfal.
06-17-2008 10:59 AM