10-28-2009 6:49 PM
When I tried to post a IDOC invoice by using message type INVOIC, I got an error message
FD006 "A company code cannot be determined for LI XXXXXXXXXX".
I did the required set ups in the "EDI" section under "Accounts Receivable and Accounts payable".
In the detail error message, it also mentioned "Determine the company code for LI XXXXXXXXXX
in Financial Accounting customizing". I clicked on the "Proceed" link in error message to T code OBCA to
add the condition in "EDI: Assign Name in the voice <-> Company code".
It still did not work after re-try.
Where else should I look into to fix my EDI posting problem?
Thank you in advance!
10-30-2009 12:00 PM
Hi,
You need to make the settings in OBCA, OBCB, OBCD & OBCE transaction to eliminate that error.
I have made all the above settings in my earlier project and it worked fine for me.
Thanks,
Mahesh.
10-30-2009 11:51 AM
This is problem wth either ur idoc data or functionla setting i thnk, pls check
10-30-2009 12:00 PM
Hi,
You need to make the settings in OBCA, OBCB, OBCD & OBCE transaction to eliminate that error.
I have made all the above settings in my earlier project and it worked fine for me.
Thanks,
Mahesh.
10-30-2009 3:02 PM
After I compared the failed IDOC with the others,
my error was that the Partner number value in the field PARTN of segment E1EDKA1 was not populated correctly.
The error message was a kind of misleading.
it has nothing to do with the company code. The error was caused by the wrong vendor ID (Partner number).
Thank you all for answer my question!
I really appreciated!
Fisher
09-26-2013 5:44 AM
Hi Yu Li,
Would you please tell me what wrong vendor ID you did input? I have the same problem but not sure what data should fill in in E1EDKA1 segment.
Best regards,
Connie
09-26-2013 5:24 PM
Connie,
We have two E1EDKA1 segments.
First E1EDKA1 segment, Field "PARVW" = "LF" and field "LIFNR" = "The value you defind in the 'Acct w/ vendor' field in R3 T code XK03 correspondence Account screen". If you did not have any value there, you must assign a unique number in that field.
The second E1EDKA1 segment, Field "PARVW" = "RE" and field "PARTN" = "The vendor account number in the initial screen of T code XK03".
10-10-2013 7:48 AM
10-10-2013 8:11 AM
10-10-2013 9:29 PM
Connie,
Here is an example:
<INVOIC01>
<IDOC BEGIN="empty">
<EDI_DC40 SEGMENT="">
<TABNAM
/>
<DIRECT
/>
<IDOCTYP
/>
<MESTYP
/>
<SNDPOR>SAPDXI</SNDPOR>
<SNDPRT>LI</SNDPRT>
<SNDPFC>PI</SNDPFC>
<SNDPRN>
your vendor number in XK03</SNDPRN>
<RCVPOR
/>
<RCVPRT
/>
<RCVPRN
/>
</EDI_DC40>
<E1EDK01 SEGMENT="empty">
<CURCY>USD</CURCY>
<BSART>INVO</BSART>
</E1EDK01>
<E1EDKA1 SEGMENT="empty">
<PARVW>LF</PARVW>
<LIFNR> Your
correspondence account number with the vendor</LIFNR>
</E1EDKA1>
<E1EDKA1 SEGMENT="empty">
<PARVW>RE</PARVW>
<PARTN>
your vendor number in XK03</PARTN>
</E1EDKA1>
<E1EDK02 SEGMENT="empty">
<QUALF>009</QUALF>
<BELNR>Invoice
number</BELNR>
</E1EDK02>
<E1EDK03 SEGMENT="empty">
<IDDAT>012</IDDAT>
<DATUM>20131009</DATUM>
<UZEIT>010647</UZEIT>
</E1EDK03>
<E1EDK03 SEGMENT="empty">
<IDDAT>024</IDDAT>
<DATUM>20131010</DATUM>
<UZEIT>010647</UZEIT>
</E1EDK03>
<E1EDK04 SEGMENT="empty">
<MWSKZ>I0</MWSKZ>
<MSATZ>00</MSATZ>
<MWSBT>0.00</MWSBT>
<TXJCD>TX0000000</TXJCD>
</E1EDK04>
<E1EDK14 SEGMENT="empty">
<QUALF>011</QUALF>
<ORGID>0011</ORGID>
</E1EDK14>
<E1EDP01 SEGMENT="empty">
<ACTION>001</ACTION>
<MENGE>1</MENGE>
<MENEE>CT</MENEE>
<ABGRT>CUP
HOT 10OZ BARE PAPER 0558</ABGRT>
<E1EDP02 SEGMENT="empty">
<QUALF>001</QUALF>
<BELNR>Your
PO number</BELNR>
<ZEILE>PO
line item number</ZEILE>
</E1EDP02>
<E1EDP26 SEGMENT="empty">
<QUALF>003</QUALF>
<BETRG>00049.45</BETRG>
</E1EDP26>
</E1EDP01>
<E1EDS01 SEGMENT="empty">
<SUMID>010</SUMID>
<SUMME>49.45</SUMME>
</E1EDS01>
</IDOC>
</INVOIC01>
10-10-2013 9:34 PM
Connie,
Here is an example:
<INVOIC01>
<IDOC BEGIN="empty">
<EDI_DC40 SEGMENT="">
<TABNAM />
<DIRECT />
<IDOCTYP />
<MESTYP />
<SNDPOR>SAPDXI</SNDPOR>
<SNDPRT>LI</SNDPRT>
<SNDPFC>PI</SNDPFC>
<SNDPRN> your vendor number in XK03</SNDPRN>
<RCVPOR />
<RCVPRT />
<RCVPRN />
</EDI_DC40>
<E1EDK01 SEGMENT="empty">
<CURCY>USD</CURCY>
<BSART>INVO</BSART>
</E1EDK01>
<E1EDKA1 SEGMENT="empty">
<PARVW>LF</PARVW>
<LIFNR> Your correspondence account number with the vendor</LIFNR>
</E1EDKA1>
<E1EDKA1 SEGMENT="empty">
<PARVW>RE</PARVW>
<PARTN> your vendor number in XK03</PARTN>
</E1EDKA1>
<E1EDK02 SEGMENT="empty">
<QUALF>009</QUALF>
<BELNR>Invoice number</BELNR>
</E1EDK02>
<E1EDK03 SEGMENT="empty">
<IDDAT>012</IDDAT>
<DATUM>20131009</DATUM>
<UZEIT>010647</UZEIT>
</E1EDK03>
<E1EDK03 SEGMENT="empty">
<IDDAT>024</IDDAT>
<DATUM>20131010</DATUM>
<UZEIT>010647</UZEIT>
</E1EDK03>
<E1EDK04 SEGMENT="empty">
<MWSKZ>I0</MWSKZ>
<MSATZ>00</MSATZ>
<MWSBT>0.00</MWSBT>
<TXJCD>TX0000000</TXJCD>
</E1EDK04>
<E1EDK14 SEGMENT="empty">
<QUALF>011</QUALF>
<ORGID>0011</ORGID>
</E1EDK14>
<E1EDP01 SEGMENT="empty">
<ACTION>001</ACTION>
<MENGE>1</MENGE>
<MENEE>CT</MENEE>
<ABGRT>CUP HOT 10OZ BARE PAPER 0558</ABGRT>
<E1EDP02 SEGMENT="empty">
<QUALF>001</QUALF>
<BELNR>Your PO number</BELNR>
<ZEILE>PO line item number</ZEILE>
</E1EDP02>
<E1EDP26 SEGMENT="empty">
<QUALF>003</QUALF>
<BETRG>00049.45</BETRG>
</E1EDP26>
</E1EDP01>
<E1EDS01 SEGMENT="empty">
<SUMID>010</SUMID>
<SUMME>49.45</SUMME>
</E1EDS01>
</IDOC>
</INVOIC01>
03-26-2020 1:01 PM
10-06-2021 2:52 PM
Had the same problem.
OBCE looked as if it was populated correctly regarding the field "PartnerNo".
Still system could not find the assigned company code.
Turned, that field "Company Code Name in the invoice" needed to be filled as well. This description is a bit misleading. What is really expected is the content of field "PARTN" in segment E1EDKA_RE from the INVOIC01 idoc.
11-09-2022 6:47 PM
This really helped me ! Thanks fisher.li
Sep 26, 2013 at 04:24 PMConnie,
We have two E1EDKA1 segments.
First E1EDKA1 segment, Field "PARVW" = "LF" and field "LIFNR" = "The value you defind in the 'Acct w/ vendor' field in R3 T code XK03 correspondence Account screen". If you did not have any value there, you must assign a unique number in that field.
The second E1EDKA1 segment, Field "PARVW" = "RE" and field "PARTN" = "The vendor account number in the initial screen of T code XK03".