Message type: E = Error
Message class: KJ - Cost Object Controlling for Make-to-Order Production
Message number: 338
Message text: Profit basis & can only be used with a sales order
If profit basis &v1& is used, the planned costs used for calculating
the profit are calculated in the standard cost estimate for the
material. This process is only allowed for a sales order item.
For logistical orders (such as production orders) and projects, the
planned costs are calculated in <DS:GLOS.cost_element_planning>cost
element planning</> or in a <DS:GLOS.unit_costing>unit cost
estimate</>.
Go into Customizing in the valuation method and choose a profit basis
that calculates the profit by using the costs and revenues planned by
cost element.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message KJ338, which states "Profit basis & can only be used with a sales order," typically occurs in the context of profitability analysis (CO-PA) when trying to execute a transaction that requires a sales order reference, but the system cannot find one or the context is not appropriate for the profit basis being used.
Cause: Incorrect Profit Basis: The profit basis you are trying to use is configured to only work with sales orders, but the transaction you are executing does not have a sales order associated with it. Missing Sales Order: The transaction might not have a sales order linked to it, which is necessary for the profit basis to be valid.
Configuration Issues: There may be configuration settings in the profitability analysis that restrict the use of certain profit bases to specific transaction types.
Solution: Check Transaction Type: Ensure that the transaction you are trying to execute is indeed linked to
Get instant SAP help. Sign up for our Free Essentials Plan.
KJ337 Results analysis with profit basis & not possible on sales order
What causes this issue? For a sales order item, the planned costs that are used as a basis for calculating the profit can be calculated in the follow...
KJ336 Asterisk not allowed as masking character for assignment definition
What causes this issue? You used an asterisk (*) instead of a plus sign (+) as the masking character.System Response The system issues an error mess...
KJ339 Quantity-based results analysis only possible for sales order
What causes this issue? The <DS:GLOS.results_analysis_version>results analysis version</> specifies a <DS:GLOS.results_analysis_type&g...
KJ340 Manual RA data only if cutoff period & < start of RA &
What causes this issue? The <DS:GLOS.cutoff_period>cutoff period</> divides the life cycle of the object into open and closed periods. &l...
Click on this link to search all SAP messages.