Skip to Content
avatar image
Former Member

Inline functions

Hi,

Is there any inline function concept in wd4abap. If any how to use it. My goal is to make my method size small. I want to break a long method into separate sub methods.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 05, 2007 at 06:29 AM

    hi prosun....

    you can create as many methods as you need and call them from any one of your methods. just like we use perform statements in ABAP.

    break your huge line of codings into smaller methods and call them from your main method.

    --regards,

    alex b justin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi prosun........

      have a node in the context which will hold the values of the internal table

      passed by the function module.

      in the methods tab, create the main method " method a" which will retrieve

      values from your view.

      create another methodb which will have your function module. bind the

      returning internal table to a node.

      call method b from method a.

      so when you return to method a, you can access the node which will have the

      internal table values.

      ---regards,

      alex b justin