ZCL_SAPLINK - Error in method GETPLUGINS
In method GETPLUGINS I find the following code:
If there exists a class inherited from ZSAPLINK that is defined as abstract this method dumps because of a missing errorhandling or exclusion of these classes.
Possible solutions:
- Exclusion of abstract classes in the selection
- Defining an interface that the plugins should implement and then search for objects implementing the interface. That would also find plugins that are further down the inheritanceline.
select * from VSEOEXTEND into table classList
where REFCLSNAME = 'ZSAPLINK'
and version = '1'.
loop at classList into classLine.
clsName = classLine-clsName.
create object classObject type (clsName)
exporting name = 'foo'.
objtype = classObject->getObjectType( ).
If there exists a class inherited from ZSAPLINK that is defined as abstract this method dumps because of a missing errorhandling or exclusion of these classes.
Possible solutions:
- Exclusion of abstract classes in the selection
- Defining an interface that the plugins should implement and then search for objects implementing the interface. That would also find plugins that are further down the inheritanceline.
Leave a comment