Skip to Content
0
Former Member
Jul 05, 2012 at 04:24 PM

Authorization check issue for FB60

234 Views

Hi Gurus,

I Need to add athorization Check for object f_bkpf_bek in program SAPMF05A (FB60).... Please guide me how can i find Enhancement point/ badi/EXIT ...where i can add the code.

Requirment :- i need to add authorozation for FB60 on the basis of vendor group..

For example :- User A has a roll under which he can post for both Vendor group "V1" and Vendor group "V2".

at same time he has a assigned to a diffrent roll under which he can post "V1" but should not post under V2.

All the settings through SU24 has been done , but still i feel code needs to be add somewhere in SAPMF05A to activate it.

i found object f_bkpf_bek best to implement this requirment.

Still need your help is there any other object which is more suitable ...below is the code .

authority-check object 'F_BKPF_BEK'

id 'ACTVT' field l_actvt(variable)

id 'BRGRU' field p_begru(variable).

if sy-subrc ne 0.

message "error msg" with p_begru(variable).

endif.