2009 May 11 2:55 PM
Dear Expert,
Is it possible to check user sales organization level access when i am execute the Z report.
Thankx,
Denish Patel
2009 May 11 4:55 PM
AUTHORITY-CHECK OBJECT 'V_VBKA_VKO'
ID 'VKORG' FIELD '__________'.
IF SY-SUBRC NE 0.
MESSAGE 'No Authorisation for Sales Organization' type 'E'.
ENDIF.
Thanks
Ganesh
2009 May 11 5:00 PM
You can use the Authority Object V_VBAK_VKO.
Like:
AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
ID 'VKORG' FIELD VBAK-VKORG
ID 'VTWEG' FIELD VBAK-VTWEG
ID 'SPART' FIELD VBAK-SPART
ID 'ACTVT' FIELD DUMMY.
Regards,
Naimesh Patel
2009 Jun 12 2:44 PM
Dear Experts,
Thank you for Reply. But now authority check should be on Plant level. Is it Possible on plant like Sales Organization?
Thanks in advance.
Denish Patel.
2009 Jul 10 6:29 AM