2012 Mar 12 7:47 PM
Hello,
I am trying to call a Z subroutine which are available in a function module from the BADI method.
In the perform statement i am passing table type through changing parameter. The structure is defined in the types statement . The same structure is used in the function module . Would like to which is the common place i should use to specify the structure between BADI and function module .
Regards,
kevin
2012 Mar 12 8:54 PM
Hi kevin,
specify a table type in data dictionary and use it for the parameters.
Regards,
Clemens
2012 Mar 13 5:08 AM
Hi Kevin,
Put your type definition into a separate include.
In the implementation class, choose:
Goto -> Local Definitions/Implementations
Include your type definition there.
Note: there are some restrictions for the type in OO context, e.g. explicit length of type must be specified
BR, Leonard