2

Is there a BAPI equivalent (or function module equivalent) to SAP transaction CKMM?

The goal is to change the price determination programmatically.

Everything I found is about updating price but not about updating price determination in material ledger.

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Gerd Castan
  • 6,275
  • 3
  • 44
  • 89
  • This looks like some configuration stuff. There are no BAPIs for configuration usually, at least that is what I have experienced. Personally I would make some use of BAPIs for Product Configuration in SAP Banking... unfortunately there is only SAP GUI available... – Jagger Jun 14 '16 at 17:49
  • Looks like that transaction updates MBEW-MLAST which can also be updated using VALUATIONDATA-ML_SETTLE in BAPI_MATERIAL_SAVEDATA. – Gert Beukema Jun 15 '16 at 03:42

2 Answers2

2

No, there is no BAPI. I am wondering what the requirement here is.. CKMM should be a one time setting and it is already a mass change transaction.

Warning! If you change price control back and forth all previous recorded data in material ledger is lost!

So, I strongly advise to rethink your approach.

Jagger
  • 10,350
  • 9
  • 51
  • 93
Tapio Reisinger
  • 196
  • 1
  • 8
0

You can use LSMW script (Legacy System Migration Workbench) to run the transaction code CKMM (Change Price Determination) and fill in parameters and check results via programming.

Klaus Hopp
  • 41
  • 2