Application DesignManaging SAP GLM+ Integration

This feature must be installed by Loftware Professional Services.

This feature is available only in the Loftware Cloud Enterprise SP edition of Loftware Enterprise SP.

After Loftware Professional Services has installed and configured support for SAP GLM+ integration into your Loftware Enterprise SP environment, you may choose to make changes to the configuration.

Unlike many other integration types in Loftware Enterprise SP, you manage SAP GLM+ integration in Application Design  by using a business rule, in Process Design Process Design by using a process, and in System System Management by using a dynamic REST endpoint rather than in Integrations Integrations by using an integration. Also unlike many other integration types, SAP GLM+ integration does not require the creation of a Run As user or a dedicated Loftware Enterprise SP user.

WARNING: During installation of SAP GLM+ integration support for Loftware Enterprise SP, a Loftware Services Technical Consultant creates an Event File Consumer integration named LopImporter. Running this integration will overwrite any changes that you have made to the SAP_GLM_BR business rule, GLM_Process process, and blanklabel label template in the SAPGLM folder. Running it will also overwrite all configuration of those objects that Loftware Professional Services performed.

Important! Alert the SAP BASIS administrator if any of the items listed in Gather Information for Use in SAP GLM+ change later.

Business Rule for SAP GLM+ Integration

The business ruleClosed A collection of component sets or business rule components that can be used to incorporate logic or to add, change, or remove data or print parameters after a print request is submitted but before printing occurs. Business rules are similar to form rules, but provide more robust functionality. Business rules are created on the Application Design page and can be designed using the Configurator or programmed using XML. SAP_GLM_BR is run whenever a request is received by the dynamic REST endpoint that supports SAP GLM+ integration. This business rule was installed and configured by Loftware Professional Services to support SAP GLM+ integration.

This business rule responds to the following requests:

  • Return label template status (LABEL_STATUS)
  • Return a print preview (PREVIEW)
  • Print labels (PRINT)
  • Return job status to SAP GLM+ (PRINT_STATUS)
  • Return the list of devices (PRINTERS)

This business rule includes six component sets, each of which consists of a custom triggerClosed A means of running an action, rule, or data service. Includes a trigger source if interactive (such as a button, a prompt, or a form) and a trigger event (such as clicking a button, entering text at a prompt, loading a form, or submitting a job). For example, you can specify a particular button as a trigger source that Data Providers can click to perform a query of a database. and one or more component blocks. When a request is received, the REST endpoint triggers the MapData event in the business rule. This trigger event runs a component set that determines the type of request received and then initiates a trigger event that runs another component set to respond to the request.

Important! The business rule contains fully-qualified references to itself and to the items listed in Gather Information for Loftware Professional Services for SAP GLM+ Integration. If the names or paths to these folders and objects change, you must update this business rule accordingly. The following list and comments within the business rule can help you identify where changes would be required.

The business rule is version controlled. For information about version control in Loftware Enterprise SP, see Working in a Version-Controlled Environment.

For information about managing a business rule, see Designing Business Rules with the Configurator.

Business Rule Manipulation of Data

Loftware Enterprise SP requires each data ref within a print request to be unique. To achieve this, the SAP_GLM_BR business rule (specifically in the PrintPreview and PrintLabel component sets) manipulates the data during processing. In particular, the data ref for each variable field becomes /Body/ followed by the Item ID from the XML received. If the print request includes duplicate Item IDs that end in SY (denoting a Symbol (image)), then a sequential integer (beginning with zero) is appended to each of those Item IDs. Otherwise, the values of duplicate Item IDs included in a print request are concatenated.

For more about data refs generated from Item IDs, see Designing Label Templates for SAP GLM+ Integration.

Process for SAP GLM+ Integration

The process GLM_Process is used by the business rule SAP_GLM_BR when submitting a job. It is a process of the simple process type. This process was installed and configured by Loftware Professional Services to support SAP GLM+ integration.

For information about managing a process, see Designing Business Rules with the Configurator. For information about the properties of a simple process, see User Interface: Simple Process.

Dynamic REST Endpoint for SAP GLM+ Integration

The dynamic REST endpoint sap-glm-integration runs the business rule SAP_GLM_BR. This REST endpoint was created and configured by Loftware Professional Services to support SAP GLM+ integration.

Important! Do not change the name of the sap-glm-integration REST endpoint. The name of this REST endpoint is part of the path that the SAP BASIS administrator enters when configuring SAP GLM+ integration in your SAP environment.

Important! The dynamic REST endpoint contains a fully-qualified reference to the SAP_GLM_BR business rule. If the name or path to the business rule changes, you must update the dynamic REST endpoint accordingly.

For information about managing dynamic REST endpoints, see Managing Dynamic REST Endpoints.

Devices for SAP GLM+ Integration

Anytime that you configure additional devices in Loftware Enterprise SP or change the names of devices, you should alert the SAP BASIS administrator so that these devices can be activated in your SAP environment. If the SAP BASIS administrator is unfamiliar with the process, direct them to the Loftware Integration for SAP® GLM+ Installation and Configuration Guide, which is available via Loftware Components: Loftware Integration for SAP GLM+.

Label Templates and Images for SAP GLM+ Integration

If the names of label templates used with SAP GLM+ integration change, alert your SAP BASIS administrator. Also, if more label templates (not including secondary label templates such as those used for PRE and POST labels) are configured for use with SAP GLM+ integration, alert your SAP BASIS administrator.

Important! The label template, blanklabel, that was installed by Loftware Professional Services to support SAP GLM+ integration, is used by the SAP_GLM_BR business rule when a print request requires a PRE label or a POST label. If the name of this label template is changed, the business rule must be updated accordingly.

For guidance about label templates and images for use with SAP GLM+ integration, see Designing Label Templates for SAP GLM+ Integration.