In cross-company sales business, when invoicing a cross-company sales order, the profit center cannot be brought from the sales order to the invoice. Therefore, during the cross-company invoice creation process, an exit needs to be configured to obtain the profit center of the corresponding sales order line item.
Transaction code: 0KEM
Configuration steps:
1. Create a new replacement
2. Create a step
3. Maintain a prerequisite, such as for a specific factory
PCASUB-VKBUR = '0001'
4. Select the alternative program FORM. The FORM must be the name of the FORM that exists in the specified program.
5. Edit alternative program FORM
Realization effect:
Put a breakpoint in the program FORM
When transaction code VF01 creates an invoice, the sales order for a specific distribution channel (06) will enter a breakpoint, and the profit center replacement will be automatically completed according to our rules.
Below are the profit centers in the invoice when the invoice is created successfully.