google-code-export / saplink-plugins

Automatically exported from code.google.com/p/saplink-plugins
0 stars 1 forks source link

Export/Import of FUGR not possible with custom namespace #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. FUGR nam with e.g. "/ABC/TEST_GROUP"
2. Try to add this FUGR in a new nugget. 
3. Result: The mainfgprogname in method CREATEIXMLDOCFROMOBJECT will set to 
SAPL/ABC/TEST_GROUP instead of /ABC/SAPLTEST_GROUP and so no source was found 
in TRDIR.
4. If it is set to the correct name the export is succesful, but the import 
produce inserts in the database like "SAPL/A/TEST_GROUPTOP" in the TFDIR and 
TRDIR which is not very helpful.

What is the expected output? What do you see instead?
Exported XML-filled nugget instead of empty nugget. Imported Functiongroup 
instead of inconsistent database-tables.

What version of the product are you using? On what operating system?
SAPlink v0.1.4
Function Group v0.1.2  
SAP 7.10 

Please provide any additional information below.

Original issue reported on code.google.com by astrog...@gmail.com on 10 Mar 2011 at 9:57

GoogleCodeExporter commented 9 years ago

**** REPLACE 
  mainfgprogname    = 'SAPL'.
  mainfgprogname+4  = objname.

**** WITH
* epru - fix to manage customer name space
  data: l_namespace TYPE string,
        l_name      type string.
  if objname+0(1) eq '/'.
    FIND REGEX '(/.*/)(.*)' IN OBJNAME SUBMATCHES l_NAMESPACE l_name.
    CONCATENATE l_namespace 'SAPL' l_name into mainfgprogname.
  else.
    mainfgprogname    = 'SAPL'.
    mainfgprogname+4  = objname.
  endif.

Original comment by emmanu...@prudenzano.org on 15 Jun 2011 at 10:01

GoogleCodeExporter commented 9 years ago
*** REPLACE
  mainfgprogname    = 'SAPL'.
  mainfgprogname+4  = xtlibt-area.

**** WITH
* epru - fix to manage customer name space
  data: l_namespace TYPE string,
        l_name      type string.
  if xtlibt-area+0(1) eq '/'.
    FIND REGEX '(/.*/)(.*)' IN xtlibt-area SUBMATCHES l_NAMESPACE l_name.
    CONCATENATE l_namespace 'SAPL' l_name into mainfgprogname.
  else.
    mainfgprogname    = 'SAPL'.
    mainfgprogname+4  = xtlibt-area.
  endif.

Original comment by emmanu...@prudenzano.org on 15 Jun 2011 at 10:09

GoogleCodeExporter commented 9 years ago
I had to enter the following under WIN7-32bit SAP back-end 731
in "ZSAPLINK" report in "form "downloadxmltolm" around line 879.

  clear _errorflag.
************************************************************************
* Begin Currey Feb 2014 fix for custom namespace
************************************************************************
  replace all occurrences of '/' in deffilename with '_slash_'.
************************************************************************
* End Currey Feb 2014 fix for custom namespace
************************************************************************

Original comment by maxx6969...@gmail.com on 19 Feb 2014 at 11:49

GoogleCodeExporter commented 9 years ago
Hi maxx69696969,

can you please provide your fix in the ticket:
https://www.assembla.com/spaces/saplink-plugins/tickets/27#/activity/ticket:

Thanks.

Gregor

Original comment by gregor.w...@gmail.com on 19 Feb 2014 at 12:52