07-15-2016 8:27 AM
Hi,
I need to change the net prices of each materiel based on some conditions for GR in MIGO transaction. But when i used some enhancements and changed the price. The price change is not reflected in this transaction. But all others fields are changing. can anyone give any suggestions to change the price.
07-15-2016 8:40 AM
You are giving pretty few infos.
Which are the "Some enhacements"? How did you change the price? Changing the conditions? changing the net value of the PO?
We cannot read your code and know what did you do and if it's ok your code.
07-15-2016 8:52 AM
Thanks for quick reply.
I am using the exit MBCF0005. I am getting the Line item of the GR in this exit. I am changing the DMBTR field in the changing structure C_AM07M. But the Price change is not reflecting in the transaction.
07-15-2016 8:55 AM
I will simplify my question. Can we change the price DMBTR field in the GR for each line item?
07-15-2016 9:33 AM
This is a baid. ::MB_DOCUMENT_BADI it is having Two methods.
Try either one or Two. Just Try.
I was tried for validating the data.
Get And Set, Now i can able To Get. But Set i was not tried.(there is no Get N Set Just for understanding purpose i was explained).
I don't thing System is allowing To set a values to the Fields.
because it is based on Po. Just Try it.
07-15-2016 9:06 AM
Check where the function is used: it's called in printing programs, so i doubt you can change MSEG values.
You should use BAdI MB_MIGO_ITEM_BADI
07-15-2016 10:15 AM
Hi Simone,
In MB_MIGO_ITEM_BADI, the Exporting fields are storage location and item text only. We cant change the DMBTR using this BADI
07-15-2016 10:18 AM
07-15-2016 10:31 AM
Hi Simone,
Both the BADIs has only Importing parameters and no exporting or changing. We cant pass the change values back to the transaction