Skip to main content

Feature Open in SAP Web GUI

The feature Open in SAP Web GUI allows the user in Nuxeo to open the document related SAP Business Object with a single click from the Nuxeo web application. It calls the SAP Web GUI and after the user has logged into the SAP system, he will be directly forwarded to the SAP Business Object, opened in its associated transaction.

info

You need to have the aqilink (Document Exchange) component installed to use this feature with aqishare (Data Exchange)

Requirements

  1. aqilink is installed, properly configured, and up and running.
  2. The metadata replication is enabled and facet SAP Replicated Details is available on the document.
  3. The feature has been enabled for the repository.
  4. The SAP transaction is maintained in the properties.

Administration

The feature can be enabled or disabled for each SAP content repository available in Nuxeo. To do so, navigate to the desired repository folder in the administration path. The path is specified in parameter adminPath of the storage.yaml within the aqilink container (not aqishare)! In the folder of the desired repository, identify a file with extension .repo.

Open in SAP

Edit the properties of the .repo file to maintain the following settings for the feature:

PropertyDescription
WebClient EnabledEnable or disable the feature. Once enabled, the feature is availabke for all documents of this repository.
WebClient URLThe URL pointing to the SAP WebClient. Make sure to replace the placeholder sap-ip-address with the IP-address or hostname of the SAP server.
WebClient ClientThe Client used as preselection for the user login.
WebClient LanguageThe language used as preselection for the user login.
WebClient Screen-Personas Theme IdIf there is any public Screen-Personas theme available, set the ID of the theme to be used after the user logged in.
WebClient URL Parameter MappingThe most important part. It contains the mapping of the properties to the related SAP transaction.

This is how the mentioned properties above looks like on the .repo file:

Open in SAP

Reference for URL Parameter Mapping

The following SAP Objects are currently supported by default:

SAP Object TypeSAP TransactionDescriptionURL Parameter attached to SAP WebGUI
BKPFFB03Accounting Document Header?~transaction=FB03%20RF05L-BELNR=%SAP_OBJECT_ID%;RF05L-BUKRS=%SAP_COMPANY_CODE%;RF05L-GJAHR=%SAP_FISCAL_YEAR%&~okcode=/00
BUS2012ME23Purchase Order?~transaction=ME23%20RM06E-BSTNR=%SAP_OBJECT_ID%&~okcode=/00
BUS2105ME53Purchse Requisition?~transaction=ME53%20EBAN-BANFN=%SAP_OBJECT_ID%&~okcode=/00
BUS2032VA03Sales Order?~transaction=VA03%%20VBAK-VBELN=%s&~okcode=/00
tip

You can enhance this list with any additional SAP Object Types easily by your own. Just add a new line with the desired SAP Object Types to the textarea.

User Experience

Once the feature is enabled and properly configured, this is the user experience in Nuxeo.

  1. The user navigates to a document that was stored from SAP via aqilink.
  2. A new action command is available in the Document Actions menu.
info

The command is available as soon as the SAP Replicated Details facet is available on the document. Depending on the runtime of the Task job that adds this facet, it may take some time (as specified in the CRON expression).

UX Open in SAP Nuxeo

Steps to SAP

  1. The user clicks the action command "Open in SAP".
  2. The SAP WebGUI opens in a new browser session.
  3. The user must enter his SAP credentials to login to the SAP system.
  4. Once done, he is immediately redirected to the SAP Business Object associated with the current document in Nuxeo.
  5. The user can now continue his work on the SAP Business Object: UX Open in SAP