Skip to Content
0
Former Member
Apr 23, 2014 at 03:10 PM

To Validate and update Profit Center Value During posting in MIGO

1051 Views

Hi,

i am trying to validate and update profit center value in MIGO against a custom table during GR posting.if the profit center value differs,against the custom table value, i have to update the profit center value in MIGO before or during posting to MSEG table.

I tried chaging the value of profit center during debug mode using BADI's MB_MIGO_ITEM_BADI & MB_MIGO_BADI but i was getting a warning message

“BAdI: Field
GOITEM-PRCTR not ready to accept input (Change will not be adopted)”.

so the value was not getting updated since GOITEM-PRCTR is a non-editable field.any BADI was not working for this task.is there a way i can make the field editable?

also i tried using exit EXIT_SAPMM07M_001 but this exit did not have any importing or changing parameters related to profit center PRCTR.

There were other exits in migo but i was not able to use it for this task.

Can you please provide a solution to this?

Best regards