cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling the cost distribution button on the Process Purchase Order Screen

Former Member
0 Kudos

This is probably a simple question, but we have been unable to find the place to disable cost distribution on the SRM Process Purchase Order screen for limit orders ONLY. Basically, we just want this functionality to not be available to users. Can anyone direct us to the correct configuration for this? Or do we need to edit the BADI?

Thanks in Advance!

Accepted Solutions (0)

Answers (2)

Answers (2)

ricardo_cavedini
Employee
Employee
0 Kudos

Hello,

You can hide this field by creating a screen variant through SHD0 transaction. I have tested here and I

could hide it (GV_DIST_IND in Program SAPLBBP_PDH_ACC screen 1000).

In the screen variant you should mark the output of GV_DIST_IND field.

However, this option would hide this button for all documents.

Kind regards,

Ricardo

Former Member
0 Kudos

Hi

Since you want to disable the cost distribution only for Limit orders, you need to use the BADI.

Had this been applicable for all PO's you could have changed the HTMl template.

Pls. use BADI BBP_SCREENVARIANT .

1) Identify the screen which needs to be changed.

2) Create a new variant of that screen and save,

3) Add code to the BADI to identify the type of PO and then call the new variant.

Regards

Kedar