Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

rfc call with authority check

Former Member
0 Kudos

Hello,

how can I use authority check in a remote function call from another system?

The user is there not the real personalized user.

Thank you for help!

Christine

1 ACCEPTED SOLUTION

former_member208672
Participant
0 Kudos

Hi,

CALL FUNCTION 'AUTHORITY_CHECK'

EXPORTING

USER = LV_USER

OBJECT = lv_object

FIELD1 = lv_field

VALUE1 = LV_VALUE

field2 = space

value2 = space

field3 = space

value3 = space

EXCEPTIONS

USER_IS_AUTHORIZED = 0

USER_DONT_EXIST = 1

USER_IS_LOCKED = 1

USER_NOT_AUTHORIZED = 2.

Regards,

Arek

Reward points if useful

1 REPLY 1

former_member208672
Participant
0 Kudos

Hi,

CALL FUNCTION 'AUTHORITY_CHECK'

EXPORTING

USER = LV_USER

OBJECT = lv_object

FIELD1 = lv_field

VALUE1 = LV_VALUE

field2 = space

value2 = space

field3 = space

value3 = space

EXCEPTIONS

USER_IS_AUTHORIZED = 0

USER_DONT_EXIST = 1

USER_IS_LOCKED = 1

USER_NOT_AUTHORIZED = 2.

Regards,

Arek

Reward points if useful