Skip to Content
author's profile photo Former Member
Former Member

Invoic IDOC Posting Error

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 08, 2007 at 12:23 PM

    Hi ,

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

    Regards,

    Nagaraj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2007 at 12:48 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 08, 2007 at 12:14 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 08, 2007 at 12:49 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 05, 2007 at 02:57 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2008 at 10:11 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2008 at 12:18 PM

    Hi Martin,

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

    regards,

    Nagarajan N

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 10, 2008 at 07:53 PM

    Hey Keith,

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

    thanks

    Ram

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.