2007 Dec 03 7:08 PM
I am coding a proxy method.
I had to code a BDC call transaction. For this I have defined 2 sub-routines. One BDC_DYNPRO (for screen chnage) and BDC_Insert(for inserting the fields).
When compile the code, it is giving an error in the line just above the definition of the first sub-routine. <b>The error message is "ENDMETHOD missing".</b>
But there is an "ENDMETHOD" after the definition of the second sub-routine.
Are there any reservations for the sub-routines in OO-Context.
Can anyone help me with this.
reg
I am coding a proxy method.
I had to code a BDC call transaction. For this I have defined 2 sub-routines. One BDC_DYNPRO (for screen chnage) and BDC_Insert(for inserting the fields).
When compile the code, it is giving an error in the line just above the definition of the first sub-routine. <b>The error message is "ENDMETHOD missing".</b>
But there is an "ENDMETHOD" after the definition of the second sub-routine.
Are there any reservations for the sub-routines in OO-Context.
Can anyone help me with this.
reg
2007 Dec 03 7:12 PM
Hi,
Please check your method declaration in the definition is like this way
methods: " Please make sure that : is available after method
a®
2007 Dec 03 7:37 PM
I did not get your point.
My code is:
*******************************
method ZSMDII_MI_FUSION_PRODUCT_MAINT~EXECUTE_ASYNCHRONOUS.
code....
code...
<b>Error is being shown in this line</b>
Code of subroutine1.
code of subroutine2.
endMethod.
*******************************
I can post my code here if this is not clear.
reg
2007 Dec 03 7:59 PM
Hi,
Check this :
methods: ZSMDII_MI_FUSION_PRODUCT_MAINT~EXECUTE_ASYNCHRONOUS.
a®
2007 Dec 03 8:04 PM
With Methods: and after compilation, it says that
"Methods: can not be used in the current environment."
2007 Dec 06 11:30 PM
I have used ABAP macros as I can not use "Form EndForm" in the method.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |