Quantcast
Channel: SCN: Message List - SAP Business ByDesign
Viewing all articles
Browse latest Browse all 5008

Payroll conversion rules templates

$
0
0

Hello everybody,

 

I am currently looking to the conversion rules files we can add in ByDesign in order to structure our Payroll output as we want.

These files are XSLT files and describe how the Excel or XML files generated through the Payroll Processing should be formatted.

 

I wanted to modify one of the templates we have for the Canadian Payroll, but I am facing an issue with the structure.

 

May times, a template is called and matched like <xsl:template match="CA_EmployeePayrollInputCollection">

But I do not know at all the structure of this pattern CA_EmployeePayrollInputCollection.

Moreover, the namespace called is unknown to me and I cannot find it in the Cloud Studio.

 

Here is some code from this  XSLT file:

<xsl:stylesheet

xmlns="urn:schemas-microsoft-com:office:spreadsheet"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:msxsl="urn:schemas-microsoft-com:xslt"

xmlns:user="urn:my-scripts"

xmlns:o="urn:schemas-microsoft-com:office:office"

xmlns:x="urn:schemas-microsoft-com:office:excel"

xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"

xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"

xmlns:fns="http://localfunctions"

version="1.0">

 

 

<xsl:template match="/">

    <Workbook xmlns:html="http://www.w3.org/TR/REC-html40">

      <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">

        <WindowHeight>10005</WindowHeight>

        <WindowWidth>10005</WindowWidth>

        <WindowTopX>120</WindowTopX>

        <WindowTopY>135</WindowTopY>

        <ProtectStructure>False</ProtectStructure>

        <ProtectWindows>False</ProtectWindows>

      </ExcelWorkbook>

      <xsl:apply-templates/>

    </Workbook>

  </xsl:template>

 

 

  <xsl:variable name="sysHighDate" select="99991231"/>

    <xsl:variable name="payperioddate" select="n0:CA_EmployeePayrollInputCollectionReplicationRequest/CA_EmployeePayrollInputCollection/PayrollDatePeriod/EndDate"/>

  <xsl:variable name="payenddate" select="number(translate($payperioddate,'-',''))"></xsl:variable>

 

  <xsl:template match="n0:CA_EmployeePayrollInputCollectionReplicationRequest">

    <xsl:apply-templates/>

  </xsl:template>

 

  <xsl:template match="CA_EmployeePayrollInputCollection">

 

 

Where this pattern, CA_employeePayrollInputCollection, comes from and how to modify this file?

Because we need more data on working ours for our employees, but this file do not provide them all. To add the one I required, I need to know how to navigate through the namespaces and the business objects, but I do not see where I can see the structure of this xmlns:n0="http://sap.com/xi/SAPGlobal20/Global".

 

Any kind of help on this would be much appreciated as I already went through all the online and built-in ByDesign documentation for the Payroll Processing XSLT files.

 

Thank you all.

Best regards.

Jacques-Antoine


Viewing all articles
Browse latest Browse all 5008

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>