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: 

SET_AUTHORITY

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

This is not obsolete !

0 Kudos

Hi Thomas,

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

Girish

0 Kudos

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.