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: 

upgrade error

Former Member
0 Kudos

Hi,

I am getting following error in this Function Module ,

code is : go_uexit = ybc_uexit_check_01=>get_instance( fcs_accit-budat ).

Error: You can only omit the parameter name if the method only has a non-optional parameter or an optional IMPORTING parameter that is identified by "PREFERRED PARAMETER". by "PREFERRED PARAMETER".

1 ACCEPTED SOLUTION

former_member214857
Contributor
0 Kudos

Hi

Probably method get_instance of class ybc_uexit_check_01 has more oblicatory parameters. You can call it as indicated below:

CALL METHOD ybc_uexit_check_01=>get_instance
     EXPORTING
         param1 =  fcs_accit-budat 
         param2 = x2.

Kind regards

1 REPLY 1

former_member214857
Contributor
0 Kudos

Hi

Probably method get_instance of class ybc_uexit_check_01 has more oblicatory parameters. You can call it as indicated below:

CALL METHOD ybc_uexit_check_01=>get_instance
     EXPORTING
         param1 =  fcs_accit-budat 
         param2 = x2.

Kind regards