Application Development and Automation 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: 
Read only

AUTHORITY-CHECK problem

vallamuthu_madheswaran2
Active Contributor
0 Likes
1,356

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

14 REPLIES 14
Read only

GauthamV
Active Contributor
0 Likes
1,291

You have to manintain this authorization object with those values

in role or profile in SU01 transaction.

Read only

0 Likes
1,291

it's maintained in su01.

Thanks & Regards,

Vallamuthu.M

Read only

SujeetMishra
Active Contributor
0 Likes
1,291

Hi,

Can you check Authorization already you have created. check whether this blocks this table field or not.

Have a Nice Day,

Regards,

Sujeet

Read only

Former Member
0 Likes
1,291

Hi,

For this you need the display authorization for '4010' also, for getting the output.

For this make the activity to display code.

Read only

Former Member
0 Likes
1,291

Hi,

Please check your Authorization object in transaction 'SU21' . There you will come to know the appropriate authorization for your objects

Read only

0 Likes
1,291

Already there.

Thanks & Regards,

Vallamuthu.M

Read only

0 Likes
1,291

Hi,

Your requirement is not very clear.. Could you please elaborate your problem so that i can have a clear picture..

Read only

0 Likes
1,291

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!!!'.

Read only

Former Member
0 Likes
1,291

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

Read only

0 Likes
1,291

it is not working. it displays all.

Thanks & Regards.

Vallamuthu.M

Read only

0 Likes
1,291

Hi,

Can you let me know how are you filling up 'i_tvbuk-vkbur'...

Read only

0 Likes
1,291

i solved own

Read only

0 Likes
1,291

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...

Read only

vallamuthu_madheswaran2
Active Contributor
0 Likes
1,291

Solved myself

i gave actvt = '03'

Edited by: vallamuthu madheswaran on Jun 16, 2009 10:26 AM