Skip to Content

BADI for batch management check box in purchase view of MM01, MM02 to be enabled always.

Hi Team,

Need your help to find the BADI spot for batch management check box in purchase view of MM01, MM02 to be enabled always.

I already used "BADI_MATERIAL_REF" and I gave 'X' in the MARA-XCHPF and pressed the F8 key and the Check box is not getting checked.

The requirement is should enable the batch management check box when ever MM01, MM02 is used.

Please suggest....

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 06, 2017 at 09:01 AM

    It pretty much depends on the batch level whether you can use MARA-XCHPF or have to use MARC-XCHPF

    The BADI has a coding example for a MARA field. Just go SE18 enter the BADI BADI_MATERIAL_REF, click display, then select Goto > coding example from the menu, double click the method IF_EX_MATERIAL_REFERENCE~CREATE_MATERIAL

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 06, 2017 at 07:55 AM

    Hi Dinesh,

    Try SMOD: MGA00001. Field CMARA-XCHPF = 'X' If you want to default it.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Dinesh,

      You can debug it why it is not passing value to this change value. Please check the material code CMARA-MATNR also before you update the batch management indicator.

      Thanks