Skip to content

Configure Output from SAP Spool


The printer is configured for BC-XOM in the SAP system. The BC-XOM interface from SEAL Systems accepts the job and transmits it via IPP or IPPS to the PLOSSYS 5 server. PLOSSYS 5 processes the job and returns the job status to the SAP system via RFC callback.

sap


Requirement on RHEL Prior to Version 8

If you use PLOSSYS 5 on RHEL prior to version 8 and you want to send replies to SAP, you have to install the /lib64/libstdc++.so.6 library explicitly. For more information, refer to https://launchpad.support.sap.com/#/notes/2338763.


Install SAP NetWeaver RFC

  1. Open SAP Launchpad in a Web browser: https://launchpad.support.sap.com/

  2. Log on with your SAP user name and password.

  3. In SAP Launchpad, search for the OSS number 2573790.

  4. Follow the download link for SAP NW RFC SDK 7.50 and save the current version.

  5. Unpack the downloaded ZIP archive:

    unzip <downloaded_zip_archive>
    
  6. Copy the directory tree from nwrfcsdk into the following directory:

    /usr/local/
    

Configure SAP NetWeaver RFC with an Application Server

  1. Create /etc/ld.so.conf.d/saprfc.conf with the following content:

    /usr/local/nwrfcsdk/lib
    
  2. Execute the following command:

    sudo ldconfig
    
  3. Create the following directory unless it already exists:

    sudo mkdir -p /opt/seal/etc
    
  4. If the connection to the SAP system is established via an application server, specify the SAP connections settings in the SAP configuration file /opt/seal/etc/sapnwrfc.ini whereby SAPROUTER is set to /H/<name_saprouter>.

    Example - SAP configuration file sapnwrfc.ini

    DEST=W74
    ASHOST=10.100.100.100
    TRACE=0
    USER=sapuser
    PASSWD=sappassword
    CLIENT=310
    SYSNR=01
    SAPROUTER=/H/roeadm003.sealsystems.local
    

    The sapnwrfc.ini configuration file has the same syntax as saprfc.ini.

    Literature - saprfc.ini

    The saprfc.ini file is described in SAP Basis Configuration - Server.

  5. Restart the following service:

    • seal-job-notifier

Configure SAP NetWeaver RFC with a Message Server

  1. Create /etc/ld.so.conf.d/saprfc.conf with the following content:

    /usr/local/nwrfcsdk/lib
    
  2. Execute the following command:

    sudo ldconfig
    
  3. Create the following directory unless it already exists:

    sudo mkdir -p /opt/seal/etc
    
  4. Enter the connection data of the SAP system into /opt/seal/etc/sapnwrfc.ini whereby MSSERV is set to 36<SYSNR> and SAPROUTER to /H/<name_saprouter>.

    Example - SAP configuration file sapnwrfc.ini

    DEST=WMS
    R3NAME=W74
    GROUP=PUBLIC
    MSHOST=10.100.100.100
    MSSERV=3601
    CLIENT=000
    USER=rfctest
    PASSWD=ides1234567
    TRACE=0
    SAPROUTER=/H/roeadm003.sealsystems.local
    

    The sapnwrfc.ini configuration file has the same syntax as saprfc.ini.

    Literature - saprfc.ini

    The saprfc.ini file is described in SAP Basis Configuration - Server.

  5. Restart the following service:

    • seal-job-notifier

Configure BC-XOM in SAP

Literature - BC-XOM

The configuration of BC-XOM in SAP is described in BC-XOM - OMS Connection.

Hint - supported

PLOSSYS 5 only supports OMS Server or OMS Submit and the transmission via IPP.


Configure the SAPGOF Converter on the PLOSSYS 5 Server

Literature - SAPGOF Converter

For further information about how to configure the SAPGOF Converter, refer to the SAPGOF Converter documentation.


By default, the SAPGOF Converter uses the following configuration files:

  • /opt/seal/seal-convert-sapgof/lib/config/CONFIG

  • /opt/seal/seal-convert-sapgof/lib/config/GRIBS74_PDF_DB

For using another configuration, specify the following Consul keys:

  • CONFIG: Customized content of the CONFIG configuration file

  • GRIBS74_PDF_DB: Customized content of the GRIBS74_PDF_DB configuration file

Import the CONFIG File with PLOSSYS CLI

  1. Copy /opt/seal/seal-convert-sapgof/lib/config/CONFIG to config_tmp.yml.

  2. Adjust config_tmp.yml according to the YAML format by indenting each line by four blanks and inserting the following lines at the beginning of the file:

    convert-sapgof:
      CONFIG:
    

    Hint - syntax

    The data consists of multiple lines. For preserving the line endings, store the value in literal style, indicated by a |. You have to indent all lines of the text. The leading spaces will not be part of the data retrieved by the service.

    Example - literal style

    convert-sapgof:
      CONFIG: |
        This is a
        multiline
        value.
    
  3. Customize the settings in config_tmp.yml and save the file.

  4. Import the file to Consul:

    plossys config import config_tmp.yml`
    
  5. Restart the following service:

    • seal-convert-sapgof

Import the GRIBS74_PDF_DB File with PLOSSYS CLI

  1. Copy /opt/seal/seal-convert-sapgof/lib/config/GRIBS74_PDF_DB to gribs_tmp.yml.

  2. Adjust gribs_tmp.yml according to the YAML format by indenting each line by four blanks and inserting the following lines at the beginning of the file:

    convert-sapgof:
      GRIBS74_PDF_DB:
    
  3. Customize the settings in gribs_tmp.yml and save the file.

  4. Import the file to Consul:

    plossys config import gribs_tmp.yml
    
  5. Restart the following service:

    • seal-convert-sapgof

Advanced Configuration

The following keys influence the behavior of the output from SAP:

  • MAX_INSTANCES: Maximum of parallel conversions

  • TIMEOUT: Time interval after which a conversion is aborted if it has not generated any new data


For how to configure the stamping of SAP output jobs, refer to Configure Stamps from SAP Output Jobs.


Literature - SAPGOF Converter

For further information about how to configure the SAPGOF Converter, refer to the SAPGOF Converter documentation.


Back to top