Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Issue with calling subroutine

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

Tags:
Not what you were looking for? View more on this topic or Ask a question