cancel
Showing results for 
Search instead for 
Did you mean: 

Autopopulation of cost center scrapping in MIGO

fidy
Participant
0 Kudos

Though many asked the same question aboved, I'm wondering how to autopopulate cost center in MIGO when doing scrapping materials.

http://sapfans.com/forums/viewtopic.php?t=348599

Some answered that OKB9 was the solution, however I asume that it has nothing to do with giving default variant to the blank below.

How can I anyway autopopulate certain cost center right after selecting 551?

How does OKB9 affect this function?

Best

Accepted Solutions (1)

Accepted Solutions (1)

DominikTylczyn
Active Contributor
0 Kudos

Hello fidy

The short answer is that you can't populate cost center for 551 with just standard configuration.

There is a reason to this - movement 551 is a flexible one that allows you to post scrap costs to any cost account or to any cost center.

However if you don't like this flexibility you can set up account determination for 551 movement in OBYC transaction: operation GBB, account modifier VNG. Refer to the documentation of SPRO: Materials Management -> Valuation and Account Assignment -> Account Determination -> Account Determination Without Wizard -> Configure Automatic Postings.

Then once the cost account is determined, you can determine cost center with OKB9 settings.

If you like this approach you can create more 551-like movement types and set cost account and cost center determination for them accordingly. Of course that is very rigid determination - only one cost account and one cost center.

If you need more flexibility you can implement your own rules with MB_MIGO_BADI enhancement. Use method:

  • CHECK_ITEM to implement validation of cost account / cost center entered by the user
  • LINE_MODIFY to implement your own cost account / cost center rule.

Best regards

Dominik Tylczynski

Answers (1)

Answers (1)

Abinathsiva
Active Contributor
0 Kudos

Hi,

Try through implementing BADI - MB_MIGO_BADI - under method CHECK-HEADER or POST-DOCUMENT with custom code...