Skip to Content
avatar image
Former Member

Msg No. F5165 Company Code is not defined - while viewing Parked Invoice

Hello Friends,

I am trying to park an FV60 Invoice using function module - PRELIMINARY_POSTING_FB01. I am able to park the Invoice Successfully but when I am trying to view the parked Invoice using FB03 TCODE - I am getting an Error Pop Up message saying that "Message No. F5165 Colmpany code "" has not been created in financial accounting ". I am passing the valid Company Code field value in the Function Module .

I did search the forum but could not solve the problem. I am working on ECC 6.0 system. Any help would be great help to me.

Thanks and Have a nice day.

With Regards

Vasu

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 03, 2009 at 04:39 PM

    Are you sure you are passing the company code in all table entries of all tables and structures (where they appear) in the interface?

    Rob

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2009 at 06:31 PM

    Hello Friends,

    I tried the same function module with same values in different system. I was able to park document successfully. So probably I think some configuration are missing in the earlier system. I will update again once I found the missing configuration.

    Thanks for the help.

    With Regards

    Vasu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I have the same issue, and I also could park the document in a different system, did you find which was the cause of the issue?