‎2009 Oct 05 3:17 PM
i have the problem with function EPS2_GET_DIRECTORY_LISTING .
this function return sy-subrc = 4 (no_authorization ).
help.
‎2009 Oct 05 3:59 PM
‎2009 Oct 05 3:31 PM
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
‎2009 Oct 05 3:49 PM
lc_show , IV_ADMINFUNCTION?
Edited by: francesco aiello on Oct 5, 2009 4:51 PM
‎2009 Oct 05 3:59 PM
‎2009 Oct 06 2:46 PM
the message comes thrown from this AUTHORITY-CHECK
AUTHORITY-CHECK OBJECT 'S_CTS_ADMI'
ID 'CTS_ADMFCT'
FIELD IV_ADMINFUNCTION. " EPS1