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

SAP SD - NEED LOGIC TO MAP INVOIC01 IDOC TO EDI 810

Hi,

I am new to SAP,Just started learning SAP IDOC.I am trying to map INVOIC01 IDOC to EDI 810 ANSI X12 format.

I have exported the INVOIC01 structure through TCODE WE60. But looking at the structure I am not sure from where we get the

below values on an INVOIC01 IDOC to map to an EDI 810.

* Carrier details

* Invoice payment terms & Deffered due dates and amount

* Discounts, Allowances, Charges

* Basis of unit of measure

To clarify my question on what exactly I am expecting,I will give you a sample mapping for currency.

If E2EDK01005_CURCY = "CAD"
Map "CAD" To CUR_02
ELSIF E2EDK01005_CURCY = 'USD'
Map "USD" to CUR_02.

Could anyone of you please let me know where on INVOIC01 IDOC we get these values?

Thanks

Jyothi

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 04, 2013 at 10:32 PM

    We use an EDI integrator, so I've never mapped the IDoc myself, but here is the best guess:

    1. Carrier - this is probably a partner, e.g. Freight Forwarder. Header partners are in E1EDKA1 segments.

    2. Payment terms - E1EDK01-ZTERM, have never seen deferred due dates.

    3. Discounts, etc. - those will be in the pricing segments (E1EDP26)

    4. In our system unit of measure is in E1EDP01-MENEE, but there might be a different sales unit (VRKME).

    The best thing to do would be to generate an actual IDoc and just look at it in WE02/WE05. It makes much more sense when you see the actual data.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2014 at 07:03 PM

    Hi Jyothi,

    There is a book called Architecting EDI with SAP IDOCS, which I find very useful on the mapping. Also, as @Jelena Perfiljeva mentioned, you can go to WE02 to download the structure and observe the data closely. I prefer WE19 because I feel as it gives a better layout of the data.

    I hope it helps.


    Ervis,

    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.