2008 May 23 12:19 PM
Hi
I am having an idoc and I have to convert the idoc to xml format.
First thing what should be the status of Idoc which I have createdand the status of my idoc is 29 .
Secondly if any one can tell me step by step details how to do it.
Thanking in advance.
regards
Harpreet
2008 May 23 12:39 PM
Here are the FM to convert IDOC to XML,try them :
IDX_IDOC_TO_XML
IDOCS_OUTPUT_IN_XML_FORMAT
IDOC_XML_DISPLAY
IDOC_XML_TRANSFORM
Reward If found helpful.
Hi All,
My requirement is to create a xml for given idoc number, pls. suggest how to create it, is there any FM which can save this xml file to my local drive.
Thanks in advance.
Regards,
Harpreet
2008 May 23 12:22 PM
Hi,
IDoc in status 29 means there is a error in the ALE layer , probably because of missing partner profile.So you need to first solve that issue.
May I ask what is the requirment to convert the IDoc into xml ?
regards,
Advait.
2008 May 23 12:36 PM
Hi,
create an XML file port in WE21 and give process code of Function Module (EDI_PATH_CREATE_CLIENT_DOCNUM) for creating that.
make an entry in partner profile for that idoc in WE20.
process that idoc with test tcode WE19.
Regards,
Sandeep Kaushik
2008 May 23 12:39 PM
Here are the FM to convert IDOC to XML,try them :
IDX_IDOC_TO_XML
IDOCS_OUTPUT_IN_XML_FORMAT
IDOC_XML_DISPLAY
IDOC_XML_TRANSFORM
Reward If found helpful.
2008 May 23 12:40 PM
Hi Harpreet
To send iDOCs out, use WE14 when buffering iDOCs. If you want t use XML, then use an XML port. On your file or XML port, enter an appropriate function module for your FILE NAME GENERATIO routine, e.g. EDI_LPATH_CREATE_CLIENT_DOCNUM. If not bufferin iDOCs, then the writing of the file is automatic.
Reward if helpful
Regards
Lakshman
2008 May 26 8:45 AM
Hi All,
My requirement is to create a xml for given idoc number, pls. suggest how to create it, is there any FM which can save this xml file to my local drive.
Thanks in advance.
Regards,
Harpreet
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |