‎2007 Dec 14 6:12 AM
Hi Guys,
We are upgrading from 4.6 C to ECC 6.0. When I do the Extended Syntax check for the custom function module it gives me the following error. Please help.
The EXCEPTION "REPORT_NOT_EXISTENT" is not defined in the interface of the function module "RS_VARIANT_CONTENTS" "RS_VARIANT_CONTENTS". Internal Message Code: MESSAGE G-7.
(The message can be hidden with "#EC ARGCHECKED)
Regards,
Shankar
‎2007 Dec 14 9:45 AM
<b>Don't suppress the message. </b> You should only suppress messages if you are aware of why they are appearing, and they are not an error.
What it means is, that in your custom function module, there is some code like
CALL FUNCTION 'RS_VARIANT_CONTENTS'
EXPORTING
report = v_report
variant = v_variant
...
EXCEPTIONS
VARIANT_NON_EXISTENT = 1
VARIANT_OBSOLETE = 2
REPORT_NOT_EXISTENT = 3
OTHERS = 4But if you look at FM rs_variant_contents, you'll see this exception is not defined. The correct course of action is to remove it from your call.
matt
‎2007 Dec 14 6:19 AM
Hi,
This function module RS_VARIANT_CONTENTS checks whether any parameters or select options of the variant have changed. If they have, it outputs an error message .Hence u got the exception...
regards,
nagaraj
‎2007 Dec 14 6:33 AM
‎2007 Dec 14 6:39 AM
Hi,
Did you try to hide it using the message can be hidden with "#EC ARGCHECKED)?
Please do it and check again.
Reward if useful.
Thanks,
Anita
‎2007 Dec 14 7:36 AM
‎2007 Dec 14 7:39 AM
At the end of your ABAP statement , whewre you get your error, give a comment
like " "#EC ARGCHECKED . Thats all.
Reward if Useful.
Thanks,
Anita
‎2007 Dec 14 9:45 AM
<b>Don't suppress the message. </b> You should only suppress messages if you are aware of why they are appearing, and they are not an error.
What it means is, that in your custom function module, there is some code like
CALL FUNCTION 'RS_VARIANT_CONTENTS'
EXPORTING
report = v_report
variant = v_variant
...
EXCEPTIONS
VARIANT_NON_EXISTENT = 1
VARIANT_OBSOLETE = 2
REPORT_NOT_EXISTENT = 3
OTHERS = 4But if you look at FM rs_variant_contents, you'll see this exception is not defined. The correct course of action is to remove it from your call.
matt