Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter missing problem

former_member1284402
Participant
0 Kudos

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.

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos
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'

.

4 REPLIES 4

former_member1284402
Participant
0 Kudos

can anyone please solve this problem?

former_member188685
Active Contributor
0 Kudos
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'

.

0 Kudos

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.

former_member188685
Active Contributor
0 Kudos

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.