08-21-2007 2:38 PM
hi
I need to call a BDC using a methods, please tell me how to progress on this
As of now it says that we cannot use performs in ABAP objects Methods.
Points for all helpful answers
08-21-2007 2:42 PM
If your method is a part of a global class, then yes you will have a problem. There are a couple ways around this. First, and probably the best/easiest, is to encapulate your BDC call in a function module. Then simply call the function module in your method. Another, and less attractive, is to put your BDC code in a callable report program, then your can simply SUBMIT the report in your method.
Regards,
Rich Heilman
08-21-2007 2:42 PM
If your method is a part of a global class, then yes you will have a problem. There are a couple ways around this. First, and probably the best/easiest, is to encapulate your BDC call in a function module. Then simply call the function module in your method. Another, and less attractive, is to put your BDC code in a callable report program, then your can simply SUBMIT the report in your method.
Regards,
Rich Heilman
08-21-2007 2:45 PM