Register Login

F5102 Customer & is not defined in company code &

Updated May 18, 2018

Hello Experts,

Hello SAP Experts,

While posting vendor invoice using the transaction MIRO, I am getting Message No.

F5102 (Customer & is not defined in company code &).

In order to regenerate this issue please go to transaction MIRO and then enter the required details as Company code, date, reference PO Number.

And when you press ENTER, then error  F5102 occurs.


  • 07 May 2018 4:18 pm Jyoti Pandey Best Answer

    The issue you are facing is because you must have used wrong account type for the posting key in Transaction code: OB41. Vendor invoice will use the posting for vendor: 31. But in T-code OB41 the account type is set as Customer for posting key 31.

    Therefore in order to resolve this issue please check the settings in the Transaction code Ob41 for vendor invoice posting key 31.

    The account type should be vendor.