cancel
Showing results for 
Search instead for 
Did you mean: 

Plant resriction

pankaj_bahre2
Explorer
0 Kudos

Dear SAP guru,

How I can restrict that no one can change the Plant in sales order?

Thank you very much in advance

best regards

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Pankaj Bahre,

You request no one to be able to change the field value. I assume that your determined plant is always correct

Please use the following as a potential solution :

Use Se38 for Include: MV45AFZZ

find: FORM USEREXIT_FIELD_MODIFICATION

Include the following code somewhere between

FORM USEREXIT_FIELD_MODIFICATION. and ENDFORM.


  CASE SCREEN-NAME.

    WHEN 'VBAP-WERKS'.   "Plant
        SCREEN-INPUT = 0.
        MODIFY SCREEN.
  ENDCASE.

Please consider possible corrections that may be needed anytime to this field and include at least one exception, either by excluding username(s) in an "IF" clause or using user parameter or by using authorization object or by using exceptions workbench table.

Best regards

Aris

reazuddin_md
Active Contributor
0 Kudos

Use Transaction Variant:SHD0, maintain the Plant field as "Display" mode & save the variant.

Assign this variant name & order type details in VOV8.

now Plant field in order will appear in display mode.