Skip to Content

Calling BDC in a method

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on Aug 21, 2007 at 01: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

    Add comment
    10|10000 characters needed characters exceeded