The profit center field (PRCTR) is stored in several documents like material document, accounting document, sales order, delivery, billing, etc. It is important to take in mind that the field might be copied in ERP SD document flow and being processed by a custom copy routine.
In billing the field is stored in VBRP. It is determined or copied, if determined then you may watchpoint VBRP-PRCTR field that will be processed like the flow below:
- FUNCTION GN_INVOICE_CREATE
- FORM GN_FAKTURA_ERZEUGEN
- FORM VBRK_VBRP_FUELLEN
- FORM VBRP_PRCTR_ERMITTELN
- FORM VBRK_VBRP_FUELLEN
- FORM GN_FAKTURA_ERZEUGEN
If issue is seem in accounting document you may need to watchpoint XACCIT-PRCTR during release to accounting.
I have create Wiki page about Profit Center which can be found through Profit Center Determination in Billing Area - ERP SD - SCN Wiki
I hope to have contributed, first thing first, which profit center is wrong in first place. Then if ERP SD Billing is the one, the article I mention here will help you.