Parameter missing problem
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.
Tags:
Vijay Dudla replied
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'
.