Skip to Content
author's profile photo Former Member
Former Member

IDoc Outbound to File

Hi experts,

I have tried to output invoice IDoc to file (Obj. Name: INVOIC02). When I view INVOIC02 in WE30, I got the follow segments:

E1EDK01 - IDoc: Document header general data

However, I check with the IDoc file, I have E2EDK01005 instead of E1EDK01.

Any way to have my IDoc file to output E1EDK01 instead of E2EDK01005? Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 26, 2010 at 07:26 PM

    Gundam,

    E1EDK01005 is the standard segment name from SAP from 45B. You cannot change that. (unless you want to send out the IDOC's in version 30A which I'm sure is not your intension). It is also not recommended to manually change the segment names.

    If you're converting to EDIFACT, then your EDI subsystem will do the mapping from IDOC format (flat file - as you said the port type is file) to EDIFACT (flat file in UN standards). Your EDI mapper will already have the EDIFACT standard loaded into his mapping software. You can simply go to WE60, give basic type (e.g. INVOIC02 etc), go to documentation, create DTD and then format 46 or unicode (depending on what your EDI subsystem is). Your EDI team will be able to use this DTD and use it as an input file in their map. This is fairly the standard process followed. Note: Many latest EDI systems come loaded with all the IDOC file definitions. So you do not even have to do anything.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2010 at 06:54 AM

    Have you created the IDOC through File Port ? It will show the latest Version of Segment Definition. (E2EDK01005 is latest released version (45B) of segment defintion E1EDK01).

    Add a comment
    10|10000 characters needed characters exceeded

    • SAP has no segment called E2EDK01005 .

      segment is E2EDK01 the 005 is already the ACTION field.

      You can display the structure E2EDK01 in SE11.

      the 2 in E2EDK01 just tells that this record is an outbound IDOC, the 1 at the second place is used in the inbound IDOC.

      why do you need it to be a 1?

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.