cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice creation failure

Former Member
0 Kudos

Good morning,

In SUS, a invoice is created without problem but the idoc INVOIC-INVOIC01 fails on R/3 with the message "A company code cannot be determined for LS <partner>"

I try to map the idoc like the diagnosis says but the error is the same.

Im blocked, please, can anyone help me?

Regards,

Nacho

Accepted Solutions (1)

Accepted Solutions (1)

ashwin_mundkur
Advisor
Advisor
0 Kudos

Hi Nacho,

Check your entries in OBCA,OBCE and OBCD.

The system compares field E1EDKA1-PARTN from the IDOC with the entries in OBCA to retrieve the company code. This must match before the system will correctly propose the company code and eliminate FD006.

- Check your settings is transaction OBCA to populate the Partner and Company Code as follows:

-- E1EDKA1-PARV = 'RE'

-- E1EDKA1-PARTN = Partner number

-- E1EDKA1-NAME1 = Company code Name in the invoice

- The vendor is taken from the E1EDKA1-segment / qualifer LF or RS (the first segment with one of these two qualifiers is taken): See note 117814.

- The company code is taken from the E1EDKA1-segment /qualifer RE: See note 117808.

- So you need in your idoc one E1EDKA1-segment / qualifer RE and E1EDKA1-segment / qualifer LF or RS.

Then the system will check the customizing in transaction OBCA : please check that you have the correct entry for LI partner type in table T076.

thanks,

Ashwin

Do reward points for useful answers

Former Member
0 Kudos

Hi Ashwin,

I understand you reply but i believe that im doing something wrong because it doesnt work for me.

My idocs have:

E1EDKA1 RE 0000002200 "(Company)

and

E1EDKA1 LF 0000037700 "(Supplier)

The entry on OBCA transaction is:

LI 37700 2200

LI 37700 NAVANTIA 2200 (Same with the name of the company)

But the problem still remains. Am i doing something wrong?

Regards,

Nacho

Former Member
0 Kudos

Hello Nacho,

when you use transaction BBP_SUS_BP_ADM to create a BP, try to do create the BP as a company code and enter the company code into the field company code.

HTH,

Andreas

Former Member
0 Kudos

Hello Andreas,

The errors occurs on R/3, it is not a problem of SRM

Thanks and regards,

Nacho

Former Member
0 Kudos

Hello Ashwin,

The problem is solved, the problem was entries in the tables you had mentioned.

Thanks and regards,

Nacho

ashwin_mundkur
Advisor
Advisor
0 Kudos

Hi Nacho,

Great to know!

regards,

Ashwin

Edited by: Ashwin Kamath M on Jun 25, 2008 4:45 PM

Former Member
0 Kudos

Ashwin,

Thanks to forum bug, 16 points!!!!

Regards,

Nacho

Former Member
0 Kudos

Hi Ashwin/Nacho

Im facing the same error "A company code cannot be determined for LS <Vendor>". Could you please guide me exactly what you had done to resolve this error.

I have made all the settings in OBCA and OBCD and OMRY

In OBCA: Partne type LI , Vendor code and company code name(as similar in SUS) and R/3 company code have been maintained.

Thanks

Kiran

Answers (1)

Answers (1)

khan_voyalpadusman
Active Contributor
0 Kudos

hi,

what is the process code you have used in the transaction

WE20 ? partner profiles :inbound parameters for message type -> BBPIV.

i am getting error message-->

Function module not allowed: IDOC_INPUT_INVOIC_MRM

Former Member
0 Kudos

Hello,

Type INVOIC with operation code INVL in your SUS system business partner.

One advice, its not very usual that the people answer a closed threat (because of the points)

Regards,

Nacho