Issue:
When creating an STO (stock transport
order), the system derives the internal price of the material (condition
type P101 in the custom calculation schema ZXXXXX) based on
the price of the material in the supplying plant.
However, if the material is split valuation and we enter the
valuation type on the Delivery tab, the system does not consider this for the
pricing and does not derive
the valuation type-specific price from
the material master of the supplying plant. It still uses the
plant-specific price and not the valuation type-specific one.
Reproducing the Issue- Create a stock transport order in transaction ME21N for a split valuated material.
- Check condition tab at item level, condition type P101.
- System takes the price from material for supplying plant on plant level instead of the valuation type(NEW) level.
Cause
When a stock transport order is created, the system displays the valuation price of the material that is specified for the supplying plant in Accounting 1 view in the material master. The system does not check the entered valuation type for the price determination.
As per the sap standard behavior , derive the plant-specific price from the material master of the supplying plant from accounting view.
Note: We can refer OSS Note 1860315 - Error in P101 price when creating STO / valuation type not used.
Solution: System design, no solution in the standard system. We have to implement a enhancement in the LV61AA46 / XKOMV_KBETR_ERMITTELN, where the price for the P101 condition is determined.
We have to add below condition , if a specific calculation schema need to apply calculation schema name and valuation type field otherwise only valuation type field is enough.
IF komk-kalsm = 'ZXXXXX'. "Calculation Schema Name
mtcom-bwtar = komp-bwtar.
ENDIF.
1 comment:
Great blog! Thanks for the very detailed information. It is so hard to find this information on the internet. Last time I shipped my home all goods by Amgrelo.com with a good deal.
Post a Comment