cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict to change Material Description in sales order

Former Member
0 Kudos

Dear Expert

Our Client required to restrict Change Material description in Sales order (VA01,VA02) & delivery (VL01N & VL02) Please guide

Regards

BK GAIKWAD

Accepted Solutions (0)

Answers (3)

Answers (3)

jignesh_mehta3
Active Contributor
0 Kudos

Hello,

You will have to insert a ABAP code in User Exits to make Material Description field non-modifiable.

In Sales Order, in program MV45AFZZ, under User Exit - userexit_field_modification insert a ABAP code like this:

   IF sy-tcode = VA01 or VA02 & IF screen-name = VBAP-ARKTX

   screen-input = 0

The above code will ensure that ARKTX field is non-modifiable in Sales orders.

For Deliveries in Program MV50AFZ1, under User Exit - USEREXIT_MOVE_FIELD_TO_LIPS insert a similar ABAP code suggested above & your requirement will get fulfilled.

Thanks,

Jignesh Mehta

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

  you can Achieve it through T.code SHD0

you can Activate for all the users by making the Field in Display mode.

shiva

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

For SO, you can try with USEREXIT_FIELD_MODIFICATION in include MV45AFZZ.

For delivery, try with badi LE_SHP_DELIVERY_PROC method CHANGE_FIELD_ATTRIBUTES

I hope this helps you

Regards

Eduardo