we're doing transfer postings in MB1B with reference to existing returns. In the return item a profit center different from the material master is entered. MB1B is creating the material document with the profit center from the materal master.
The requirement is to get the profit center from the return into the material document.
I have tried various ways to meet the requirement:
- Badi MB_DOCUMENT_BADI
- Badi MB_MIGO_ITEM_BADI
- Exit EXIT_SAPLIE01_007
- Enhancement ENHANCEMENT-POINT SEGMENTDATEN_MAT_SETZEN_03
- Enhancement ENHANCEMENT-POINT MM07MFM0_M_SEGMENTE_GENERIE_04
In MB_DOCUMENT_BADI and EXIT_SAPLIE01_007 the profit center can't be changed, MB_MIGO_ITEM is not run through.
In the 2 enhancements the value can be changed, but the profit center in the material document and the follow up documents is still taken from the material master.
Does anybody know where I can change the profit center in this case? (Badi / Exit / Enhancement).
It's a requirement that MB1B has to be used, so using MIGO for this is not a solution.
Thank you very much!
Best regards, Andreas