Skip to Content

Read XML-Idoc (Control and Segments)

Hi experts,

I have found the function module IDOC_XML_FROM_FILE, which seems to inbound XML-IDocs.

Does anyobdy know a possilibty (function module, method, ...) which gives me the Control-Structure (EDI_DC40) and segments (EDI_DD40_TT) out o an xml-IDoc file?

So, I would like to give the file-path as import and as export I would like to get the control-structure and segments.

Kind regadrs

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 03, 2014 at 12:14 PM

    You can use the Class CL_IDOC_XML1 to Tranform IDOC number to XML format.

    It has the methods to take XML as you prefer.


    xml.JPG (25.2 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 02, 2014 at 04:15 PM

    Hi.

    Did you try transformations?.

    Hope to help

    Bye

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2014 at 11:56 AM

    Does anybody have somemore suggestions?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.