06-12-2009 9:06 AM
Hi,
I am using the following coding.
i_tvbuk-vkbur = '0230', '4010'.
actvt = '16'
i'm having the authorziation for '0230' only.
while i'm executing '4010' i give the output.
how to correct. ?
AUTHORITY-CHECK OBJECT 'Z.VKBUR'
ID 'ACTVT' FIELD actvt
ID 'VKBUR' FIELD i_tvbuk-vkbur.
check sy-subrc <> 0.
MESSAGE e000(su) WITH
'You do not have necessary authorisation'
'for the selection!!!'.
thanks & Regards,
Vallamuthu.M
06-12-2009 9:10 AM
You have to manintain this authorization object with those values
in role or profile in SU01 transaction.
06-12-2009 10:18 AM
06-12-2009 9:19 AM
Hi,
Can you check Authorization already you have created. check whether this blocks this table field or not.
Have a Nice Day,
Regards,
Sujeet
06-12-2009 10:26 AM
Hi,
For this you need the display authorization for '4010' also, for getting the output.
For this make the activity to display code.
06-12-2009 10:41 AM
Hi,
Please check your Authorization object in transaction 'SU21' . There you will come to know the appropriate authorization for your objects
06-12-2009 11:04 AM
06-12-2009 11:10 AM
Hi,
Your requirement is not very clear.. Could you please elaborate your problem so that i can have a clear picture..
06-12-2009 11:37 AM
we give authorziation for the user based on the sales office(VKBUR).
but all the user run all the sales office.
we create on object Z.VKBUR.
Basis people done his work clearly
_________________________________
Object | Field | Value (interval) => su24
__________________________________|
Z.VKBUR | ACTVT | 03 ==> Display
| | 16 ==> execute
| VKBUR | $VKBUR
_________________________________
i_tvbuk-vkbur = '0230', '4010'.
actvt = '16'
I'm having the authorization for '0230' only.
while I'm executing '4010' i give the output.
how to correct. ?
AUTHORITY-CHECK OBJECT 'Z.VKBUR'
ID 'ACTVT' FIELD actvt
ID 'VKBUR' FIELD i_tvbuk-vkbur.
check sy-subrc 0.
MESSAGE e000(su) WITH
'You do not have necessary authorisation'
'for the selection!!!'.
06-12-2009 11:43 AM
Hi,
Please try this ,
AUTHORITY-CHECK OBJECT 'Z.VKBUR'
ID 'ACTVT' FIELD '03', <---------Please specify the exact field value
ID 'VKBUR' FIELD i_tvbuk-vkbur.
check sy-subrc 0.
MESSAGE e000(su) WITH
'You do not have necessary authorisation'
'for the selection!!!'.
Please let me know if this is not working
06-12-2009 11:50 AM
06-12-2009 11:54 AM
06-12-2009 11:57 AM
06-12-2009 12:00 PM
HI,
Hi,
Can you let me know how are you filling up 'i_tvbuk-vkbur'...
If you have more than one in 'i_tvbuk-vkbur' it will not work...
To resolve this you have to check the authorization either inside loop so that you get single value for this field or use a rad statement...
06-16-2009 5:56 AM
Solved myself
i gave actvt = '03'
Edited by: vallamuthu madheswaran on Jun 16, 2009 10:26 AM