06-09-2011 1:11 PM
Hey guys,
did someone of you recognized the strange behaviour of the ABAP workbench if you insert TYPE-POOLS in public section of the calss. If you than add a method to the class as PUBLIC, the TYPE-POOLS definition get lost. How could i use TYPE-POOLS within my class?
thx,
M.
06-09-2011 1:26 PM
Hi,
Use type-pools in the first line of class and also in public section.
like.,
class zcl_testclass definition.
type-pools: <type_pool>.
public-section.
type-pools: <type_pool>.
methods: method_name
endclass.
hope this helps u.,
Thanks & Regards,
Kiran
06-09-2011 1:26 PM
Hi,
Use type-pools in the first line of class and also in public section.
like.,
class zcl_testclass definition.
type-pools: <type_pool>.
public-section.
type-pools: <type_pool>.
methods: method_name
endclass.
hope this helps u.,
Thanks & Regards,
Kiran
06-09-2011 1:48 PM
06-09-2011 2:39 PM
Hello,
Did you try adding the Type-pools in the "forward declaration" section of the class?
You can find this in the "Properties" tab of the class!
BR,
Suhas