cancel
Showing results for 
Search instead for 
Did you mean: 

How to updating Standrad price in Material ( Accounting view1 ) through IDOC

0 Kudos

Hello All,

I am working on Inbound side, we are going to receive MATMAS details from PI, and we need to create / update the Material.

My Requirement is to Update the Standard Price from the Interface, My observation is when the Material is created for the first time the Standard Price is updated correctly from the segment E1MBEWM-STPRS, But for the existing Material if the PI is sending another IDOC with different Standard price my MATMAS ( standard inbound function module

IDOC_INPUT_MATMAS01 ) not updating the standard price ( How can we update this ?)

Alternately I am trying to call the Function Module IDOC_INBOUND_WRITE_TO_DB with the message type MATERIALVALUATION_PRICECHANGE, in side

IDOC_INPUT_MATMAS01 when the PI sends different price for the existing Material, So that an automatic IDOC gets created which can update the price But My Question is where to write this code ( user exit/badi ) please suggest

Any help is highly appriciated

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

I have done this in the implimentation of BADI_MATMAS_ALE_IN Using Function Module IDOC_INBOUND_WRITE_TO_DB with the message type MATERIALVALUATION_PRICECHANGE and its working fine

Answers (0)