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

Freight invoice IDOC from carrier

Hi all,

my customer wants to post freight invoices from their carrier via EDI.

<u>The process in short is the following:</u>-

Create 3rd party Customer sales order

- Create Delievery

- Create Shipment document -> This is transferred to the carrier.

- Receive IDOC, which creates a shipping cost document (SCD). This is the cost estimate for the transport service. The SCD triggers the creation of a service PO.

- Receive Invoice IDOC from carrier. As a reference, the shipment number is sent from the carrier.

Posting should be done via MIRO.

When posting manually, the User would select in the PO Reference corner, the partner "6 Transportation Agent service" and the vendor number of the carrier. Then, the system is asking for the reference, which could be delivery number, shipment number, etc. With this information, the system calls automatically for the service PO.

I'm currently testing a solution, but the system is requesting over and over again for the PO number in segment E1EDP02 (001). The carrier does not know the PO number and can only provide shipment number or delivery.

Am I using the wrong function module? I tried with IDOC_INPUT_INVOIC_MRM and IDOC type INVOIC01.

If it's related to the information in the IDOC, could you let me know the structure?

e.g. which partner type to use in E1EDKA1 or which qualifier would be the right for shipment doucment in segment E1EDK02?

Every help would be highly appreciated.

Thanks in advance,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 21, 2007 at 02:15 PM


    Can you also post this question to the data transfer forum, you might get good reply from there

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2007 at 08:20 AM

    Hi all,

    I found something myself.

    1. The option to use the "Transportation Agent" is not available in standard SAP for EDI receipts. (Confirmed by SAP).

    2. Instead, we are now using the "delivery note" number from the service entry sheet. In our case, the delivery note has the same number as the shipment.

    To use that, you need to have:

    E1EDK02 and E1EDP02 with qualifier 016 and then the delivery note number with leading zeros (10 digits) and the item position on item level.

    Partner SP is required on item level.

    When we check the document, it now determines the service PO automatically in MIRO.

    We now have to solve a tax problem, but the core function is working..



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI Tanja,

      i too have the same issue with the EDI 210 which is coming from ups. how the mapping for 210 with

      sap INVOICE02 goes.

      my email id for hotmail account is sureshkriss

      Thanks in advance,


      Edited by: suresh ps on Jul 8, 2008 4:44 PM

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.