G-YWWN0NYSS1 Easy Trick to Disable Hold Button in PO (ME21N) using BADI - TECHNICAL GYAN GURU Easy Trick to Disable Hold Button in PO (ME21N) using BADI - TECHNICAL GYAN GURU

Easy Trick to Disable Hold Button in PO (ME21N) using BADI

I want to share a simple trick to make use of a BAdI and disable Hold button in Purchase Order Creation (t-code ME21N). Let’s go deep into the Easy Trick to Disable Hold Button in PO ME21N using BADI.

How to Email Smartform as PDF Attachment to Multiple Users?

  • On initial step, ensure Keep button actually exist. Check the Hold featured in yellow.
  • Open BAdI Developer through T-Code SE19. On BAdI Developer screen, pick Exemplary BAdI, on BAdI name segment fill ME_HOLD_PO and afterward click on Make Impl. button. In this step, we duplicate default standard BAdI which is ME_HOLD_PO into our BAdI name.
  • Input execution name as our BAdI name, remember to begin your BAdI Execution name with Z or Y, for instance I utilized ZHOLDPO name for my BAdI name.
  • Input some text for the BAdI Execution depiction.
  • Remember your BAdI Execution for a bundle and dole out into a vehicle demand to ship it to Quality and consequently to Creation framework.
  • Click on Point of interaction Tab, and afterward Double tap on Technique IS_ALLOWED.
  • It opens the ABAP Supervisor. To see existing boundary, simply click signature button.
  • We can see boundary CH_ALLOWED. We want to utilize this boundary to cripple Hold Button in the PO. Put your code among strategy and endmethod. We have hard-coded CH_ALLOWED with invalid worth. It implies Hold button won’t exist any longer. Remember to Enact your BAdI Execution.
  • Simply press enter on spring up, this spring up seems on the grounds that there is one more article with inert status.
  • Simply ensure your code is enacted. Click back on back button.
  • In any case, BAdI status is as yet latent, and Runtime Conduct is “Execution won’t be called”. You can definitely relax, it implies BAdI was not executed as expected. We simply have to Enact the BAdI Execution here.
  • After enactment of BAdI Execution, status will be Dynamic and Runtime Conduct will be “Execution will be called”.
  • Last step. How about we approve our adjustment of the PO screen. Bingo!! The Hold button which you found in the absolute first screen capture, doesn’t exist. Presently, go an illuminate the business group who requested it. Your task is finished for the afternoon.

This is a basic arrangement once you track down it. In any case, when you don’t have a clue about the BAdI name, you need to scramble around and google. Easy Trick to Disable Hold Button in PO ME21N using BADI.

YOU MAY LIKE THIS

How to check your custom ABAP code for SAP BTP ABAP Environment

10 Real-World SAP ABAP Programming Examples (with Code!)

Number Range tcode in SAP

Create and Consume Business Add-in(BAdI) in ABAP

  • Related Posts

    SAP PO for Beginners Part 5 – Complete Overview on Enterprise Service Repository (ESR)

    Before going for SAP PO for Beginners Part 5 – Complete Overview on Enterprise Service Repository. Understand this is the fifth post in my blog series on “SAP PO –…

    SAP PO for Beginners Part 4 – PI to ECC Adapter Connectivity Configuration

    SAP PO for Beginners Part 4 – PI to ECC Adapter Connectivity Configuration. This is the fourth post in my blog series on “SAP PO – Cycle Arrangement for Amateurs”.…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    SAP PO for Beginners Part 5 – Complete Overview on Enterprise Service Repository (ESR)

    • By Varad
    • June 6, 2025
    • 11 views
    SAP PO for Beginners Part 5 – Complete Overview on Enterprise Service Repository (ESR)

    SAP PO for Beginners Part 4 – PI to ECC Adapter Connectivity Configuration

    • By Varad
    • June 5, 2025
    • 31 views
    SAP PO for Beginners Part 4 – PI to ECC Adapter Connectivity Configuration

    Using IDoc / Output Type special processing options

    • By Varad
    • June 4, 2025
    • 29 views
    Using IDoc / Output Type special processing options

    Sending Inbound IDocs from SAP Program

    • By Varad
    • June 3, 2025
    • 73 views
    Sending Inbound IDocs from SAP Program

    You’hv got an IDoc !!

    • By Varad
    • June 2, 2025
    • 33 views
    You’hv got an IDoc !!

    *.IDO file for IDocs

    • By Varad
    • June 1, 2025
    • 52 views
    *.IDO file for IDocs