IntegrationsXFP Format Reference for SAP BC-XOM Integrations

From the perspective of SAP ERP, Loftware Enterprise SP acts as an Output Management System (OMS). SAP ERP sends the data for a request in Raw Data Interface (RDI), XML for Smart Forms (XSF), XML for Interactive Forms by Adobe (XFP), or other XML. You can configure the data with values for Loftware Enterprise SP-specific names to override default values.

If the SAP Output Device is configured as Device Type XFP, the OMS Submit command invokes the CLI to pass the XFP data to an SAP BC-XOM integration in Loftware Enterprise SP.

There are two formats for XML for SAP Interactive Forms by Adobe (XFP):

  • XFP with context: Mixes some of the structure of the PDF-based form with the data from an application.
  • XFP without context: Contains just the data with none of the form structure and can be used for performance enhancement.

Custom Stylesheet

A custom stylesheet can be configured for incoming XFP requests. If a stylesheet is not specified and the incoming request is XFP, the Loftware Enterprise SP built-in stylesheet is used. If you are creating a custom stylesheet, it is recommended that you use the Loftware Enterprise SP XFP stylesheet template as a starting point. To view the XFP stylesheet template, enter the following in the address field of your browser, where spectrum-server is the name of the server hosting Loftware Enterprise SP for your organization:
http://spectrum-server:8080/downloads/sap-xfp.xsl.template

To implement the options configured in the General, SAP, and Advanced panels in a custom stylesheet for XSF, XML, or XFP, include the following parameters.

<!--

   PrinterName is passed in by the parser, and comes from the Loftware SAP CLI.

   If there is no printer specified in the data header or an override field,

   this value is used.

   Other parameters are integration options.

   -->

  <xsl:param name="PrinterName" select="''"/>

  <xsl:param name="SpoolId" select="''"/>

  <!-- ExtendedFieldNames will contain the separation character for true,

    and empty string or 'false' for false. Default is '/'.

    '/' or '_' = true, '' or 'false' = false

   -->

  <xsl:param name="ExtendedFieldNames" select="'/'"/>

  <xsl:param name="IncludeAuditData" select="'true'"/>