Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Freight invoice IDOC from carrier

Former Member
0 Kudos

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,

Tanja

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Tanja,

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

3 REPLIES 3

Former Member
0 Kudos

Tanja,

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

Former Member
0 Kudos

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..

Regards,

Tanja

0 Kudos

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,

suresh

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