08-07-2006 8:19 AM
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.
08-07-2006 8:35 AM
08-07-2006 9:06 AM
Hi Thomas,
When i am doing the EPC it is showing this function module as obsolete.
Girish
08-07-2006 11:50 AM
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.