Skip to content

Passing the object-type to the plugin #3

@mrsimpson

Description

@mrsimpson

Currently, the object-type which is supported by the plugin is derived from the classname.
For some objecttypes might contain also contain forward slashes (namespaced).
Also, it might be possible to have one plugin support multiple objecttytpes (e. g. a generic sobj-based plugin).

Proposal similar like in saplink:

  SELECT * FROM vseoextend INTO TABLE classlist
    WHERE refclsname like 'ZABAPGIT_OBJECT_%'
    AND version = '1'.

  LOOP AT classlist INTO classline.
    clsname = classline-clsname.
    TRY.
        CREATE OBJECT classobject
          TYPE
            (clsname)
          EXPORTING
            name      = 'foo'.
        objtype = classobject->get_supported_objecttypes( ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions