Adopt Company Code in MIRO
In our system the company we have a validation to make sure the company code is populated for some postings e.g. postings to the price variance account.
I have found in OSS that the system pulls the comp. code:
1. from line items
2. from the material
Now we have postings in MIRO where we have different company codes in each line item and we don't have material numbers. But we have a small price variance that should be posted to the corresponding account. The system can not identify a company code and leaves the company code blank for the price variance posting (visible when I simulate the document).
Due to our validation we can not post the document and I do not find a way to define the company code manually. Ideally the system should take the company code of the header.
Thanks for your help.