09-15-2008 6:06 AM
Hi,
Issue is : DUMP
A PERFORM was used to call the routine "AUTHORITY" of the program "RSAQEXCE".
The current call contains 1 actual parameter(s),
but the routine "AUTHORITY" expects 2 parameters.
Pls check the code below :
form authority using tname type tname
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->tab_access_authority
exporting table = tname
exceptions others = 1.
if sy-subrc <> 0.
message s316 with tname.
leave list-processing.
endif.
endform.
Form for authority_init
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.
create object l_oref type (p_auth_classname).
iref ?= l_oref.
endif.
endform.
Not able to locate the issue
Pl check and let me know the issue.
Thankx in adv,
siva
09-15-2008 6:16 AM
The FORM routine has this signature:
form authority
using
tname type tname
p_auth_classname type AQS_CLSNA.
which means it has TWO using parameters TNAME and P_AUTH. So when calling this subroutine you will have to provide TWO parameters as well.
12-08-2009 5:43 AM