google-code-export / saplink

Automatically exported from code.google.com/p/saplink
1 stars 2 forks source link

The type "ZCX_SAPLINK" is unknown #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using < SAPlink_install-0[1].1.3.zip >
2. Create REPORT  ZSAPLINK_INSTALLER_TEMPLATE
3. Upload NUGG_SAPLINK-0.1.3.nugg
4. Attempt to activiate report ZSAPLINK

What is the expected output? What do you see instead?
Program should activate with no errors, but I'm receiving message 
ZCX_SAPLINK is unknown.

What version of SAP are you using?
SAP_ABA Release / Level:
SAP_BASIS Release / Level:

SAP_ABA         700   0011  SAPKA70011  Cross-Application Component
SAP_BASIS   700   0011  SAPKB70011  SAP Basis Component
ST-PI        2005_1_700   0002  SAPKITLQI2  SAP Solution Tools Plug-In
PI_BASIS     2005_1_700   0011  SAPKIPYJ7B  PI_BASIS 2005_1_700

What version of SAPlink are you using:
SAPlink 0.1.3

Please provide any additional information below.

Code segment highlighted:
class ZSAPLINK definition
  public
  abstract
  create public .

*"* public components of class ZSAPLINK
*"* do not include other source files here!!!
public section.

  class-methods GETOBJECTINFOFROMIXMLDOC
    importing
      !IXMLDOCUMENT type ref to IF_IXML_DOCUMENT
    exporting
      !OBJTYPENAME type STRING
      !OBJNAME type STRING .
  class-methods CONVERTSTRINGTOIXMLDOC
    importing
      value(XMLSTRING) type STRING
    returning
      value(IXMLDOCUMENT) type ref to IF_IXML_DOCUMENT .
  class-methods CONVERTIXMLDOCTOSTRING
    importing
      !IXMLDOCUMENT type ref to IF_IXML_DOCUMENT
    returning
      value(XMLSTRING) type STRING .
  methods CREATEOBJECTFROMIXMLDOC
  abstract
    importing
      !IXMLDOCUMENT type ref to IF_IXML_DOCUMENT
      !DEVCLASS type DEVCLASS default '$TMP'
      !OVERWRITE type FLAG optional
    returning
      value(NAME) type STRING
    raising
      ZCX_SAPLINK .
  methods CREATEIXMLDOCFROMOBJECT
  abstract
    returning
      value(IXMLDOCUMENT) type ref to IF_IXML_DOCUMENT
    raising
      ZCX_SAPLINK .    <----- **** PROBLEM HERE ****
  methods CONSTRUCTOR
    importing
      !NAME type STRING .
  methods UPLOADXML
  final
    importing
      !XMLDATA type STRING .
  class-methods GETPLUGINS
    changing
      value(OBJECTTABLE) type TABLE .
  methods CHECKEXISTS
  abstract
    returning
      value(EXISTS) type FLAG .

Original issue reported on code.google.com by verdere....@gmail.com on 20 Oct 2007 at 5:42

GoogleCodeExporter commented 9 years ago
Did you try to activate all objects that were installed from the SAPlink nugget 
or
just program ZSAPLINK?  If not, read more on step 7 of the user docs:
https://wiki.sdn.sap.com/wiki/display/ABAP/SAPlink+User+Documentation

Original comment by ewherrm...@gmail.com on 21 Oct 2007 at 3:03

GoogleCodeExporter commented 9 years ago
Hi Ewherrmann,
I was able to solve this issue. I did the following:
1) Uploaded NUGG_SAPLINK-0.1.3.nugg a second time
2) For some reason ZSAPLINK is being put into the a local package.  I moved
everything to the same package and activated all objects
.....works perfect everytime ;-) 

Original comment by verdere....@gmail.com on 21 Oct 2007 at 7:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
No problem here !

Original comment by mepmarc...@gmail.com on 18 Aug 2008 at 10:54

GoogleCodeExporter commented 9 years ago
Hi Marcelo, I guess that this problem was corrected since Verdere report, 
because it 
always occured when installing Saplink on different systems. The solution I 
found 
was to run saplink installer with the NUGG_SAPLINK-0.1.3.nugg twice then 
activate 
all objects (strange but true; it's useless to activate after the first run). 
This 
procedure always works. I found out that we can reproduce on the same system, 
by 
deleting all objects, then reinstalling again.

Original comment by sandra.r...@gmail.com on 29 Aug 2008 at 8:44