cancel
Showing results for 
Search instead for 
Did you mean: 

SD-EDI Inbound ORDERS05

Former Member
0 Kudos

Want to receive sales orders from customers by EDI.

When receiving the IDOC, the customer sent me his EDI partner number. (Operational point)

How to translate the 13 digit number to my SAP customer number?

I have WE20 actualized, the EDPAR table is also actualized...

THe message ORDER have the operational code ORD asigned with the function INPU_IDOC_ORDER.

When processing the IDOC, the system was not able to determine the customer number from that external partner informed.

Can someone help me please? There is something I done wrong...

Thans in advance for the help!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

T-code VOE4

IMG -> SD -> EDI -> EDI Mesaages -> Configure EDI partners -> Convert external to Internal partner numbers

In this IMG activity, you convert the external number belonging to the

EDI partner into an internal number.

Example:

A customer is given number 123 in the SAP ERP System. This customer

enters the following partners in his or her system with the numbers

below (external numbers). You enter these partners in the ERP System

with the following internal numbers:

Partner function External number Internal number

Ship-to party abc 456

Bill-to party def 789

You then have to enter the following data:

Customer Ext. function External partners Internal number

123 WE abc 456

123 RE def 789

Former Member
0 Kudos

Thank you Mangesh for your reply.

I already done that.

The steps I did:

(Example)

- VOE4 - My SAP customer: 11 - Ext. function: SP - External Partner: 840000000000001

- WE20 - Partner Type KU:

Internal Parameters: Partner role: SP - Message type ORDERS - Process Code ORDE

Function: IDOC_INPUT_ORDERS

THe PI / XI station send me the IDOC to an Logic partner:

- WE20 - Partner Type LS:

Internal Parameters: Partner role: SP - Message type ORDERS - Process Code ORDE

Function: IDOC_INPUT_ORDERS

Debuging the process the system try to select the incorrect information with incorrect data into:

Process Code ORDE

Function: IDOC_INPUT_ORDERS

PERFORM interpret_idoc_orders

So, execute:

*************************

- Auftragskopf Partnerinformationen -


- partner data -


WHEN 'E1EDKA1'.

MOVE IDOC_DATA-SDATA TO E1EDKA1.

PERFORM ZUORDNEN_ORDERS_E1EDKA1.

*************************

Then execute:

*************************

- Auftraggeber -


- order party -


WHEN 'AG'.

IF E1EDKA1-PARTN EQ SPACE

AND E1EDKA1-LIFNR NE SPACE.

- ermitteln Partnernummer aus Tabelle EDPAR -


- determine partnernumber from table EDPAR -


PERFORM EXTERNAL_PARTNER USING IDOC_CONTRL-SNDPRN

E1EDKA1-LIFNR

E1EDKA1-PARVW

E1EDKA1-PARTN.

ENDIF.

*************************

And that perform does ( in my opinion, an worng select into EDPAR)

*************************

FORM EXTERNAL_PARTNER USING INPART

EXPART

PARTNERROLLE

PARTNER.

SELECT SINGLE * FROM EDPAR WHERE KUNNR = INPART

AND PARVW = PARTNERROLLE

AND EXPNR = EXPART.

*************************

Any coment?

Former Member
0 Kudos

Self Solved.

I did the external partner translation before IDOC procesing.

Regards,

Deme

Former Member
0 Kudos

Hi

For Inbound Sales Orders, you also need to activate the 13 digit partner number with sales org/dc/division details in table EDSDC. Transaction code: VOE2. Try posting the inbound IDOC after setting up this table in addition to activating table EDPAR

Regards,

Subbu

Former Member
0 Kudos

Hi Subramaniam,

No, its not necesary to update the table EDSDC. You have to update that just if you do not receive the sales org data into ORDERS segment E1EDK14.

According to the standard SAP function module yo must fill the EDPAR with the external partner number asigned to its SAP KUNNR (customer number) and PARVW(partner function).

My problem is already solved, and we're correctely receiving the sales orders via EDI into SAP.

Thanks anyway for your message.

Regards,

Demétrius

          • The treath is closed *****

Edited by: demas on May 15, 2009 11:12 AM

Answers (0)