Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This section describes the SAP-side customization when using tia Viewer Core in SAP-side customized tia Viewer Core configuration. Among other settings, the mapping of repositories to tia Viewer URLs and its instances resides here.

tia Viewer Core requires web service. This is included in the transport below. Its activation is described here: https://kgs-software.atlassian.net/wiki/spaces/DOCUEN/pages/edit-v2/3257106464#Web-service-for-tia-Viewer .

Prerequisite is importing the SAP transport container. It is available in kgs Members Area in section tia® H5 Viewer.
Container transport number: E23K900055, tia H5 Viewer Version 3.0.0 .

Info

Please note: SAP-User for KGS Components

...

Badi implementation guide by SAP: https://help.sap.com/viewer/6f40b8f46c4b10149770d29604c9a4eb/7.01.22/en-US/44f518d884056c30e10000000a114a6b.html

...

Activation of web service for tia Viewer

...

For the new version of the tia Viewer a web service is needed. This web service is included in the above mentioned transport.

...

Core

  1. Execute transaction SICF and press

...

  1. Execute button

...

...

  1. In the

...

  1. Virtual Hosts / Services tree view find tia > tia_viewer

...

  1. .

...

Right-Click tia_viewer and

...

select Activate Service of the context menu.

...

3. When being asked Do you want to activate service /default_host/tia/tia_viewer? , select Yes.

...

The After the web service is activated and should be accessible via the listens to following URL of your SAP-System:

Code Block
https://<sap-system>:<port>/tia/tia_viewer

Now the web service can be tested. Right click on the web service and choose “Test Service”

...

  1. Right-Click tia_viewer again and select Test Service of the context menu.

The browser opens and shows followingbrowser will open and will show the following result.

Code Block
https://<sap-system>:<port>/tia/tia_viewer?sap-client=<client>

image-20240828-083318.png

Via the URL https://<sap-system>:<port>/tia/tia_viewer?sap-client=<client>and additional parameters attached in the body to the POST request

...

The URL to call the document out of the archive with the corresponding seckey secKey is returned:

Code Block
https://<archive-server>:<port>/contentserver?create&pVersion=<AL-Version>&contRep=<CR>&docId=<Doc-ID>
&compId=<comp_id>&accessMode=c&authId=<SAP-Cerificate>&expiration=<expiration_time>&secKey=<secKey>

e.g. Example:

https://1012.034.24056.18078:80808443/contentserver?create&pVersion=0046&contRep=GS&docId=0050562653521EEEAEB8CD38C9FB53BD&compId=data&accessMode=c&authId=CN%3DE23,OU%3DI0020656700,OU%3DSAPWebAS,O%3DSAPTrustCommunity,C%3DDE&expiration=20240828110253&secKey=MIIBUwYJKoZIhvcNAQcCoIIBRDCCAUACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAR8wggEbAgEBMHAwZDELMAkGA1UEBhMCREUxHDAaBgNVBAoTE1NBUCBUcnVzdCBDb21tdW5pdHkxEzARBgNVBAsTClNBUCBXZWIgQVMxFDASBgNVBAsTC0kwMDIwNjU2NzAwMQwwCgYDVQQDEwNFMjMCCAogIxApE1MBMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0yNDA4MjgwOTAyNTNaMCMGCSqGSIb3DQEJBDEWBBR0PJocSSJD9WJFB0OmKaXT5TaeEzAJBgcqhkjOOAQDBC8wLQIUIanVCXLojRBYJN1ERSR7DjByPV4CFQC3RLBk%2F6L1%2BuvCd2tEwKyiliRKpw%3D%3D

This URL is included into the new tia Viewer Core to display the archived document.→ Logging (V) | tia® H5 Viewer (EN)