cancel
Showing results for 
Search instead for 
Did you mean: 

VOE4 Inbound EDI Order processing (ORDERS05) when you have PARTN + LIFRN in IDOC on ship-to

Sheep2001
Explorer
0 Kudos

Hi colleagues.

I have an inbound orders IDOC coming from same ERP system.

in E1EDKA1 for "WE" = ship-to, I have values in LIFNR and PARTN. System is always taking over the ship-to number from PARTN, but I want to set a different one via VOE4. I have tried all combination and i think VOE4 is ignored when there is PARTN presented in IDOC and a customer is available for that. Is my understanding correct?

Any other suggestions how to solve that we can force the system to take another ship-to number than PARTN from IDOC?

View Entire Topic
rob_ariaans
Contributor
0 Kudos

Please check include LVEDAF5T / Form ZUORDNEN_ORDERS_E1EDKA1. For partner function WE the mapping from EDPAR table is only checked in case:

*- Warenempfänger -----------------------------------------------------*
*- consignee ----------------------------------------------------------*
WHEN 'WE'.
IF E1EDKA1-PARTN EQ SPACE
AND E1EDKA1-LIFNR NE SPACE.
*- ermitteln Partnernummer aus Tabelle EDPAR --------------------------*
*- determine partnernumber from table EDPAR --------------------------*
IF IDOC_CONTRL-SNDPRT = 'LS'.
PERFORM EXTERNAL_PARTNER USING XVBAK-KUNNR
E1EDKA1-LIFNR
E1EDKA1-PARVW
E1EDKA1-PARTN.
ELSE.
PERFORM EXTERNAL_PARTNER USING IDOC_CONTRL-SNDPRN
E1EDKA1-LIFNR
E1EDKA1-PARVW
E1EDKA1-PARTN.
ENDIF.
ENDIF.
Sheep2001
Explorer
0 Kudos

Thanks Rob!

This explains the behaviour.