Friday, May 29, 2020

Error in P101 price when creating STO / valuation type not used



Issue:


  1. Create a stock transport order in transaction ME21N for a split valuated material.
  2. Check condition tab at item level, condition type P101.
  3. 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:

amitshir said...

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.

What is impact if we are allowing negative stock in transit in SAP

What are the pros and cons if we allow negative stock in intransit in sap             Allowing negative stock in transit in SAP is general...