cancel
Showing results for 
Search instead for 
Did you mean: 

To make a field editable in change mode

Former Member
0 Kudos

Hi All,

I am working on SRM 4.0 .I have a requirement.In the contract Screen the vendor data should be greyed out initally and it should be made editable only when the purchasing group and purchasing organization are entered .Tired to greyout the vendor field or rather made it uneditable usinf shd0,but could not find a way how to make in enable or editable once the data is entered.

Rgds

Krishna

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Krishna,

You can use the BBP_UI_CONTROL_BADI to grey out the fields.

In this BADI, you have to create an implementation using the method BBP_CTR_UI_CTRL.

When the value for the purchasing group and purchasing organization is initial. Perform the following action.

CASE iv_fieldname.

WHEN ' The field name '

cv_invisible = ' '.

cv_input_ready = ' X'.

ENDCASE.

The parameter cv_input_ready when has the value 'X' greys out the fields.

Thanks

Pradeep

Former Member
0 Kudos

You cannot achieve this with Screen Variant as this will not provide you the flexibility of enable and disable. Please use BBP_UI_CONTROL_BADI (Method BBP_CTR_UI_CTRL) for the same.

Regards

Kathirvel