09-12-2008 4:58 PM
We have code in LMIGOSMC so that the vendor batch number appears in the MIGO transaction for certain movement types. We have created another, custom movement type in which this functionality should be available so I need to add it to LMIGOSMC. When I go in and try to make the modification I am getting the following error:
"You may only define methods within "CLASS class IMPLEMENTATION ...ENDCLASS".
What am I doing wrong?
09-12-2008 5:27 PM
Hi,
You are not doing anything wrong with regard to the syntax error you are getting. During the syntax check of include program LMIGOSMC, the system is not aware of the CLASS... ENDCLASS statements within the program LMIGOSM4. Try the syntax check at the LMIGOSM4 program level (or even better, at the SAPLMIGO level) and you will see that the error is not given.
Regards,
Jamie
09-12-2008 5:27 PM
Hi,
You are not doing anything wrong with regard to the syntax error you are getting. During the syntax check of include program LMIGOSMC, the system is not aware of the CLASS... ENDCLASS statements within the program LMIGOSM4. Try the syntax check at the LMIGOSM4 program level (or even better, at the SAPLMIGO level) and you will see that the error is not given.
Regards,
Jamie
09-12-2008 5:31 PM
Thanks. I actually figured this out just before I read your response. Thanks so much for replying!