cancel
Showing results for 
Search instead for 
Did you mean: 

Re:Handler Classes

Former Member
0 Kudos

Hello Experts,

                     Can Any One Tell me how to implement singleton concept in handler classes?

                    Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thank you for your replay.

Former Member
0 Kudos

yes....am tailking about handler classes for genil objects. I know the singleton concept.but how to implement that in handler classes.

nicolas_busson
Active Contributor
0 Kudos

I do not have access to a CRM system right now, but if I remember well handlers are instantiated via classic "CREATE OBJECT ..." statement by some SAP standard class. As a result singleton pattern cannot be implemented.

That's something you can very easily check by setting a breakpoint at the constructor method of one of your handler class.

... and you will get the answer to your question...

Regards,

Nicolas.

nicolas_busson
Active Contributor
0 Kudos

Hello,

Are you talking about handler classes for GENIL objects?

Regards,

Nicolas.

Former Member
0 Kudos

Hi Santosh,

Check below thread for to create Singleton class

http://scn.sap.com/community/abap/blog/2012/04/06/singleton-pattern-in-abap

Regards

Rajarama U