2007 Sep 19 7:34 AM
Hi
I was created 1 class and in attributes I was given:
AI_DEFAULTS type YFIIF_EFUND_INPUT.
The Problem is while executing the report which uses this class, I am getting the error message that :
The following syntax error was found in the program
ZCL_FI_EFUND_LINE_MAPPER======CP :
""AI_DEFAULTS" has already been declared."
Can u please guide me where i was wrong.
<b>Points are assured for Correct answers.</b>
Regards,
Sree
2007 Sep 19 7:46 AM
Hello Sree
Apparently the attribute has been declared already. The class builder should not allow you to define duplicate attributes having the same name.
If you do not see where the first definition of AI_DEFAULTS is simply use the following approach:
1. Rename your second implementation, e.g. _AI_DEFAULTS.
2. Use the AI_DEFAULTS attribute in one of your method
3. Double-click on AI_DEFAULTS within your method -> should jump to the attribute definition
Regards
Uwe
2007 Sep 19 7:46 AM
Hello Sree
Apparently the attribute has been declared already. The class builder should not allow you to define duplicate attributes having the same name.
If you do not see where the first definition of AI_DEFAULTS is simply use the following approach:
1. Rename your second implementation, e.g. _AI_DEFAULTS.
2. Use the AI_DEFAULTS attribute in one of your method
3. Double-click on AI_DEFAULTS within your method -> should jump to the attribute definition
Regards
Uwe