Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I access BOR macros from a class?

If you're used to accessing BOR objects via the macros in include <CNTN01>, you may attempt to do this within the ABAP OO context as well.

Due to the strong typing restrictions of ABAP OO this is not possible.

What is the alternative?

like image 316
Esti Avatar asked Oct 14 '22 19:10

Esti


1 Answers

In the "Macros" Section of your ABAP Class include the following:

include: <cntn02>,
         <cntn03>.
like image 60
Esti Avatar answered Oct 31 '22 16:10

Esti



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!