09-18-2008 6:35 AM
hi all,
i m upgrading from sap4.7 to ECC6.0, when i m executing a
program ZAQA1ITUSERZPENDORD03 i m getting an error
Missing parameter with PERFORM. and perform is AUTHORITY_BEGIN but problem is that i m not getting which parameter is missing. can anybody tell me that what should i do?
here is the code perfom and form.
perform authority_begin(rsaqexce).
form authority_begin using p_auth_classname type AQS_CLSNA.
nicht bei generischen BW Extraktoren
if %memmode = 'D'.
exit.
endif.
perform authority_init using p_auth_classname.
call method iref->access_authority_begin.
endform. "AUTHORITY_BEGIN
form authority_init using p_auth_classname type AQS_CLSNA.
data: l_oref type ref to object,
l_wa_aqif type aqif_c.
if iref is initial.
l_wa_aqif-clsname = 'CL_QUERY_TAB_ACCESS_AUTHORITY'. " default
select single clsname from aqif_c into l_wa_aqif-clsname " Kunde
where action = co_act_tab_access
and ifcond = space. " (SLIN)
if sy-subrc <> 0.
select single clsname from aqif_s into l_wa_aqif-clsname " SAP
where action = co_act_tab_access
and ifcond = space.
endif.
create object l_oref type (p_auth_classname).
iref ?= l_oref.
endif.
endform. "AUTHORITY_INIT
please help me.
regards saurabh.
09-18-2008 7:46 AM
perform authority_begin(rsaqexce). "Wrong
"you are not passing any parameter to it..
"you can do some thing like this..
perform authority_begin(rsaqexce) using
'CL_QUERY_TAB_ACCESS_AUTHORITY'
.
09-18-2008 7:13 AM
09-18-2008 7:46 AM
perform authority_begin(rsaqexce). "Wrong
"you are not passing any parameter to it..
"you can do some thing like this..
perform authority_begin(rsaqexce) using
'CL_QUERY_TAB_ACCESS_AUTHORITY'
.
09-18-2008 7:53 AM
hi vijay,
thanx for reply, but still i m confuse that which parameter should i pass? can u plz suggest me according to above code?
or tell me exact parameter which will pass?
regards saurabh.
09-18-2008 11:57 AM
It is a SAP query i guess, and you copied that to a Zprogram is it so...? if it is a query then it's value will be QUERY_TAB Access i feel.
data: l_parameter type AQS_CLSNA.
l_parameter = 'CL_QUERY_TAB_ACCESS_AUTHORITY'
perform authority_begin(rsaqexce) using
l_parameter.