Application Development and Automation 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: 
Read only

SET_AUTHORITY

Former Member
0 Likes
580

Hi all,

I am working with SET_AUTHORITY Function module this is obsolete now,

Can u please help me in finding the replacement....

Thanx,

Girish.

Hi Thomas,

When i am doing the EPC it is showing this function module as obsolete.

Girish

3 REPLIES 3
Read only

Former Member
0 Likes
519

This is not obsolete !

Read only

0 Likes
519

Hi Thomas,

When i am doing the EPC it is showing this function module as obsolete.

Girish

Read only

0 Likes
519

Sorry dear, I could see that.

I think you may need to use <b>authority-check</b> instead of that function module.

For Example.

authority-check object 'XXXX'
id 'KOKRS' field '*'
id 'KOSTL' field XXXX
id 'ACTVT' field '*' .
IF sy-subrc NE 0.
* Your error message.
ENDIF.

Cheers,

Thomas.