Skip to Content

Disable and un check ERS check box at Invoice Tab in ME21N Purchase Order

Hi All,

My requirement is to disable and un check ERS checkbox at Invoice Tab in ME21N Purchase order for a particular order type.

I've tried with couple of BADI's and Exits's, but didn't worked out

Kindly find the attached screen shot and please let me know the exact place to write the code. Thank you.

ers.jpg (160.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 22, 2016 at 08:06 AM

    That is done in customizing but not on the order type but rubriceringstype (which is empty in you're example, under the A or I column left of the material number).

    Add comment
    10|10000 characters needed characters exceeded

    • in SPRO- Materials Managment-> Purchasing-> account assignment -> Maintain account assignment categories

      here you can check or uncheck the fields and or make mandatory depending on account assignment categorie.

  • Nov 22, 2016 at 10:07 AM

    if the check box is display only, mandatory or optional is based on customizing of purchase order field selection, where key PT5F is used for third-party items.

    It should also be possible to change it with BAdI ME_PROCESS_PO_CUST while creating the PO.

    To my knowledge will a display only field not really help you if the value for ERS is already active in the vendor master and not deselected via purchasing info records. It will default and cannot be changed by the user.

    Both, vendor master and info record, will be the same for normal purchasing as well as third-party, hence you only have the option to remove the value that comes from vendor master using the BAdI.

    Or you turn your process a bit and leave the ERS field in vendor master empty, have then the field for third-party items display only and for standard purchase orders the user can set the flag manually. But this has the danger that the user forgets to maintain it.

    Add comment
    10|10000 characters needed characters exceeded