sweetstuff4u / zaplink

Automatically exported from code.google.com/p/zaplink
0 stars 0 forks source link

Can't use installer when framework is installed #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install ZAPLINK framework
2. use installer again with new connector
3.

What is the expected output? What do you see instead?
Error analysis
It was tried to assign an object reference (class "ZAPLINK_BADI", view
"global") to an interface reference (interface "ZAPLINK_CONNECTOR", view
"ZAPLINK_INSTALLER").
However, the class "ZAPLINK_BADI" does not support the interface
"ZAPLINK_CONNECTOR".

Please use labels and text to provide additional information.

Original issue reported on code.google.com by Taryck.B...@gmail.com on 7 Jan 2010 at 5:13

GoogleCodeExporter commented 8 years ago

Original comment by Taryck.B...@gmail.com on 14 Jan 2010 at 2:59

GoogleCodeExporter commented 8 years ago

Original comment by Taryck.B...@gmail.com on 14 Jan 2010 at 4:36

GoogleCodeExporter commented 8 years ago
Doesn't work because class_constructor has been changed. :-/

Original comment by taryck%b...@gtempaccount.com on 22 Jan 2010 at 10:51

GoogleCodeExporter commented 8 years ago
Fixed with : in RESET_CONNECTORS
*Issue 3
* Check interface type (local or global).
  o_desc = cl_abap_structdescr=>describe_by_name( 'ZAPLINK_CONNECTOR' ).
* when Local : \PROGRAM=ZAPLINK_INSTALLER\INTERFACE=ZAPLINK_CONNECTOR
* when Global : \INTERFACE=ZAPLINK_CONNECTOR
  IF o_desc->absolute_name CP '\INTERFACE=*'.
* Global Interface : check use
    CREATE OBJECT _connectors
      EXPORTING
        clsname      = 'ZAPLINK_CONNECTOR'
*      w_references = seox_true
*      w_implementings = seox_true
*      w_comprisings = seox_true
*      w_subclasses = seox_true
      EXCEPTIONS
        not_existing = 0    " For installer ignore not existing class
        is_class     = 2
        OTHERS       = 3.

Original comment by taryck%b...@gtempaccount.com on 22 Jan 2010 at 11:08

GoogleCodeExporter commented 8 years ago

Original comment by taryck%b...@gtempaccount.com on 1 Feb 2010 at 9:50

GoogleCodeExporter commented 8 years ago

Original comment by taryck%b...@gtempaccount.com on 1 Feb 2010 at 10:11

GoogleCodeExporter commented 8 years ago

Original comment by taryck%b...@gtempaccount.com on 1 Feb 2010 at 10:54