cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Print Button in Purchase Order

elalan
Participant
0 Kudos

Hello to all , i need to disable the print button until the PO is not release , i read about it and says that i shuold use SHD0 but it seems to me that there is no way to put a condition for thar disable , can somebody help me , thanks.,

Accepted Solutions (0)

Answers (2)

Answers (2)

JL23
Active Contributor

SAP Does not print anything if it is not released, no matter the button is present of not. If it prints in your case then better check the print program as there is something wrong

elalan
Participant
0 Kudos

Thanks for reply but in this casi the client set up , as i told you , release o not it can be print , now i have an idea , if i create my shd0 , can i activate o deactive the shd0 as i please ? , my idea is to use a badi in method open and then ask if the po is release or not , if not aply the shd0 else continue

, can be done ?

JL23
Active Contributor

Why don't you correct your faulty program?

this would make more senste too me than building a workaround to keep the faulty program

Jelena
Active Contributor
0 Kudos

Please use "Comment on this answer" button when replying to an existing answer.

I agree with Juergen, this is standard functionality and it works fine for thousands of SAP customers without any need to disable a button. "The client" is wasting their time IMHO and your plan with "SHD0 on the flight" is simply not feasible.

You'd have to either replace standard transaction with a Z one or modify SAP standard to achieve this. All of these options have disadvantages that far outweigh any advantages of disabling the button.