on 05-02-2006 10:46 PM
I am making mapping with software Stylus, soon to transfer it to XSLT TOOL.
But this type of mapping this not working.
The tests with MM of XI were made and I do not have problems.
So that it can be happening?
The scenario is File - XI - RFC
Help me please...!
Hi Ximena,
If you see differences in the way that Stylus and XI are transforming the XSLT, you can run the transformation using the SAP XSLT Engine, outside of XI.
You can run this engine from the command line using the following steps:
1) Download "sapxmltoolkit.jar" from your XI installation. This contains the SAP XSLT Engine. You can find it under:
<SAP_install_dir>/<SID>/DVEBMGS00j2ee/cluster/server0/bin/kernel
2) Run it from the command line as follows:
java -classpath "C:\Temp\sapxmltoolkit.jar" com.sap.engine.lib.xsl.xslt.CommandLine -xml test.xml -xsl test.xsl -out test.out
If you leave off the parameters, it will list all of the options. For example:
java -classpath "C:\Temp\sapxmltoolkit.jar" com.sap.engine.lib.xsl.xslt.CommandLine
You can also use this XSLT Engine from within Stylus or XML Spy instead of the default XSLT Engine.
Thanks,
Jesse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Stylus = Syulus Studio .
Is your XSL is working independently with proper input ? i.e are you getting correct xml output after your XSL transformation ? juct check it.
Then import into Imorted Archive , use this mapping in the Interface Mapping and test the same.
If you have a problem with the tool, try to use XML Spy and test it.
Thanks,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is in the headed one of the XSL, when commenting the following line the data are kept in the corresponding tables.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ns0="urn:vivesap:sap:legacy:sicc"
xmlns:sap="http://www.sap.com/sapxsl">
<i><b> <!-- xmlns:sdn="http://sdn.sap.com/sapxsl"--></b></i>
But once uncomment the line, does not keep the data and not send error in the monitors. to what it must?
Thank's
PD. sorry my English.
Message was edited by: Ximena Gonzalez
Message was edited by: Ximena Gonzalez
Shabarish,
It is not possible to remove the namespace of the head so that they are estan calling to the following functions
<i><sap:external-function class="ZCL_XI_CONV_SOC" kind="class" method="CONSERSOC_LEG_SAP" name="<b>sdn</b>:ConvSoc">
<sap:argument param="SOCLEGA" type="string"/>
<sap:result param="SOCIEDAD" type="string"/>
</sap:external-function>
<BUKRS>
<xsl:value-of select="<b>sdn</b>:ConvSoc(string(cod_filial))"/>
</BUKRS></i>
Message was edited by: Ximena Gonzalez
<b><i>xmlns:sdn="http://sdn.sap.com/sapxsl"</i></b>
So that it is used this to header?
it is possible to use another one?
or is necessary a patch in XI so that it can record the data?
the scene finishes to OK and xml sent to R3 this correct one
MONI -> Technical Routing -> Payloads -> MainDocument
<?xml version="1.0" encoding="utf-8" ?>
- <ns1:Z_GL_IESICCSAP_DE023 xmlns:ns0="urn:vivesap:sap:legacy:sicc" xmlns:ns1="urn:sap-com:document:sap:rfc:functions" xmlns:sdn="http://sdn.sap.com/sapxsl">
- <IT_DOCTOS>
- <item>
<TIPPROC>10</TIPPROC>
<BLART />
<BLDAT>20021023</BLDAT>
<BUKRS>ERR</BUKRS>
<BUDAT>20021023</BUDAT>
<WAERS>01</WAERS>
<XBLNR>000000000369</XBLNR>
<BKTXT>037</BKTXT>
<WRBTR>0000000000075896</WRBTR>
<VALUT>20031019</VALUT>
<ZOUNR>000000000369</ZOUNR>
<SGTXT>WALDO MUNIZAGA NAVA XXXXXX</SGTXT>
</item>
</IT_DOCTOS>
</ns1:Z_GL_IESICCSAP_DE023>
But in the table the data is not recorded
Message was edited by: Ximena Gonzalez
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.