Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to call Global Abstract Class in Report Program

0 Kudos

Hi All,

Can Anyone tell me how call  global abstract class created in SE24.

Thanks,

Revanth

2 REPLIES 2

Former Member
0 Kudos

Hi Revanth,

What are you trying to do in abstract class?

Are you inherit and trying to create object?

Regards,

A Vadamalai.

Former Member

Hi Revanth,

Abstract class cannot be instantiated (Or called) any where. It is similar to an interface with few differences.

You can only use it to create a sub class by deriving its properties.

So, you can create a SE24 class by deriving the properties of abstract class and use it in your program.

Steps to call SE24 class objects

1. Declaration

     Data: lr_class type ref to [class name].

2. instantiation.

     create object lr_class.

3. Call/ access its objects

     lr_class->[method name].

This link may help you.

https://scn.sap.com/docs/DOC-29799

If it helps, mark it as either helpful or correct as per SCN guidelines.

Regards,

Bharathy