05-02-2011 2:21 PM
Hi Experts,
When i try to provide authorization to execute RSECNOTE report this object is checked for in QA System alone but not in DEV System. Not sure why this object is being checked of rin QA Alone?
regards,
Shawn.
05-04-2011 4:31 PM
which sap system/version are you on.. I tried cross checking and the trace revealed the object check in our dev systems.
The report will call /SSA/NXS at the end of the process and this will inturn check for STRUST tcode. That is why S_RZL_ADM is requested.. Code snippet that should be available in program /SSA/NXS in your DEV system is as below.
* Authority check of transaction STRUST
CALL FUNCTION 'AUTHORITY_CHECK_TCODE'
EXPORTING
TCODE = 'STRUST'
EXCEPTIONS
OK = 1
NOT_OK = 2
OTHERS = 3.
IF SY-SUBRC = 1.
CLEAR SY-SUBRC.
ENDIF.
IF SY-SUBRC = 0.
AUTHORITY-CHECK OBJECT 'S_RZL_ADM'
ID 'ACTVT' FIELD '01'.
ENDIF.
IF SY-SUBRC <> 0.
PT_LOG-TEXT =
'E: No authorization for transaction STRUST (S_RZL_ADM ACTVT=01)'.
APPEND PT_LOG.
EXIT.
ENDIF
This should help in your analysis.
Regards,
Sri