cancel
Showing results for 
Search instead for 
Did you mean: 

Block D.O after changes being made- user exit?

Former Member
0 Kudos

Hi Guru's,

I wanted to block my D.O, whenever there's changes done. The higher level person will then release it (FI team).This will going on, until GI D.O has been done. What should i do? should i user user exit?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

Hi Zmisomer

Yes you can try with Delivery User Exit V50S0001

Thanks

G. Lakshmipathi

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

This is the coding that created for the user exit MV45AFZZ . Object Y_UNBLOCK is checking that've created for the person who is releasing the SO. I am not good in ABAP program but is this the coding that should be design in the user exit to do checking for the blocking and releasing loop?

if sy-tcode eq 'VA02'.

AUTHORITY-CHECK OBJECT 'Y_UNBLOCK'

ID 'LIFSK' FIELD VBAK-LIFSK.

if sy-subrc = 0.

if screen-name = 'VBAK-LIFSK'.

screen-input = 1.

modify screen.

endif.

else.

if screen-name = 'VBAK-LIFSK'.

screen-input = 0.

modify screen.

endif.

endif.

endif.

Thank you.

Former Member
0 Kudos

Hi,

how should the assignment be done?

what if for the same condition in S.O. should i use the same user exit?

I notice in the program they are using MV45AFZZ in SO . Is this correct?

Lakshmipathi
Active Contributor
0 Kudos

Dear zmisnomer

You should take the help of ABABer for such authorizations and you can use the Delivery User Exit indicated above.

Yes for SO, you need to use User Exit : MV45AFZZ for any authorization controls.

Thanks

G. Lakshmipathi