Register Login

Deactivate Hold Functionality in Purchase Order Screen (ME21N).

Updated Sep 21, 2021

In this tutorial, you will learn step-by-step procedures to deactivate the hold functionality in the Purchasing order screen (ME21N).

What is HOLD Functionality?

Hold (completeness status: H) is a function that is used when the user enters an incomplete header data, but wants to complete the purchasing document later, In this case, a user can use the Hold function to save the incomplete data for further processing later.

How to Deactivate Hold Functionality in PO Screen?

Please follow the steps below to deactivate the hold functionality on the PO screen:

Execute t-code SE19 in the SAP Command field

SE19

Next under Create Implementation tab click the Classic Badi checkbox and input the BADI name as ME_HOLD_PO

Classic Badi

Click the Create button.

create

In the popup enter the Implementation Name and press Enter to proceed.

Implementation Name

On the next screen enter the Description of the Badi as shown in the image below:

Desctiption

Once the description is added click the Save button to save the BADI.

Save

Now the system will prompt you the Workbench Request enter the Package or save it as a Local Object.

Workbench Request

A message Implementation XXXX was saved will appear at the bottom of your screen

badi Saved

Next, go to the Interface tab 

Interface tab

Double click on Method IS_ALLOWED from the table.

method is allowed

On the next screen add the following code

method IF_EX_ME_HOLD_PO~IS_ALLOWED
CH_Allowed = ' '.
endmethod

method is allowed


Now go to More and click Activate button 

Activate

Press Enter key and go back to the previous screen

Enter

Once back to the previous screen go to More and click Activate once again.

Activate

A message Active object generated will be displayed at the bottom of your screen.

Active object generated

You have successfully deactivated Hold functionality from the PO screen. Now when you will create a Purchase order in the t-code ME21N screen, you will notice that the Hold function is no more available on the PO screen

Some Important Points

  • Using Said BADI for some document types a user can use his own logic such as deactivating the Hold option on the PO screen.
  • With the help of said BADI, the user can also deactivate the Park functionality on the PO screen. The method for Park functionality would be CH_PARK.


×