06-01-2016 4:43 AM
Dear Experts,
In MM01, when ever new material has been created & extending it to sales view, then have to default value in field Distribution channel & it should be change based on Material type/plant.
For Eg: Material Type Distribution channel
ROH 06
FERT 01
Please suggest me the BADI's or Enhancements available?
Thanks in advance..
06-20-2016 12:56 PM
06-01-2016 7:26 AM
06-02-2016 5:02 AM
Hi Madhu,
Thanks for your response, but as per my requirement have to do in Technical (Coding), so that no need to assign it to specific user..
Correct me if am wrong..
06-01-2016 1:50 PM
06-02-2016 5:06 AM
Hi Raymond,
Thanks for your Response.. Could you please guide me more where can i do that? & make sure that it (Hard coded Value) should have to appear in dialog screen before creating Sales view..
06-02-2016 10:20 AM
In IF_EX_MATERIAL_REFERENCE~CREATE_MATERIAL method.
Loop at IT_MATERIAL_TABLES and when tbnam contains a table where you want to force a value, change it from data received in another parameter (the I_MARA, MARC, etc.) Also memorize in CT_MAT_REFTAB that you have already do the job for this table/status.
(Read BAdI documentation "BAdI Interface: Reference Handling for Materials" and analyze sample class)
Regards,
Raymond
06-20-2016 12:56 PM