Application Development and Automation 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: 
Read only

Invoic IDOC Posting Error

Former Member
0 Likes
4,086

Hello Guys,

I am new to IDOC's . I want to post INVOIC02 idoc , I am doing it from WE19 . assigned the necessary values for the fields and I am run it for inbound processing with FM "IDOC_INPUT_INVOIC_MRM" . But in WE05 I am getting status as 51 which asks to check the application log .

in slg1 to check application log it is showing :

1.Customer , vendor VEND1 not known

2.A company code cannot be determined for LI

can u please help me out in this.

Thanks,

Keith

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
3,020

Hi ,

check the table LFA1 and LFB1..u will find the vendor information.

Regards,

Nagaraj

12 REPLIES 12
Read only

former_member404244
Active Contributor
0 Likes
3,020

Hi,

U might be passing wrong vendor values in the idoc,thats why throwing the error.So pass the correct values and check ,it should work...

Regards,

nagaraj

Read only

0 Likes
3,020

Hello nagaraj,

Is it possible to check the list of vendor's available in SAP and How?

Read only

former_member404244
Active Contributor
0 Likes
3,021

Hi ,

check the table LFA1 and LFB1..u will find the vendor information.

Regards,

Nagaraj

Read only

0 Likes
3,020

Thanks nagaraj,

But the vendor which i am using is there in these tables . How can I find the comapny code for this vendor . And what is the significance of qualifiers in IDOC segments.

Read only

former_member404244
Active Contributor
0 Likes
3,020

Hi,

LFB1 is the table where u find the vendor with company code...there is some significance of qulaifiers in segments...i think u need to pass the value..

Regards,

Nagaraj

Read only

Former Member
0 Likes
3,020

I have been fighting the same error. It is tied up with the logical address in WEL1. The logical address is company code of the customer number, then the customer number. If the customer number is not alpha numeric, then it must be 10 digits long. If the customer number is less than 10 digits, pad it with leading zeros. If the customer number is alpha numeric, then forget the 10 digit rule and it is the actual customer number. The second part of WEL1 is the assignment to the vendor. It is then the company code in which the vendor exists and the vendor number. If this piece is setup correctly it should get you through this error.

Amy

Read only

0 Likes
3,020

SPRO>Materials Management>Logistical Invoice Verification> EDI>Assign company code.

Assign your vendor code to company code.

Then try to post idoc.

Thanks,

Narayan

Read only

Former Member
0 Likes
3,020

We also determined that the error is also caused by the information maintained on OBCA. The information that is passed through on the RE segment in the NAME1 field must match identically to what is maintained in OBCA. If not, the system can't determine the company code for the vendor.

Read only

Former Member
0 Likes
3,020

Hi All,

I am working on SAP 4.6C, I am trying to post an idoc through WE19 and using message type INVOIC and basic type - INVOIC02. Also, we are using the process code - INVL which using the function IDOC_INPUT_INVOIC_MRM.

While trying to post an MM Invoice after entering all the parameters in WE19, the IDoc in status 51.

Also, the error message states that "Function module not allowed: IDOC_INPUT_INVOIC_MRM". Since it is a standard function module, I donu2019t know how to get to solve the problem.

Thanks in advance.

Regards,

Nagarajan

Read only

0 Likes
3,020

Debug the process to see where this error comes from. There is a config table to show what Function Modules are allowed to process certain message types.

You will need to add an entry into this table. I had the same problem myself a while ago.

It could be transaction WE57.

Edited by: Martin Shinks on May 20, 2008 12:21 PM

Read only

Former Member
0 Likes
3,020

Hi Martin,

Thanks for the help. Now the IDOC is getting posted correctly.

regards,

Nagarajan N

Read only

Former Member
0 Likes
3,020

Hey Keith,

I am getting the same error. Could you please let me know how to fix this issues.

thanks

Ram