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: 

Error in Invoic Idoc - Vendor, Company code not found

Former Member
0 Kudos

Hi All,

We are facing an issue with an Incoming Invoice Idoc (Mes type - Invoic). A third party system sends the Invoices which are received by the XI system and then as Idocs into SAP.

The XI system is defined as a Logical system in R/3. We have created Partner Profile, Dist Model with XI as a LS.

The error that we are encountering is -

Customer , vendor <our LS> not known

Message no. FD110

A company code cannot be determined for LS

Message no. FD006

Are we missing out some data in the Idoc or are we missing some EDI configuration?

Please advise as to how we need to proceed.

Thanks in advance!

Liz

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

This is configuration problem. Check your configurations for vendor and company code in SPRO.

7 REPLIES 7

Former Member
0 Kudos

Hi,

This is configuration problem. Check your configurations for vendor and company code in SPRO.

0 Kudos

Hi,

Thanks for your reply. Can you pls throw more light on the configuration details that is required.

Best Regards, Liz

0 Kudos

Hi,

Check this link as well.

0 Kudos

Hi Vinraaj,

Thks for your link. This talks about setting up company codes, which are already set up in our system.

Hi All,

Any suggestions? Please advise as to how to proceed.

Thks, Liz

0 Kudos

Hi All,

Any suggestions? We are still out of ideas.

Thanks in advance,

Best Regards, Liz

Former Member
0 Kudos

hi,

Error : A company code cannot be determined for LS

This means that SAP cannot match an appropriate company code with a partner profile :- and hence, doesn't know where to post the invoice.

Partner Type = "LS" (Logical System)

Partner Name = ""

I think what you've got is message FD006 - longtext for it can be found via transaction SE91 and sounds like this:

The system cannot determine the relevant company code since the allocation of the data transferred in the invoice is missing in Financial Accounting customizing.

The company code can be determined outside of the system and be put into the intermediate document (for example, from the EDI subsystem). Then the company code must be put into the E1EDK14 segment and ORGID field and the value "011" used as the qualifier.

Determine the company code for & & & in Financial Accounting customizing.

LS is your Logical System. So you might want to have a look at transaction OBCA where you can assign a company code name in the invoice for your Logical System.

In the E1EDKA1 segment. there are two fields PARVW (which is the qualifer or Partner function) PARTN (partner number). The information that is sent in the PARTN has to either match the information in SAP or has to be converted.

If the later is the case try transaction VOED.

Former Member
0 Kudos

Hi All,

For this issue, 3 EDI configurations are required-

Tcode - OBCA (for comp. code), OBCD (for tax) and Program Parameters in SPRO.

Thanks, Liz