Application Development and Automation 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: 
Read only

Dynamically calling Object

Former Member
0 Likes
227

Dear Gurus,

I have created one interface zif_test and method is calc.

I have created two class in SE24- zcl_stf and zcl_wrk with interface zif_test. calculation varies in both classes .

stf and wrk are two category.

Problem here:

How do i call the object based on category ?

Regards

Vijay

Point will be rewarded

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
210

Hi,

Check for category in the methods.Put a If clause at the starting of method and execute accordingly.

Regards

Sourabh verma

1 REPLY 1
Read only

Former Member
0 Likes
211

Hi,

Check for category in the methods.Put a If clause at the starting of method and execute accordingly.

Regards

Sourabh verma