2007 Jan 25 12:03 PM
Hi,
Iam Developed One Report : ZMMPOR.
For that report, I create a T-code : ZMPO
The transaction will be inserted into the autorization role ZMM_PO_TEAM.
I Developed Code
At Selection-Screen.
authority-check object 'ZMM_PO_TEAM'
id 'TCD'
field 'ZMPO'.
if sy-subrc ne 0.
User does not have authority for transaction ZMPO!!!
endif.
Any problem above mention code, if any problem plz send the modification
I look forward to your reply
Award Points if helpful answer
Thanks & Regards
SEK
Hi,
Iam Developed One Report : ZMMPOR.
For that report, I create a T-code : ZMPO
The transaction will be inserted into the autorization role ZMM_PO_TEAM.
I Developed Code
At Selection-Screen.
authority-check object 'ZMM_PO_TEAM'
id 'TCD'
field 'ZMPO'.
if sy-subrc ne 0.
User does not have authority for transaction ZMPO!!!
endif.
Any problem above mention code, if any problem plz send the modification
I look forward to your reply
Award Points if helpful answer
Thanks & Regards
SEK
2007 Jan 25 12:06 PM
i think you should try this way
replace
authority-check object 'ZMM_PO_TEAM'
with
authority-check object 'S_TCODE'
2007 Jan 25 12:30 PM
Hi,
I want some clarity
Plz reply me,
I look forward to your reply
Thanks & Regards
SEK
2007 Jan 25 12:07 PM
try this
AUTHORITY-CHECK OBJECT 'ZMM_PO_TEAM'
ID 'ACTVT' FIELD '03'.
field --03 --> display access
02 ---> change access
01 ---> create access
2007 Jan 25 12:09 PM
Hi ,
I dont think there is an issue with the code , but i feel the event where is is put is not correct , beacuse AT Selection-screen is executed after the selection screen is already displayed , so what you can do it put this in the event
LOAD-OF-PROGRAM or INITIALIZATION.
As these two events are triggered before the selection screen is displayed
Regards
Arun
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |