cancel
Showing results for 
Search instead for 
Did you mean: 

Restriction in delivery block

Former Member
0 Kudos

Hi Expert,

I want to restrict the authorization to change the "delivery block" in the sales order.

How can i block same users to change the delivery block.

More suggestions..

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

To solve above requirement there is one user exit in standard program(sapmv45a) that is

USEREXIT_FIELD_MODIFICATION.

Regards .

Jagadeesh

Lakshmipathi
Active Contributor
0 Kudos

You can try with User exits in the program MV45AFZZ - USEREXIT_FIELD_MODIFICATION

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi Mr. Lakshmi Pati,

How could you know the ABAP programme for modification of Delivery block? Is there any T-code for that or are you learnt ABAP too?

Regards

Sudha

alpesh_saparia3
Active Contributor
0 Kudos

Hi,

Just put down following code under FORM USEREXIT_FIELD_MODIFICATION in program MV45AFZZ.


  TABLES: <CUSTOM_TABLE>.
  SELECT * FROM TABLE <CUSTOM_TABLE>
       WHERE user_name EQ sy-uname.
  IF sy-subrc <> 0.
    IF screen-name EQ 'VBEP-LIFSP'.
       SCREEN-ACTIVE = 0.
    ENDIF.  
  ENDIF.

* <CUSTOM_TABLE> will be any Zee table where you will maintain user id's for which delivery block changing is allowed.

As there is not authorization group assigned for field "LIFSP-Delivery block" you need to follow the method of user-exit.

Former Member
0 Kudos

Hello,

Right now, I can only think of using screen exits to acheive this...

based on the user, make the delivery block non-editable. You might hv to take help of an ABAPer.

Rgds,

Raghu.