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

problem EPS2_GET_DIRECTORY_LISTING

Former Member
2,316

i have the problem with function EPS2_GET_DIRECTORY_LISTING .

this function return sy-subrc = 4 (no_authorization ).

help.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
1,442

Call transaction SU53 to display log of authorization checks, you will get the exact values checked by the system. ([Analyzing Authorization Checks (link)|http://help.sap.com/saphelp_nw70/helpdata/en/52/6716b3439b11d1896f0000e8322d00/frameset.htm])

Regards,

Raymond

4 REPLIES 4
Read only

Former Member
0 Likes
1,442

hi,

you get this sy-subrc, because the user in whoms context the function module is executed does not have certain authorizations. From what I see, the function module checks the authorization objects

AUTHORITY-CHECK OBJECT 'S_TRANSPRT'

ID 'TTYPE' DUMMY

ID 'ACTVT' FIELD lc_show.

and

AUTHORITY-CHECK OBJECT 'S_CTS_ADMI'

ID 'CTS_ADMFCT'

FIELD IV_ADMINFUNCTION.

You might want to debugg the call to the function module, to get more specific information.

best regards,

Hans Hohenfeld

Read only

0 Likes
1,442

lc_show , IV_ADMINFUNCTION?

Edited by: francesco aiello on Oct 5, 2009 4:51 PM

Read only

RaymondGiuseppi
Active Contributor
1,443

Call transaction SU53 to display log of authorization checks, you will get the exact values checked by the system. ([Analyzing Authorization Checks (link)|http://help.sap.com/saphelp_nw70/helpdata/en/52/6716b3439b11d1896f0000e8322d00/frameset.htm])

Regards,

Raymond

Read only

0 Likes
1,442

the message comes thrown from this AUTHORITY-CHECK

AUTHORITY-CHECK OBJECT 'S_CTS_ADMI'

ID 'CTS_ADMFCT'

FIELD IV_ADMINFUNCTION. " EPS1